PDA

View Full Version : Major Additions - vB.Sponsors - Forum and Category Sponsorship Ads (and AdSense) with Statistics


Deviation
06-22-2008, 10:00 PM
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 (http://digitaldeviation.com/documentation/vbsponsors).
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/ (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/ (http://digitaldeviation.com)
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.
https://vborg.vbsupport.ru/external/2010/07/4.gif (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=jmdoles%40digitaldeviation%2ecom&item_name=vB%2eSponsors&buyer_credit_promo_code=&buyer_credit_product_category=&buyer_credit_shipping_method=&buyer_credit_user_address_change=&page_style=Primary&no_shipping=1&return=http%3a%2f%2fdigitaldeviation%2ecom%2fthank %2dyou&cn=Optional%20Memo&tax=0&currency_code=USD&lc=US&bn=PP%2dDonationsBF&charset=UTF%2d8)

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/projects/vbsponsors/referencesites

---KNOWN BUGS---
-NONE


Don't forget to click the install link below if you use it.

redraider
06-23-2008, 07:08 PM
Looks great ....reserved

abrecher
06-24-2008, 03:12 AM
I cant seem to click and view your Screenshots

yahoooh
06-24-2008, 03:15 AM
can be extended to cover some other mod

verino
06-24-2008, 03:31 AM
I cant seem to click and view your Screenshots

yeah, me too :confused:

Stromba
06-24-2008, 04:38 AM
Yep same problem here but try this link to see the screenshots,

https://vborg.vbsupport.ru/attachment.php?attachmentid=66022&d=1182699538
https://vborg.vbsupport.ru/attachment.php?attachmentid=66023&d=1182699538
https://vborg.vbsupport.ru/attachment.php?attachmentid=66024&d=1182699538
https://vborg.vbsupport.ru/attachment.php?attachmentid=66025&d=1182699538
https://vborg.vbsupport.ru/attachment.php?attachmentid=66026&d=1182699691

:)

Goomzee
06-24-2008, 05:21 AM
could plz tell me should i replace all text code in forum teplate or i will paste in specific area

Declan127
06-24-2008, 05:52 AM
Great hack, thanks!

verino
06-24-2008, 09:03 AM
Yep same problem here but try this link to see the screenshots,


:)

Thank's a lot for the link :)

It would be great if the admin can set for certain usergroups that able to view.

Also, can this mod put an image banner ?

Deviation
06-24-2008, 10:44 AM
I'm not sure what's going on with the screenshots...:confused: I'll try to upload them again here shortly.

Thank's a lot for the link :)

It would be great if the admin can set for certain usergroups that able to view.
Good suggestion.
Also, can this mod put an image banner ?
I'm not sure what you mean. You can use an image as a banner. Or you can use AdSense

okhissabigfish
06-26-2008, 04:18 AM
I sent a PM to the fact that the banner links created after the page is viewed are broken. Suggestions? And...I wanted to ask if when clicked will the browser open in a new window by default? Nice Mod.

Suggestion: Allow the placement of a banner at the header and footer with this mod from Admin. Or does this mode perform that function? I missed it if so...

euro2low
06-28-2008, 04:18 PM
i get this message when someone clicks on the link for the sponsor... i followed all the steps

"
Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/e/u/r/euroe93/html/vB.Sponsors/link.php on line 32

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/e/u/r/euroe93/html/vB.Sponsors/link.php on line 32"

Captain Tycoon
06-29-2008, 01:43 PM
Installed and Working Perfectly!

i get this message when someone clicks on the link for the sponsor... i followed all the steps

"
Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/e/u/r/euroe93/html/vB.Sponsors/link.php on line 32

Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/e/u/r/euroe93/html/vB.Sponsors/link.php on line 32" I also had this problem...To fix it, you need to do this (taken from the documentation website):
1. Open upload/vB.Sponsors/link.php in notepad, wordpad or similar editor.
2. On line 30, enter the path to your forum. This is the physical path not the URL. If your forum is located in /usr/com/userid/forums/, the path would be /usr/com/userid/forums/.

verino
06-29-2008, 02:23 PM
I'm not sure what's going on with the screenshots...:confused: I'll try to upload them again here shortly.


Good suggestion.

I'm not sure what you mean. You can use an image as a banner. Or you can use AdSense

Yes, image as banner is exactly what i mean. Also can i put a swf as banner ?

Deviation
07-01-2008, 01:04 PM
Yes, image as banner is exactly what i mean. Also can i put a swf as banner ?
You can. If its not an "active banner" (meaning you can't click the animation) it should work fine.

Installed and Working Perfectly!

I also had this problem...To fix it, you need to do this (taken from the documentation website):
That's pretty much the answer. If you are having issue like that, it HAS to be the path you put in. Double check it. The slashes at the beginning and end are important.

srkrocks
07-01-2008, 03:37 PM
Anyway for an Update of this wonderful Add On to allow Sponsor Ads on Header nd Footer of Forum?

RedGTiVR6
07-02-2008, 12:40 PM
if this mod included the ability to add side banners (skyscrapers) it would be sweet.

the advertisement management 2.3 mod seems to not work right and we're looking for a solution that does it all.

The ability to set viewing per user group would be sweet as well.

okhissabigfish
07-05-2008, 09:18 PM
Is anyone having the issue of broken links? Am I missing something? I've set up for text only sponsorship. Added the links in Admin. Added the name in Admin. Clicked the appropriate checks for not showing banners, etc. The ads show on the forum heading, but when clicked the link pulls up an error message.

Confused.

?

schlizzag
07-15-2008, 01:37 AM
seriously.. no installation instructions still? the site has been down since last thursday.

http://digitaldeviation.com/documentation/vbsponsors

And now a word from our sponsor... Well if I had one it would go here. Or maybe here. Not really sure where I'd put it.... Updating the site.... Be back soon.

*yawn*

Diggazz
08-10-2008, 01:44 PM
great Mod

But how can i remove the text that says

Forum Sponsored by:

I need to remove this because with a fixed forum width it disrupts the forum image I have to the left because there is not enough room to fit that text and another image

My Forums so you see what I mean (http://www.xgn.com.au/forums)



Thanks in advance

ZXeno
09-10-2008, 09:41 PM
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?

yamahapaul
09-11-2008, 07:32 PM
I cant seem to click and view your Screenshots

me neither :(

HP10T
09-11-2008, 09:38 PM
Documentation links are broken for the install... anyone have it posted up somewhere for me to view?

Sevo
09-11-2008, 10:50 PM
Can you use SWF banners with this sponsor mod?

MrEyes
09-12-2008, 07:21 AM
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:


<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


<!-- 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:


<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:


<!-- 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:


<!-- 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.

MrEyes
09-12-2008, 07:33 AM
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.

MrEyes
09-12-2008, 07:35 AM
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 ;)

AWJunkies
10-02-2008, 06:20 PM
works perfect thanks for this!

ndut
10-26-2008, 06:11 AM
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??

Brandon Sheley
10-29-2008, 02:33 AM
hello
I like this, but I don't want the copyright, is there a way to remove it??

thanks
-Brandon

ndut
11-01-2008, 02:04 AM
anybody can help??? ^^

Brandon Sheley
11-02-2008, 09:07 PM
hello
I like this, but I don't want the copyright, is there a way to remove it??

thanks
-Brandon

does anyone have or see info on copyright removal ? more then willing to pay to remove it

jwashburn
12-08-2008, 03:16 PM
My links are not working. When you click on the banners it takes you to

http://www.norcalmotocross.com/forum/vB.Sponsors/link.php?f=42

It never redirects.

Nevermind, my bad.

I forgot to edit my links.php file to reflect the path to my forum

RrCoX22
12-21-2008, 06:16 AM
what about the columns? how do you create such a box and add content?

BobbyDiesel
12-24-2008, 04:47 AM
I wish your web site worked so I could read the instructions.

l3it3r
01-06-2009, 09:51 PM
Got it working under threads by adding the code to the Show thread template below the navbar and adding some centering code to it. Thanks a lot!

Deviation
01-07-2009, 01:41 PM
I wish your web site worked so I could read the instructions.
It works. Some of the links had to be moved around courtesy of a Drupal upgrade.:erm: And of course there's the recent moving of servers for the third or fourth time. I've lost track.

Anyhow...
Docs: (3.6 applies to 3.7)
http://digitaldeviation.com/documentation/vbsponsors

IFCtoli
01-12-2009, 03:56 PM
error if click the ads
Parse error: syntax error, unexpected '/' in /home/ifcfis01/public_html/forum/vB.Sponsors/link.php on line 30

help please

regards,
IFCtoli

Infopro
01-12-2009, 04:23 PM
error if click the ads
Parse error: syntax error, unexpected '/' in /home/ifcfis01/public_html/forum/vB.Sponsors/link.php on line 30

help please

regards,
IFCtoli

Have you even looked at the line mentioned in the error?

* Modify this to reflect the path to you forums*/
chdir('/home/usernamehere/public_html/forums/');

Makes yours like that one. (edit usernamehere and you're done)

Infopro
01-12-2009, 04:25 PM
does anyone have or see info on copyright removal ? more then willing to pay to remove it

Not sure if this'll work for you, but Once you've setup your banners and enabled, turn off the product.

Deviation
01-12-2009, 06:04 PM
does anyone have or see info on copyright removal ? more then willing to pay to remove it
Not yet. I plan on offering that in the near future.

Yassuo
01-31-2009, 04:19 AM
DigitalDeviation.com is off line?

I need the installation guide. :(

nogarbage
02-01-2009, 12:12 PM
Where we can take vB.Sponsors for 3.8.1?

adamenty
02-01-2009, 03:57 PM
sites offline :(

Deviation
02-02-2009, 08:18 PM
DigitalDeviation.com is off line?

I need the installation guide. :(
Should be up now. Had to do another upgrade. Drupal is killing me!

hoadnvse
02-16-2009, 04:39 AM
Hello, Can i use this mod for 3.8?

2k05gt
02-24-2009, 03:47 AM
Where can I find this type add on for 3.8.1? Please Advise

geevest.com
02-26-2009, 12:53 PM
its work for vb 3.8.1 version?

Delilahs
03-03-2009, 11:23 PM
I've nearly got it to work on 3.8.1, but just get the following error when I click on the link to show the sponsor.

http://www.delilahs.co.uk/forum/%E2%80%9DvB.Sponsors/link.php?f=13%94

If you take out the "%E2%80%9D" from the url above the sponsors link works perfectly, does anyone know what can be done to rectify the problem?

Jester@ARS
03-04-2009, 06:53 PM
I have this mod working on 3.8.1..

I think the biggest issue is that the instructions listed on their website are in a funky character set and vB doesn't recognize the double quotes.. Go thru and replace the quotation marks in their template modifications with normal quotes in wordpad, notepad, etc and change the max version to 3.8.1 in the install xml and you're in business..

Jester@ARS
03-04-2009, 06:54 PM
I've nearly got it to work on 3.8.1, but just get the following error when I click on the link to show the sponsor.

http://www.delilahs.co.uk/forum/%E2%80%9DvB.Sponsors/link.php?f=13%94

If you take out the "%E2%80%9D" from the url above the sponsors link works perfectly, does anyone know what can be done to rectify the problem?

Make sure you have a "http://" in front of your sponsor's address..

IE - http://www.sponsor.com versus www.sponsor.com

wraggster
03-22-2009, 08:49 AM
hi had this working for ages on my forums with no problems apart from the centering issue which i fixed this morning.

however this only shows up when clicking say the forum, when i click an individual thread its not there, anyone know the code for inserting on threads too ?

diviner
04-13-2009, 12:32 PM
I have this mod working on 3.8.1..

I think the biggest issue is that the instructions listed on their website are in a funky character set and vB doesn't recognize the double quotes.. Go thru and replace the quotation marks in their template modifications with normal quotes in wordpad, notepad, etc and change the max version to 3.8.1 in the install xml and you're in business..

Hi Jester...

Can you bi kind and send me fixed files ( miksanov@yahoo.com ) or at least explain this procedure little more detail. Thanks a lot...

Mihajlo

diviner
04-23-2009, 11:49 AM
Never mind...

I got it...

Thnx anyway...

markuswarren
07-10-2009, 01:48 PM
Hello there,
I am using vB.Sponsors on my forum and was given a couple of flash banners to use, which, alas, did not work as vB.S is using an img tag and the flash seems to want to use an embed tag to display the content.

I'm no expert at doing this but had a look at the code for the mod and the code to placed in the template's and worked out that what I needed were a few options for the two banner items.

One is to say if the banner is flash or not, if it's not then it'll use the normal img tag code, if it is flash then it'll use the flash code, so I put in a simple "if" conditional. I also figured out I'd need to supply width and height, so I added those options to. Thus there are a total of six new options (three per sponsor banner).

Anyway, my point being, it might not be pretty in the admincp, but the code side of things does indeed seem to be working and flash banners are displaying, thus I thought I should contact you and suggest I forward over my modification to you, as it's your mod, and you could take a look and decide if it's worthy of an update to the official release of vB.Sponsors

I tried to email via your website but the CAPTCHA verification image is not being displayed (I'm using OS X 10.5.7 with Safari 4 and Firefox 3.5)

VonDoom
07-24-2009, 12:41 AM
So far ive got this badboy to show up where it supposed to but the links arnt redirecting to the sponsors site. i suppose ill tinker with it for awhile on my test board. Will click installed when i get it working 100%

jwashburn
08-08-2009, 06:00 PM
I had this working for ever, I just realized it has broken. I get the right link, but it never redirects to the new site.

Problem solved. I moved my forum and forgot to update the links.php page

jwashburn
08-08-2009, 06:56 PM
So far ive got this badboy to show up where it supposed to but the links arnt redirecting to the sponsors site. i suppose ill tinker with it for awhile on my test board. Will click installed when i get it working 100%



Check the path to your forum in Links.php

VonDoom
08-09-2009, 05:55 PM
+1 Great tip. lol thanks its working perfectly on 3.8.2 now

ETA: *Installed*

bada_bing
08-13-2009, 06:30 PM
tried to install this on vb 3.8.3 and says its not complatible when I try and install the plugin. Will this mod get updated I love this mod when I was running 3.5

marshal_ramdev
08-15-2009, 08:50 AM
thanks .

bada_bing
10-06-2009, 05:13 PM
Installed on vb 3.8.3 and workd great... Loved this mod on my 3.5 site

bada_bing
10-07-2009, 03:36 PM
I am getting some reports from a couple members after I installed this mod that when they try and use the vb search feature they are getting this message

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Anyone know what this is all about and how to fix?

bada_bing
10-13-2009, 06:57 PM
I am getting some reports from a couple members after I installed this mod that when they try and use the vb search feature they are getting this message

Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.


Anyone know what this is all about and how to fix?


Can someone help me please

Dannyloski
10-16-2009, 06:43 PM
How can I get this to work on vB 3.8.4 PL1? I install and get a not compatible message.

surfer2124
11-08-2009, 12:10 AM
Remove this from the XML

<versioncheckurl><![CDATA[https://vborg.vbsupport.ru/misc.php?do=checkversion&t=131512]]></versioncheckurl>
<dependencies>
<dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="3.7.9" />
</dependencies>

Open the links.php file found in upload/vbsponsors folder and edit your forum path. Then of course do the necessary template edits.

joeycannoli
11-22-2009, 08:45 PM
Anyone have an idea on how to install this? The links dont seem to be working.

pkzochow
11-25-2009, 12:06 AM
Does anyone know which template to edit where to get the sponsor at the top of the forum with the threads? I have it working on the forum index, but when clicking on the fourm it doesn't display at the top.

Thanks.

Gottcha
11-27-2009, 01:34 PM
trying to get the instructions and page cannot be found.

Gottcha
11-29-2009, 11:49 PM
by chance would anyone have a copy of the instructions that i may have please

PossumX
11-30-2009, 08:43 PM
Any chance of this mod being updated for vB 4.0 when the time comes? I am reliant on it's function for forum sponsorships.

Stephan Whelan
12-06-2009, 09:00 AM
I'm keen on getting the install guide as well - anyone got it?

PossumX
12-06-2009, 02:59 PM
The whole DigitalDeviation site has long since been changed, and the developer hasn't been on this site since February 2009.

Is there any other modification that allows forum level sponsors, in a fashion similar to this? I will never be able to upgrade to vB 4 if this is not available in some fashion.

PossumX
12-22-2009, 08:29 PM
The whole DigitalDeviation site has long since been changed, and the developer hasn't been on this site since February 2009.

Is there any other modification that allows forum level sponsors, in a fashion similar to this? I will never be able to upgrade to vB 4 if this is not available in some fashion.

Anyone? how are other folks handling forum level sponsorships? In a quandary, as I need this ability to move forward with upgrade in the next month or 2.

novabandit
12-28-2009, 10:32 PM
I'm in the same boat.

I found the dev on Twitter, but he never responded...

I'd pitch in $20 for this in VB4!

PossumX
01-04-2010, 09:59 PM
<u>Anyone</u> know of any other modification that provides this type of function and is or will be vB 4.x compatible?

Jonathan81
01-06-2010, 11:46 AM
Are there any installation instructions anywhere?

Jonathan81
01-06-2010, 11:54 AM
An answer to my own question: http://web.archive.org/web/20080630054635/http://digitaldeviation.com/documentation/vbsponsors#

EDIT: Better paste the above into this thread incase it disappears at some point:

vB.Sponsors 2.0.x Installation Guide
Product Requirements
Version 2.0.5 has been tested with vBulletin 3.6x. If you need a version for vBulletin 3.5.x, please see vB.Sponsors version 1.x.

Product Installation

1.Extract the contents of vB.Sponsors.zip to your computer
2.Open upload/vB.Sponsors/link.php in notepad, wordpad or similar editor.
3.On line 30, enter the path to your forum. This is the physical path not the URL. If your forum is located in /usr/com/userid/forums/, the path would be /usr/com/userid/forums/.
You can find the physical path to your forum directory by uploading the settings-check.php file that is located in the do not upload/vB.Sponsors directory. Upload this to the vB.Sponsors directory on your web site. To run it, simply browse to http://web.archive.org/web/20080612094022/http://www.example.com/vB.Sponsors/settings-check.php in your browser. Please delete this file when you are done.
4.Upload the files in the upload directory to the corresponding directory on the web server under the forum directory.
5.Open the Admin CP of your board. On the left hand side scroll down to Plugins & Products.
6.Click on Manage Products.
7.Click on Add/Import Product.
8.Click on Browse... and choose the product-vB.Sponsors.xml file.
9.Click Import.
Template Installation

You will need to modify the templates of your style(s). Sample template code is included with the download. This is for the default vBulletin style only. I highly recommend that you create a test style to apply template changes before you commit them to your regular styles.



For forums & categories:

forumhome_forumbit_level1_nopost
FIND:
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>

ADD, AFTER:
<!-- 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 -->

forumhome_forumbit_level2_post
FIND:
<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
</div>

ADD, AFTER:
<!-- 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 -->



To display the advertisement at the top of the forum/category:

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

ADD, AFTER:
<!-- vBSponsors -->
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
<if condition="!empty($foruminfo[sponsor_adsense])">
$foruminfo[sponsor_adsense]
<else />
$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>
</if>
<!-- / vBSponsors -->



For subforums:

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

ADD, AFTER:
<!-- 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 -->

Ocean-Wonders
01-09-2010, 06:09 AM
Any chance this could be updated to work with version 4 ?

I would really appreciate it :D

MagicThemeParks
01-10-2010, 03:40 AM
Installed on 3.8.4 with no problems. Made sure to eliminate the version check as detailed in Post #66 (https://vborg.vbsupport.ru/showpost.php?p=1911461&postcount=66) on this thread.

One issue though is the fact that the forum name and the counts are now aligned to the top. Any suggestions on how to fix that?

Attached are the before and after pics

Ocean-Wonders
01-10-2010, 07:38 AM
Installed on 3.8.4 with no problems. Made sure to eliminate the version check as detailed in Post #66 (https://vborg.vbsupport.ru/showpost.php?p=1911461&postcount=66) on this thread.

One issue though is the fact that the forum name and the counts are now aligned to the top. Any suggestions on how to fix that?

Attached are the before and after pics

do you think it would work on 4 if I removed the version check ??

PossumX
01-10-2010, 03:11 PM
do you think it would work on 4 if I removed the version check ??

Nope, it does not.

Needs a rewrite (complete, as hooks and php code have all changed) to be vB 4.x compatible.

Developer has abandoned this mod, and vB as a whole I think, based on what I have found.

I ask again, to all out there, is there any other way of accomplishing this via any other modification?

MagicThemeParks
01-11-2010, 10:38 AM
How do you do a brand free option? If you've paid for the brand free option, how do you get the links removed?

MagicThemeParks
01-11-2010, 11:44 AM
great Mod

But how can i remove the text that says

Forum Sponsored by:

I need to remove this because with a fixed forum width it disrupts the forum image I have to the left because there is not enough room to fit that text and another image

My Forums so you see what I mean (http://www.xgn.com.au/forums)



Thanks in advance

Anyone have any idea on how to remove the 'Forum Sponsored by:' text?

It seems to be throwing off the layout a bit.

PossumX
01-19-2010, 08:25 PM
Anyone have any idea on how to remove the 'Forum Sponsored by:' text?

It seems to be throwing off the layout a bit.

In vB AdminCP Options, go to "vB.Sponsor Settings", and delete the text in the last input field (Sponsor Text).

MagicThemeParks
01-19-2010, 11:17 PM
I guess that it's something else with the mod throwing off the layout a bit. I removed the following text....

<span class="smallfont">Forum Sponsored By:</span>

....from the settings and it didn't change it. Oh well, I guess I'll keep looking through the templates/coding. :)

PossumX
01-20-2010, 10:04 PM
Are you having layout problems still? Is the "Forum Sponsored By:" removed"

What are the layout issues?

MagicThemeParks
01-20-2010, 10:14 PM
It actually throws off the forum name/thread counts as I detailed on post #80 (https://vborg.vbsupport.ru/showpost.php?p=1951660&postcount=80) above.

Any thoughts on how I can fix that?

PossumX
01-20-2010, 11:22 PM
I really don't know, but I see what you mean. It is the same on my forums, and I really never noticed it, but then again, my forum titles/descriptions were always top/left justified to begin with, not vertically centered.

Are you using a custom skin/style? If so, the justification for the forum titles/descriptions has been altered in there. If not, I just do not know.

MagicThemeParks
01-20-2010, 11:55 PM
Thanks for looking PossumX :)

I might have to go to the custom skin maker and see if he has some suggestions, I guess.

armthehomeless1
01-24-2010, 09:06 PM
That's a shame the developer has abandoned the mod. I really like this one and is promised to my sponsors as part of their packages.

So now I'm stuck on 3.8.4 cause I can't get this on vB4 :(

SMosher
02-03-2010, 08:01 PM
I agree. Damn shame. I'd even pay :P

jGas
04-08-2010, 08:12 AM
me too... :(

Deviation
04-08-2010, 10:13 AM
Didn't realize I still had a following. :)

If I can come with a license to work on this, I will (I don't run any public forums myself). Funds have been a little short lately. I'll see if I can get someone to put some pennies in my cup at lunch.

SHalliday
04-09-2010, 08:46 PM
I have a 4.02 test site that you are more than welcome to use. I just tried the donate button but it is not working. Thank you for the great addon!

Mr Peabody
04-09-2010, 10:56 PM
Didn't realize I still had a following. :)

If I can come with a license to work on this, I will (I don't run any public forums myself). Funds have been a little short lately. I'll see if I can get someone to put some pennies in my cup at lunch.

I'm more than willing to chip in some cash too :) This is one of 2 mods we're waiting to be updated so we can move to vb4.
Looks like its already been offered but our VB4 dev site is open to you too :)
Cheers for such a great and useful mod.

Deviation
04-14-2010, 01:29 PM
Scratch the PM idea. Since I don't have a license, they won't let me "participate" on vbulletin.org.

That said, SHalliday/Mr Peabody drop me a line at http://www.digitaldeviation.com/contact and I'll get in touch with you via IM/Email.

SHalliday
04-14-2010, 08:30 PM
Scratch the PM idea. Since I don't have a license, they won't let me "participate" on vbulletin.org.

That said, SHalliday/Mr Peabody drop me a line at http://www.digitaldeviation.com/contact and I'll get in touch with you via IM/Email.
I used the contact form and sent you a message.

Mr Peabody
04-15-2010, 05:11 AM
same :)

stemmy
06-09-2010, 02:46 PM
I have messaged you too - would love to have this hack again.

Mr Peabody
06-09-2010, 07:26 PM
Haven't heard any news in awhile so dunno what's going on :(

Deviation
06-22-2010, 03:25 PM
Haven't heard any news in awhile so dunno what's going on :(
I'm still alive. Summer time means I'm usually out & about with family and tending to the home. Even gingers like myself enjoy some sunlight from time to time. ;)

As an update, I do have a valid license now (and a much lighter wallet; thank you Jelsoft).

I'll update as I make some more progress on this. It's (obviously) a complete rewrite so it will take some time. Until then, you can keep up with me on Twitter (http://www.twitter.com/OneCoolMofo) or my web site (http://www.digitaldeviation.com). I know there was one person who emailed me a couple times (not sure of his forum name). Sorry for the lack of response there. Hopefully this answers your question.

:)

ChaFF
08-23-2010, 06:19 PM
how many people are waiting for an update? :)

Mr Peabody
08-23-2010, 07:27 PM
I sent a message with an offer of a donation with no reply.
The donation button on the first post doesn't work for me either.

socalsoccer
10-02-2010, 11:59 PM
[QUOTE=MrEyes;1620364]

3) Find the line that reads:

chdir('/path/to/forums/'); <-------WRONG!!

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



Wrong chdir is not the area you change. I wasted 3 hours on that bad info.

skor
10-09-2010, 02:39 AM
When I click the banner, I am getting the following messge...

Redirecting...


Could not find phrase ' '.

Click here if your browser does not automatically redirect you.

But then it redirects ok...anyone know what could be causing the Could not find phrase message?

Also, I am not seeing the vbsponsors manager on the left menus in admin cp.

kronnos
02-06-2011, 01:01 PM
This is what I have been looking for a very long time! Is this working with the latest version of vb 3.8?

Deviation
02-26-2011, 07:03 PM
<a href="http://bit.ly/gH0bEO" target="_blank">http://bit.ly/gH0bEO</a>