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
  #162  
Old 07-04-2006, 01:22 AM
mattyk72 mattyk72 is offline
 
Join Date: Mar 2004
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice job, I was looking for something like this.

clicks install
Reply With Quote
  #163  
Old 07-04-2006, 02:23 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice job.

FEATURE REQUEST:

01. In AdminCP, option to view statistic by sponsorshipID (with sponsor name)

02. Big sponsor banner (image and/or text) on top of sponsored forum (when view that forum), with option to turn on/off
Reply With Quote
  #164  
Old 07-04-2006, 05:01 PM
sam anders sam anders is offline
 
Join Date: May 2006
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed and working great thanks
Reply With Quote
  #165  
Old 07-04-2006, 06:02 PM
BrandiDup's Avatar
BrandiDup BrandiDup is offline
 
Join Date: Jun 2005
Location: San Diego, CA
Posts: 213
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This would be absolutely perfect if I could turn it off for certain usergroups (my paid members). If that was possible, I'd definitely install asap!
Reply With Quote
  #166  
Old 07-25-2006, 11:04 PM
BLazeD1 BLazeD1 is offline
 
Join Date: Jul 2005
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GrantHorizons
Hi,

Great hack, working well except for one glitch no one else seems to have, so I probably screwed up somewhere, but for the life of me can't figure it out.

When you click on the sponsors image, it goes to a redirect page, BUT the page says:

----------------------
Redirecting...

Can't find phrase ''

If your browser etc...
Proceed button
------------------------

and then redirects just fine.

err, what phrase? It works, but this looks bad!

any ideas?

Thanks, Grant
Ditto. Shame this isnt fixed.
Reply With Quote
  #167  
Old 07-28-2006, 02:29 AM
jaymzz jaymzz is offline
 
Join Date: Jun 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awsome hack. But when you click on the sponsors image, it brings up error 404 this page cannot be found. Did I do something wrong? As soon as this is fixxed, I will gladly click installed.
Reply With Quote
  #168  
Old 07-29-2006, 12:50 AM
jaymzz jaymzz is offline
 
Join Date: Jun 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?
Reply With Quote
  #169  
Old 07-29-2006, 01:13 AM
directprint directprint is offline
 
Join Date: Jun 2006
Location: Australia
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jaymzz
Awsome hack. But when you click on the sponsors image, it brings up error 404 this page cannot be found. Did I do something wrong? As soon as this is fixxed, I will gladly click installed.
I would say the link address that you have put in is incorrect.
It must be the full address http://www.domain_name.com


1. From the Admin CP -> Forums & Moderators -> Forum Manager
2. Choose Edit Forum next to the forum/category you wish to add a sponsor for
3. Under vB.Sponsors, choose Enable Sponsor YES
4. Enter the Sponsor's name
5. Choose whether or not to enable the sponsor's banner (a text link is displayed if set to NO)
6. Enter the path to the sponsor's banner
7. Enter the link to the sponsor's site
Reply With Quote
  #170  
Old 07-29-2006, 03:37 AM
jaymzz jaymzz is offline
 
Join Date: Jun 2006
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, but I did put in the full address. And I tried it a few different ways also. I am wondering if I did something wrong on the install.
Reply With Quote
  #171  
Old 07-29-2006, 11:48 AM
Spika's Avatar
Spika Spika is offline
 
Join Date: Jun 2006
Location: Marbella - Spain
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by designBox
Sorry for the double post but this is concerning another error.
It came to my attention that if the forum name had a ' in its name then vbSponsor is generating an error when clicking to the sponsor's link.

I pasted here this error:
Code:
Database error in vBulletin 3.5.3:

Invalid SQL:
INSERT INTO `vBSponsors` ( `id` , `sponsor_name` , `forum_id`, `forum`, `date` ) VALUES ( '', 'Your link here', '97', 'Programmer's Alley', '1140258987');

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Alley', '1140258987')' at line 1
Error Number : 1064
Date		 : Saturday, February 18th 2006 @ 11:36:27 AM
Script	   : http://www.hostnode.com/vB.Sponsors/link.php?f=97
Referrer	 : http://www.hostnode.com/forum.php
IP Address   : XXXXXXXXXXXXX
Username	 : XXXXXXXXXXXXX
Classname	: vb_database
I changed the name of the forum, but i reported this error at it may help some others.

Hello I have similar error:

Database error in vBulletin 3.5.4:

Code:
Invalid SQL:
INSERT INTO `vbulletin_vBSponsors` ( `id` , `sponsor_name` , `forum_id`, `forum`, `date` ) VALUES ( '', 'Encuentro BMWRIDERS '06', '12', 'Kedadas', '1154175656');

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '06', '12', 'Kedadas', '1154175656')' at line 1
Error Number : 1064
Date         : Saturday, July 29th 2006 @ 12:20:56 PM
Script       : http://www.gstrail.es/foro/vB.Sponsors/link.php?f=12
Referrer     : http://www.gstrail.es/foro/forumdisplay.php?f=3
IP Address   : xxx.xxx.xxx.xxx
Username     : Nickname
Classname    : vb_database
I don?t have ' in the name of the forum, help please


Solved, Reinstalling
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 08:10 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.05068 seconds
  • Memory Usage 2,323KB
  • 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
  • (3)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