PDA

View Full Version : sub forums links?


imported_cono
12-21-2002, 07:06 AM
this might be very simple, but i have no idea how to do it :)

on the forum home page, i want to show links to the subforums under the forum description. i saw this in a couple of forums. i did a search here and didnt find it. is this a hack? my guess is its a template mod?

thanks in advanced.

assassingod
12-21-2002, 08:24 AM
You could just go to the subforum, copy the URL (remove the sessionhash though)
Then go to Forums and Moderators, edit the forum you want the link to appear, and place this in the description:

<a href="URL">Sub-Forum Nam</a>

Brad
12-21-2002, 02:56 PM
this would require a query for each forum, insted add them to the forumdiscription of their parent forum. Do not remove the sessionhash from the url. use its replacement so users without cookies do not have errors. The url sould look something like this:

forumdisplay.php?s=$session[sessionhash]&forumid=*forumidhere*

replace *forumidhere* with the forumid for the forum (the number at the end of the url)

imported_cono
12-21-2002, 05:42 PM
thank you

imported_cono
12-27-2002, 06:40 PM
ok, i am having a problem with this, if i do two links, i am fine. but i try doing the 3rd link... and i get this problem on my forum home.

http://www.source-forums.org/vbb/

but its fine with only 2 links? any ideas?

thanks

Brad
12-27-2002, 06:48 PM
Honestly i have no idea why its doing that. It might be something to do with the vBportal and/or the vBportal style. It works on my un hacked 2.2.9 on localhost.

imported_cono
12-27-2002, 07:01 PM
not sure either? i dont have any hacks on my board, so i dont think it would play a factor in that. i think i will just put two links and then a etc. at the end?

thanks anyways. :D

imported_cono
12-27-2002, 10:12 PM
i got it, i had to go to phpmydadmin and change the char value. steve at vbulletin.com helped me out. but i have one more question on this.

whats the diffrence between useing this - forumdisplay.php?s=$session[sessionhash]&forumid=*forumidhere*

and just copying and pusting the url to the forum? i have seen the other forums and how they do it. they just copy and paste it? but i would rather do it the better way.

thanks,