View Single Post
Old 01-16-2008, 10:19 PM   #7 (permalink)
Kalle
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

Part of Tuxxedo Forums; in /includes/functions_forum.php (construct_forumbits()):

PHP Code:
            $forumdata $tuxxedo->datastore->getDatastore('forumdata');

            if(!
sizeof($forumdata))
            {
                
tuxxedo_error($phrase['no_forums']);
            }

            foreach(
$forumdata as $forum)
            {
                
$forumdata[$forum['id']]['subforums'] = explode(' '$forum['subforums']);
            } 
For those whos interested in the final source, then ill update my api docs in a moment so its avaible from:
Tuxxedo Software Development
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote