Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
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.

Sponsored Links
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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)

Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
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


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,575
Posts293,927
Members13,822
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
cgregg 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)