<FONT COLOR="green">.1</FONT c>
<FONT COLOR="#6699cc">----------</FONT c><FONT COLOR="yellow">What?</FONT c><FONT COLOR="#6699cc">------------------------------</FONT c>a few tiny cosmetic changes to
Dave's crispy Active Topics hack. wonderful hack, dave!
just as my
previous mod to another
dave hack , this mod places a part of Active Topics in a more prominent spot (forumdisplay.cgi).
the reason i wanted to do this is because i thought it'd be really useful for returning visitors to have the option of clicking on "new posts" which leads them to the most recent Active Topics, as opposed to having to search through and find which are new and which aren't. actually, that's what dave's hack does. on my bb, the users go straight to the main forum (there is only 1 forum) and so the option to go to the new topics is quickly accessible. of course, this is another overly simply mod and does nothing other than place it in another spot that i think can be of more use.
however, i do also make a few edits in the way active.cgi displays the results. that is, i make the topic subject linkable to the thread as well as making the '..more..' linkable to the thread. in addition, i took out the "Click here for more" link. oh, and a spelling error was fixed.
<FONT COLOR="#6699CC">------------------------------------------------</FONT c><FONT COLOR="#6699cc">-</FONT c><FONT COLOR="red">(1)</FONT c><FONT COLOR="#6699cc">------</FONT c><FONT COLOR="yellow">Backup!</FONT c><FONT COLOR="#6699cc">--------------------------------</FONT c>we'll be working with active.cgi and forumdisplay.cgi. back 'em up, jic!
<FONT COLOR="#6699CC">------------------------------------------------</FONT c><FONT COLOR="#6699cc">-</FONT c><FONT COLOR="red">(2)</FONT c><FONT COLOR="#6699cc">------</FONT c><FONT COLOR="yellow">Start!</FONT c><FONT COLOR="#6699cc">--------------------------------</FONT c>open up active.cgi.
find:
<FONT COLOR="yellow">$forum_names[$forum_num]: $threadheader[8]</a></B></FONT> </td></tr></FONT c>
replace it with:
<FONT COLOR="yellow"><a href="$NonCGIURL/Forum$threaddata[4]/HTML/$threaddata[2].html">$forum_names[$forum_num]: $threadheader[8]</a></B></FONT> </td></tr></FONT c>
find:
<FONT COLOR="yellow"><FONT SIZE="$TextSize" FACE="$FontFace">$abstract $MoreText
</FONT c>
replace it with
<FONT COLOR="yellow"><FONT SIZE="$TextSize" FACE="$FontFace">$abstract
<a href="$NonCGIURL/Forum$threaddata[4]/HTML/$threaddata[2].html">$MoreText</a>
</FONT c>
<FONT COLOR="red">
optional:</FONT c> <FONT COLOR="gray">right after that, there is:
<a href="$NonCGIURL/Forum$threaddata[4]/HTML/$threaddata[2].html">Click Here for more...</a></font></td></tr></table>
I deleted the <a href...>Click here for more...</a> to make:
</font></td></tr></table>
i did this out of the assumption that people would intuitively click on the '..more..' or the topic name to go to the posts before the 'click for more'. leave it in if you think it's fine. </FONT c>
finally, for a quick and barely noticeable (unless youre html-design obsessed like me) look for:
<FONT COLOR="yellow">Back to $backto
</A> </td><td align=right><font size="1" FACE="$FontFace"><B>Jump To:</B> $Legend</font></FONT c>
right after that, add:
<FONT COLOR="yellow">
</FONT c>
which will bring the legend/'back to' bit a little closer to the table. tighter design
and to top the list of anality, search for
<FONT COLOR="yellow">forum dusplay</FONT c>
and replace with
<FONT COLOR="yellow">forum display</FONT c>

sorry dave. had to be done. hopefully it's just my version?
save the file, close, upload.
<FONT COLOR="#6699CC">------------------------------------------------</FONT c><FONT COLOR="#6699cc">-</FONT c><FONT COLOR="red">(3)</FONT c><FONT COLOR="#6699cc">------</FONT c><FONT COLOR="yellow">Just a bit more!</FONT c><FONT COLOR="#6699cc">---------------------------</FONT c>open up forumdisplay.cgi
look for what should be the third instance of:
<FONT COLOR="yellow">$BorderTop</FONT c>
right after it, there should be:
<FONT COLOR="yellow"><table border=0 cellpadding=4 border=0 cellspacing=0 width=$TableWidth2></FONT c>
right before the <table...> add this:
<FONT COLOR="yellow"><center><font size=1 face=verdana><a href=$CGIURL/active.cgi>new topics</a></center></FONT c>
that's it!
save the file, close, upload.
<FONT COLOR="#6699CC">------------------------------------------------</FONT c><FONT COLOR="#6699cc">-</FONT c><FONT COLOR="red">(4)</FONT c><FONT COLOR="#6699cc">------</FONT c><FONT COLOR="yellow">Notes</FONT c><FONT COLOR="#6699cc">--------------------------------</FONT c>now, Dave's great hack will take care of the rest by making it easy for returning visitors to get the latest topics without having to search through the others to find out what's new.
thanks to
dave /
ubbdev.com /
allenayres <FONT COLOR="#6699CC">------------------------------------------------</FONT c>------------------