Wruczek/ts-website

Stuff to do for ts-website 2.0

Wruczek opened this issue Β· 45 comments

More info about ts-website v 2.0 (anniversary update) can be found here.

Plans

Site

  • Design and technologies
    • Bootstrap 4 / Bootswatch 4
    • jQuery 3
    • Composer
    • PHPFastCache v6 Own caching class inspired by Simple-PHP-Cache for file caching (smaller, faster, no useless cache drivers) UPDATE: released as PHP-File-Cache
    • Set the timezone before loading to avoid PHP errors
    • Latte template engine
    • Vue.js for frontend rendering maybe later, when I get to know it more
    • Gulp.js, SASS not needed + it would confuze many people who want to customize it
  • New news system, fetching feed from Facebook, Twitter or other websites using rss-bridge
  • New designs
    • Proposed color scheme:
      • primary: #1a3b56
      • primary-light: #286ba2
      • green: #4fc761
      • red: #ff4d4d or #ce3426
      • yellow: #e4c682
  • Cookie alert
  • Imprint for countries that require that
  • #44 - AFK message in admin list
  • Loading bar w/ pjax
  • Rewritten viewer
    • Main focus: performance, usability and design (something like this)
    • Fixed #28 and #18
    • On the right side of server title: option to hide empty channels and refresh button
  • Group assigner
  • "Alert" option: shows alert on top of every page (example)
    • Enable, disable and change text in admin panel

New installation wizard

Process:

  1. Check system compatibility before installation
  2. Make sure that caching system works and have proper permissions to write in folders
    • If not, then try to change it. If no permissions then ask user to do it; provide a command to run.
  3. Ask for MySQL credentials and check the connection
  4. Install tables
  5. Ask for TeamSpeak credentials and then check the connection and permissions. Check for the flood values.
  6. Save everything to config file and / or MySQL database
  7. After installation is finished, save the config file. If the config file already exists, do not let the installer to be run again.

Admin panel

  • Features
    • Basic server monitoring
    • Quick and easy WYSIWYG editor for news and server rules
    • Ability to create news and server rules in different languages
    • Ability to add, remove and edit language files
    • Check for ts-website and TeamSpeak server updates
  • Design and technologies:

List is not yet completed, much more to come!

All of this plans are subject to change without prior notice.

Got any questions or propositions for the upcoming update? Don't hesitate to comment or create a new issue!

Update: shop has been voted off in favor of group assigner on our Telegram group.

@Wruczek like TS-N's younger lighter ranksystem alternative? Dope!

@bykidi Not really :D It will be a simple group assigner that allows you to change your own groups.

@Wruczek still, like TS-N ranksystem module does :D

but the entire ranksystem is heavy, buggy and demands on server resources (two of my 128tick cs go servers uses less cpu than one ranksystem slowed down to custom 2.0s delay)
default
I hope, someday, we'll see a brand new fresh, nice looking ranksystem based on your website.

//edit 2018.02.23
ranksystem got optimized so hard, it's now using like ~10% of cpu time compared to older builds

@bykidi I didnt known about that module. Well yes, this will be replaced by ts-website :D

Najsr commented

As I can see you are about to use Latte templating system. Have you ever thought making whole site within Nette framework? I think it would be easier to code and for future maintenance.

I'm very new into MVC and OOP in PHP. So far I didn't planned to use any framework, but lately I've stumbled upon CodeIgniter. I'm currently reading through its documentation and it looks great to the point I think of using it in the project. Its small, lightweight, popular and the most important - easy to learn.

Najsr commented

Well, some goes for Nette. It's less known thanks to it's origin.

Any updates so far?

Hi @bykidi! Version 2.0 is about 40% completed, but I lack the time to finish it off due to school and private projects I'm doing with few people. I'm sure It will get finished at some point, when I will get some time to work on it. The project is definitely not dead, and I'm not abandoning it - it's just "paused"

@Wruczek good to know. good luck out there!

You could put on V2 .. a top online users or top server connections .. It would be nice to my opinion. And you can buy a certain degree directly from the website with coins .. etc .. A shop system Just a proposal: D
Continue further.

@growndex The top online is a great idea.

image
πŸ‘€
no, it's not dead ;)

nice bro'.
When will you launch it?

I hope for alpha (limited admin panel) in max 2 months

I understand: Good luck. I'm anxious to test him <3

image
I guess the bans page is complete. Finishing the viewer now!

Very nice!
congratulations

Viewer looks good... and the spacers behave just like they should ;)
Next up: group assigner

image

image
you can hover over the user to view more details

perfect..waiting for the A release

looks very good!

@Wruczek Can you post a new link to design "lumen" the link is broken

@derrobin154 Thanks for info, I've updated the issue.

When can we expect version 2.0? @Wruczek

I cant promise much, but I hope to release the beta around Christmas ;)

Will it be possible to upgrade from 1v to 2v?

Nope, you will need to install and configure everything from scratch

On 4/15 we can celebrate the second birthday of this issue πŸŽ‚

I should rename it, that's for sure

Is it any way to add a new lanuage pack? I am now just edited the en language file.
Btw, I can help you to do translation for Chinese Traditional(zh_HK/zh_TW) and Chinese Simplified(zh_CN)

To add a new language, you can:

  1. Copy the language file and paste in with different name, then translate it
  2. Add it to the include/header.php file

Merry Christmas everyone!
The first dev release of TS-website 2 has landed!

⚠ Please keep in mind: This is a development version of TS-website!
There are important features missing, like Admin Panel. Everything is configured via the database. If you don't feel good about it, please wait until the final release.

Enjoy testing and happy new year!

ouhh shit damn broooh

Translation platform is open!
Everyone is invited to help translate ts-website here.

Suggestion add BBcode? Should be safer than using html for Customization

@alexandre433 html is ok for now. just don't give the option of creating news to random people if you fear xss

uetam commented

I would like possibity to additionaly authorize users via existing mysql database before allowing them to add to specify groups.
Or eventually possibility to user additional oauth authorization before allowing them to add to specify groups.

still in work or did u stop working on this project ?

still in work or did u stop working on this project ?

The last commit was only eleven days ago. What a dumb question.
If you want to help, just make PR this is an open source project

still in work or did u stop working on this project ?

The last commit was only eleven days ago. What a dumb question.
If you want to help, just make PR this is an open source project

well thanks for you quick reminder that im dumb.. maybe im new in githuib and i cant see where the last "commit iis listed" but hey maybe ur just more into github and tell new useres to leave... Besides the obv. thanks for the answer.

still in work or did u stop working on this project ?

It's not very active, but I don't consider it dead

PS. you are not dumb :)

https://prnt.sc/xo7ggr
we see that it is not active ;)
but important functions like anti-spam is important and desirable ;) :D
with antispam i release that page instandly on my community! (with minimum edits^^)