vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Major Additions - vB.Sponsors - Forum and Category Sponsorship Ads (and AdSense) with Statistics (https://vborg.vbsupport.ru/showthread.php?t=183335)

PossumX 11-30-2009 08:43 PM

Any chance of this mod being updated for vB 4.0 when the time comes? I am reliant on it's function for forum sponsorships.

Stephan Whelan 12-06-2009 09:00 AM

I'm keen on getting the install guide as well - anyone got it?

PossumX 12-06-2009 02:59 PM

The whole DigitalDeviation site has long since been changed, and the developer hasn't been on this site since February 2009.

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

PossumX 12-22-2009 08:29 PM

Quote:

Originally Posted by PossumX (Post 1926334)
The whole DigitalDeviation site has long since been changed, and the developer hasn't been on this site since February 2009.

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

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

novabandit 12-28-2009 10:32 PM

I'm in the same boat.

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

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

PossumX 01-04-2010 09:59 PM

<u>Anyone</u> know of any other modification that provides this type of function and is or will be vB 4.x compatible?

Jonathan81 01-06-2010 11:46 AM

Are there any installation instructions anywhere?

Jonathan81 01-06-2010 11:54 AM

An answer to my own question: http://web.archive.org/web/200806300...ion/vbsponsors#

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

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

Product Installation

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

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



For forums & categories:

forumhome_forumbit_level1_nopost
FIND:
HTML Code:

<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
ADD, AFTER:
HTML Code:

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

forumhome_forumbit_level2_post
FIND:
HTML Code:

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

ADD, AFTER:
HTML Code:

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



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

FORUMDISPLAY
FIND:
HTML Code:

<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
ADD, AFTER:
HTML Code:

<!-- vBSponsors -->
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
<if condition="!empty($foruminfo[sponsor_adsense])">
$foruminfo[sponsor_adsense]
<else />
$vboptions[sponsor_global_default_text] <a href="vB.Sponsors/link.php?f=$foruminfo[forumid]" title="$foruminfo[sponsor_name]" target="_blank">
<if condition="$foruminfo[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1">
<if condition="!empty($foruminfo[sponsor_banner_big])">
<if condition="$vboptions[sponsor_global_enable_big_banners] == 1">
<img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" />
<else />
<img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" />
</if>
<else />
$foruminfo[sponsor_name]
</if>
</if></a>
</if>
</if>
<!-- / vBSponsors -->



For subforums:

forumhome_forumbit_level1_post
FIND:
HTML Code:

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

ADD, AFTER:
HTML Code:

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


Ocean-Wonders 01-09-2010 06:09 AM

Any chance this could be updated to work with version 4 ?

I would really appreciate it :D

MagicThemeParks 01-10-2010 03:40 AM

Installed on 3.8.4 with no problems. Made sure to eliminate the version check as detailed in Post #66 on this thread.

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

Attached are the before and after pics


All times are GMT. The time now is 04:07 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01135 seconds
  • Memory Usage 1,771KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete