PDA

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


Pages : [1] 2

Deviation
11-13-2006, 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.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 (http://www.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://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 (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
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/projects/vbsponsors/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.

vphost
11-14-2006, 12:05 AM
Thanks for this, is it possible to change "Forums Sponsored By:" to something else?

taydu
11-14-2006, 12:16 AM
Look great!!!

Rotating banner, sponsors will be great

abramelin
11-14-2006, 12:43 AM
The display of the banners are not good. You have to use extra collumn for banners. Because it is messing up the forum and category name alignment.

PossumX
11-14-2006, 01:04 AM
Why is it that when I paste in the update to the "forumhome_forumbit_level1_nopost" template, my forum display doubles all categories and the first forum ? I am quite befuddled by this.

All templates being modified are default vB 3.6.3 templates. I have reverted and tried again, with the same results...

Help....;)

Attached is an image of what forum looks like after "forumhome_forumbit_level1_nopost" is updated.

Below is the code prior to the update"
<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>


Here is the code after the update:
<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
<!-- vBSponsors -->
<if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
<div style="float:$stylevar[right]">
$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>
</div>
</if>
<!-- / vBSponsors -->
</td>
</tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>
</td>
</tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>

I've noticed that the code in the template code, included with the download, is a tad different, so I am trying now, however, it is still odd, since the template I am using is a complete reverted copy.

----------------------------

Update: I copied the code, verbatim, from the 3 Forum Home templates, and manually edited the FORUMDISPLAY. It's working now, however, the hyperlink is now throwing a nasty error:

I am checking paths now, but I thought I had it tight....grrrr. FIXED

Deviation
11-14-2006, 01:04 AM
Thanks for this, is it possible to change "Forums Sponsored By:" to something else?
Yes. It's under Global Settings in the Admin CP.
Look great!!!

Rotating banner, sponsors will be great
Adding to the FR list.

The display of the banners are not good. You have to use extra collumn for banners. Because it is messing up the forum and category name alignment.
You can use an additional column if you want. I chose to use a <div> tag for the simplicity of example. Simply copy & paste the template code in between <!-- vB.Sponsors --> and <!-- / vB.Sponsors --> wherever you decide to put it.

Deviation
11-14-2006, 01:10 AM
Why is it that when I paste in the update to the "forumhome_forumbit_level1_nopost" template, my forum display doubles all categories and the first forum ? I am quite befuddled by this.
It looks like part of your template ($childforumbits) got duplicated. When you're copying the code included with vB.Sponsors, make sure you completely erase the code in the box before pasting. I find that using the "Large Edit Box" option (to the left of the text box) helps with this.

PossumX
11-14-2006, 01:16 AM
I see the duplicate code now...that you pointed it out, it is rather obvious.

Checking details now...thanks. My apologies for the posting, but I am a bit tired, go figure. Updated post above on hyperlink error as well.

FIGURED OUT MY LINK PROBLEM TOO.

My path was not complete, missing the initial part of the lead.

ALL WORKING NOW !!

dougeetx
11-14-2006, 03:00 AM
Is there a way to make this for each thread instead of each forum?

Hornstar
11-14-2006, 06:35 AM
The only thing to make this better that I can think of, is to allow statistics to be shown to specified users through a login, or a page where they have permission.

eg. Banner 'x' statistics shown to userid 'xxx'

That would be really good.

projectego
11-14-2006, 08:20 AM
Awesome! Thank you. :)

Deviation
11-14-2006, 12:53 PM
ALL WORKING NOW !!
Good to hear.
Is there a way to make this for each thread instead of each forum?
Not yet. But I'll add that to the FR list at the top.
The only thing to make this better that I can think of, is to allow statistics to be shown to specified users through a login, or a page where they have permission.

eg. Banner 'x' statistics shown to userid 'xxx'

That would be really good.
There's a FR for that already. That would be a great addition I think. That may be next on the list.

nul7
11-14-2006, 09:37 PM
Yes! Thanks Dev! Installing now....

nul7
11-14-2006, 09:39 PM
Also, fix your Install button link.... it goes to the 3.5.x version. ;)

Deviation
11-14-2006, 10:11 PM
For those that wouldn't mind showing off their forums, PM me your site address. I'd like to compile a "demo" list at the top of this thread for people to see.

Also, fix your Install button link.... it goes to the 3.5.x version. ;)
Ha ha! Good catch! Copy & paste > me. ;)

nul7
11-14-2006, 10:52 PM
Unfortunately I'm having the same problems I was with the older version.... the admincp pages and the banners don't display in firefox. They work just fine in IE though. The admin pages will display if I paste the link in the address bar, but clicking on them creates a blank page, then every other admin link ceases to work. I have many mods installed, and this only happens with this one. That's no big deal... but the banners don't show up. :(

nul7
11-14-2006, 10:55 PM
One more thing... if I click on a banner in IE it links to:

http://forum.crookedh.com/vB.Sponsors/www.nxtgenmotorsports.com

nul7
11-14-2006, 10:59 PM
more info... that doesn't happen for all forums. I added the same sponsor to 2 different forums... the banner works for one, but not the other. The one I added first does not work.

EDIT: Don't know if it will help, but the forum it DOESN'T work on is ID 140. The forum it DOES work on is ID 14.

Deviation
11-14-2006, 11:21 PM
Unfortunately I'm having the same problems I was with the older version.... the admincp pages and the banners don't display in firefox. They work just fine in IE though. The admin pages will display if I paste the link in the address bar, but clicking on them creates a blank page, then every other admin link ceases to work. I have many mods installed, and this only happens with this one. That's no big deal... but the banners don't show up. :(
I don't seem to have those issues. I do most of my dev work in FF. Strange.
more info... that doesn't happen for all forums. I added the same sponsor to 2 different forums... the banner works for one, but not the other. The one I added first does not work.

EDIT: Don't know if it will help, but the forum it DOESN'T work on is ID 140. The forum it DOES work on is ID 14.
Check the link you entered in the forum manager. Verify that its the same link to the sponsor. Be sure you preface the links with http://.

nul7
11-14-2006, 11:36 PM
Ok, I am a moron. I'm sorry for posting a false bug report.

For the incorrect link: I didn't add "http://" to that particular forum.

For the banners not showing in FF: AdBlock /me slaps forehead

I've been messing with the code for hours and it was my own stupidity causing them not to show. lol

Now if I can just get the admincp pages to work.....

midirtrider
11-15-2006, 06:28 AM
anyone have a live demo we could veiw that is running this hack??

looks really cool.. deffinatly intrested if its running smoothly!

Floris
11-15-2006, 07:25 AM
This is cool, thanks for sharing! :)

adsblog
11-15-2006, 12:31 PM
When Users Click on sponser Text/Banner Get This Message :
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/user/htdocs/upload/vB.Sponsors/link.phpon line 30

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/user/htdocs/upload/vB.Sponsors/link.php on line 32

What is problem ?

Deviation
11-15-2006, 12:40 PM
This is cool, thanks for sharing! :)
Glad to give something back. Nw if I could convince Jelsoft to give me something. ;)
When Users Click on sponser Text/Banner Get This Message :
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/user/htdocs/upload/vB.Sponsors/link.phpon line 30

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/user/htdocs/upload/vB.Sponsors/link.php on line 32


What is problem ?
Look on line 30 in vB.Sponsors/link.php. Make sure you have the correct path.
anyone have a live demo we could veiw that is running this hack??

looks really cool.. deffinatly intrested if its running smoothly!
null7 has a site running it; www.crookedh.com.

Those of you running this on your sites, PM me your site addresses and I'll add them to top of the thread as demo sites.:)

midirtrider
11-15-2006, 05:34 PM
awsome... looking forward to installing it later this evening.. THANK U!

dilbert
11-16-2006, 01:52 AM
This looks terrific, I think I'll give it a try.
One new feature that would be terrific, let it display ads from phpAdsNew. That way we could have robust stats, the sponsor could view their own stats, and the images could rotate. The rotating images is most important to me, that way one sponsor could sponsor one forum, have multiple images that would go to different pages on their domain, or anywhere for that matter.

Deviation
11-16-2006, 11:02 AM
This looks terrific, I think I'll give it a try.
One new feature that would be terrific, let it display ads from phpAdsNew. That way we could have robust stats, the sponsor could view their own stats, and the images could rotate. The rotating images is most important to me, that way one sponsor could sponsor one forum, have multiple images that would go to different pages on their domain, or anywhere for that matter.
That's was my thought this morning as I was driving to work. Strange that I received a request about it. I'll add that to the list.:)

John1uk
11-16-2006, 10:05 PM
i don't know what i have done wrong......i am getting no errors, nothing...i have installed and setup a sponsor but no banner.

Help.

Deviation
11-16-2006, 10:08 PM
i don't know what i have done wrong......i am getting no errors, nothing...i have installed and setup a sponsor but no banner.

Help.
Did you make the needed template changes the current style of your board?

John1uk
11-16-2006, 10:18 PM
Did you make the needed template changes the current style of your board?

sorry mate :( being new to this is a little confusing.....if i add you as admin could you checkout what i aint or have done wrong plz :)

Template change *scratches head*

sorry i couldn't quite understand in your instructions as how to do it :(

Deviation
11-16-2006, 10:20 PM
sorry mate :( being new to this is a little confusing.....if i add you as admin could you checkout what i aint or have done wrong plz :)

Template change *scratches head*

sorry i couldn't quite understand in your instructions as how to do it :(
PM me.

John1uk
11-16-2006, 11:00 PM
thanx for your help Deviation :D

is there any reason to why the links on the banners don't work?

Deviation
11-16-2006, 11:03 PM
thanx for your help Deviation :D

is there any reason to why the links on the banners don't work?
You have a PM.

John1uk
11-16-2006, 11:12 PM
Deviation, thank you so much for your Help mate :D

Regards john...

dilbert
11-16-2006, 11:21 PM
PM me.
Awesome, now you offer free installation? Now that is even better than a paid mod. :cool:

Deviation
11-17-2006, 10:33 AM
Awesome, now you offer free installation? Now that is even better than a paid mod. :cool:
lol. Not quite. Just figured since I had a few moments, I'd help the new vB guy out.

Anyone that PM's me for installs may be shot.:cool: ;)

dilbert
11-19-2006, 01:26 AM
I just tried to install this on a custom style.
If there is a description, then it wraps around the description.
Please take a look at www.bloodbanktalk.com, it's in the top forum Site Support. For now I just put in a test link, not an image.

Also, the first part of the instructions say to edit forumhome_forumbit_level1_nopost, but I don't have the Find statement there, I searched for it and found it in forumhome_forumbit_level1_post.

I also have the Element style installed, I just added it to that too, and I still get the wrapping.

I really hope this can be adjusted.

John1uk
11-19-2006, 08:32 AM
is there a way i can have the text "forum sponsored by:" above the small banners on my forum :D

thanx

john

Deviation
11-20-2006, 12:40 AM
I just tried to install this on a custom style.
If there is a description, then it wraps around the description.
Please take a look at www.bloodbanktalk.com, it's in the top forum Site Support. For now I just put in a test link, not an image.

Also, the first part of the instructions say to edit forumhome_forumbit_level1_nopost, but I don't have the Find statement there, I searched for it and found it in forumhome_forumbit_level1_post.

I also have the Element style installed, I just added it to that too, and I still get the wrapping.

I really hope this can be adjusted.
What you have to take into account is that the instructions are based on the default vB style. My suggestion to you (and others) is to make a copy of your current style for testing and play with the placements. The code for vB.Sponsors is generic so it should fit into most styles.

John1uk
11-20-2006, 03:57 PM
is there a way i can have the text "forum sponsored by:" above the small banners on my forum

thanx

john

Deviation
11-21-2006, 04:55 PM
is there a way i can have the text "forum sponsored by:" above the small banners on my forum

thanx

john
In forumhome_forumbit_level1_nopost look for:
$vbphrase[sponsored_by] <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">
Add a line break (<br/> tag) after:
<a href="vB.Sponsors/link.php?f=$forum[forumid]" title="$forum[sponsor_name]" target="_blank">

That should do it. I'm not able to verify that right now though.

John1uk
11-21-2006, 06:47 PM
what does "tag" mean plz?

i copied and pasted <br/> tag but no joy......sorry me being a newbie..

Deviation
11-21-2006, 07:06 PM
what does "tag" mean plz?

i copied and pasted <br/> tag but no joy......sorry me being a newbie..

HTMAL tags refer to web page layouts. See http://www.w3schools.com/html/html_primary.asp

popowich
11-21-2006, 10:28 PM
-Supports large banners for the top of the sponsored forum and small banners for the forum listing

Hello,

Before installing...

Will this support having banners display in the forums but not in the main web page?

I think this might be "enabled small banner - no" and "enable big banner - yes"?

-Raymond

Deviation
11-21-2006, 11:19 PM
Hello,

Before installing...

Will this support having banners display in the forums but not in the main web page?

I think this might be "enabled small banner - no" and "enable big banner - yes"?

-Raymond

Hmm. Do you mean not display any sponsors in the main forum listing? Can you clarify this for me?

popowich
11-21-2006, 11:38 PM
Hmm. Do you mean not display any sponsors in the main forum listing? Can you clarify this for me?



Yes, if I go to my site I would not want the main forum listing cluttered with ads,
but if you click into a forum then show the big add in there above the thread listing.

-Raymond

rezapci
11-21-2006, 11:48 PM
cool hack, thank you

Deviation
11-22-2006, 10:13 AM
Yes, if I go to my site I would not want the main forum listing cluttered with ads,
but if you click into a forum then show the big add in there above the thread listing.

-Raymond

Well no. Not yet anyhow. This seems like an interesting feature. You can, however, specify not to use a sponsor's banner image. This will create a text link with the sponsor's name. This can be done globally or via forum settings.

Screenshot: https://vborg.vbsupport.ru/attachment.php?attachmentid=56411&d=1164197175

cool hack, thank you
Glad you like it. If you use it, be sure to click the install link at the top. That way you will be notfied of any updates.

AWJunkies
11-26-2006, 11:59 PM
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/showthread.php?t=131150&page=8

Would be nice to have counters and reports etc for all areas of advertisement. Thanks.

irishblacknight
11-27-2006, 12:20 AM
The link to the documentation is broken (two x http instead of one :) )

cam2 - old
11-27-2006, 12:33 AM
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.

Deviation
11-27-2006, 01:01 AM
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/showthread.php?t=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?

The link to the documentation is broken (two x http instead of one :) )
Fixed; thanks.

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.

TheWhite
11-27-2006, 03:28 PM
Can someone post a working link for the guide?

Regards

Deviation
11-27-2006, 04:14 PM
Can someone post a working link for the guide?

Regards
Its fixed. Kept missing the ":".

thumbsucker
11-27-2006, 09:44 PM
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>

thumbsucker
11-27-2006, 11:05 PM
Do affiliate links work properly with the sponsor links by the way?

AWJunkies
11-27-2006, 11:33 PM
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.

AWJunkies
11-27-2006, 11:38 PM
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.

krazycivik
11-28-2006, 12:37 AM
yah the instructions dont work

Deviation
11-28-2006, 10:06 AM
Download the other mod and test it out and you will see what I mean.
I'll check it out.

yah the instructions dont work
They work fine for me. Anyone else having issues?

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.

thumbsucker
11-28-2006, 10:45 AM
I'll check it out.


They work fine for me. Anyone else having issues?


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.


Yup, I did that but it's still not displaying in the forumdisplay page.

Can you take a look at let me know what might be the problem? Would hate to not use the mod because it works at the main cat level, just not forumdisplay.

cam2 - old
11-28-2006, 12:29 PM
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.

Thanks for the response. Do I make these changes in the XML file and then re upload?

Deviation
11-28-2006, 12:35 PM
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.
Thanks for the response. Do I make these changes in the XML file and then re upload?
I'd be hesitant of making code changes and file location changes. When updates come out you could end up broken again.

There's no reason it shouldn't work with the forum path specified correctly in the link.php file. Keep in mind the vB.Sponsors directory is case sensitive. There is a file included that you can use to get the correct path. See the documentation for details.

cam2 - old
11-28-2006, 01:34 PM
Basically I need to get the right path on the link file right?

Deviation
11-28-2006, 02:24 PM
Basically I need to get the right path on the link file right?
Yes. If your forum is located in /usr/com/userid/forums/, the path would be /usr/com/userid/forums/vB.Sponsors/.

See http://www.digitaldeviation.com/content/view/57/20/ for more info.

cam2 - old
11-28-2006, 03:56 PM
I appreciate your help. It works perfectly...

PossumX
11-30-2006, 01:37 AM
How do I go about centering the large banners in the actual forum view?

lifesourcerec
12-03-2006, 08:19 AM
I get this error trying to add a sponsor:

Fatal error: Field sponsor_enabled is not defined in $validfields in class vb_datamanager_forum in /includes/class_dm.php on line 485

MrPHD
12-03-2006, 09:08 AM
Installed, rnning and nice a 100%. Thanks

MrPHD
12-03-2006, 09:25 AM
To Edit FORUM DISPLAY and FORUM HOME
----------------------------------------
Installation guide for vB.Sponsors 2.0.
Product Installation
Extract the contents of vB.Sponsors.zip to your computer
Open upload/vB.Sponsors/link.php in notepad, wordpad or similar editor.
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/vB.Sponsors/
You can find the physical path to your forum directory by uploading and running the settings-check.php file that is in the do not upload/vB.Sponsors directory to the vB.Sponsors directory on your web server. Please delete this file when you are done.

Upload the files in the upload directory to the corresponding directory on the web server under the forum directory.
Open the Admin CP of your board. On the left hand side scroll down to Plugins & Products.
Click on Manage Products.
Click on Add/Import Product.
Click on Browse... and choose the vB.Sponsors-product.xml file.
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.

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]">
$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>
</div>
</if>
<!-- / vBSponsors -->

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

ADD, AFTER:
<!-- vBSponsors -->
<if condition="$forum[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
<div style="float:$stylevar[right]">
$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>
</div>
</if>
<!-- / vBSponsors -->

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">
$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 -->


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]">
$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>
</div>
</if>
<!-- / vBSponsors -->


Best Regards.

Deviation
12-04-2006, 01:21 AM
I get this error trying to add a sponsor:

Fatal error: Field sponsor_enabled is not defined in $validfields in class vb_datamanager_forum in /includes/class_dm.php on line 485
The install likely failed. It didn't add the fields to the table. Rerun the install. Be sure to check the "Allow Overwrite" option.

Best Regards.
Why did you post the install instructions?:confused: The link is provided at the top. I use the website since its easier to maintain changes (easier than uploading a new file everytime).

TheWhite
12-06-2006, 01:17 AM
Warning: main(./global.php): failed to open stream: No such file or directory in /home/content/a/c/2/ddddddd/html/vB.Sponsors/link.php on line 32

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/content/a/c/2/dddddd/html/vB.Sponsors/link.php on line 32

Deviation
12-06-2006, 01:21 AM
Warning: main(./global.php): failed to open stream: No such file or directory in /home/content/a/c/2/ddddddd/html/vB.Sponsors/link.php on line 32

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/content/a/c/2/dddddd/html/vB.Sponsors/link.php on line 32

Check line 30 in link.php. Please see: http://www.digitaldeviation.com/content/view/57/20/

DeeperImage
12-08-2006, 03:42 AM
How the heck do I get the large rotating banners to show up? The small ones are working like a charm, but i've added the URLs for the large ones and nothig shows, am I missing something?

Deviation
12-08-2006, 11:06 AM
How the heck do I get the large rotating banners to show up? The small ones are working like a charm, but i've added the URLs for the large ones and nothig shows, am I missing something?
Check your FORUMDISPLAY template. Be sure you made the required changes.

DeeperImage
12-08-2006, 03:56 PM
Check your FORUMDISPLAY template. Be sure you made the required changes.

I'm just a fool, I thought the big banners would rotate on the top header also, I was looking at a few hacks and must of gotten them confused. Is there any way to have the large banners rotate on the top header?

Deviation
12-08-2006, 03:59 PM
I'm just a fool, I thought the big banners would rotate on the top header also, I was looking at a few hacks and must of gotten them confused. Is there any way to have the large banners rotate on the top header?
Banner rotation isn't supported yet. Unless you mean using animated banners.

Banner rotation is in the works though.

00stanggt
12-13-2006, 09:49 AM
[13-Dec-2006 06:46:12] PHP Warning: require_once(./global.php) [function.require-once]: failed to open stream: No such file or directory in /home/ec7f/public_html/vb/vB.Sponsors/link.php on line 32 [13-Dec-2006 06:46:12] PHP Fatal error: require_once() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/ec7f/public_html/vb/vB.Sponsors/link.php on line 32

I know ur going to say to check line 30 so here is line 30

chdir('/home/ec7f/public_html/vb/vB.Sponsors/');

I believe that is exactly how settings-check.php says to put it still having the global.php error.

Please PM me with a solution.

Deviation
12-13-2006, 10:43 AM
I know ur going to say to check line 30 so here is line 30

chdir('/home/ec7f/public_html/vb/vB.Sponsors/');

I believe that is exactly how settings-check.php says to put it still having the global.php error.
It should be /home/ec7f/public_html/vb/. There was a misprint in the install guide. Sorry about that. settings-check.php would have given you the correct path.

00stanggt
12-13-2006, 08:42 PM
well ty sir it works great now. I saw it did give me both and i thought i tried them both but i guess not. I appriciate the help.

interfx
12-15-2006, 09:00 PM
2 basic questions:

1. Before I install this on a well established VB install, is this stable enough for 3.6.3? Anyone use this in a VBa CMPS install? Is the download the latest, with all fixes corrected - or will I have to do manual fixes as outlined in the 6 pages of posts above?

2. Is the example shown (CrookedH - http://forum.crookedh.com), what it will do? Looks like 2 different logos (small on forum list), (large inside the specific forum) for each sponsor?

Thanks -

captainslater
12-18-2006, 08:34 PM
Attached the german version of this product.
You'll also find this on http://www.vbhacks-germany.org

netdebut
12-29-2006, 07:42 PM
Hey, for those trying to show the sponsor ad in all threads, there's something you can do. Instead of pasting the code for the Forum Display Dev suggested (no disrespects of course), you can do a quick work around by pasting the code at the end of the "navbar" template.

I know it's not the right way, but it certainly works out just fine.

Take a look at my forum: http://www.networkersdebut.com/forum

As of typing this, I only have 3 categories with the sponsor ad activated, Introduction, News and Design & Function.

Dev, you're welcome to add my forum to your demo site list.

Deviation
12-31-2006, 05:47 AM
Hey, for those trying to show the sponsor ad in all threads, there's something you can do. Instead of pasting the code for the Forum Display Dev suggested (no disrespects of course), you can do a quick work around by pasting the code at the end of the "navbar" template.

I know it's not the right way, but it certainly works out just fine.

Take a look at my forum: http://www.networkersdebut.com/forum

As of typing this, I only have 3 categories with the sponsor ad activated, Introduction, News and Design & Function.

Dev, you're welcome to add my forum to your demo site list.

None taken. ;) Always good to see some user input like this. Added your forum to the list.


Once I get my computer rebuilt, I'll begin work on this again. Hard drive died on me. Lost some data too.. Ugh.:tired:

Deviation
12-31-2006, 05:49 AM
Attached the german version of this product.
You'll also find this on http://www.vbhacks-germany.org

Thanks for the translation. Please do not host the files on your site. Instead reference this thread. I will post the package you created here as well. Thanks.

zincpony
01-06-2007, 12:17 PM
awesome add-on installed but 1 question how do i get the Big banner to show up like this

http://forum.crookedh.com/forumdisplay.php?f=63

Deviation
01-06-2007, 12:27 PM
awesome add-on installed but 1 question how do i get the Big banner to show up like this

http://forum.crookedh.com/forumdisplay.php?f=63

Send a PM to nul7. That's his site.

Looks good btw nul7. ;)

farooqaaa
01-06-2007, 04:09 PM
Great one!!

Thanks Dev... Installing now.

BudLeiser
01-13-2007, 02:31 PM
When will or can it use banner code such as Adsense and others?

(On a slightly related note, does anyone have some good gaming click through sponsors pm me)

MTVSlick
02-13-2007, 08:34 AM
I keep getting this error, can anyone tell me what I am doing wrong?

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/guelphsf/public_html/GFV2/forum/vB.Sponsors/link.php on line 29

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/guelphsf/public_html/GFV2/forum/vB.Sponsors/link.php on line 31

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/guelphsf/public_html/GFV2/forum/vB.Sponsors/link.php on line 31

Mark,

jonty
02-18-2007, 08:23 PM
Had to alter line 49 to
eval(exec_header_redirect($vbulletin->url));

as I was getting a cannot find the phrase ''.

red-dna
02-20-2007, 06:09 PM
I installed, it worked fine, looks promising
But i unistall it, because it only take a picture and not a html code (i need it for my ad-banners)

PhilForce
02-22-2007, 01:32 PM
This is a great mod, thanks for doing it.

However, I, sucking at PHP and the likes, am having a problem. Whether I use just a text link or a banner image, whenever I click it I am just directed towards www.mysite.com/forums/vB.Sponsors/link.php which is a blank page. Why am I not being directed to to the link that I put as the sponsor's?

Thanks in advance!

K2_02
02-23-2007, 11:21 PM
I can't get the large banner to show up. Only the small one. Can someone point me in the right direction - and post it here on this thread for anyone else having this problem in the future? Thanks!

madkeen
02-28-2007, 10:41 AM
Thanks for the mod

Is it possible to use .swf files?

Any idea on if/when phpAdsNew integration will be available?

TheBlackPoet
02-28-2007, 11:15 AM
im trying to delete an ad.... it does nothing... i checked the permissions... they are fine... i went to the options... no problem there... i went to see if i could delete it from the options.. its not showing up there... hmmm

madkeen
02-28-2007, 11:40 AM
Have you gone into Forums & Moderator - Forum Permissions - The Forum you want to delete the ad from and select "No" for "Enable Sponsor" then click on Save

madkeen
02-28-2007, 09:49 PM
I have replaced the Forumdisplay code, as below

<!-- vBSponsors -->
<center>
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
$vboptions[sponsor_global_default_text] <br/> <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>
</center>
<!-- / vBSponsors -->


with this code


<!-- vBSponsors -->
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
<table class="tborder" cellpadding="1" cellspacing="1" border="0" align="center">
<tr>

<td class="tcat" align="center"><span class="normal"><font size="1">
<span class="smallfont">

$vboptions[sponsor_global_default_text]

</span> </font>
</span></td>
</tr>
<tr>
<td class="alt2" align="center"><span class="normal"><font size="1">


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

</span></td>
</tr>
</table>
</if>
<!-- / vBSponsors -->


It displays fine except the New Thread and Page Links are now shown above the banner instead of below the banner, see attached.

Can anyone tell me what I am doing wrong and how to fix this?

Thanks

K2_02
02-28-2007, 10:15 PM
I tired that code and still can't get the banner to show up anywhere. I'm wondering if I have a problem because of my forum layout. See below:

-- Suspension & Brakes (not a forum)
---- Shocks & Springs
---- Stock & Aftermarket Brakes
---- Lowering Kits
---- Stabilizers & Traction Bars

The client wants to sponsor the suspension & brakes forums and have the small logo beside that on the forum list but we want the large banner to show at the top of all the subforums.

Is that possible? If so, how? THANKS!

PhilForce
03-02-2007, 04:41 PM
Can anyone help me with my problem? The sponsor only links to www.mysite.com/forums/vB.Sponsors/link.php which is a blank page. Why isn't it forwarding to the actual sponsor link?

Please help me out!

Thanks!

soletrader
03-18-2007, 10:05 AM
Thank you very much for this hack. I would like to know how to edit the text: "Forum Sponsored by" by moving it directly above the banner. Can anyone show me how to do this?

I would also like to edit the color of the text. Thank you

madkeen
03-19-2007, 01:34 AM
Thank you very much for this hack. I would like to know how to edit the text: "Forum Sponsored by" by moving it directly above the banner. Can anyone show me how to do this?

I would also like to edit the color of the text. Thank you

See my post, three posts above

soletrader
03-19-2007, 09:34 AM
Thank you madkeen, I tried implementing the code you provided but was unable to change the text to be placed above the banner. The code made no changes at all. Would it be okay if you take another look at the coding? I would really like to make this work.

Also to the coder of this hack, I am interested in removing the footer link. Can you please pm me for information on this? I am willing to donate a small amount for it. Thank you

majorvbuser
03-20-2007, 08:15 AM
Thanks for this - really handy mod.

Is there any ETA on this feature:
Option: Multiple sponsors per forum/category

Being a half wit, I scanned the text and didn't notice it was an option for the future not current release. Had my coder install this hack and spent 10 minutes trying to workout how the heck you rotate various adverts when there was only 1 set of fields per forum :P DOH

Any kind of ETA on being able to add 3-5 sponsors per forum and it rotate them randomly ?

Will get my guy to take a look at the code, if it doesn't look like it's something you have time for shortly.

Cheers again.

brihan
03-20-2007, 04:18 PM
I already have vB Ad Management 3 installed.

Can I also install this mod without any troubles. I know "without any trouble" is a relative term but do you think they can co-exist without smoke, sparks or fire ;) ?

BigJimTheLug
03-22-2007, 03:49 AM
I have the same management system installed and do not see how it would interfere with anything, except maybe a few adverts.

Nothing serious though.

Here is my demo:

http://forums.puremarketprofits.com/happyshares-com/

Ophelia
03-22-2007, 01:49 PM
I have this installed, however, when I press uninstall, it renders the entire screen blank. I have to logout of admin and log back in to get back anything on the right frame.

majorvbuser
03-24-2007, 12:21 PM
I would be interested in contributing financially for the ability to add 2-3 more sponsors per forum/catagory and have it simply display them randomely or cyclicly.

Feel free to PM me, will save me getting my guy from having to work out somebody elses code.

brihan
03-30-2007, 10:12 AM
Hey, for those trying to show the sponsor ad in all threads, there's something you can do. Instead of pasting the code for the Forum Display Dev suggested (no disrespects of course), you can do a quick work around by pasting the code at the end of the "navbar" template.

I know it's not the right way, but it certainly works out just fine.

Take a look at my forum: http://www.networkersdebut.com/forum

As of typing this, I only have 3 categories with the sponsor ad activated, Introduction, News and Design & Function.

Dev, you're welcome to add my forum to your demo site list.



I would love to have a little help on this one.


"Instead of pasting the code for the Forum Display Dev suggested (no disrespects of course), you can do a quick work around by pasting the code at the end of the "navbar" template. "

Could you please give me more specific direction?

Since this was posted in 2006 is this still the proper way to get the large banner in all the posts?

Any help would be greatly appreciated.

By the way, I loaded this mod tonight and it works great, no problems.

Thank you.

ButchB
04-01-2007, 09:44 PM
I installed it on mine and everything works fine. Only problem I am having is that when I put the image in, the size is too large. Is there any way to edit the size? Thanks

spanktu
04-01-2007, 09:49 PM
?, I am a noob so please bear with me,
I have tried multiple times to run settings-check.php on my ftp site
but it comes up blank?
I transfered the complete VBsponsors folder over into the forums directory
and when I run settings-check.php just a blank page

any suggestions?

any other way to find the root dir.?

thanks

ButchB
04-03-2007, 01:31 AM
can anybody help me with the size issue? i'm sure it's something simple. the banners are saved small (120x60), but once I enable them in the sponsor section, it doubles the size of them. what am i doing wrong?

also, the link isn't working. when you click on the banner to go to the sponsors site, you get an error page? i've read all of these pages and i know it says that problem is line 30, but i've went back and rechecked it and can't figure out where i went wrong?

please excuse my ignorance. i'm very new to this stuff and it's alot to learn. thanks in advance for any help!

www.dragbikeforums.com

ButchB
04-03-2007, 02:10 PM
ok, i got the size issue figured out. I thought i had it saved in the right size but i didn't. so, if i can just get the link to the sponsors going it'll be right.

ButchB
04-03-2007, 03:14 PM
I keep going in and changing line 30 of the link.php trying to figure out what i have done wrong. Now when i'm in filezilla and everytime i try to upload it, i get a message "too many retries". What can I do? Can anybody help? Please? Thanks

freemchr
04-04-2007, 01:18 AM
Thanks. Looks like a great mod. Cant wait to install it!

ButchB
04-04-2007, 01:55 AM
When I click on the banner, it is supposed to take me to the advertisers website. I have checked line 30 a million times, it's right. I have the link in the control panel right, http:// etc, any ideas on what i am doing wrong? i get a page with the following when i click on the ad banner:

Not Found
The requested URL /forums/vB.Sponsors/link.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

This has got to be something simple. Can anybody help me figure this out? Thanks

LadyBeth
04-06-2007, 01:51 PM
Is there any way to email or PM members banner stats for each individual ads?

d3v1L
04-08-2007, 09:38 PM
Nice mod but had to disable as it added link to vbsponsor at the bottom. Really cannot have that on my forum. Will wait for branding free and adsense integration.

skorzguy
04-10-2007, 02:00 AM
I love this mod but how does one add flash banners. I tried using bbcode but it didn't work. Does anyone know how to add flash banners?

Mrdby
04-15-2007, 01:54 PM
So I have to edit templetes?

Volvoholic
04-17-2007, 05:20 AM
Hi,

The online documentation is not found ! Tried clicking the link but it simply not there anymore :(

V

Deviation
04-17-2007, 10:25 AM
Hi,

The online documentation is not found ! Tried clicking the link but it simply not there anymore :(

V

My apologies. I lost my site last night. Also, I need to renew my subscription to vBulletin so I can't update the mod at all.:mad:

All the documentation for the vB.Sponsors mod can be found at: http://www.digitaldeviation.com/taxonomy/term/4 for now.

Volvoholic
04-20-2007, 05:28 PM
I keep getting this message dispite following the setup instructins.

---------------------
Warning: main(./global.php): failed to open stream: No such file or directory in /home/content/x/c/e/userid/html/Vbulletin/vB.Sponsors/link.php on line 32

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/content/x/c/e/userid/html/Vbulletin/vB.Sponsors/link.php on line 32
----------------------

Note: userid is replaces my real userid based on the settings-check.php file.

I copied and pasted the path generated by the php file into the link.php file in line 30.

Line 30 looks like this

---------------------
chdir('/home/content/x/c/e/userid/html');

require_once('./global.php');
----------------------

Cheers
V

Deviation
04-20-2007, 06:46 PM
Line 30 looks like this

---------------------
chdir('/home/content/x/c/e/userid/html');

require_once('./global.php');
Add the trailing slash:
chdir('/home/content/x/c/e/userid/html/');

Volvoholic
04-21-2007, 04:05 AM
Hi Deviation,


I still get the same error

Warning: main(./global.php): failed to open stream: No such file or directory in /home/content/x/c/e/userid/html/Vbulletin/vB.Sponsors/link.php on line 32

Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/local/lib/php') in /home/content/x/c/e/userid/html/Vbulletin/vB.Sponsors/link.php on line 32

I copied the first few lines of link.php

error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
define('THIS_SCRIPT', 'link');

$phrasegroups = array();
$globaltemplates = array('GENERIC_SHELL');
$actiontemplates = array();
$specialtemplates = array();

/********************
* Modify this to reflect the path to you forums*/
chdir('/home/content/x/c/e/userid/html/');

require_once('./global.php');

$f_clean = $vbulletin->input->clean_gpc('g', 'f', TYPE_INT);


It is a good mod but I just need to get this to work and it would be perfect !

Cheers
V

Deviation
04-21-2007, 09:18 PM
I should've re-read the post.

Line 32 needs to be the path to your forums directory. So in your case it should be something like this:
chdir('/home/content/x/c/e/userid/html/Vbulletin/');

Volvoholic
04-22-2007, 03:58 AM
Hi Deviation,

Thanks. That got rid of the errors. This is a great mod. Good work and it is appreciated.

Cheers
V

Zilvia
04-22-2007, 08:15 PM
Is there a way to enable the index page to have a Text link, and then inside the forum it will then display the Big banner? I tried this ever such way and it will always change the index page to a bad image.

Or... I cant use Text links on both the Forum Index and Within the forum. No matter what I do it will either display the Link on the index page perfectly, then will only show the Forum Sponsored by: within the forum, with no link.

I would like to have both pages show a text link.

Thanks!!

joker2040
04-23-2007, 02:30 AM
Great mod but how can I disable the banners for one specific user group?

Masiello
04-27-2007, 04:49 PM
It works good for vB 3.6.5 with no standart skin/template?

Deviation
04-27-2007, 05:30 PM
Is there a way to enable the index page to have a Text link, and then inside the forum it will then display the Big banner? I tried this ever such way and it will always change the index page to a bad image.
Not yet. I'll add that to the list of requests.

Or... I cant use Text links on both the Forum Index and Within the forum. No matter what I do it will either display the Link on the index page perfectly, then will only show the Forum Sponsored by: within the forum, with no link.

I would like to have both pages show a text link.

Thanks!!
I would assume that its an issue with your style. The code I've provided is for the default style and just to give you an idea of how to lay it out. Some style will require some adjustments.
Great mod but how can I disable the banners for one specific user group?
You can't. Yet.... ;)
It works good for vB 3.6.5 with no standart skin/template?
Not sure I understand what you mean. It will work with most styles. The code I've given is for the defualt style.

DOCUMENTATION IS AVAILABLE AT http://www.digitaldeviation.com/documentation/vbsponsors

Once I obtain my new license, I'll be able to update the mod and the first post. Hopefully that will be tonight.

Deviation
05-14-2007, 06:32 PM
Just got my new license. I'll be working to get a new release out ASAP. :)

pelican
05-17-2007, 10:21 PM
is it working for 3.6.7 since there is quite a change in 3.6.6

Deviation
05-17-2007, 11:35 PM
is it working for 3.6.7 since there is quite a change in 3.6.6
Actually I'm not sure yet. I haven't tested it, but there's one way to find out. ;)

grahamsmythe
05-19-2007, 10:12 PM
Hey, I'm running vBulletin 3.6.7 on my forum, and I've just installed vB.Sponsors.
I installed it without any problem, and thought I'd try and set up a 'test' forum sponsor.
The problem I have, is when I click on the sponsor, a new window opens with an error message.

When installing vB.Sponsors, I was unsure of the path of my forum, so I ran the 'settings-check', and it came back with the following:
Directory name is: /home/v/i/myforumname_co_uk
Forum directory:: /home/v/i/myforumname_co_uk

So, in my link.php file, I changed it so it now reads as follows:
/home/v/i/myforumname_co_uk/
* Modify this to reflect the path to you forums*/
chdir('/path/to/forums/');

As I said at the beginning, when I click on the sponsor, a new window opens with an error message that says "Parse error: parse error, unexpected '/' in /home/v/i/vincentownersclub_co_uk/vB.Sponsors/link.php on line 29"

What am I doing wrong?

Any help would be much appreciated.

geevest.com
05-20-2007, 10:09 AM
i have some problem about vbsponsor......
banner show but if click banner
this error message :

Warning: chdir() [function.chdir]: No such file or directory (errno 2) in /home/nx/public_html/forum/vB.Sponsors/link.php on line 30

Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/nx/public_html/forum/vB.Sponsors/link.php on line 32

Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nx/public_html/forum/vB.Sponsors/link.php on line 32


what happen? anybody can help? this verry urgent for me

Deviation
05-21-2007, 12:27 AM
When installing vB.Sponsors, I was unsure of the path of my forum, so I ran the 'settings-check', and it came back with the following:
Directory name is: /home/v/i/myforumname_co_uk
Forum directory:: /home/v/i/myforumname_co_uk

So, in my link.php file, I changed it so it now reads as follows:
/home/v/i/myforumname_co_uk/
* Modify this to reflect the path to you forums*/
chdir('/path/to/forums/');

As I said at the beginning, when I click on the sponsor, a new window opens with an error message that says "Parse error: parse error, unexpected '/' in /home/v/i/vincentownersclub_co_uk/vB.Sponsors/link.php on line 29"
It looks like line 29 got messed up in link.php. Here's what lines 28 through 32 should look like for you:

/********************
* Modify this to reflect the path to you forums*/
chdir('/home/v/i/myforumname_co_uk/');

require_once('./global.php');

I'm guessing you accidentally deleted one of the slashes in that comment line on line 28. All else fails, start with a fresh link.php.

i have some problem about vbsponsor......
banner show but if click banner

what happen? anybody can help? this verry urgent for me
Check that the path to your forums directory is correct. When you enter the path to the forums on line 30 in link.php, be sure that it ends with a forward slash ( / ).

grahamsmythe
05-27-2007, 09:13 PM
I have installed vb.sponsors - at first glance, all looks pretty good (see attachment 1).
The problem I have, is if you look at attachment 2, you'll see that when you actually go into the sponsored forum, at the top, just below the forum title, it just says "his Forum Has Kindly Been Sponsored By:" and doesn't give the name of the sponsor.
I've double and triple checked the changes I made to the style templates and all seems to be OK.
Any help would be much appreciated.

Deviation
05-28-2007, 12:45 AM
I have installed vb.sponsors - at first glance, all looks pretty good (see attachment 1).
The problem I have, is if you look at attachment 2, you'll see that when you actually go into the sponsored forum, at the top, just below the forum title, it just says "his Forum Has Kindly Been Sponsored By:" and doesn't give the name of the sponsor.
I've double and triple checked the changes I made to the style templates and all seems to be OK.
Any help would be much appreciated.

That was a bug on my part. The template code I gave for FORUMDISPLAY was incorrect. I've updated the zip file with the latest code. Also the placement of the code has changed. I realized it wasn't proper HTML in the position it was located in (see the documentation for details).

Here's the new code for the FORUMDISPLAY template:
<!-- 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>
<else />
$foruminfo[sponsor_name]
</if></a>
</if>
<!-- / vBSponsors -->

The documentation has been updated as well.

grahamsmythe
05-28-2007, 05:46 AM
Nice one.
All works fine now.
Cheers.
Graham

dizzy100
05-28-2007, 07:16 AM
I see theres been an update today but no posting on what was updated.

Heres hoping for usergroup viewable permissions

Deviation
05-28-2007, 10:07 AM
I see theres been an update today but no posting on what was updated.

Heres hoping for usergroup viewable permissions
It was just the template code. Nothing else. ;)

UGP is on its way. I just finished some changes to the 3.5 version. Now I'm working on the 3.6 version. ;)

grahamsmythe
05-28-2007, 09:43 PM
It still seems there's a problem with this version of vB.Sponsors.
I'm running vBulletin 3.6.7.
On my list of forums, the sponsorship banners appear to work OK (see attachment 1)
However, when you go into the forum itself (the banner is missing and is replaced with just text - see attachment 2). And also, the "Sponsor Large Banner" doesn't seem to work either
Any help would really be appreciated, as vB.Sponsors really seem to fit the bill for what I want it to do.
Cheers. Graham.

Deviation
05-29-2007, 12:38 AM
Resolved. Check the FORUMDISPLAY template code again. I was in a bit of a rush last time. Hopefully this is it for now.:o

rooney72
06-05-2007, 05:04 AM
Excuse my ignorance. Quite new to vBulletin. I've installed it and I can see the Cpanel vSponsors Manager.

But from where I change "This section is sponsored by" and where do I put gif of sponsor? in style?

rooney72
06-05-2007, 10:26 AM
I really can't do it. I've tried to change HTML but :(

I need someone who can volonteer and act as a temp administrator. I will give all permissions of course. My forum is test so there are no people. I am only trying to learn. Once I see whta was done then I would be ok

ANyone please?

Deviation
06-05-2007, 11:09 AM
The sponsored by text is located in the Global Settings section of the vb.Sponsors Manager. See the first screenshot posted in the original post.

You add the sponsor's banner by going to the forum manager and editing the forum you want sponsored.

Also, be sure you check out the docs located at http://www.digitaldeviation.com/documentation/vbsponsors. There's a user's guide and an installation guide that will walk you through everything.

rooney72
06-05-2007, 02:17 PM
Great ... Managed somehow to do Sponsored by: ....

1. Where do I put the logo of sponsored company? I inserted it under images by ftp and made the relative url under yhe banner - Only a red appeared

2. I posted the url http://www. but stil directed to internal website

rooney72
06-05-2007, 03:21 PM
Hi Deviane this is what I meant. Besides I don't know where to upload my static logo. Mind you I wrote the url with http://www.

This is a great mod, thanks for doing it.

However, I, sucking at PHP and the likes, am having a problem. Whether I use just a text link or a banner image, whenever I click it I am just directed towards www.mysite.com/forums/vB.Sponsors/link.php which is a blank page. Why am I not being directed to to the link that I put as the sponsor's?

Thanks in advance!

Deviation
06-05-2007, 03:43 PM
Great ... Managed somehow to do Sponsored by: ....

1. Where do I put the logo of sponsored company? I inserted it under images by ftp and made the relative url under yhe banner - Only a red appeared

2. I posted the url http://www. but stil directed to internal website

You need to place the logo somewhere that can be accessed by browsing to it. If you can browse to that URL, then it will work fine. You should not use the path that's displayed in your FTP client. This the physical path of the data and is not going to work in a browser.
Example (assuming html is the root of your site):

/home/YOURDOMAIN/html/banners/sponsor.jpg
http://www.YOURSITE.com/banners/sponsor.jpg

The first is the path you would see in your FTP client. That will not work in a browser however. The second path is what you would use.

For the second question, be sure you preface the sponsor's page with http://. Otherwise it will try to goto that URL on your domain.
Example:

http://www.SPONSOR.com

-NOT-

SPONSOR.com

Hopefully that makes some sense.

rooney72
06-05-2007, 07:21 PM
You need to place the logo somewhere that can be accessed by browsing to it. If you can browse to that URL, then it will work fine. You should not use the path that's displayed in your FTP client. This the physical path of the data and is not going to work in a browser.
Example (assuming html is the root of your site):

/home/YOURDOMAIN/html/banners/sponsor.jpg
http://www.YOURSITE.com/banners/sponsor.jpg

The first is the path you would see in your FTP client. That will not work in a browser however. The second path is what you would use.

For the second question, be sure you preface the sponsor's page with http://. Otherwise it will try to goto that URL on your domain.
Example:

http://www.SPONSOR.com

-NOT-

SPONSOR.com

Hopefully that makes some sense.

Hooray first part achieved THANKS

Second Part not - I assure you I am spending many hours here and all I get when I click on the sponsor icon is my own url: http://rooney72.my-php.net/forums/vB.Sponsors/link.php?f=6

I assure you that the path for Sponsor URL: is http://www.google.com

I think it's good but still cannot solve this last problem.

Thanks for all the patience mate

Deviation
06-05-2007, 11:23 PM
Second Part not - I assure you I am spending many hours here and all I get when I click on the sponsor icon is my own url: http://rooney72.my-php.net/forums/vB.Sponsors/link.php?f=6

I assure you that the path for Sponsor URL: is http://www.google.com

I think it's good but still cannot solve this last problem.

That's an odd one. Can you try reinstalling vb.Sponsors via the AdminCP? Be sure to select the allow overwrite option. You won't need to edit the templates again.

rooney72
06-06-2007, 01:06 AM
re-installed and overwritten :(

Deviation you've got a PM


Question: Is there any way where images are also seen in sub-forums? Only hypertext link is available. Take a look at attachment

rooney72
06-06-2007, 03:23 AM
Sorry guys for being a nuisance but I want to solve the last problem.

I think that the url is not being directed due to links.php
Now I've uploaded the file from donot upload on my server. Now there is settings-check.php along with links.php

Being quite a newbie how can I execute settings-check.php so I can know the real link that I have to put in link.php?

Mind you till now I was copying the ftp folders up to where link.php is

geevest.com
06-06-2007, 09:50 AM
my sponsor banner can't link to web...why?
redirect not work?
what happen? anyone can help? thx

Deviation
06-06-2007, 10:53 AM
Question: Is there any way where images are also seen in sub-forums? Only hypertext link is available. Take a look at attachment
I've seen that before and its usually related to either not having a large banner and enabling the large banner (via the forum manager) or a template problem.

I'll look into the link.php issue tonight. Odd that it all of the sudden cropped up. I have a minor release to get out soon anyhow.

rooney72
06-06-2007, 11:41 AM
DEVIATION - You'ra a king!!! It worked.

I might as well give the whole solution for those who are NOT very good in programming.

For a redirection of url on clicking image one needs to put the true path in link.php

The problem I was having was that I did not know how to excute it. Simple (Of course now)
Upload the settings-check.php

To execute it: http://www.YOURSITE.com/forums/vb.sponsors/settings-check.php

:):):)

Of course as indicated by Deviation delete after you copy it

Thanks Deviation for your patience.

HINT: NEVER assume that persons know. Assume that they are dummies. :) Good luck

Deviation
06-06-2007, 11:56 AM
Glad you got it working. I've updated the installation doc as a result of this. Hopefully its a little clearer. Sometimes us techy guys don't give enough detail where its needed.

geevest.com
06-07-2007, 03:25 AM
deviation can u help my problem?

my sponsor banner can't link to web...why?
redirect not work?
what happen? anyone can help? thx

rooney72
06-07-2007, 07:24 AM
deviation can u help my problem?

Hey just look at my thread 2 posts before ... same problem and it will work

wickedstangs
06-07-2007, 11:46 AM
Very Nice, works fine on VB 3.6.7PL1 (Installed)

Deviation
06-07-2007, 11:58 AM
The next major release will happen soon. I'm on vacation all next week so I should have more time to work on this.... Things like AdSense ads, user group permissions are on the top of the list. Keep an eye out. ;)

geevest.com
06-07-2007, 05:11 PM
i dont know rooney72...this not work.

vB.Sponsors Settings Check
Directory name is: /home/hitamput/public_html/forum/vB.Sponsors
Forum directory:: /home/hitamput/public_html/forum/
!!! DELETE THIS FILE FROM YOUR SERVER WHEN YOU ARE DONE USING IT !!!

rooney72
06-07-2007, 06:45 PM
i dont know rooney72...this not work.

vB.Sponsors Settings Check
Directory name is: /home/hitamput/public_html/forum/vB.Sponsors
Forum directory:: /home/hitamput/public_html/forum/
!!! DELETE THIS FILE FROM YOUR SERVER WHEN YOU ARE DONE USING IT !!!

Make sure that the whole sequence is in ' text '

'/home/hitamput/public_html/forum/vB.Sponsors/'

It should work mate now :)

PS I hope you are using what you've screen from executing from php

Volvoholic
06-08-2007, 04:44 AM
Hi everyone,

I am displaying the large banner below my navbar (thanks to netdebut for the idea) but I cannot figure out how to center the banner so it looks neater.

Anyone have any suggestions. I am not really savvy with coding so please be patient :)

Again, many thanks to Deviation for this amazing hack !

V

shavedaccord
06-08-2007, 02:59 PM
This hack isn't working for me. I have tried re uploading everything several times to fix the problem. Some reason in AdminCP in the left hand navigation menu all I'm getting is *[]* as a navbit..I included an image below.

geevest.com
06-08-2007, 03:19 PM
Make sure that the whole sequence is in ' text '

'/home/hitamput/public_html/forum/vB.Sponsors/'

It should work mate now :)

PS I hope you are using what you've screen from executing from php

i must fill this script in where?

'/home/hitamput/public_html/forum/vB.Sponsors/'

shavedaccord
06-08-2007, 03:21 PM
i must fill this script in where?

'/home/hitamput/public_html/forum/vB.Sponsors/'

link.php located in vB.Sponsors2.0.0\vB.Sponsors\upload\vB.Sponsors

shavedaccord
06-08-2007, 09:05 PM
anyone????????????

rooney72
06-09-2007, 04:40 AM
This hack isn't working for me. I have tried re uploading everything several times to fix the problem. Some reason in AdminCP in the left hand navigation menu all I'm getting is *[]* as a navbit..I included an image below.

You should modify the templates. Then if for some reason it won't work, try to uninstall and re-install.

If it is not working then ask Deviance. Maybe it's a version tweak

Deviation
06-09-2007, 03:29 PM
shaved, I posted a reply to you on the support forums....

geevest, shavedaccord is correct. That goes in the link.php file.

DDKennels
06-13-2007, 12:26 AM
I have been working at this for the past couple of hours with no luck, I got everything working but when you click on a sponsor link I get this.....

input->clean_gpc('g', 'f', TYPE_INT); if (empty($f_clean)) { eval(standard_error(fetch_error('invalid_forum_spe cified'))); } if ($vbulletin->options['sponsor_global_enable_sponsorship']) { $result = $vbulletin->db->query_read("SELECT * FROM " . TABLE_PREFIX . "forum WHERE forumid = " . $f_clean); if ($vbulletin->db->num_rows($result) > 0) { $arr = $vbulletin->db->fetch_array($result); if ($arr['sponsor_enabled'] == 1) { $vbulletin->db->query_write("INSERT INTO `" . TABLE_PREFIX . "vbsponsors` ( `id` , `sponsor_name` , `forum_id`, `forum`, `date` ) VALUES ( '', '" . $vbulletin->db->escape_string($arr['sponsor_name']) . "', '" . $arr['forumid'] . "', '" . $vbulletin->db->escape_string($arr['title_clean']) . "', '" . $vbulletin->db->escape_string(time()) . "')"); if ($vbulletin->db->affected_rows() > 0) { if (!empty($arr['sponsor_url'])) { $vbulletin->url = $arr['sponsor_url']; eval(print_standard_redirect('')); } else { eval(standard_error(fetch_error('sponsor_url_inval id'))); } } else { eval(standard_error('Update of sponsor stats failed')); } } else { eval(standard_error(fetch_error('sponsor_not_enabl ed'))); } } else { eval(standard_error(fetch_error('invalid_forum_spe cified'))); } } else { eval(standard_error(fetch_error('sponsor_not_enabl ed'))); } ?>

PLEASE HELP

Thanks

Drew

Deviation
06-13-2007, 02:19 AM
Try uploading a new version of the link.php file.

Monyet
06-14-2007, 02:25 AM
Thanx :)

DDKennels
06-15-2007, 12:38 AM
Try uploading a new version of the link.php file.


That worked for me!!!! Thanks, INSTALLED!!!!!!

drdeathuk69
06-18-2007, 10:29 AM
Is there any way that you could have the Forum is sponsered by above the Sub forums ??

See this link http://www.autochat.co.uk/forumdisplay.php?f=338

thanks

Deviation
06-18-2007, 12:07 PM
Is there any way that you could have the Forum is sponsered by above the Sub forums ??

See this link http://www.autochat.co.uk/forumdisplay.php?f=338

thanks
I'm not sure I understand what you want. Can you include a screenshot indicating where you are trying to place it?

Also, everyone PLEASE use the support forums for support requests. ---> http://www.digitaldeviation.com/forums/

For some reason I don't receive email notifications from vBulletin.org when someone replies (been like this for a while; likely my web host). The above link (or the one on my signature) is the fastest way to get a hold of me.

wickedstangs
06-24-2007, 12:59 AM
http://www.wickedstangs.com/images/Signature%20Banner/Forum.jpg

How do I make the Sponsored by image all the way to the right?

Like This
https://vborg.vbsupport.ru/attachment.php?attachmentid=55918&d=1163466865

Deviation
06-24-2007, 11:17 AM
How do I make the Sponsored by image all the way to the right?
It is all the way to the right. How far over the image goes depends on your monitor resolution.

If you shrink the width of the banner it will appear further over.

Deviation
06-24-2007, 02:49 PM
Version 2.0.5 has been released. :) I've included a style export in the zip file as well.

More to come.

julia44
06-24-2007, 02:53 PM
great thank you, will update soon!

wickedstangs
06-24-2007, 03:25 PM
just updated and I am getting sponsored by twice.
Twice (http://www.wickedstangs.com/community/forumdisplay.php?f=41)

What did I do wrong? I fixed it, It was my FORUMDISPLAY...
Also I think I found a bug not sure.. I tried to put 4 adsense in the first four thread but it wont let you. Max. 3
Click Here (http://www.wickedstangs.com/community/index.php)

Ryuk
06-24-2007, 04:59 PM
=O lets see if this is what im looking for!
and thanks n_n!

jesusdlg
06-24-2007, 05:21 PM
Sorry for ask... but, to make the update, do I need just to upload everything again or should I need to uninstall and the install again?

Thanks

wickedstangs
06-24-2007, 05:25 PM
Sorry for ask... but, to make the update, do I need just to upload everything again or should I need to uninstall and the install again?

Thanks

I tried to just update and I am having a couple of problems. I would probably uninstall and install again..

julia44
06-25-2007, 10:56 AM
Well everything is working but the text link on top of the forum/ category. Right now I have it set to use sponsor banner:no Which it should then use a text link, but it's not showing the text?

Korupt
06-25-2007, 05:26 PM
-Option: Ability to not show sponsor's banner in the main forum listing, but show when the forum is displayed.

I have mine setup like this already. I just didn't put in the forumhome_forumbit_level2_post code.

http://patuners.com/forum/index.php

Click on JNZ Tuning and you'll see the banner.

My whole forum is under development, so it's pretty basic right now.

Deviation
06-25-2007, 10:33 PM
The FORUMDISPLAY template code has been updated in the zip file.
-Option: Ability to not show sponsor's banner in the main forum listing, but show when the forum is displayed.

I have mine setup like this already. I just didn't put in the forumhome_forumbit_level2_post code.

http://patuners.com/forum/index.php

Click on JNZ Tuning and you'll see the banner.

My whole forum is under development, so it's pretty basic right now.
Excellent! Simple eh?;) Thanks for sharing that.

zincpony
06-29-2007, 02:52 AM
i really really wanna be able to use this on my forum but its bulks up the categories

anyway possible to make the sponsor banners look like.


http://forum.palmettostaterivals.com/index.php

madkeen
06-29-2007, 03:03 AM
-Option: Ability to not show sponsor's banner in the main forum listing, but show when the forum is displayed.

I have mine setup like this already. I just didn't put in the forumhome_forumbit_level2_post code.

http://patuners.com/forum/index.php

Click on JNZ Tuning and you'll see the banner.

My whole forum is under development, so it's pretty basic right now.

Thanks for that.

Does anyone know how to get the banner/s to appear on all pages for each forum?

What code to insert and where to insert it?

Deviation
06-29-2007, 10:54 AM
Thanks for that.
Does anyone know how to get the banner/s to appear on all pages for each forum?
What code to insert and where to insert it?
Not sure I follow you? Do your banners not appear on the forums you have specified them? Once you make the template changes, it will appear on teh forum listing and within the sponsored forum (at the top by default).

Hey, those banners are custom made.

You have to figure out which banners will work for you.

Take a look at my banner placement with this.

http://www.puremarketprofits.com/forums
^ There's your answer zincpony. You will need to play with the banner sizes yourself to see what works with your forums.
Do you like it so far MarketProfits?

The next release will hopefully be a little easier to add to existing templates. I don't like having to paste a gob of code into a template.:)

madkeen
06-29-2007, 09:17 PM
Hi

The banner appears on the top of the main page (index) for the forum that I specify but does not appear on any other pages in the forum. E.G. Once you click on a thread in that forum the banner does not appear above the thread page/s.

Hope that makes it clearer

Thanks

madkeen
07-02-2007, 03:45 AM
I am using Openads Adserver software to run my ads. Does anyone know how I can get the ads from Openads to show up?

Can the code be inserted into the Adsense section, and if so how, what code option, etc?

stinger2
07-03-2007, 01:01 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=149665" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=149665</a>

can this be interesting ?

since your hack can track clicks on the spnser....can you take a look at this request please??

bada_bing
07-03-2007, 05:44 PM
It was brought to my attention by one of my mods that only when using IE browser this happens but not Firefox. When viewing the forums in forumdisplay mode I am getting an empty box where it thinks there is suppose to be a banner but I have no banner specified. Again this only happens in IE, while in Firefox it shows correct where only the link shows. How do I fix this issue? Please look at the attached pics

brihan
07-06-2007, 06:18 PM
The banner appears on the top of the main page (index) for the forum that I specify but does not appear on any other pages in the forum. E.G. Once you click on a thread in that forum the banner does not appear above the thread page/s.


I am looking for this as well. Need to give the sponsor much more exposure.

On an OLD UBB board I ran I had the sponsor banner show up top and bottom of the forum category, top and bottom of each individual thread within that category and right above the "Submit" and/or "Reply buttons when someone posts or replies to a thread.

The old board is closed but you can still see it here:

Old Forum (http://www.inspectionnews.com/cgi-bin/ubb-cgi/forumdisplay.cgi?action=topics&forum=Insurance,+Legal,+Advertising/PR&number=14)

I would love to have all that again but for now I would be happy with just getting the sponsors into each thread within the sponsored category.

Any chance of doing this?

Thank you for all your hard work!

Alexvanleeuwen
07-08-2007, 04:05 PM
Everyting is installed and seems to work oke, but i dont see the banner??

jonty
07-12-2007, 04:20 PM
I've reiinstalled the latest version, but had to re-do my 'fix' in post 91 (https://vborg.vbsupport.ru/showpost.php?p=1185541&postcount=91)
No idea how i managed to figure it out in the first place though!

Deviation
07-12-2007, 04:58 PM
I've reiinstalled the latest version, but had to re-do my 'fix' in post 91 (https://vborg.vbsupport.ru/showpost.php?p=1185541&postcount=91)
No idea how i managed to figure it out in the first place though!
Where did you add that to?

jonty
07-12-2007, 08:03 PM
Where did you add that to?

Sorry.
link.php line 49
Changed from
eval(print_standard_redirect(''));
to
eval(exec_header_redirect($vbulletin->url));

ohgenki
07-18-2007, 03:05 AM
hi,

i was using the old vb.sponsors for 3.5. i uninstalled that and installed this one and got this error whenever i'm trying to add sponsors to categories:

Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE forum SET
title_clean = 'Gaming',
title = 'Gaming',
description_clean = 'Review a game. Share your strategy. The latest game talk, nowhere else. Just here.',
description = 'Review a game. Share your strategy. The latest game talk, nowhere else. Just here.',
link = '',
displayorder = 3,
parentid = 455,
daysprune = -1,
defaultsortfield = 'lastpost',
defaultsortorder = 'desc',
showprivate = 0,
newpostemail = '',
newthreademail = '',
### Bitfield: forum.options ###
options = IF(options & 8, options - 8, options),
options = IF(options & 16, options - 16, options),
options = IF(options & 32, options - 32, options),
options = IF(options & 32768, options - 32768, options),
options = IF(options & 8192, options, options + 8192),
options = IF(options & 4, options, options + 4),
options = IF(options & 1, options, options + 1),
options = IF(options & 2, options, options + 2),
options = IF(options & 16384, options, options + 16384),
options = IF(options & 256, options, options + 256),
options = IF(options & 64, options, options + 64),
options = IF(options & 128, options, options + 128),
options = IF(options & 512, options, options + 512),
options = IF(options & 1024, options, options + 1024),
options = IF(options & 2048, options, options + 2048),
options = IF(options & 4096, options, options + 4096),
options = IF(options & 65536, options, options + 65536),
styleid = 0,
password = '',
forumkeywords = '',
forumdescription = '',
vbseo_moderatepingbacks = 1,
vbseo_moderatetrackbacks = 1,
vbseo_moderaterefbacks = 1,
sponsor_enabled = 1,
sponsor_banner_enabled = 1,
sponsor_name = 'I.R.C.',
sponsor_banner = 'http://www.ohgenki.com/ads/adview.php?what=zone:16&amp;n=ab67be03',
sponsor_banner_big = 'http://www.ohgenki.com/ads/adview.php?what=zone:16&amp;n=ab67be03',
sponsor_url = 'http://www.irc.com.sg',
sponsor_adsense = '',
sponsor_date_updated = '1184731157'
WHERE forumid = 157;

MySQL Error : Unknown column 'sponsor_enabled' in 'field list'
Error Number : 1054
Date : Wednesday, July 18th 2007 @ 11:59:43 AM
Script : http://forums.ohgenki.com/admincp/forum.php?do=update
Referrer : http://forums.ohgenki.com/admincp/forum.php?do=edit&f=157
IP Address : 202.156.12.12
Username : Doug
Classname : vB_Database

pjcnlv
08-06-2007, 07:33 PM
Ad Position and Alignment.

Okay, I have the mod working and formatted properly to display the way I want in most templates however, I am wondering if anyone has templates to share to cover the following changes I would like.

Here is the primary forum list. This is broken.

68133

Here is the secondary forum list. This is how I want the primary to look.

68132

ALSO

Here is the forum list of threads. It is broken.

68131

I want it to look like this which is the thread list of posts.

68134


Any help is appreciated.

rhinoForums.net
08-10-2007, 06:38 PM
I am using Openads Adserver software to run my ads. Does anyone know how I can get the ads from Openads to show up?

Can the code be inserted into the Adsense section, and if so how, what code option, etc?

I am curious about this also. I already have an old version of this software installed on one of my forums, and I see that there has been an upgrade that allows adsense code. I use openAds (phpAdsNew) for my vendors and am curious if I can simply plug in my "Remote Invocation" code? I have not installed this newest version yet, so I am not sure what you mean by "what code option" but could someone please tell me if this will work? If someone has this system installed on their boards would you be willing to help me test this? I can supply my invocation code to see what happens? Thanks guys.

rhinoForums.net
08-13-2007, 08:04 PM
Bump? Can anyone help me? Any ideas or guesses at all?

madkeen
08-28-2007, 11:47 AM
Can anyone help with this. Is this mod still being supported?

USAMustangs.com
08-30-2007, 07:16 PM
need help quickly.

i just installed this and followed all of the instructions, but i am unable to select a forum in the admin cp. the drop down box is empty. what did i miss?

EDIT:

nevermind...i fixed it.

momo2
09-03-2007, 05:19 PM
i installed every, but i do not see this mod

i see vb setting from cpanel but not this one
https://vborg.vbsupport.ru/attachment.php?attachmentid=66022&d=1182699538

baby41
09-16-2007, 07:26 AM
where can I find the box as it shows on your first picture to insert my codes for sponsors???Only thing it shows at Amincp it is the statistics but nothing to insert the codes,have I done something wrong.......:confused:


need help quickly.

i just installed this and followed all of the instructions, but i am unable to select a forum in the admin cp. the drop down box is empty. what did i miss?

EDIT:

nevermind...i fixed it.

Can you tell us what did you have done,regards.

USAMustangs.com
09-16-2007, 10:50 AM
where can I find the box as it shows on your first picture to insert my codes for sponsors???Only thing it shows at Amincp it is the statistics but nothing to insert the codes,have I done something wrong.......:confused:




Can you tell us what did you have done,regards.

it wasn't really a fix, more along the lines of me not paying attention. and i think it should be better explained in the instructions.

admin cp > forum manager > select the forum you wish to use > edit forum > scroll all the way down and you will see the vb.sponsors section with the fields you need to fill out. it defaults to disabled, so make sure you click enable use sponsor banner.

baby41
09-16-2007, 12:26 PM
it wasn't really a fix, more along the lines of me not paying attention. and i think it should be better explained in the instructions.

admin cp > forum manager > select the forum you wish to use > edit forum > scroll all the way down and you will see the vb.sponsors section with the fields you need to fill out. it defaults to disabled, so make sure you click enable use sponsor banner.

Now was a great explanation,it should be more detailed on first place but thanks for your help.:up:

Deviation
09-17-2007, 03:02 PM
Can anyone help with this. Is this mod still being supported?
Yes.

I'm moving to a new server so things are kind of busy. The main site (digitaldeviation.com) will be back up in a day or two (as well as the forums).

I plan on starting development on this in the next month. :) If you need help, the BEST way to get a hold of me is via the forums in my signature (will be back up shortly). I seldom get email from here notifying me of replies.

bada_bing
09-17-2007, 06:45 PM
It was brought to my attention by one of my mods that only when using IE browser this happens but not Firefox. When viewing the forums in forumdisplay mode I am getting an empty box where it thinks there is suppose to be a banner but I have no banner specified. Again this only happens in IE, while in Firefox it shows correct where only the link shows. How do I fix this issue? Please look at the attached pics


Anyone help me with this issue?

Deviation
09-17-2007, 06:57 PM
Anyone help me with this issue?
Give me a bit to get caught up and I'll look into that one.;)

nnjj.net
09-17-2007, 09:20 PM
is it working on 3.6.8?

wickedstangs
09-17-2007, 09:27 PM
is it working on 3.6.8?

Yes

csavern
09-18-2007, 11:38 AM
the mod seems to be working except when i click on a banner
it takes me to http://www.myforum.com/Forum/vB.Sponsors/link.php?f=18 and the page says

OK
The document has moved here.

so i got to click on here to go to the url
any one know why it aint redirecting me to the right url


why is that i have read through all these threads here and cannot find a fix
maybe i over looked something

Deviation
09-18-2007, 12:16 PM
The web site, docs & forums are back up.
Docs: http://www.digitaldeviation.com/documentation/vbsponsors
Forums: http://www.digitaldeviation.com/forums/

the mod seems to be working except when i click on a banner
it takes me to http://www.myforum.com/Forum/vB.Sponsors/link.php?f=18 and the page says

OK
The document has moved here.

so i got to click on here to go to the url
any one know why it aint redirecting me to the right url


why is that i have read through all these threads here and cannot find a fix
maybe i over looked something
That sounds like its an issue with the site you're using as a sponsor. Double check the URL or try another URL (like http://www.google.com) to test it out.

Deviation
09-18-2007, 12:17 PM
Anyone help me with this issue?
Get me a link to look at the site.

csavern
09-18-2007, 12:20 PM
sent you a pm with site info
i have tried differnt links but still the same thing

Deviation
09-18-2007, 01:27 PM
sent you a pm with site info
i have tried differnt links but still the same thing
That response (its not really an error) you are getting is from your web server. vBulletin is simply instructed to perform a redirect. For some reason the site doesn't seem to be allowing them. Have you modified the .htaccess any? Custom error pages?

csavern
09-18-2007, 01:59 PM
no i have not
not sure how to edit the .htaccess

csavern
09-18-2007, 02:54 PM
it there something i can add in the .htaccess to make it work

PnL
09-20-2007, 09:19 AM
Is it possible to have the sponsor's banners show up at the thread level instead of the forum level? I'd like the banner to be the last thing the viewer sees when they read the posts in a thread and have the banner be specific to the forum the viewer is reading.

Deviation
09-20-2007, 11:00 AM
Is it possible to have the sponsor's banners show up at the thread level instead of the forum level? I'd like the banner to be the last thing the viewer sees when they read the posts in a thread and have the banner be specific to the forum the viewer is reading.
Not yet. ;)

PnL
09-20-2007, 01:35 PM
Not yet. ;)

Does that mean we will see a version that will do this soon? :)

Please? :D

Deviation
09-20-2007, 03:12 PM
Does that mean we will see a version that will do this soon? :)

Please? :D
Could be. :p Soon is a relative term though.....

bada_bing
09-20-2007, 03:47 PM
Deviation

I was wondering if you got the link to my site via PM?

Deviation
09-20-2007, 04:17 PM
Deviation

I was wondering if you got the link to my site via PM?
Yep. You have a reply.

nnjj.net
09-21-2007, 06:03 PM
does this work for 3.6.8?

Deviation
09-21-2007, 06:26 PM
does this work for 3.6.8?
Yes
According to some users it does....

I haven't tested it, but there's no reason it wouldn't.

rooney72
09-22-2007, 02:27 PM
I am having overlapped sponsors. Take a look why?

http://www.thekingofsat.com/forum/attachment.php?attachmentid=811&d=1190460973

Deviation
09-22-2007, 05:07 PM
I am having overlapped sponsors. Take a look why?

http://www.thekingofsat.com/forum/attachment.php?attachmentid=811&d=1190460973
Post a screenshot here or on my forums. I can't access yours without an account.

rooney72
09-22-2007, 05:36 PM
Post a screenshot here or on my forums. I can't access yours without an account.

By the way version 3.6.8

bada_bing
09-25-2007, 12:17 AM
Yep. You have a reply.

Got your PM and replied but no response please help....

Deviation
09-25-2007, 04:59 PM
By the way version 3.6.8
That's a style issue. At least with the way the subforums are listed there. That should be an easy fix. You just need to play with the placement of the code.

357Magnum
09-27-2007, 01:32 PM
does this work with vb ad management? or should I just delete it?

Deviation
09-27-2007, 02:03 PM
does this work with vb ad management? or should I just delete it?
Well I know that bada_bing is running Ad Management on his site (michiganreefers.com). It's not an add-on product to Ad Management.

Whether you delete it or not is up to you. :)

forumrunt
09-29-2007, 03:23 PM
Awesome! Thanks

shavedaccord
10-03-2007, 06:50 PM
Ok some reason with vBulletin 3.6.8 when I goto into AdminCP and click on Global Settings it's just a blank page. Any ideas?

Deviation
10-04-2007, 11:41 AM
All,
I've posted a poll on my forums for the most wanted feature(s). Please check it out and cast your vote.
http://digitaldeviation.com/forums/showthread.php?t=12

Ok some reason with vBulletin 3.6.8 when I goto into AdminCP and click on Global Settings it's just a blank page. Any ideas?
Not sure. I haven't seen that one yet. I'll look into it

shavedaccord
10-07-2007, 05:10 AM
Any updates? I also noticed when I click on Global Settings and it loads that blank page, none of the normal VB options worth either. I have to reload admincp entirely.

Deviation
10-17-2007, 01:36 PM
Any updates? I also noticed when I click on Global Settings and it loads that blank page, none of the normal VB options worth either. I have to reload admincp entirely.
Testing that out now. I'll let you know.

Deviation
10-17-2007, 02:35 PM
Ok some reason with vBulletin 3.6.8 when I goto into AdminCP and click on Global Settings it's just a blank page. Any ideas?
Global Settings under vB.Sponsors Manager should NOT appear with the latest version. All configuration is handled under the vBulletin Options -> vB.Sponsors Settings area.

If you are already at version 2.0.5, upload the cpnav_vbsponsors.xml to the includes/xml directory of your forums again. Be sure you overwrite the existing one.

madkeen
10-21-2007, 08:53 PM
I am using Openads by http://www.openads.org/

I wish to insert the code from it into the sponsored section. I have tried putting it in the google adsense section but it doesn't work.

I also have code from another ad company that I have tried to insert and it does not work.

Below is a copy of types of codes from Openads and from the ad company direct

Can anyone help me get this working?



Openads code - Local Mode

<?php
if (@include(getenv('DOCUMENT_ROOT').'/adserver/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('', 157, '_top', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>



Openads code - Popup

<script language='JavaScript' type='text/javascript' src='http://www.ausfish.com.au/adserver/adpopup.php?n=a5cebba4&amp;clientid=157&amp;target=_top'></script>


Openads code - remote invocation

<a href='http://www.ausfish.com.au/adserver/adclick.php?n=a7291408' target='_top'><img src='http://www.ausfish.com.au/adserver/adview.php?clientid=157&amp;n=a7291408' border='0' alt=''></a>




Other code direct from advertiser

<script src="http://bs.serving-sys.com/BurstingPipe/adServer.bs?c
n=rb&c=22&pli=292985&pi=0&w=728&h=90&ord=[timestamp]"></script> <
noscript> <a href="http://bs.serving-sys.com/BurstingPipe/BannerR
edirect.asp?FlightID=292985&Page=&PluID=0&Pos=5144" target="_blan
k"><img src="http://bs.serving-sys.com/BurstingPipe/BannerSource.
asp?FlightID=292985&Page=&PluID=0&Pos=5144" border=0 width=728 he
ight=90></a> </noscript>




Thanks in advance for your help.


.

madkeen
10-21-2007, 08:54 PM
sorry, duplicate post

Deviation
10-21-2007, 10:37 PM
I am using Openads by http://www.openads.org/
Openads code - Local Mode

<?php
if (@include(getenv('DOCUMENT_ROOT').'/adserver/phpadsnew.inc.php')) {
if (!isset($phpAds_context)) $phpAds_context = array();
$phpAds_raw = view_raw ('', 157, '_top', '', '0', $phpAds_context);
echo $phpAds_raw['html'];
}
?>

This will NOT work at all.

Openads code - Popup

<script language='JavaScript' type='text/javascript' src='http://www.ausfish.com.au/adserver/adpopup.php?n=a5cebba4&amp;clientid=157&amp;target=_top'></script>

This works fine for me. It shows a popup. Make sure your popup blocker is off.

Openads code - remote invocation

<a href='http://www.ausfish.com.au/adserver/adclick.php?n=a7291408' target='_top'><img src='http://www.ausfish.com.au/adserver/adview.php?clientid=157&amp;n=a7291408' border='0' alt=''></a>

This should work as well if you insert it in the Google AdSense area.

Other code direct from advertiser

<script src="http://bs.serving-sys.com/BurstingPipe/adServer.bs?c
n=rb&c=22&pli=292985&pi=0&w=728&h=90&ord=[timestamp]"></script> <
noscript> <a href="http://bs.serving-sys.com/BurstingPipe/BannerR
edirect.asp?FlightID=292985&Page=&PluID=0&Pos=5144" target="_blan
k"><img src="http://bs.serving-sys.com/BurstingPipe/BannerSource.
asp?FlightID=292985&Page=&PluID=0&Pos=5144" border=0 width=728 he
ight=90></a> </noscript>

Not sure on this one. I didn't test it.

madkeen
10-22-2007, 10:16 PM
Thanks, tried it but only shows "Forum Sponsored by:"

The following code is on teh page



<table class="tborder" cellpadding="1" cellspacing="1" border="0" align="center">

<tr>

<td class="tcat" align="center"><span class="normal"><font size="1">
<span class="smallfont">

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

</span> </font>
</span></td>
</tr>
<tr>

<td class="alt2" align="center"><span class="normal"><font size="1">


<a href="vB.Sponsors/link.php?f=59" title="" target="_blank">
</a>

</span></td>
</tr>
</table>


If I go straight to the link - ...........forum/vB.Sponsors/link.php?f=59 I get a message "Invalid Sponsor URL Specified"

Any ideas?

.

Deviation
10-23-2007, 12:42 AM
Thanks, tried it but only shows "Forum Sponsored by:".
You have to make sure you use the Google AdSense section. Also, do NOT fill in any other fields.

madkeen
10-23-2007, 01:18 AM
Did that, just ticked the first box
"Enable Sponsor(Enable/disable sponsorship [including Gogole Adsense] for this forum.)"
and then put the code in the box that says
"Google Adsense Code
Sign up for AdSense.
(If you enable Adsense, you can not use a sponsors URL or banner.)"

marrr
10-23-2007, 02:10 AM
Is there anyway i can just get the sponser banner to show only on my main forum page under usercp faq memberlist so on???