No announcement yet.

Help with fetch_child_forums

  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

    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

  • #2
    Sorry, we cannot provide custom coding support. Please venture over to for assistance on this matter.
    Best Regards,
    Andy Huang


    • #3
      10-4... thanks.


      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.