The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
There is something you should know..
After you parse through the data returned by getCountries once, you can't parse the same query results a second time. The pointers are already set to the end of the data after the first while { } loop and the pointer either needs to be reset or the data stored in an array for future use during the first parse. |
#12
|
||||
|
||||
Thanks Kevin
PHP Code:
Thank you nhawk for that explanation =] |
#13
|
|||
|
|||
Quote:
I need.... more.... coffee |
#14
|
|||
|
|||
Yeah, but I'm slightly embarrassed that I didn't notice that right off. To be honest I didn't even know that you could get the results of two queries at the same time like that.
|
#15
|
|||
|
|||
A static list like the countries should really just go into the datastore as a serialized array. Just 1 time read them from the datastore (using the standard vB functions) into the $vbulletin object and you're done.
|
#16
|
||||
|
||||
I will look into using the datastore. Thank you Marco.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|