2008-11-10, 06:27 AM
i was wondering if someone could help me identify the format in which this function passes information to the $forum variable
eg.
FROM index.php
from the above i followed the function to inc/functions.php and found
FROM inc/functions/forumlist.php
can someone please explain the format so i can replace the ['forum_list']
with a format of numbers eg 1,0 or something so that i can display only certain forums on the index page using the $fid
eg
eg.
FROM index.php
$forum_list = build_forumbits();
$forums = $forum_list['forum_list'];
from the above i followed the function to inc/functions.php and found
FROM inc/functions/forumlist.php
// Return an array of information to the parent forum including child forums list, counters and lastpost information
return array(
"forum_list" => $forum_list,
can someone please explain the format so i can replace the ['forum_list']
with a format of numbers eg 1,0 or something so that i can display only certain forums on the index page using the $fid
eg
$forum = $forum_list[$fid]
or something alike ...it is for a under construction plugin thanks