PDA

View Full Version : Forum folders link to archive forums


ChrisSy
04-22-2004, 09:09 AM
like in the old archive hack for vb2, i think it would be a nice addition to vb3 and allow spiders to find the archive easier.

Forumhome forum folders when clicked take you to that forum section in the archive.

Scrub
04-22-2004, 09:58 AM
Those are the on and off folders, right? If so, do this:

in forumhome_forumbit_level1_post
Find:

<td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>


and replace that with:

<td><a href="archive/index.php/f=$forum[forumid]"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></a></td>


In forumhome_forumbit_level2_post find:

<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>


and replace with:


<td class="alt2"><a href="archive/index.php/f=$forum[forumid]"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></a></td>


Is that what you were wanting?

ChrisSy
04-22-2004, 10:01 AM
awesome matey! thanks a bunch just what i was looking for :)

ChrisSy
05-11-2004, 03:28 PM
sorry for digging it back up but is there a variable i can use in the alt="" tag to show the specific forum name?

thanks in advance