Description: Adds a quick link (graphical interface) in the Admin menu to display how many users are using which of your stylesheets. Saves having to remember the query.
Well, I can answer 6.1.1 questions easier, so maybe I'll just stick to this version. =] Nahh. Just need to get my site moved to a new CMS before I upgrade threads, and I also think my users need some time before any more changes to threads. They are very frail, any change at all and they go completely insane. Even if it is something they've been bugging me to fix for ages...
What about the option to force the users who have selected "style sheet x" to now use "style sheet y" so that if you change the style sheets you can fix style sheet errors before people complain
Ok. The default value for a user's stylesheet is NULL, which is interpreted the same as 'usedefault', and would show up as an empty string when this hack is used.
There's really no point in allowing NULL for that column. If could just as easily default to 'usedefault', or ''. I would prefer '', since it saves space. If you have 10000 users with 'usedefault', that's 10 * 10000 = 100000 bytes just to store that info, which is silly.
If you don't like the fact that this hack displays no name when U_Stylesheet is NULL (or ''), just display 'usedefault' instead for those cases.
This script isn't needed anymore - all the old mod did was "store" the query for you (before Threads had the ability to save SQL Queries. I responded with directions in your other thread.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.