The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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:
|
#2
|
||||
|
||||
try this:
PHP Code:
|
#3
|
||||
|
||||
Hmm I get a different error then when I tried something. This is what I get:
Quote:
|
#4
|
||||
|
||||
it's this line of your original script which pruduces the error:
PHP Code:
|
#5
|
||||
|
||||
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...
|
#6
|
||||
|
||||
change this:
PHP Code:
PHP Code:
|
#7
|
||||
|
||||
Thanks that works after I also changed
PHP Code:
PHP Code:
|
#8
|
||||
|
||||
I can't get it to show up guests. =/ Is it even possible with my hack included?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|