![]() |
Need help reducing queries
I made and submitted a hack "User Icons 1.1" just recently here but it needs quite a lot of queries on a few pages. For example it displays icons next to the user names on the who's online. The code in online.php looks like this currently:
PHP Code:
PHP Code:
|
try this:
PHP Code:
|
Hmm I get a different error then when I tried something. This is what I get:
Quote:
|
it's this line of your original script which pruduces the error:
PHP Code:
|
Ack! That's no good. Suddenly all my members where online and all looking at the same forum. O_o Maybe I should add a query instead...
|
change this:
PHP Code:
PHP Code:
|
Thanks that works after I also changed
PHP Code:
PHP Code:
|
I can't get it to show up guests. =/ Is it even possible with my hack included?
|
All times are GMT. The time now is 11:44 PM. |
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:
|