The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Help with fetch_child_forums
I'm in the process of creating a page for out vbulletin that will have each of the forums latest posts in a tabbed area for ease of organization.
the code I'm developing is using a function fetch_child_forums and I'm having an issue with it... Basically I'm calling the function in a for/next loop as the code loops through each of the tabs and setups the forum views. I'm calling it like this: $forumids = array(5,7,13); foreach ($forumids as $forumid) { $childforums = fetch_child_forums($forumid, 'ARRAY'); // do stuff unset($childforums); } My problem is that everytime I loop the return from fetch_child_forums is the previous child fourms, plus the new child forums. It is like that the new child forums are stacked ontop of the array instead of destroying the array and creating a new one. I've got to be missing something here... thanks in advance |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|