The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB.Sponsors - Forum and Category Sponsorship with Statistics Details »» | |||||||||||||||||||||||||||
vB.Sponsors - Forum and Category Sponsorship with Statistics
Developer Last Online: Jun 2016
vB.Sponsors Forum and Category Sponsorship Ads with Statistics Add sponsor's ads to forums & categories INTRO: This extension will allow you to add sponsors to you forums and categories. You can also track the hits to each sponsor by date as well. See below for more features. FEATURES: -Enable sponsorship on forums and categories -Use a banner or a text link -Supports large banners for the top of the sponsored forum, large banners at the top of the thread and small banners for the forum listing -Tracks hits for each sponsor -Statistics viewable inside Admin CP -Easy to use and install THANKS: ...to vBulletin.org and its members. ...to the people who have installed this mod, suggested improvements and found bugs. FEEDBACK: Feedback Forums: http://www.DigitalDeviation.com/forums/ Feedback is always welcomed! Good or bad. Post all feedback and feature requests in this thread or in the forums above. Trust me, I'll be reading it even if I don't respond to every post. SUPPORT: Support Forums: http://www.DigitalDeviation.com/forums/ Should you need any assistance with this, you can reach me via the link above or by posting in this thread. In either case, please post as much detail as possible with any code or screenshots pertaining to the issue. MySQL, PHP and web server software versions are helpful. You can obtain these from the Admin CP in vBulletin. DONATE: If you like this product, a donation would be appreciated. But of course its not required. INSTALLATION: Documentation is located here. I've found it's easier to maintain an online version rather than files included in the download. DEMO SITES: If you'd like your forum added here, PM me. Sites listed at http://www.digitaldeviation.com/proj...referencesites VERSION HISTORY: 1.1.0 - Code Cleanup/Bugfix/Feature Added Big banner display now works Added the ability to change the Forum Sponsored By text Updated example template code (added SHOWTHREAD template code) Cleaned up code (XML, vBSponsors.php, link.php) Code now more closely matches the vBulletin 3.6.x version (here) Updated the documentation 1.0.5 - Feature Added/Bug Fix/Code Cleanup Added a large banner option for the forum that's sponsored by the sponsor Added FORUMDISPLAY template code Cleaned up code (link.php, vBSponsors.php) 1.0.4 - Bug Fix Corrected statistics database error. Template code updated. 1.0.3 - Bug Fix Corrected issue with settings. Now saves settings. Fixed parser error. 1.0.2 - Features Added Added Admin CP block Stats are now viewable in the Admin CP by administrators Minor template changes (please verify your code if upgrading)` 1.0.1 - Bug Fix Corrected issue with vBSponsors table. Now correctly adds statstics. 1.0.0 - Initial Release ---FEATURE REQUEST LIST--- -Stats viewable by the sponsors in the User CP of their account -Option to use Adsense code instead of link -Ability to change the "Forum Sponsored By" text on a per forum basis -Ability to hide sponsors based on user groups -Multiple sponsors per forum/category -Option to remove the branding copyright ---KNOWN BUGS--- -NONE Don't forget to click the install link below if you use it. Supporters / CoAuthors Show Your Support
|
Comments |
#272
|
||||
|
||||
Quote:
Awwww well this seemed to fix the issue but only within the forums that have the banner displayed turned on an in all the other forums it still throw the template off???? Any ideas? This is what my code looks like adding the tags you suggested.. Did I do it right? <div align="center"> <if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"><table class="tborder" cellpadding="6" cellspacing="1" border="0" width="468" height="60" align="center"> <tr> <td class="tcat" align="center"><span class="normal"><font size="1"> $vbphrase[sponsored_by] </font> </span></td> </tr> <tr> <td class="alt2" align="center"><span class="normal"><font size="1"><a href="vB.Sponsors/link.php?f=$foruminfo[forumid]" title="$foruminfo[sponsor_name]" target="_blank"> <if condition="$foruminfo[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <if condition="!empty($foruminfo[sponsor_banner_big])"> <img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" /> <else /> <img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" /> </if> <else /> $foruminfo[sponsor_name] </if></a> </if></font> </span></td> </tr> </table> </div> |
#273
|
|||
|
|||
Try this:
HTML Code:
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> <div align="center"> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="468" height="60" align="center"> <tr> <td class="tcat" align="center"> <span class="normal"><font size="1">$vbphrase[sponsored_by] </font></span> </td> </tr> <tr> <td class="alt2" align="center"> <span class="normal"> <font size="1"> <a href="vB.Sponsors/link.php?f=$foruminfo[forumid]" title="$foruminfo[sponsor_name]" target="_blank"> <if condition="$foruminfo[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <if condition="!empty($foruminfo[sponsor_banner_big])"> <img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" /> <else /> <img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" /> </if> <else /> $foruminfo[sponsor_name] </if> </a> </font> </span> </td> </tr> </table> </div> </if> |
#274
|
||||
|
||||
OK I will use the HTML tags next time sorry.. Now I tried the updated code and the weird thing is as soon as I apply that code my server spike to 80% utilization:alien:
What is going on? |
#275
|
||||
|
||||
Yep just verified with my Hosting provider that as soon as I add this code in my FORUMDISPLAY the server peeks to 80% Any ideas why?
|
#276
|
|||
|
|||
Not sure. There's nothing overly complex happening there. Have you checked to see what the template does with any changes (stock)?
|
#277
|
||||
|
||||
Quote:
If I dont add your code and just add the default code as described originally in the hack there are no issues. |
#278
|
|||
|
|||
Quote:
Try this: HTML Code:
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> <div align="center> $vbphrase[sponsored_by] <a href="vB.Sponsors/link.php?f=$foruminfo[forumid]" title="$foruminfo[sponsor_name]" target="_blank"> <if condition="$foruminfo[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <if condition="!empty($foruminfo[sponsor_banner_big])"> <img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" /> <else /> <img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" /> </if> <else /> $foruminfo[sponsor_name] </if></a> </div> </if> |
#279
|
||||
|
||||
Quote:
Ok I added the above code and server appears good BUT the banner is still on the left side? Its still not centering the banner? |
#280
|
||||
|
||||
I have noticed on the code you posted there seems to a couple lines that look very identical???
HTML Code:
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> <div align="center> $vbphrase[sponsored_by] <a href="vB.Sponsors/link.php?f=$foruminfo[forumid]" title="$foruminfo[sponsor_name]" target="_blank"> <if condition="$foruminfo[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <if condition="!empty($foruminfo[sponsor_banner_big])"> <img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" /> <else /> <img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" /> </if> <else /> $foruminfo[sponsor_name] </if></a> </div> </if> <img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" /> <img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" /> |
#281
|
||||
|
||||
sorry to be a pest...
I have done this to correct the allignment of the banner and it works. BUT the text (Visit Our Site is still on the left.. How can I also Center that text or either place it under the banner or below the banner ? HTML Code:
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> <div align="center> $vbphrase[sponsored_by] <a href="vB.Sponsors/link.php?f=$foruminfo[forumid]" title="$foruminfo[sponsor_name]" target="_blank"> <p align="center"> <if condition="$foruminfo[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <if condition="!empty($foruminfo[sponsor_banner_big])"> <img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" /> <else /> <img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" /> </if> <else /> $foruminfo[sponsor_name] </if></a> </div> </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|