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

   "presented by" text after Forum Title to Del.icio.us Add to del.icio.us
  Digg "presented by" text after Forum Title Digg it
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 
Top Posters Last 30 Days
AllenAyres 18
Gizmo 12
sirdude 6
GEN 3
tackaberry 2
Philipp 2
willing 2
Who's Online
0 Registered (), 35 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
[7.2.1] - Naked shoutbox
by Iann128
08/22/08 07:27 PM
Nice Ajax Chat
by M4D
08/21/08 10:02 PM
51-card NVIDIA folding rig cranks out 265,200 ppd
by AllenAyres
08/13/08 10:10 PM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.x] AddThis - Social Networking
by Gizmo
08/01/08 01:30 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
welcomeback1, Paug, Tim Keating, anscers, Murphdog
13324 Registered Users

 

 

 
fusionbb message board php hacks