Quote:
Originally Posted by ResellerForums
We've got this great hack installed (thanks Teck!), and it works well except:
We have only four forums on our board, and they are all at the root level. That is, their "Forum Parent", as set in the admin, is "No one". (This is intentional, since we don't have enough forums to justify categorization.)
The problem is that on the archive page, the forum names aren't hyperlinked. It seems that this hack doesn't hyperlink forums at the root level because it assumes that they are not actually forums but categories.
Is there a way around this?
See http://www.rfidtalk.com/archive
You'll notice that RFID Forum and RFID Industry News are NOT hyperlinked even though they are actual forums, while Greater Impact of RFID and RFID Technology are (because they are children of test).
|
For those interested in a solution, here it is: comment out lines 113, 114, and 116 in
archive. So lines 106-119 look like this:
if ( $forumperms['canview'] )
{
if ( empty( $forum['description'] ) )
{
$forum['description'] = 'No description available.';
}
eval( '$forumtitle = "' . gettemplate( 'archive_categorytitle' ) . '";' );
// COMMENTED OUT TO FORCE HYPERLINKING OF FORUMS WITH NO PARENT: if ( $forum['parentid'] != '-1' )
// COMMENTED OUT TO FORCE HYPERLINKING OF FORUMS WITH NO PARENT: {
eval( '$forumtitle = "' . gettemplate( 'archive_forumtitle' ) . '";' );
// COMMENTED OUT TO FORCE HYPERLINKING OF FORUMS WITH NO PARENT: }
eval( '$forumbits .= "' . gettemplate( 'archive_forumbit' ) . '";' );
$forumbits .= showforums( $forum['forumid'] , $spacer . ' ' , $forumperms );
}