PDA

View Full Version : Show the category link...



Joe
Tue 4th Jul '00, 2:01am
Ok, this may be a bit hard to fallow...

I have set my forum to show categorys only, when sombody clicks on a forum in a category, the links above "new thread" just show the website name, and then the forum name, but skip the category!

ie:
http://www.bikeforums.com/forum/forumdisplay.php?forumid=36
and
http://www.bikeforums.com/forum/showthread.php?threadid=670

Instead of showing:
Bikeforums.com
-Tour de france
and
Bikeforums.com
-Tour de france
|-Todays standings

it should show:
Bikeforums.com
-racing
|-Tour de france
and
Bikeforums.com
-racing
|-Tour de france
|--Todays standings

If you dont include this, dose anyone know how i can hack this in? I really really want this =)

Joe
Tue 4th Jul '00, 2:05am
Another example, in this forum, this topic, instead of showing:
vBulletin Community Forum > vBulletin Suggestions and Feedback > Show the category link...

it should show:
vBulletin Community Forum > vBulletin > vBulletin Suggestions and Feedback > Show the category link...

in other words:
bbname > category > forum > topic

UserName
Tue 4th Jul '00, 2:57am
I'm not totally clear on the problem here, but I think the solution involves inserting the proper variable - probably $categorytitle - into certain templates in the place where you want the category name to appear. Is this what you want to do?

Joe
Tue 4th Jul '00, 4:06pm
Yeah, thats basicly all i want, i know i can add it to two templates, but i want it to be a clickable link, so what do i link it too? :)

John
Tue 4th Jul '00, 4:09pm
The URL should point at index.php?categoryid=$categoryid

John

Joe
Tue 4th Jul '00, 4:36pm
OK, i did it, all it took was adding:

<A HREF="index.php?categoryid=$categoryid">$categorytitle</a>

to the forumdisplay and showthread templates.

Thanks all


[Edited by BikeForums on 07-05-2000 at 01:12 AM]