|
help with function build_forumbits in the index.php
|
|
11-10-2008, 06:27 AM
(This post was last modified: 11-10-2008 06:28 AM by Jitendra M.)
Post: #1
|
|||
|
|||
|
help with function build_forumbits in the index.php
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 Code: $forum_list = build_forumbits();from the above i followed the function to inc/functions.php and found FROM inc/functions/forumlist.php Code: // Return an array of information to the parent forum including child forums list, counters and lastpost informationcan 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 Code: $forum = $forum_list[$fid]
![]() I reject your reality and substitute my own. |
|||
|
11-13-2008, 05:00 PM
Post: #2
|
|||
|
|||
|
RE: help with function build_forumbits in the index.php
PHP Code: /** |
|||
|
11-13-2008, 06:08 PM
Post: #3
|
|||
|
|||
|
RE: help with function build_forumbits in the index.php
replace return array(
with Code: $debugresult = array(That's how I found out about the format when I wrote my Subforum Bulb plugin that also modifies build_forumbits(). Google SEO | Gravatar | Hooks | HTMLPurifier | Overview | Patches | PluginLibrary |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help

![[Image: darkmew.png]](http://www.mybbwebhost.com/u/darkmew.png)



