get_forum(bool, int) to get the root forum?

Discussion in 'Developer Support' started by Catscratch, Mar 29, 2012.

  1. Catscratch New Member

    Hi,

    is there a way to get only the immediate child(ren) of the root forum?
    To get the children of a specific forum I can use get_forum(bool, int).

    But what should I use as int for the root?

    The background is, that I only want to load the next hierarchy level because of performance issues. If I use get_forum(void) it could take a loooooong time in very big forums.

    Thank you.
  2. Jayeley Plugin Developer

    Please set the forum id as 0 if you want getting the first level of forums(It should be catetorys)
    However, only try this when you got 'get_forum' flag as '1' in the 'get_config' response.
    Currently, only vb4 plugin support it.