PDA

View Full Version : Howto Link forum to location?


GoTTi
03-10-2003, 01:27 AM
Example is on vbulletin.com forums, where the link to:

vBulletin Code Hacks @ vBulletin.org

points here to vbulletin.org when clicked on it.

How is that done?

Xanthine
03-10-2003, 01:32 AM
Originally posted by Erwin
You can do this without hacking. :)

When you Add a forum, or Edit a forum, where you normally enter the Forum Title, enter this:

</a><a href="http://www.yahoo.com">Click here to go to Yahoo!</a>

The Forum is now a link to Yahoo! :) No hacking needed!

Erwin
03-10-2003, 01:35 AM
In the forum title, instead of the name of the forum, put this:

</a><a href="http://www.google.com">Click here to go to Google</a>

Xanthine
03-10-2003, 02:15 AM
Did you miss my above post? Haha. :)

Erwin
03-10-2003, 04:12 AM
You edited your post. :) Before, you linked to my post - I thought I would just post the solution anyway.

GoTTi
03-10-2003, 05:00 AM
very nice....thanx guys

GoTTi
03-10-2003, 05:03 AM
ok i did that and it worked...

but what I have the highlight/click hack on a forum, and when the mouseover just highlights the forum, and it isnt directly placed on the link, clicked...it goes to the forum.

how can this work with the highlight hack?

Erwin
03-10-2003, 05:15 AM
That will need a hack.

Do this:

Open forumdisplay.php

Find:


// end forumjump redirects


BELOW, add:


if ($forumid=='xx') {
header("Location: http://www.google.com");
exit;
}


Replace xx with the forumid that you are using to redirect.

This will make ForumJump work as well. Should work. If it doesn't, try to remove http:// from the URL in the code.

GoTTi
03-10-2003, 05:35 AM
workx...thanx Erwin

GoTTi
03-10-2003, 05:39 AM
can this work with forum threads also?

makin a thread when clicked goto a page?

Erwin
03-10-2003, 05:44 AM
With threads, that's a totally different hack. Firefly made a hack like that. Look for it in his profile. :)

stark427
03-14-2003, 01:37 AM
Hello.

I just used that "hack" (whatever it's called anyway) and it works fine :)

However I'd like to ask if there is any way for this forum/link to be viewed at the "Who's Online" panel, like all the other forums?

cause right now nothing shows up when a user visits that forum/link.

notice : don't know if this matters in any way, but the forum/link leads to a php page I have made and I have put in my /forum directory.

thanx in advance

Erwin
03-14-2003, 04:44 AM
It won't show on WOL unless the other site is part of your vB. :)