The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Forum Sponsor Details »» | |||||||||||||||||||||||||
Forum Sponsor
Made by Adrian at Dreamit.co.uk Tested on 3.6.1 Hey, I seen a few people wanting a modification like this, this adds some fields in the Edit Forum Options, and allows you add a forum sponsor. It's a pritty basic mod'. I didn't want to spend alot of time on it, it does the functions people wanted. See the screenshots to get a better understanding. Installation Import product-sponsor.xml Done. Template Edit Open Forum Display templates > FORUMDISPLAY Find: HTML Code:
$navbar HTML Code:
<if condition="$foruminfo['sponsorenabled'] == 1"> <table width="100%" class="tborder" border="0" align="center"> <tr> <td class="alt1"><table width="100%" border="0" cellspacing="5"> <tr> <td width="10" rowspan="2" valign="middle"><div align="center"><a href="$foruminfo[sponsorlink]"><img src="$foruminfo[sponsorimage]" alt="$foruminfo[sponsorname] Image" border="0"></a></div></td> <td valign="top"><div align="left"><strong><a href="$foruminfo[sponsorlink]">$foruminfo[sponsorname]</a></strong></div></td> </tr> <tr> <td valign="top"><div align="left">$foruminfo[sponsordescription]</div></td> </tr> </table></td> </tr> </table> <br> </if> A quick install. If you use this, please click installed. Thanks. Adrian Show Your Support
|
Comments |
#112
|
|||
|
|||
Hi.
Is there a way to have it say above the logo: "This forum is sonsored by:" Can I do that myself or do I need to change the xml? Thanks for the help. Fabian |
#113
|
|||
|
|||
Hi.
Can any help me on this one? See above. Thanks. Fabian |
#114
|
|||
|
|||
^ Should be pretty easy ... Open the FORUMDISPLAY template
FIND: HTML Code:
<if condition="$foruminfo['sponsorenabled'] == 1"> <table width="100%" class="tborder" border="0" align="center"> <tr> <td class="alt1"><table width="100%" border="0" cellspacing="5"> <tr> <td width="10" rowspan="2" valign="middle"><div align="center"><a href="$foruminfo[sponsorlink]"><img src="$foruminfo[sponsorimage]" alt="$foruminfo[sponsorname] Image" border="0"></a></div></td> <td valign="top"><div align="left"><strong><a href="$foruminfo[sponsorlink]">$foruminfo[sponsorname]</a></strong></div></td> </tr> <tr> <td valign="top"><div align="left">$foruminfo[sponsordescription]</div></td> </tr> </table></td> </tr> </table> <br> </if> HTML Code:
<if condition="$foruminfo['sponsorenabled'] == 1"> <table width="100%" class="tborder" border="0" align="center"> <tr> <td class="alt1"><table width="100%" border="0" cellspacing="5"> <tr> <td width="100%" colspan="2" valign="left"><div align="left"><strong>This Forum is Sponsored By:</strong></div></td> </tr> <tr> <td width="10" rowspan="2" valign="middle"><div align="center"><a href="$foruminfo[sponsorlink]"><img src="$foruminfo[sponsorimage]" alt="$foruminfo[sponsorname] Image" border="0"></a></div></td> <td valign="top"><div align="left"><strong><a href="$foruminfo[sponsorlink]">$foruminfo[sponsorname]</a></strong></div></td> </tr> <tr> <td valign="top"><div align="left">$foruminfo[sponsordescription]</div></td> </tr> </table></td> </tr> </table> <br> </if> |
#115
|
|||
|
|||
Thanks Dannyloski. Works perfectly. Thank you for your help! :up:
Fabian |
#116
|
|||
|
|||
^ Glad to help out :up: ...
|
#117
|
|||
|
|||
attempted on 3.6.8 & forum doesn't show
is this hack applicable to that version? thanks |
#118
|
|||
|
|||
This works perfectly on my forum 3.6.8 and is exactly what we were looking for. Thank you very much!
|
#119
|
|||
|
|||
did you follow the exact instructions?
i've done everything - the template change and import - i have turned it on and completed the required fields for the particular forum absolutely nothing |
#120
|
|||
|
|||
working fine here...i just had to re-install the template edit after upgrading to 3.6.8
www.straferight.com/forums |
#121
|
||||
|
||||
Installed and working as described.
I have even managed to get it showing in the threads. What this mod needs to make it a super mod is some kind of random banners feature. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|