|
#57761
06/09/2004 5:21 PM
|
Joined: Aug 2000
Posts: 178
Member
|
Member
Joined: Aug 2000
Posts: 178 |
Any chance of a modification that allows you to specify a url for the Header Logo in a forum (as set in styles)? I would think if not set then default to the Forum summary page .. but if set then the click takes you to the specified url. Good way to help generate clicks in Sponsored forums. at least for me Thanks for your time and consideration!
|
|
|
#57762
06/10/2004 6:13 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
In public_forum_page.pl. FIND: if((($Moderator eq $vars_wordlets{"no_mods"}) && ($vars_display{DisplayModBy} eq "nomods")) || ($vars_display{DisplayModBy} eq "no")) { $modby = ""; } # end if ADD AFTER: my $forumlinkage = "forumimage_url_" . $in{f}; my $link = ($vars_wordlets{$forumlinkage} ne "") ? $vars_wordlets{$forumlinkage} : $ULTIMATEBB{""}; FIND: my $hf = &generic_wrapper({ ADD AFTER: Now, in order to add links to specific forums, add lines to vars_wordlets.cgi in the following format. If you want forum 15 to link to www.alforadmin.com (which I strongly reccomend ), add this line q!forumimage_url_15! => q!http://www.alforadmin.com!, Voila!
|
|
|
#57763
06/12/2004 5:03 AM
|
Joined: Aug 2000
Posts: 178
Member
|
Member
Joined: Aug 2000
Posts: 178 |
Thanks Ian.. works great...
What would I change to make this spill over to the public_topic_page ? That would make this Modification complete.
Thanks!
|
|
|
#57764
06/12/2004 3:22 PM
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
In public_topic_page.pl. FIND: $bluear = "" if $vars_display{BlueArrow} ne "ON"; ADD AFTER: my $forumlinkage = "forumimage_url_" . $in{f}; my $link = ($vars_wordlets{$forumlinkage} ne "") ? $vars_wordlets{$forumlinkage} : $ULTIMATEBB{""}; FIND: my $hf = &generic_wrapper({ ADD AFTER:
|
|
|
#57765
06/12/2004 9:52 PM
|
Joined: Aug 2000
Posts: 178
Member
|
Member
Joined: Aug 2000
Posts: 178 |
ha I knew it But alas, I didnt try it .. thanks again!
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|