![]() |
never mind the previous post. I solved the problem :)
My second remark still stands. I have 7 styles and can only see 3 of them as only 3 of them are currently in use. At the same time I would still like to see how many users are using which style. |
Well.. the hack works ok ONLY on the main page of this forum !?
I tryed and have same problems.. doesn't show OK the number of users wich use a style :( Anyone can help me with AN WORKING version ? Just like this one from here !? Pls :( PS: from over 600 members ONLY 32 are using the "default" template and 2 the second one :stoned: I want to see exactly HOW MANY users are using the templates..:( |
is there a way I can add this hack and make it unknown how many people are using the default style? In other words, let's say I don't want my user total to be so obvious, and I have...
default (all others) style 1 (10 users) style 2 (15 users) etc. I'm guessing this can be done by a simple If statement, but I'm not as proficient as I'd like to be. |
This Hack only shows User-selectable styles right? Because I have a lot of Styles for certain sections of the Board that aren't user selectable anc I don't want those showing up in there.
|
Yes TELEK.
|
[QUOTE]Originally posted by monitox
Well.. the hack works ok ONLY on the main page of this forum !? I tryed and have same problems.. doesn't show OK the number of users wich use a style :( Anyone can help me with AN WORKING version ? Just like this one from here !? Pls :( PS: from over 600 members ONLY 32 are using the "default" template and 2 the second one :stoned: I want to see exactly HOW MANY users are using the templates..:( |
i ran this query: UPDATE user SET styleid='1'
it works now :) |
Hi,
could it be that you can only choose a style if at least one member choosed this in his user cp options? I installed the hack! All the 4 test members just had the default in her options. So in the style drop down there was only the default style shown! Then i changed the style in the options of member A! Then it was also shown in forumhome!??? Is that normal? +Thanks |
Try changing this:
Code:
$allstyles=$DB_site->query("SELECT style.title, user.styleid, COUNT(*) AS count FROM user LEFT JOIN style USING (styleid) WHERE style.styleid IS NOT NULL AND style.userselect=1 GROUP BY user.styleid"); Code:
$allstyles=$DB_site->query("SELECT style.title, user.styleid, COUNT(*) AS count FROM style LEFT JOIN user USING (styleid) WHERE style.userselect=1 GROUP BY user.styleid"); |
installed the "user option changing" version that is attached mid-way through this thread. works fine. jake happy.
|
All times are GMT. The time now is 07:58 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|