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
  #132  
Old 04-27-2007, 05:30 PM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zilvia View Post
Is there a way to enable the index page to have a Text link, and then inside the forum it will then display the Big banner? I tried this ever such way and it will always change the index page to a bad image.
Not yet. I'll add that to the list of requests.

Quote:
Or... I cant use Text links on both the Forum Index and Within the forum. No matter what I do it will either display the Link on the index page perfectly, then will only show the Forum Sponsored by: within the forum, with no link.

I would like to have both pages show a text link.

Thanks!!
I would assume that its an issue with your style. The code I've provided is for the default style and just to give you an idea of how to lay it out. Some style will require some adjustments.
Quote:
Originally Posted by joker2040 View Post
Great mod but how can I disable the banners for one specific user group?
You can't. Yet....
Quote:
Originally Posted by Masiello View Post
It works good for vB 3.6.5 with no standart skin/template?
Not sure I understand what you mean. It will work with most styles. The code I've given is for the defualt style.

DOCUMENTATION IS AVAILABLE AT http://www.digitaldeviation.com/docu...ion/vbsponsors

Once I obtain my new license, I'll be able to update the mod and the first post. Hopefully that will be tonight.
Reply With Quote
  #133  
Old 05-14-2007, 06:32 PM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just got my new license. I'll be working to get a new release out ASAP.
Reply With Quote
  #134  
Old 05-17-2007, 10:21 PM
pelican pelican is offline
 
Join Date: Sep 2004
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it working for 3.6.7 since there is quite a change in 3.6.6
Reply With Quote
  #135  
Old 05-17-2007, 11:35 PM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pelican View Post
is it working for 3.6.7 since there is quite a change in 3.6.6
Actually I'm not sure yet. I haven't tested it, but there's one way to find out.
Reply With Quote
  #136  
Old 05-19-2007, 10:12 PM
grahamsmythe grahamsmythe is offline
 
Join Date: Apr 2007
Location: Kent, United Kingdom
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, I'm running vBulletin 3.6.7 on my forum, and I've just installed vB.Sponsors.
I installed it without any problem, and thought I'd try and set up a 'test' forum sponsor.
The problem I have, is when I click on the sponsor, a new window opens with an error message.

When installing vB.Sponsors, I was unsure of the path of my forum, so I ran the 'settings-check', and it came back with the following:
Directory name is: /home/v/i/myforumname_co_uk
Forum directory:: /home/v/i/myforumname_co_uk

So, in my link.php file, I changed it so it now reads as follows:
/home/v/i/myforumname_co_uk/
* Modify this to reflect the path to you forums*/
chdir('/path/to/forums/');

As I said at the beginning, when I click on the sponsor, a new window opens with an error message that says "Parse error: parse error, unexpected '/' in /home/v/i/vincentownersclub_co_uk/vB.Sponsors/link.php on line 29"

What am I doing wrong?

Any help would be much appreciated.
Reply With Quote
  #137  
Old 05-20-2007, 10:09 AM
geevest.com geevest.com is offline
 
Join Date: Apr 2006
Posts: 709
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have some problem about vbsponsor......
banner show but if click banner
this error message :
Quote:
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/nx/public_html/forum/vB.Sponsors/link.php on line 30

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/nx/public_html/forum/vB.Sponsors/link.php on line 32

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nx/public_html/forum/vB.Sponsors/link.php on line 32
what happen? anybody can help? this verry urgent for me
Reply With Quote
  #138  
Old 05-21-2007, 12:27 AM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by grahamsmythe View Post
When installing vB.Sponsors, I was unsure of the path of my forum, so I ran the 'settings-check', and it came back with the following:
Directory name is: /home/v/i/myforumname_co_uk
Forum directory:: /home/v/i/myforumname_co_uk

So, in my link.php file, I changed it so it now reads as follows:
/home/v/i/myforumname_co_uk/
* Modify this to reflect the path to you forums*/
chdir('/path/to/forums/');

As I said at the beginning, when I click on the sponsor, a new window opens with an error message that says "Parse error: parse error, unexpected '/' in /home/v/i/vincentownersclub_co_uk/vB.Sponsors/link.php on line 29"
It looks like line 29 got messed up in link.php. Here's what lines 28 through 32 should look like for you:
PHP Code:
/********************
     * Modify this to reflect the path to you forums*/
    
chdir('/home/v/i/myforumname_co_uk/');

    require_once(
'./global.php'); 
I'm guessing you accidentally deleted one of the slashes in that comment line on line 28. All else fails, start with a fresh link.php.

Quote:
Originally Posted by geevest.com View Post
i have some problem about vbsponsor......
banner show but if click banner

what happen? anybody can help? this verry urgent for me
Check that the path to your forums directory is correct. When you enter the path to the forums on line 30 in link.php, be sure that it ends with a forward slash ( / ).
Reply With Quote
  #139  
Old 05-27-2007, 09:13 PM
grahamsmythe grahamsmythe is offline
 
Join Date: Apr 2007
Location: Kent, United Kingdom
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed vb.sponsors - at first glance, all looks pretty good (see attachment 1).
The problem I have, is if you look at attachment 2, you'll see that when you actually go into the sponsored forum, at the top, just below the forum title, it just says "his Forum Has Kindly Been Sponsored By:" and doesn't give the name of the sponsor.
I've double and triple checked the changes I made to the style templates and all seems to be OK.
Any help would be much appreciated.
Reply With Quote
  #140  
Old 05-28-2007, 12:45 AM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by grahamsmythe View Post
I have installed vb.sponsors - at first glance, all looks pretty good (see attachment 1).
The problem I have, is if you look at attachment 2, you'll see that when you actually go into the sponsored forum, at the top, just below the forum title, it just says "his Forum Has Kindly Been Sponsored By:" and doesn't give the name of the sponsor.
I've double and triple checked the changes I made to the style templates and all seems to be OK.
Any help would be much appreciated.
That was a bug on my part. The template code I gave for FORUMDISPLAY was incorrect. I've updated the zip file with the latest code. Also the placement of the code has changed. I realized it wasn't proper HTML in the position it was located in (see the documentation for details).

Here's the new code for the FORUMDISPLAY template:
HTML 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>
        <else />
                $foruminfo[sponsor_name]
      	</if></a>
</if>
<!-- / vBSponsors -->
The documentation has been updated as well.
Reply With Quote
  #141  
Old 05-28-2007, 05:46 AM
grahamsmythe grahamsmythe is offline
 
Join Date: Apr 2007
Location: Kent, United Kingdom
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one.
All works fine now.
Cheers.
Graham
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 02:14 AM.


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.05893 seconds
  • Memory Usage 2,341KB
  • 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_html
  • (1)bbcode_php
  • (9)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
  • (2)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