![]() |
Quote:
|
Normally that can't be. Send me a PM with an ACP and FTP Login and i'll take a look
|
Ok, new wrinkle. I have 19 members and they are all using the forum default style. But in the style chooser it shows 17 using that style and 0 using the other one. Any ideas?
|
Uh? That should not happen, where are those 2 missing members ...
[sql]SELECT styleid, COUNT(styleid) FROM user GROUP BY styleid[/sql] What does that tell? |
ID - Count
---------- 0 - 16 5 -1 6 -1 10 -1 But I deleted all styles except 2 of them. And rebuilt styles. Shouldn't it have reset? |
No. It will fallback on runtime.
Hmm, I could try to make the query a bit more intelligent so it counts non-existing styles as default. But currently this is working as designed - it tells you what's in the database ;) |
How do I get it to show it right then?
|
UPDATE user SET styleid=0 WHERE styleid IN (doesnotexistanymore)
|
After running the query 2 times (for deleted styles 5 and 6) and rebuilding the styles, now it all looks right. ;)
Is there an easier way to do that if you ever delete another style? |
Wonderful, I've already been looking for this.
Thanks, Kirby! |
All times are GMT. The time now is 06:13 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:
|