The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vB.Sponsors - Forum and Category Sponsorship Ads with Statistics Details »» | |||||||||||||||||||||||||||
vB.Sponsors - Forum and Category Sponsorship Ads with Statistics
Developer Last Online: Jun 2016
vB.Sponsors Forum and Category Sponsorship Ads with Statistics Add sponsor's ads or Google AdSense to forums & categories INTRO: This extension will allow you to add sponsors to you forums and categories or use Google AdSense. You can also track the hits to each sponsor by date as well. See below for more features and demo sites. For vBulletin 3.5.x, please see https://vborg.vbsupport.ru/showthread.php?t=103327 For vBulletin 3.7.x, please see https://vborg.vbsupport.ru/showthread.php?t=183335 FEATURES: -Enable sponsorship on forums and categories -Ability to use Google AdSense code -Use a banner or a text link -Supports large banners for the top of the sponsored forum and small banners for the forum listing -Tracks hits for each sponsor -Statistics viewable inside Admin CP -Ability to alter the "Forum sponsored by:" text -Easy to use and install INSTALLATION: Documentation is located here. I've found it's easier to maintain an online version rather than files included in the download. 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. VERSION HISTORY: 2.0.6 - BugFix -Changed maxversion attribute to enable vBulletin 3.7 installs 2.0.5 - Feature Add / BugFix -Added version checking -Added support for Google Adsense (template code has been updated) -Fixed the table layout in the AdminCP -Options are now controlled via vBulletin options 2.0.0 - Initial Release DEMO SITES: If you'd like your forum added here, PM me. Sites listed at http://www.digitaldeviation.com/proj...referencesites ---FEATURE REQUEST LIST--- -Integration: phpAdsNew integration -Reporting: Sponsors able to view statistics from User CP -Reporting: Export reports in PDF (or other) format -Rights: Ability to hide sponsors based on a user's group -Option: Rotating banner support -Option: Multiple sponsors per forum/category -Option: Remove the branding copyright -Option: Ability to not show sponsor's banner in the main forum listing, but show when the forum is displayed. -Option: Display ads in individual threads -Option: Email the sponsor daily/weekly/monthly hit statistics ---KNOWN BUGS--- -NONE Don't forget to click the install link below if you use it. Supporters / CoAuthors Show Your Support
|
Comments |
#62
|
|||
|
|||
Quote:
Yup, I did that but it's still not displaying in the forumdisplay page. Can you take a look at let me know what might be the problem? Would hate to not use the mod because it works at the main cat level, just not forumdisplay. |
#63
|
|||
|
|||
Quote:
|
#64
|
|||
|
|||
Quote:
Quote:
There's no reason it shouldn't work with the forum path specified correctly in the link.php file. Keep in mind the vB.Sponsors directory is case sensitive. There is a file included that you can use to get the correct path. See the documentation for details. |
#65
|
|||
|
|||
Basically I need to get the right path on the link file right?
|
#66
|
|||
|
|||
Yes. If your forum is located in /usr/com/userid/forums/, the path would be /usr/com/userid/forums/vB.Sponsors/.
See http://www.digitaldeviation.com/content/view/57/20/ for more info. |
#67
|
|||
|
|||
I appreciate your help. It works perfectly...
|
#68
|
||||
|
||||
How do I go about centering the large banners in the actual forum view?
|
#69
|
||||
|
||||
I get this error trying to add a sponsor:
Fatal error: Field sponsor_enabled is not defined in $validfields in class vb_datamanager_forum in /includes/class_dm.php on line 485 |
#70
|
||||
|
||||
Installed, rnning and nice a 100%. Thanks
|
#71
|
||||
|
||||
To Edit FORUM DISPLAY and FORUM HOME
---------------------------------------- Installation guide for vB.Sponsors 2.0. Product Installation Extract the contents of vB.Sponsors.zip to your computer Open upload/vB.Sponsors/link.php in notepad, wordpad or similar editor. On line 30, enter the path to your forum. This is the physical path not the URL. If your forum is located in /usr/com/userid/forums/, the path would be /usr/com/userid/forums/vB.Sponsors/ You can find the physical path to your forum directory by uploading and running the settings-check.php file that is in the do not upload/vB.Sponsors directory to the vB.Sponsors directory on your web server. Please delete this file when you are done. Upload the files in the upload directory to the corresponding directory on the web server under the forum directory. Open the Admin CP of your board. On the left hand side scroll down to Plugins & Products. Click on Manage Products. Click on Add/Import Product. Click on Browse... and choose the vB.Sponsors-product.xml file. Click Import. Template Installation You will need to modify the templates of your style(s). Sample template code is included with the download. This is for the default vBulletin style only. I highly recommend that you create a test style to apply template changes before you commit them to your regular styles. forumhome_forumbit_level1_nopost FIND: Code:
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> Code:
<!-- vBSponsors --> <if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> <div style="float:$stylevar[right]"> $vboptions[sponsor_global_default_text] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank"> <if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" /> <else /> $forum[sponsor_name] </if></a> </div> </if> <!-- / vBSponsors --> FIND: Code:
<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> Code:
<!-- vBSponsors --> <if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> <div style="float:$stylevar[right]"> $vboptions[sponsor_global_default_text] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank"> <if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" /> <else /> $forum[sponsor_name] </if> </a> </div> </if> <!-- / vBSponsors --> FIND: Code:
<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if> Code:
<!-- vBSponsors --> <if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> $vboptions[sponsor_global_default_text] <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])"> <if condition="$vboptions[sponsor_global_enable_big_banners] == 1"> <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> </if></a> </if> <!-- / vBSponsors --> FIND: Code:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if> </td> </tr> </table> Code:
<!-- vBSponsors --> <if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> <div style="float:$stylevar[right]"> $vboptions[sponsor_global_default_text] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank"> <if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1"> <img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" /> <else /> $forum[sponsor_name] </if> </a> </div> </if> <!-- / vBSponsors --> |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|