Thoughts about Widgets...

The next generation of server controlling with clean and powerful user interface

Moderators: oliverde8, reaby, NADEO

Post Reply
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Thoughts about Widgets...

Post by reaby »

Well, well, well.
We thought some future development lines... Which seem to be more or less focused on widgets and server admins possibilities to have more control about the looks of expansion widgets and their placements.

Kinda this started from the combined records widget....

So next step would be to:

Add possibility for admins to configure number of times displayed in Records Widgets

Which will lead to this thoughts...
oliverde8 wrote: Today they are saved in the player session. Every time eXpansion is updated the configuration is lost

Pros of current system
  • Relatively simple code
  • Configuraion is the same on all servers
Cons of current system
  • Data is lost at each upgrade
  • If server admin modifies the size of widgets it brakes the configuration.
Do you want to have same config on multiple servers ?
  • On some servers you race, so less widgets
  • Others you just train, so more widget
So maybe the widget placement should
  • Easier to configure for the admin
  • Then player can extending with custom config
So this leads to:

Add a system to save in DB user settings for server, and easy enough for 3rd party plugins to use too..

What you think ?
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Thoughts about Widgets...

Post by TMarc »

Thats an interesting idea, but wouldn't it be even better if those settings could be saved on user side?
Reasoning: whenever the user connects to any server usinx eXpansion, the preferred widget settings (for those available / installed on the server) would be there.

Otherwise a user who is playing on different servers would always need to reconfigure the widgets on each of the servers.

But that's only a spontaneous thought ;)
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Thoughts about Widgets...

Post by oliverde8 »

TMarc wrote:Thats an interesting idea, but wouldn't it be even better if those settings could be saved on user side?
Reasoning: whenever the user connects to any server usinx eXpansion, the preferred widget settings (for those available / installed on the server) would be there.

Otherwise a user who is playing on different servers would always need to reconfigure the widgets on each of the servers.

But that's only a spontaneous thought ;)
That is what we are doing today, but as I put in the github ticket it comes with it's issues as well.

The issue is that the servers are not the same, so if server1 is configured to display 5 local records; and you configure accordingly then on a server that displays 10 record it won't show well.

Allow the player to configure the number of records to show.

But on the same example on one server there might not be live rankings on another they might so the setting you will put in place is different.

So is it really pertinent to have it on the player side while so much depends on the server side.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
Post Reply

Return to “eXpansion”

Who is online

Users browsing this forum: No registered users and 0 guests