PDA

View Full Version : "Fivelinks template"


-saturn-
Wed 7th Feb '01, 2:04pm
I was wondering if there is a way to use an altered "Fivelinks template" for a private forum, than the one usually displayed.

Is there an easy way to do it from the control panel?

Thanks in advance!

JamesUS
Wed 7th Feb '01, 2:07pm
If you go to CP > Edit Forum, you can specify a number of different custom templates. I can't remember if fivelinks is offered but if not you could make an alternative header template calling a different fivelinks template.

-saturn-
Wed 7th Feb '01, 2:16pm
Thank you JamesUS. I think I got it! :)

-saturn-
Wed 7th Feb '01, 3:28pm
Well, I found everything I needed to edit. I made new templates. I made one called $fivelinks_new but when I replace the standard one with the small icons won't display at all.

Any sugestions?

I think that this is a bugm because even if I just change the name "fivelinks" without affecting the content, it doesn't work.

JamesUS
Wed 7th Feb '01, 4:03pm
This should do the trick:

Find this:

eval("\$fivelinks = \"".gettemplate("fivelinks")."\";");

in forums/global.php

Under it, add this:

eval("\$fivelinks_new = \"".gettemplate("fivelinks_new")."\";");


Hope that helps :)

jojo85
Wed 7th Feb '01, 4:15pm
Your are god james us :p

-saturn-
Wed 7th Feb '01, 8:40pm
If not a God, he sure knows his vBulletin! :)

Thanks a lot James!

JamesUS
Thu 8th Feb '01, 2:23am
No Problem, and thanks for the compliments :)