Hi,
I've been looking at this MOD for ages but had no need for it... until now! But, have a problem.
I have Simple Subforums installed but have hit an issue with the required code changes to index.php:
Code: Select all
#
#-----[ IN-LINE FIND ]------------------------------------------
#
append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id")
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
$u_viewforum
#
#-----[ FIND ]------------------------------------------
#
);
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : Forum Title Link ------------------------------------------------------------
//-- add
if( $forum_data[$j]['link_is'] && !empty($forum_data[$j]['link_url']) )
{
$template->assign_block_vars( 'catrow.forumrow.is_link', array() );
}
else
{
$template->assign_block_vars( 'catrow.forumrow.not_link', array() );
}
//-- fin mod : Forum Title Link --------------------------------------------------------
The first INLINE FIND is repeated twice in the index file! What is the code before / after in order to determine exactly where it needs to go (replace)?
The second FIND. Quite a few of them! Again, where about does the required AFTER, ADD need to go?
Yes, I've installed a lot of MOD's but I'm sorry to say the Forum Title Link MOD (simple subforums) install file is confusing and I apologise for saying that!
Many thanks!