********************************************************************************* * MOD NAME: UBB.topic Index * ********************************************************************************* * DESCRIPTION: Adds an index of the topics for that page of the thread * ********************************************************************************* * CREATED BY: Rodster * * CREDITS: Brett and AllenAyres (updates and bugfixes) * * DATE: 02-03-2003 * * VERSION: 6.4 * ********************************************************************************* ********************************************************************************* * REQUIREMENTS: Any 6.4 * * COMPATABILITY: All 6.4 and possibly 6.3 * * TESTED: 6.4.0 & 6.5 beta * ********************************************************************************* * FILES MODIFIED:(cgi-bin) ubb_lib_posting.cgi * * (noncgi) public_topic_page.pl * ********************************************************************************* * DISCLAIMER: By using this modification, the user implicitly agrees * * that they are willingly modifying any and all files at * * their own risk. Should any errors occur either as a * * direct or indirect result of said modifications the user * * agrees not to hold Infopop Corporation or any of the * * individuals listed accountable. * * * * * * IN OTHER WORDS: PLEASE MAKE BACKUP COPIES OF EVERY FILE YOU PLAN TO * * MODIFY PRIOR TO MODIFICATION!! * * * * * * FOR MORE TIPS AND TRICKS FOR USE WITH THE ULTIMATE BULLETIN BOARD * * PLEASE US AT VISIT: * * * * http://www.ubbdev.com/ * * * ********************************************************************************* ********************************************************************************* #################### ##ubb_lib_posting.cgi #################### ## ## FIND: ## $ThisHTML .= &topic_top; ## add below: my $replyanchor_row, $topic_row; ## ## FIND: ## $ThisHTML .= &topic_row; } # end post loop ## ## REPLACE WITH: ## $topic_row .= &topic_row; $replyanchor_row .= &replyanchor_row; } # end post loop $ThisHTML =~ s/\%\%REPLACEME\%\%/$replyanchor_row/; $ThisHTML .= $topic_row; #################### ##public_topic_page.pl #################### ## ## FIND: ## ## ##ADD BELOW: ## $TBT Posts in this thread
%%REPLACEME%%
$TBB ## ## FIND: ## } # end topic_top ## ##ADD BELOW: ## sub replyanchor_row { my $reply_anchor = qq~   -   $show_public_name $vars_wordlets{posted} $ThisDate $FormatTime
~; return ($reply_anchor); } # end reply_anchor