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
  #52  
Old 11-27-2006, 12:33 AM
cam2 - old cam2 - old is offline
 
Join Date: Jul 2006
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I cannot figure out the correct path. here are the errors i am receiving when I click on the sponsor image...

Warning: chdir(): No such file or directory (errno 2) in /nfs/cust/2/98/81/718892/web/forum/vB.Sponsors/link.php on line 30

Warning: main(./global.php): failed to open stream: No such file or directory in /nfs/cust/2/98/81/718892/web/forum/vB.Sponsors/link.php on line 32

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/php/include') in /nfs/cust/2/98/81/718892/web/forum/vB.Sponsors/link.php on line 32


Thanks, any help would be great.
Reply With Quote
  #53  
Old 11-27-2006, 01:01 AM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AWJunkies View Post
Can you view this mod and use its code to make other sections like posts and pms and so on able to have the same features as you mod?

https://vborg.vbsupport.ru/showthrea...=131150&page=8

Would be nice to have counters and reports etc for all areas of advertisement. Thanks.
Interesting idea. I saw this mod not to long ago. So are you saying add the ability to have ads appear as posts?

Quote:
Originally Posted by irishblacknight View Post
The link to the documentation is broken (two x http instead of one )
Fixed; thanks.

Quote:
Originally Posted by cam2 View Post
I cannot figure out the correct path. here are the errors i am receiving when I click on the sponsor image...

Warning: chdir(): No such file or directory (errno 2) in /nfs/cust/2/98/81/718892/web/forum/vB.Sponsors/link.php on line 30

Warning: main(./global.php): failed to open stream: No such file or directory in /nfs/cust/2/98/81/718892/web/forum/vB.Sponsors/link.php on line 32

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/php/include') in /nfs/cust/2/98/81/718892/web/forum/vB.Sponsors/link.php on line 32


Thanks, any help would be great.
Line 30 in the vB.Sponsors\link.php. Check the path.
Reply With Quote
  #54  
Old 11-27-2006, 03:28 PM
TheWhite TheWhite is offline
 
Join Date: Nov 2006
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone post a working link for the guide?

Regards
Reply With Quote
  #55  
Old 11-27-2006, 04:14 PM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheWhite View Post
Can someone post a working link for the guide?

Regards
Its fixed. Kept missing the ":".
Reply With Quote
  #56  
Old 11-27-2006, 09:44 PM
thumbsucker thumbsucker is offline
 
Join Date: Dec 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I have this installed (as well as the VBAdManagement mod).

The sponsorship is displaying in the main category page, but not displaying on the following pages (it just says "Sponsored by" followed by a blank):

http://www.mysite.com/vbulletin/forumdisplay.php?f=31

Also, I'd like the Sponsorship to show on every page of the threads themselves after the Vbulletin navigation bar (e.g. http://www.mysite.com/vbulletin/showthread.php?t=57).

Can someone help? I double-checked the templates and I seem to have made all the appropriate additions.

Here's the code for my forumdisplay template...looks ok no?

<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>

<!-- 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>
</if></a>
</if>
<!-- / vBSponsors -->

</tr>
</table>
Reply With Quote
  #57  
Old 11-27-2006, 11:05 PM
thumbsucker thumbsucker is offline
 
Join Date: Dec 2005
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do affiliate links work properly with the sponsor links by the way?
Reply With Quote
  #58  
Old 11-27-2006, 11:33 PM
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Location: San Diego
Posts: 947
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cam2 View Post
I cannot figure out the correct path. here are the errors i am receiving when I click on the sponsor image...

Warning: chdir(): No such file or directory (errno 2) in /nfs/cust/2/98/81/718892/web/forum/vB.Sponsors/link.php on line 30

Warning: main(./global.php): failed to open stream: No such file or directory in /nfs/cust/2/98/81/718892/web/forum/vB.Sponsors/link.php on line 32

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/php/include') in /nfs/cust/2/98/81/718892/web/forum/vB.Sponsors/link.php on line 32


Thanks, any help would be great.
I had to change the link.php file to my root. SO in your case you need to move link.php into the forum/ (root) not the forum/vB.Sponsors/ . After you do this though you need to change two snippits of code that show to look at vB.Sponsors/link.php and change those to link.php . I forgot the areas at the moment I did it real fast as a fix. You do it in database directly or unistal the mod and change the vB.Sponsors/link.php to link.php and re-upload and you should be perfectly fine. MAKE sure you move link.php to root forum directory after the changes and works like a charm.
Reply With Quote
  #59  
Old 11-27-2006, 11:38 PM
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Location: San Diego
Posts: 947
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deviation View Post
Interesting idea. I saw this mod not to long ago. So are you saying add the ability to have ads appear as posts?
Download the other mod and test it out and you will see what I mean. The other mod has HUGE functionality and settings but no reporting. The other mod needs reporting. Your mod could use a couple more locations or features. Combine both of yours and you have an ultimate VadMOD.

His allows you to put ads in header/footer/sides of forum/withinposts/within forum (like yours)/ etc with huge functionality to limit by usergroup or posts or this that and other for viewing. There is no reporting though of links for stats purposes for advertisers.
Reply With Quote
  #60  
Old 11-28-2006, 12:37 AM
krazycivik krazycivik is offline
 
Join Date: Nov 2005
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yah the instructions dont work
Reply With Quote
  #61  
Old 11-28-2006, 10:06 AM
Deviation Deviation is offline
 
Join Date: Sep 2005
Location: Ohio
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AWJunkies View Post
Download the other mod and test it out and you will see what I mean.
I'll check it out.

Quote:
Originally Posted by krazycivik View Post
yah the instructions dont work
They work fine for me. Anyone else having issues?

Quote:
Originally Posted by thumbsucker View Post
Hi,

I have this installed (as well as the VBAdManagement mod).

The sponsorship is displaying in the main category page, but not displaying on the following pages (it just says "Sponsored by" followed by a blank):

http://www.mysite.com/vbulletin/forumdisplay.php?f=31

Also, I'd like the Sponsorship to show on every page of the threads themselves after the Vbulletin navigation bar (e.g. http://www.mysite.com/vbulletin/showthread.php?t=57).

Can someone help? I double-checked the templates and I seem to have made all the appropriate additions.
Check the URL for the banner image (in the forum settings). You must specify one or set the option to not display the banner ad.
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 01:49 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.09489 seconds
  • Memory Usage 2,334KB
  • 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
  • (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
  • (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