vb.org Archive

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

SVTCobraLTD 03-06-2011 02:56 AM

Quote:

Originally Posted by Deviation (Post 2169989)
Check the path you specified in vB.Sponsors/link.php (line 32).

Must of missed that in the instructions. Working now. Thank you.

Gadget_Guy 03-06-2011 11:45 AM

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

Deviation 03-08-2011 12:49 AM

Looks like you're missing the alignment piece. Give this a try:
PHP Code:

        <!-- vBSponsors -->
        <if 
condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
            <
div style="text-align:center">
            <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="$vboptions[sponsor_global_enable_big_banners] == 1 AND !empty($foruminfo[sponsor_banner_big])">
                        <
img src="$foruminfo[sponsor_banner_big]alt="$foruminfo[sponsor_name]border="0" />
                    <else />
                        <if 
condition="!empty($foruminfo[sponsor_banner])">
                            <
img src="$foruminfo[sponsor_banner]alt="$foruminfo[sponsor_name]border="0" />
                        </if>
                    </if>
                <else />
                    
$foruminfo[sponsor_name]
                  </if></
a>            
            </if>
            </
div>
        </if>
        <!-- / 
vBSponsors --> 


Gadget_Guy 03-08-2011 01:52 AM

YOU ROCK!

Thanks!

D.

zepcom 03-08-2011 04:30 PM

Quote:

Originally Posted by Deviation (Post 2170754)
Looks like you're missing the alignment piece. Give this a try:

Awesome! This product worked fine for forum graphical ads, but I had been struggling with getting text-only ads to display on FORUMDISPLAY and had tried just about everything I was capable of. For text ads, it would only display "Sponsored by" and then no link, no text, no nothing.

Your fix posted two above this did the trick and resolved all issues. Thanks so much for posting this!! :D

dgparent 03-08-2011 10:40 PM

Anyway to get more spots for ads ? right now ads are only displayed up top and in the main forum listing ?

Gadget_Guy 04-17-2011 04:13 AM

Is there a way to remove the "Sponsored By:" text next to the banners?

D.

MagicThemeParks 04-17-2011 12:12 PM

Quote:

Originally Posted by Gadget_Guy (Post 2185527)
Is there a way to remove the "Sponsored By:" text next to the banners?

D.

I don't have this version installed, but in the last version it used to be where you would go to vBulletin Options >> vB.Sponsor.settings and then remove the info from the "Sponsor Text" field.

mp3u 04-22-2011 02:55 PM

Quote:

Originally Posted by Deviation (Post 2169989)
Check the path you specified in vB.Sponsors/link.php (line 32).

Any chance of a screen shot of what line 32 is supposed to be? Line 32 in my editor is totally blank... (32 lines down from the top of the page in wordpad)

MagicThemeParks 04-25-2011 12:00 AM

Quote:

Originally Posted by mp3u (Post 2187443)
Any chance of a screen shot of what line 32 is supposed to be? Line 32 in my editor is totally blank... (32 lines down from the top of the page in wordpad)

It's step 3 here: http://digitaldeviation.com/document...tion-guide/20x


All times are GMT. The time now is 06:40 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.01201 seconds
  • Memory Usage 1,757KB
  • 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
  • (1)bbcode_php_printable
  • (5)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