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

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

Category: Major Additions - Version: 3.6.x Rating:
Released: 11-13-2006 Last Update: 06-22-2008 Installs: 352
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 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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 02-18-2007, 08:23 PM
jonty jonty is offline
 
Join Date: Dec 2006
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Had to alter line 49 to
eval(exec_header_redirect($vbulletin->url));

as I was getting a
Quote:
cannot find the phrase ''.
Reply With Quote
  #93  
Old 02-20-2007, 06:09 PM
red-dna red-dna is offline
 
Join Date: Mar 2006
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed, it worked fine, looks promising
But i unistall it, because it only take a picture and not a html code (i need it for my ad-banners)
Reply With Quote
  #94  
Old 02-22-2007, 01:32 PM
PhilForce PhilForce is offline
 
Join Date: Feb 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great mod, thanks for doing it.

However, I, sucking at PHP and the likes, am having a problem. Whether I use just a text link or a banner image, whenever I click it I am just directed towards www.mysite.com/forums/vB.Sponsors/link.php which is a blank page. Why am I not being directed to to the link that I put as the sponsor's?

Thanks in advance!
Reply With Quote
  #95  
Old 02-23-2007, 11:21 PM
K2_02 K2_02 is offline
 
Join Date: Dec 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't get the large banner to show up. Only the small one. Can someone point me in the right direction - and post it here on this thread for anyone else having this problem in the future? Thanks!
Reply With Quote
  #96  
Old 02-28-2007, 10:41 AM
madkeen madkeen is offline
 
Join Date: Jan 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the mod

Is it possible to use .swf files?

Any idea on if/when phpAdsNew integration will be available?
Reply With Quote
  #97  
Old 02-28-2007, 11:15 AM
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Location: Pasadena, Texas, USA
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im trying to delete an ad.... it does nothing... i checked the permissions... they are fine... i went to the options... no problem there... i went to see if i could delete it from the options.. its not showing up there... hmmm
Reply With Quote
  #98  
Old 02-28-2007, 11:40 AM
madkeen madkeen is offline
 
Join Date: Jan 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you gone into Forums & Moderator - Forum Permissions - The Forum you want to delete the ad from and select "No" for "Enable Sponsor" then click on Save
Reply With Quote
  #99  
Old 02-28-2007, 09:49 PM
madkeen madkeen is offline
 
Join Date: Jan 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have replaced the Forumdisplay code, as below
Code:
<!-- vBSponsors -->
<center>
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
$vboptions[sponsor_global_default_text] <br/> <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>
</center>
<!-- / vBSponsors -->
with this code

Code:
<!-- vBSponsors -->
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
<table class="tborder" cellpadding="1" cellspacing="1" border="0" align="center">
 <tr>

<td class="tcat" align="center"><span class="normal"><font size="1">
<span class="smallfont">

$vboptions[sponsor_global_default_text]

</span> </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])">
<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>

  </span></td>
 </tr>
</table>
</if>
<!-- / vBSponsors -->
It displays fine except the New Thread and Page Links are now shown above the banner instead of below the banner, see attached.

Can anyone tell me what I am doing wrong and how to fix this?

Thanks
Reply With Quote
  #100  
Old 02-28-2007, 10:15 PM
K2_02 K2_02 is offline
 
Join Date: Dec 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tired that code and still can't get the banner to show up anywhere. I'm wondering if I have a problem because of my forum layout. See below:

-- Suspension & Brakes (not a forum)
---- Shocks & Springs
---- Stock & Aftermarket Brakes
---- Lowering Kits
---- Stabilizers & Traction Bars

The client wants to sponsor the suspension & brakes forums and have the small logo beside that on the forum list but we want the large banner to show at the top of all the subforums.

Is that possible? If so, how? THANKS!
Reply With Quote
  #101  
Old 03-02-2007, 04:41 PM
PhilForce PhilForce is offline
 
Join Date: Feb 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone help me with my problem? The sponsor only links to www.mysite.com/forums/vB.Sponsors/link.php which is a blank page. Why isn't it forwarding to the actual sponsor link?

Please help me out!

Thanks!
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 06:46 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.08448 seconds
  • Memory Usage 2,322KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete