Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vB.Sponsors - Forum and Category Sponsorship Ads (and AdSense) with Statistics Details »»
vB.Sponsors - Forum and Category Sponsorship Ads (and AdSense) with Statistics
Version: 2.0.7, by Deviation Deviation is offline
Developer Last Online: Jun 2016 Show Printable Version Email this Page

Category: Major Additions - Version: 3.8.x Rating:
Released: 07-01-2010 Last Update: Never Installs: 91
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

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.

For vBulletin 3.7.x, please see https://vborg.vbsupport.ru/showthread.php?p=1557085.

For vBulletin 3.6.x, please see https://vborg.vbsupport.ru/showthread.php?p=1116730

For vBulletin 3.5.x, please see https://vborg.vbsupport.ru/showthread.php?t=103327

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.

THANKS:
...to vBulletin.org and its members.
...to the people who have installed this mod, suggested improvements and found bugs.

FEEDBACK:
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. You can also reach me at DigitalDeviation.com or on Twitter @JustinDoles.

SUPPORT:
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, feel free to buy me a cup of coffee.


VERSION HISTORY:
2.0.7 - Bugfix / Feature Add
-Added support for vBulletin 3.8.x.
-Added vbulletin-style.xml file to easily import template modifications for vBulletin 3.8.x.
-Previous versions must manually edit the templates.
-Added a verification for the forum path in link.php.

---KNOWN BUGS---
-Invalid Redirect
--You will need to add each sponsor URL (FULL URL) to the "Redirect Domain Whitelist" in the vBulletin Options -> Site Name / URL / Contact Details section. See screenshot below.
Don't forget to click the install link below if you use it.

Download Now

File Type: zip vB.Sponsors 2.0.7.zip (201.8 KB, 967 views)

Screenshots

File Type: jpg forum-list-screenshot.jpg (72.6 KB, 0 views)
File Type: jpg forum-screenshot.jpg (52.5 KB, 0 views)
File Type: png admincp-vB.Sponsors-options-screenshot.PNG (43.6 KB, 0 views)
File Type: png admincp-statistics-report.PNG (10.2 KB, 0 views)
File Type: png admincp-view-statistics-screenshot.PNG (6.6 KB, 0 views)
File Type: png whitelist.png (20.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
JohorBahru, TAIFUN_T

Comments
  #52  
Old 03-06-2011, 02:56 AM
SVTCobraLTD SVTCobraLTD is offline
 
Join Date: Jul 2007
Location: PA
Posts: 841
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deviation View Post
Check the path you specified in vB.Sponsors/link.php (line 32).
Must of missed that in the instructions. Working now. Thank you.
Reply With Quote
  #53  
Old 03-06-2011, 11:45 AM
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<!-- vBSponsors --> <if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1"> <if condition="!empty($foruminfo[sponsor_adsense])"> $foruminfo[sponsor_adsense] <else /> $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> </if> <!-- / vBSponsors -->
Reply With Quote
  #54  
Old 03-08-2011, 12:49 AM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like you're missing the alignment piece. Give this a try:
PHP Code:
        <!-- vBSponsors -->
        <if 
condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
            <
div style="text-align:center">
            <if 
condition="!empty($foruminfo[sponsor_adsense])">
                
$foruminfo[sponsor_adsense]
            <else />
                
$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="$vboptions[sponsor_global_enable_big_banners] == 1 AND !empty($foruminfo[sponsor_banner_big])">
                        <
img src="$foruminfo[sponsor_banner_big]alt="$foruminfo[sponsor_name]border="0" />
                    <else />
                        <if 
condition="!empty($foruminfo[sponsor_banner])">
                            <
img src="$foruminfo[sponsor_banner]alt="$foruminfo[sponsor_name]border="0" />
                        </if>
                    </if>
                <else />
                    
$foruminfo[sponsor_name]
                  </if></
a>            
            </if>
            </
div>
        </if>
        <!-- / 
vBSponsors --> 
Reply With Quote
  #55  
Old 03-08-2011, 01:52 AM
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

YOU ROCK!

Thanks!

D.
Reply With Quote
  #56  
Old 03-08-2011, 04:30 PM
zepcom zepcom is offline
 
Join Date: Dec 2010
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deviation View Post
Looks like you're missing the alignment piece. Give this a try:
Awesome! This product worked fine for forum graphical ads, but I had been struggling with getting text-only ads to display on FORUMDISPLAY and had tried just about everything I was capable of. For text ads, it would only display "Sponsored by" and then no link, no text, no nothing.

Your fix posted two above this did the trick and resolved all issues. Thanks so much for posting this!!
Reply With Quote
  #57  
Old 03-08-2011, 10:40 PM
dgparent dgparent is offline
 
Join Date: May 2007
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyway to get more spots for ads ? right now ads are only displayed up top and in the main forum listing ?
Reply With Quote
  #58  
Old 04-17-2011, 04:13 AM
Gadget_Guy Gadget_Guy is offline
 
Join Date: Jun 2010
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to remove the "Sponsored By:" text next to the banners?

D.
Reply With Quote
  #59  
Old 04-17-2011, 12:12 PM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gadget_Guy View Post
Is there a way to remove the "Sponsored By:" text next to the banners?

D.
I don't have this version installed, but in the last version it used to be where you would go to vBulletin Options >> vB.Sponsor.settings and then remove the info from the "Sponsor Text" field.
Reply With Quote
  #60  
Old 04-22-2011, 02:55 PM
mp3u mp3u is offline
 
Join Date: Jul 2009
Posts: 90
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deviation View Post
Check the path you specified in vB.Sponsors/link.php (line 32).
Any chance of a screen shot of what line 32 is supposed to be? Line 32 in my editor is totally blank... (32 lines down from the top of the page in wordpad)
Reply With Quote
  #61  
Old 04-25-2011, 12:00 AM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mp3u View Post
Any chance of a screen shot of what line 32 is supposed to be? Line 32 in my editor is totally blank... (32 lines down from the top of the page in wordpad)
It's step 3 here: http://digitaldeviation.com/document...tion-guide/20x
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05240 seconds
  • Memory Usage 2,372KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete