php forum
php mysql forum
php mysql smarty
 
Topic Options
#58125 - 04/19/06 12:49 PM "presented by" text after Forum Title
Painfool Offline
Member

Registered: 08/14/00
Posts: 182
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.

Top
#58126 - 04/22/06 12:38 AM Re: "presented by" text after Forum Title
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
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)
_________________________
Code monkey like Fritos

Top
#58127 - 04/22/06 04:06 PM Re: "presented by" text after Forum Title
Painfool Offline
Member

Registered: 08/14/00
Posts: 182
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

Top


Moderator:  Gizmo 
Who's Online
0 registered (), 31 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Forum 'Trader Ratings'.
by blaaskaak
11/20/08 08:27 AM
Problems reading a lot of old posts here
by Ruben Rocha
11/18/08 04:33 PM
PhotoPost BB Code Popup
by Iann128
11/15/08 01:24 PM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
Looking for a simple upload script
by AllenAyres
11/11/08 02:12 PM
New Mods
Forum 'Trader Ratings'.
by McLemore
11/19/08 02:14 PM
[7.4] Keep log of custom title changes
by blaaskaak
10/27/08 07:51 AM
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Newest Members
Begbie, cenk, MATTO, DougMMcts, tim Anderson
13361 Registered Users
Top Posters
AllenAyres 25448
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks