![]() |
vB.Sponsors - Forum and Category Sponsorship with Statistics
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. https://vborg.vbsupport.ru/external/2010/07/4.gif 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. |
excellent, will be using it soon :)
|
Finally, someone went the extra mile. Thanks bro. Iwas This close (puts finger in "this close" position) to starting on a hack myself.
Thanks for saving me the trouble. |
Great job. :)
|
where does the category sponsorship show up?, I just see the forum sponsor spot
|
was looking for this, thanks for releasing it!
Will install as soon as my new version loads up ;) |
I dont see the hack in the admincp, I found the part where you can turn it on and off in the admincp but not the main part from this one https://vborg.vbsupport.ru/attachmen...chmentid=39677
THanks |
looks like a handy hack ! thanks
|
Nice one!
|
Quote:
Quote:
I've attached a couple screenshots showing what I'm talking about. Hopefully that helps you guys out. |
Awesome! Installed
|
will the sponsor be able to view their stats ? or is it for admins only ?
|
I have a small error that happens when people click on the banners. Here's the error:
Database error in vBulletin 3.5.1: Invalid SQL: INSERT INTO `vBSponsors` ( `id` , `sponsor_name` , `forum`, `date` ) VALUES ( '', 'Toyotaworld.com', 'Engine & Drivetrain', '1135206904'); MySQL Error : Duplicate entry '0' for key 1 Error Number : 1062 Date : Wednesday, December 21st 2005 @ 05:15:04 PM Script : http://www.mysite.com/forums/link.php?f=30 Referrer : http://www.mysite.com/forums/index.php? IP Address : xxxxxxxx Username : TundraSoul Classname : vb_database What should I change? |
Quote:
|
Quote:
Anyone who has installed/downloaded this should download the latest version (always posted here). |
I upgraded the product and re-uploaded the file. There is still however another error that occurs when you click on the banners.
Database error in vBulletin 3.5.1: Invalid SQL: INSERT INTO `vBSponsors` ( `id` , `sponsor_name` , `forum_id`, `forum`, `date` ) VALUES ( '', 'Toyotaworld.com', '30', 'Engine & Drivetrain', '1135212937'); MySQL Error : Unknown column 'forum_id' in 'field list' Error Number : 1054 Date : Wednesday, December 21st 2005 @ 06:55:37 PM Script : http://www.mysite.com/forums/link.php?f=30?f=30 Referrer : http://www.mysite.com/forums/index.php? IP Address : xxxxxxxxxxx Username : TundraSoul Classname : vb_database Quote:
|
Quote:
Sorry about that. |
Very good, no problem, that fixed it.
Can I get the template code so we can use this in a sub forum? Quote:
|
Quote:
|
When using the sub category code, forumbit_level1_post, the image aligns to the left, instead of to the right.
Quote:
|
Quote:
|
I am getting this when I try to save the sponsor info in the catagory. Any ideas? Thanks!
PHP Code:
|
Quote:
you did a great approach there. Love this idea and surely will implement it after holidays. I hope you will keep it in development and add further features. I'm just implementing some more sponsoring-features and this one will surely be loved by the sponsors. Did you think about placing another sponsor image or text inside the forums? Would be good to have it additionally on top or bottom of the forumdisplay page or in the threads. Great thing - keep up the good work. Frank |
Quote:
Try uninstalling the product and reinstalling. When reinstalling, be sure to choose Allow Overwrite. Make sure you are using the latest version (posted here). Just want to check the basics first. |
Quote:
Do you mean a banner from the same sponsor on the top and/or bottom of the forum they sponsored? Sounds like a great idea to me. I'll add it to the feature requests list. |
Installed without any errors, the product uploads fine and I have tried uninstalling it and reinstalling it about 5x now with no luck.
within the Table vbsponsors are these coulums id sponsor_name forum_id forum date as for the table forum: it looks like its missing... sponsor_enabled & sponsor_banner_enabled Also, I donno if there are normal but within the forum table there coulums called... sponsorname sponsorimg sponsorurl Im pretty sure I dont have any simular hacks installed, although about two years ago I had a simular kind of hack installed. Should I remove those coulums? EDIT: I removed them and didnt seem to help. Any ideas? Thanks!! Merry Xmas too! |
Quote:
id sponsor_name forum_id forum date So that one looks OK. _forum should have the following added to it: sponsor_enabled sponsor_banner_enabled sponsor_name sponsor_banner sponsor_url I'm not sure what the other columns are, but they aren't mine. ;) If the old hack you had isn't in use, I would drop those columns. Try dropping those columns, uninstalling, verifying everything is gone from the table _forum and reinstalling. Let me know if this works for you. If it still doesn't create the columns, I'll post up the manual SQL you can try. ...and a Merry X-Mas to you too! |
Tried that just before you replied I guess, I edited my post. Your to quick to reply! :)
I tried to pull a manual SQL query from the xml file, but I figured I better not as Im not sure what im doing exactly. If you could give me the manual sql to try. Thanks so much! |
PHP Code:
|
thanks for the reply, I didnt think of that lol.
Also I just noticed you added your link on the bottom of the forum lol, very sly lol Powered by vBulletin Version 3.5.2 Copyright ?2000 - 2005, Jelsoft Enterprises Ltd. vB.Sponsors 0.1.0 |
Im getting an error. I am running MySQL 5, donno if thats a problem.
MySQL said: Documentation #1064 - 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 'ALTER TABLE Zilvia2K3_forum ADD (sponsor_banner_enabled INT(6) U That error say this in the docs. Error: 1064 SQLSTATE: 42000 (ER_PARSE_ERROR) Message: %s near '%s' at line %d |
Quote:
Quote:
|
worked perfectly no problems .... I havetried many of these sponsor programs all hurt my head .. this was flawless
|
Yeah i updated and changed the link to one of my other sites as i still dont know how to remove phases only edit them lol, but its cool. I guess its just more sponsorship for that site :D
|
Quote:
MySQL said: Documentation #1064 - 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 'ALTER TABLE Zilvia2K3_forum ADD (sponsor_banner_enabled INT(6) U |
I installed and have tried to use.
I can add the sponsors easily enough, but for some reason the actual links are not correct when clicked on. Sponsored by - ThatGuy (http://www.thatguy.com) But when clicked the url = http://www.thatguy.com/forum/vB.Sponsors/link.php?f=12 So how do I remove the /forum/vB.Sponsors/link.php?f=12 part??? |
works great on my end
|
Quote:
Quote:
Code:
http://www.yoursite.com/yourforum/vB.Sponsors/link.php?f=# So if your forum is in fact thatguy.com, its appearing correctly. You do not need to add the actual URL after the sponsor's name. In fact, I would suggest you not do that. Its more beneficial to use the link generated by vB.Sponsors as it tracks the hits. Hope that helps. |
Quote:
I did not add the actual URL when adding the sponsor name, I placed the url in the space that asks for it in the CP. It is clickable but this is the address, http://www.thatguy.com/forum/vB.Sponsors/link.php?f=12 , which does nto take a visitor to the Sponsor's site at all. Still confused. |
Quote:
Has to be something simple that's been overlooked. :ermm: |
All times are GMT. The time now is 06:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|