coldclimber wrote:
Would it, or is it possible to have the sub forums in a drop down list ?
Yes iy is possible.
You can edit your components/com_fireboard/template/default/listcat.php
FIND THIS CODE
[code:1]
:
foreach ($forumparents as $forumparent)
{
?>
//Begin: parent read unread iconset
if ($fbConfig['showChildCatIcon'] ) {
//
if ($fbConfig['showNew'] && $my->id != 0)
{
// get all threads with posts after the users last visit; don't bother for guests
$database->setQuery(
"SELECT thread from #__fb_messages where catid='$forumparent->id' and hold='0' and time>$prevCheck group by thread"«»);
$newPThreadsAll=$database->loadObjectList();
if (count($newPThreadsAll) == 0)
$newPThreadsAll=array();
?>
//Check if unread threads are in any of the forums topics
$newPPostsAvailable=0;
foreach ($newPThreadsAll as $npta)
{
if (!in_array($npta->thread, $read_topics))
{
$newPPostsAvailable++;
}
}
if ($newPPostsAvailable > 0 && count($newPThreadsAll) != 0)
{
// Check Unread Cat Images
if (is_file(JB_ABSCATIMAGESPATH . "" . $forumparent->id . "_on_childsmall.gif"«»))
{
echo
"
![]()
id . "_on_childsmall.gif" border="0" class='forum-cat-image' alt=" " />";
}
else
{
echo $fbIcons['unreadforum'] ? '

': $fbConfig['newChar'];
}
}
else
{
// Check Read Cat Images
if (is_file(JB_ABSCATIMAGESPATH . "" . $forumparent->id . "_off_childsmall.gif"«»))
{
echo
"
![]()
id . "_off_childsmall.gif" border="0" class='forum-cat-image' alt=" " />";
}
else
{
echo $fbIcons['readforum']? '

': $fbConfig['newChar'];
}
}
}
// Not Login Cat Images
else
{
if (is_file(JB_ABSCATIMAGESPATH . "" . $forumparent->id . "_notlogin_childsmall.gif"«»))
{
echo "
![]()
id . "_notlogin_childsmall.gif" border="0" class='forum-cat-image' alt=" " />";
}
else
{
echo $fbIcons['notloginforum'] ? '

': $fbConfig['newChar'];
}
?>
//
}
// end: parent read unread iconset
?>
echo '
' . $forumparent->name . ' ';
}
?>
[/code:1]
REPLACE :
[code:1]
:
[/code:1]
NOT: If you want you can create new template. Than create new listcat.php for your new template .
New template will be have
header.html
footer.html
forum.css
listcat.php
images/
Keeping your default template files will be good.
;) [file name=listcat.zip size=5426]http://www.bestofjoomla.com/components/com_fireboard/uploaded/files/listcat.zip[/file]
Post edited by: greatpixels, at: 2007/05/07 00:59