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

Reply
 
Thread Tools
vB.Sponsors - Forum and Category Sponsorship Ads (and AdSense) with Statistics Details »»
vB.Sponsors - Forum and Category Sponsorship Ads (and AdSense) 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.7.x Rating:
Released: 06-22-2008 Last Update: 06-22-2008 Installs: 184
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.6.x, please see https://vborg.vbsupport.ru/showthread.php?p=1116730

For vBulletin 3.5.x, please see https://vborg.vbsupport.ru/showthread.php?t=103327

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://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://DigitalDeviation.com/forums/
Should you need any assistance with this, you can reach me via the link above.

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

DEMO SITES: If you'd like your forum added here, PM me.
Sites listed at http://www.digitaldeviation.com/proj...referencesites

---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
  #22  
Old 09-10-2008, 09:41 PM
ZXeno ZXeno is offline
 
Join Date: Sep 2008
Location: Oregon
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd love to get this installed over on my new server & board, but the installation documents link is broken. Does anyone have a copy of the install docs lying around or know where I can find a mirror?
Reply With Quote
  #23  
Old 09-11-2008, 07:32 PM
yamahapaul's Avatar
yamahapaul yamahapaul is offline
 
Join Date: Aug 2008
Location: UK
Posts: 201
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abrecher View Post
I cant seem to click and view your Screenshots
me neither
Reply With Quote
  #24  
Old 09-11-2008, 09:38 PM
HP10T HP10T is offline
 
Join Date: Jan 2007
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Documentation links are broken for the install... anyone have it posted up somewhere for me to view?
Reply With Quote
  #25  
Old 09-11-2008, 10:50 PM
Sevo Sevo is offline
 
Join Date: Nov 2007
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you use SWF banners with this sponsor mod?
Reply With Quote
  #26  
Old 09-12-2008, 07:21 AM
MrEyes MrEyes is offline
 
Join Date: Nov 2004
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HP10T View Post
Documentation links are broken for the install... anyone have it posted up somewhere for me to view?
Still broken here, however I got the mod working by doing the following:

1) Download and extract the zip

2) Open the link.php file in upload/vb.Sponsors in notepad

3) Find the line that reads:

chdir('/path/to/forums/');

change this to the path to your forum on your server and then save

4) Upload everything in the upload folder

5) Import the product XML as normal

This will give you the product and from there you can configure etc, however it won't display anything on forum pages. To do this you need to do some template edits. On my site I did not want to sponsor banner to be displayed on forum thread listings (as I use the 3.7.x ad location templates for this) I only wanted them on the forum indexes so:

1) Edit the "forumhome_forumbit_level1_post" template:

Find:

Code:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
			</td>
		</tr>
		</table>
After the "</table>" paste in

Code:
<!-- vBSponsors -->
		<if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
			<div style="float:$stylevar[right]">
			<if condition="!empty($forum[sponsor_adsense])">
            	$forum[sponsor_adsense]
            <else />
				$vboptions[sponsor_global_default_text] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank">
				<if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1">
					<img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" />
				<else />
					$forum[sponsor_name]
				</if>
				</a>
            </if>
			</div>
		</if>
		<!-- / vBSponsors -->
2) Edit the "forumhome_forumbit_level2_post" template:

Find:

Code:
<div>
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
			<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
		</div>
After the </div> paste in:

Code:
<!-- vBSponsors -->
		<if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
			<div style="float:$stylevar[right]">
			<if condition="!empty($forum[sponsor_adsense])">
            	$forum[sponsor_adsense]
        	<else />
				$vboptions[sponsor_global_default_text] <a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank">
				<if condition="$forum[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1">
					<img src="$forum[sponsor_banner]" alt="$forum[sponsor_name]" border="0" />
				<else />
					$forum[sponsor_name]
				</if>
				</a>
            </if>
			</div>
		</if>
		<!-- / vBSponsors -->
The mod creator has also provided a template for adding the sponsor details to the top of forumdisplay (with threads) in "forumhome_forumbit_level2_post.txt", I assume this will work the same as the previous edits so look for:

Code:
<!-- vBSponsors -->
.......... some code here
<!-- / vBSponsors -->
And add this in the relevant place in your "forumhome_forumbit_level2_post" template

Doing all this seems to work for me, having said this I might have missed a critical step but without the actual docs it is impossible to say.
Reply With Quote
  #27  
Old 09-12-2008, 07:33 AM
MrEyes MrEyes is offline
 
Join Date: Nov 2004
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sevo View Post
Can you use SWF banners with this sponsor mod?
Doesn't look like it, it seems that when you define a banner "image" this is placed into a standard img tag.
Reply With Quote
  #28  
Old 09-12-2008, 07:35 AM
MrEyes MrEyes is offline
 
Join Date: Nov 2004
Posts: 380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by yamahapaul View Post
me neither
Check a bit further down the first page of the mod comments there are some links there, alternatively download the mod the screenshots are also in there.

hmmm, have I just become support for this mod
Reply With Quote
  #29  
Old 10-02-2008, 06:20 PM
AWJunkies AWJunkies is offline
 
Join Date: Jan 2005
Location: San Diego
Posts: 947
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works perfect thanks for this!
Reply With Quote
  #30  
Old 10-26-2008, 06:11 AM
ndut ndut is offline
 
Join Date: Sep 2007
Location: Indonesia
Posts: 335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

some error for me.. anybody can help??
when i want to import "cpnav_vbsponsors.xml"
it cannot... and display : "Invalid File Specified"

and, success for importing "product-vbsponsors.xml"

what should i do??
Reply With Quote
  #31  
Old 10-29-2008, 02:33 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello
I like this, but I don't want the copyright, is there a way to remove it??

thanks
-Brandon
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 05:03 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.05678 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
  • (5)bbcode_code
  • (4)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
  • (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