The Arcive of vBulletin Modifications Site. |
|
Make Linked Forums Appear as Sponsors Details »»
|
|||||||||||||||||||||||||||
|
Make Linked Forums Appear as Sponsors
Developer Last Online: Oct 2023
This was inspired by the sponsor forums on vBulletin.nl and implemented at theadminzone.com. I would like to share it with you.
Open your forumhome_forumbit_level2_post template and replace the code with: HTML Code:
<tr align="center"> <if condition="$forum[link] != ''"> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]" target="_blank"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> </td> <td align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">4<else />3</if>"> <!-- Advertising Banner --> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]" target="_blank"><img src="$stylevar[imgdir_misc]/banner_$forumid.gif" width="185" height="25" border="0"></a> <!-- End Advertising Banner --> </td> <else /> <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td> <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]"> <div> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if> </div> <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&f=$forum[forumid]">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if> <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td> <td class="alt1">$forum[threadcount]</td> <td class="alt2">$forum[replycount]</td> <if condition="$vboptions['showmoderatorcolumn']"> <td class="alt1"><div class="smallfont">$forum[moderators] </div></td> </if> </if> </tr> $childforumbits I don't have a screen shot but you can see it in action at either of the sites listed above. I am sure for those who use Advertising on their sites, this would allow a new avenue of advertising. You can probably modify the above code to work with Categories easily enough as well. Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
hey wayne
![]() Could you provide a *.txt with the instruction please? |
|
#3
|
||||
|
||||
|
Nice mod, could be useful to me. Thanks.
|
|
#4
|
||||
|
||||
|
Quote:
|
|
#5
|
|||
|
|||
|
Nice, however Im a little confused on what to do when you create the banner. You create the banner I know, but what would I name it if my forumid would be 39?
|
|
#6
|
|||
|
|||
|
banner_39.gif
|
|
#7
|
||||
|
||||
|
nice one Wayne
I might use that on my design board
|
|
#8
|
||||
|
||||
|
any template changes to make this work on child forums?
http://www.apocalypselives.com/forum...splay.php?f=37 |
|
#9
|
|||
|
|||
|
I've had this installed for some time now at my website, www.hr3rdgen.org/forum.php
|
|
#10
|
||||
|
||||
|
nice, Luke!
|
![]() |
|
|