The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Simplifying this vB defined function, and eliminating the extra-queries.
This is sparked off from the thread by MadMax titled "How to check version," from the post where filburt said never to include queries inside a while loop.
This is obvious because most of the time there are easy ways to get around not having to include a query within a while loop. But-- there is a defined recursive function in adminfunctions.php, called get makeforumchooser(), that does query in a while loop, and for good reason-- as I've tried to figure out a more efficient way of doing it (for another script of mine), but can't seem to. PHP Code:
|
#2
|
||||
|
||||
well always remember, the admincp is not the board itself.
in acp you can use queries in a loop as it's easier to write and you are normally the only one who is involved. but if you really want to eleminate the queries, take a closer look at the get forumjump function of vb and remove the permission parts from it |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|