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)

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 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks