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

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

Version: 3.5.8 Rating:
Released: 12-18-2005 Last Update: 05-24-2007 Installs: 235
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 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

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

Comments
  #102  
Old 01-23-2006, 10:07 AM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NDRPrelude
You were right on the http:// part. That fixed that problem. I am having another issue and I don't know what to do. I have two skins installed on the forum. I have three sponsor banners but they only show up on one skin. It's the skin I use and probably the skin it was on when I set up the banners. Black and Gold is my default skin. The banners won't show up on the default vb skin or on the brushed blue skin I have installed. Has anyone else had this problem?

VB Sponsors 1.0.4
CMPS v2.0.0 (vB 3.5.2)
Apache v2.0.51
That depends on the template you modified for vB.Sponsors. You need to modify each template for this to function. If you just edit the child style (assuming you are using child styles), only that child will see the changes.
Reply With Quote
  #103  
Old 01-23-2006, 04:41 PM
NDRPrelude NDRPrelude is offline
 
Join Date: Aug 2004
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deviation
That depends on the template you modified for vB.Sponsors. You need to modify each template for this to function. If you just edit the child style (assuming you are using child styles), only that child will see the changes.

I see now. Everything is working great. Thanks for all of your help.
Reply With Quote
  #104  
Old 01-31-2006, 06:04 AM
icare icare is offline
 
Join Date: Jan 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
Warningchdir(): No such file or directory (errno 2in /home/horny/public_html/vB.Sponsors/link.php on line 27 

I am getting this message when i click the sponser banner. Can anybody please help me.
Reply With Quote
  #105  
Old 01-31-2006, 06:08 AM
icare icare is offline
 
Join Date: Jan 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
Warningchdir(): No such file or directory (errno 2in /home/horny/public_html/vB.Sponsors/link.php on line 27

Warning
main(./global.php): failed to open streamNo such file or directory in /home/horny/public_html/vB.Sponsors/link.php on line 29

Fatal error
main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/horny/public_html/vB.Sponsors/link.php on line 29 

This the error I get. Please advise. Did I do something wrong whith the path in link.php fiel. My forum is in root directry. Please help me with this erorr.

thanks
Reply With Quote
  #106  
Old 01-31-2006, 07:35 PM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by icare
PHP Code:
Warningchdir(): No such file or directory (errno 2in /home/horny/public_html/vB.Sponsors/link.php on line 27 
This the error I get. Please advise. Did I do something wrong whith the path in link.php fiel. My forum is in root directry. Please help me with this erorr.

thanks
The path you entered on line 27 in link.php isn't valid. Either:
a)Double check the path for typos
b)Upload the settings-check.php file from the "do not upload" directory to the "vB.Sponsors" directory. This file will tell you the path you should enter. Remove this file when you are done.
Reply With Quote
  #107  
Old 02-01-2006, 06:36 AM
icare icare is offline
 
Join Date: Jan 2006
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
Warning
Warningchdir(): No such file or directory (errno 2in /home/horny/public_html/vBSponsors/link.php on line 27

Warning
main(./global.php): failed to open streamNo such file or directory in /home/horny/public_html/vBSponsors/link.php on line 29

Fatal error
main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/horny/public_html/vBSponsors/link.php on line 29 
Please help I am getting this error.

I tried everything. My path in link.php is correct. I even tried changng the folder name from
Vb.sponsors to vbsponsers but didnt work
Reply With Quote
  #108  
Old 02-01-2006, 06:24 PM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by icare
PHP Code:
Warning
Warningchdir(): No such file or directory (errno 2in /home/horny/public_html/vBSponsors/link.php on line 27

Warning
main(./global.php): failed to open streamNo such file or directory in /home/horny/public_html/vBSponsors/link.php on line 29

Fatal error
main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php'in /home/horny/public_html/vBSponsors/link.php on line 29 
Please help I am getting this error.

I tried everything. My path in link.php is correct. I even tried changng the folder name from
Vb.sponsors to vbsponsers but didnt work
This HAS to be a path issue. PM me your link.php file and a screenshot of the output from the settings-check.php file and I'll look it over for you.
Reply With Quote
  #109  
Old 02-04-2006, 10:27 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everything has gone good except for when i click on the sponsor banner or sponsor link then i get this database error

Code:
Database error in vBulletin 3.5.3:

Invalid SQL:
INSERT INTO `vb3_vBSponsors` ( `id` , `sponsor_name` , `forum_id`, `forum`, `date` ) VALUES ( '', 'Rapid GfX', '153', 'GfX', '1139099113');

MySQL Error  : Unknown column 'forum_id' in 'field list'
Error Number : 1054
Date         : Saturday, February 4th 2006 @ 06:25:13 PM
Script       : http://www.gamerzneeds.net/forums/vB.Sponsors/link.php?f=153
Referrer     : http://www.gamerzneeds.net/forums/index.php
IP Address   : 
Username     : Hornstar6969
Classname    : vb_databaseDatabase error in vBulletin 3.5.3:
I have now fixed this by uninstalling the product then installing it again. I think this error is happening when people upgrade the product you need to uninstall it first before installing it again for some reason.

But everything seems to be working right now.

Thanks for this great hack.
Reply With Quote
  #110  
Old 02-15-2006, 09:45 AM
djmini djmini is offline
 
Join Date: Dec 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to change, per forum, the "Forum Sponsored By:" to anything else?


By the way,

I create banners for my sponsors to fit ...

See how I use this HERE . I don't have many sponsors but have only just begun offering it.
Reply With Quote
  #111  
Old 02-15-2006, 12:44 PM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djmini
is there a way to change, per forum, the "Forum Sponsored By:" to anything else?

By the way,

I create banners for my sponsors to fit ...

See how I use this HERE . I don't have many sponsors but have only just begun offering it.
There's no way to change the text per forum. You can change it overall by editing the phrases. I'll add this idea to the feature requests list.

Nice work on the banners and the placement.
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:00 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.07627 seconds
  • Memory Usage 2,351KB
  • 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_code
  • (5)bbcode_php
  • (5)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