View Full Version : Forum Name as external link
zeedy2k
09-21-2002, 12:47 PM
I would like a hack that when I add a forum, instead of it going into forumdisplay.php and showing topics, it takes you to an external link that would be inputted when creating the forum.
Just like Make thread an external link hack.
Any help would be appreciated.
www.ukmessenger.com
Neo-Storm
09-21-2002, 03:03 PM
that is easy to do, just add in the name: </a><a href="yoururl">Name of the site</a>
Than you don't add an description and it works :)
gopherhockey
02-07-2003, 04:26 PM
Is there a way to take this one step further and have vB NOT display the last post date or post numbers for a forum set as an external link?
For example, I have photopost set up as a forum & external link. However, this leaves "Never" in the last post column, and 0's in the others - users might think there is nothing in there.
I'd rather it not show those numbers and text at all...
Something like the code below out of index.php (but this gives an error) and also apply it to the counts as well. ?
// dates
if ($forum['lastpost']>0) {
$forum['lastpostdate']=vbdate($dateformat,$forum['lastpost']);
$forum['lastposttime']=vbdate($timeformat,$forum['lastpost']);
eval("\$forum['lastpostinfo'] = \"".gettemplate('forumhome_lastpostby')."\";");
elseif ($forumid == 46) {
$forum['lastpostinfo']='N/A';
} else {
$forum['lastpostinfo']='Never';
}
Erwin
02-07-2003, 09:52 PM
If you want that, there is hack out in Full Releases that can do this.
Go search for it. :)
gopherhockey
02-07-2003, 10:57 PM
Hmmm.. already did that. Guess I didn't use the right search words. Will try again.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.