UBB.Dev
Posted By: Painfool "presented by" text after Forum Title - 04/19/2006 7:49 PM
What would be the best way to implement the addition of text after the text forum title (below the logo)

WOuld need to be able to specifiy it for each forum, similiar to what Ian did with the Forum Logo/Link. Would want the ability to add a link as well.
Posted By: Ian Spence Re: "presented by" text after Forum Title - 04/22/2006 7:38 AM
sorry for the delayed response, but I'm towards the end of the semester and I'm swamped.

essentially, you'll do the same thing

Find
Code
	my $introbr = $this_forum[16] ? qq~
~ : "";
Add after
Code
	my $meh = "forum_after_title_" . $in{f};
Find
Code
		after_image => qq~

<font size="$vars_style{TextSize}" face="$vars_style{FontFace}" color="$vars_style{LinkColor}"><b>
$forum_name
</b>
After it, add
Code
$vars_wordlets{$meh}
Now open up vars_wordlets.cgi and add lines like

Code
q!forum_after_title_1! => q!Stuff I want after the name in forum 1!,
Edit the 1 to be the forum number, and you can add html to the right side, so you can add links, images, whatever

(I haven't touched perl in a while, so I apologize if I messed anything up)
Posted By: Painfool Re: "presented by" text after Forum Title - 04/22/2006 11:06 PM
Thanks!

Worked great except for the one extra close quotes in my $meh = "forum_after_title_" . $in{f}"; smile Removed it and worked perfectly.

Thank you once again!
Mike
© UBB.Developers