vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - vb.sponsors edit for vb4 (https://vborg.vbsupport.ru/showthread.php?t=248997)

Hostboard 03-07-2012 06:18 PM

Have you tried using the advertising ability of VB4 yet? I use that for all my banners as you can directly control who and where they are displayed. I even go 1 step further uning OpenX as my ad server so I can track click throughs and the amount of times the banner is displayed. Plus manging the banners on a per advertiser is incredibly easier. Between the 2 you should be able to manage your banenrs much much easier.

I want to use vb.sponsers to place images next to/under the title to certain forums as added exposure.

popmyzit 06-03-2012 01:24 AM

Thanks works with exception of needing a hack for adsense. There is some code missing which can be added to get Google adsense to work.

My main issue is the mod doesn't show on individual threads - even after modifying showthread template and adding the code - it used to in 3.8x

I think im going to use the built in vbulletin ad manager for that as I found two issues:

- link for digitaldeviation in footer as well as google adsense code:

Code:

google_ad_client = "pub-0851814186705981";
google_ad_output = "textlink";
google_ad_format = "ref_text";
google_cpa_choice = "CAAQnfzw4AIaCJwZC9ix5DwoKN2uuIEBMAA";
google_ad_channel = "3505039413";

which is still in the plugin, not sure exactly where if/it shows.

Pessimist 07-01-2012 12:31 PM

Quote:

Originally Posted by pecky (Post 2272186)
To get the banners to align right in 4.1.8 and probably other versions

change

to


Only thing I found that made it work.

This is not 100% correct :)

Right version:

change
PHP Code:

<div style="float:$stylevar[right]"

to
PHP Code:

<div style="float:{vb:stylevar right}"


vivapotenza 07-17-2012 10:33 PM

This is not working correctly for me in VB 4.2.0.

IT displays the small banners correctly as I want, but produces an internal500 error when you click it, does not forward to the external web address as it should. (I tried adding the desired site to the whitelist, and also Disabled Redirect Domain Checking, but neither of these things had any effect).

what happens is when you click it tries to find "http://www.mysite.com/vB.Sponsors/link.php?f=forumnumber" instead of the desired site.

Can anyone offer any guidance on this?

vivapotenza 07-18-2012 07:39 PM

Right, Ive got that working now, all working good.

However, im now having difficulty getting the image to align properly to the right where I want it. I have edited my template as per post #43 above to get it to align right.

Is there anyway I can have it move all the way to the right, to where the "subscribe" ticks used to be? and also can I have the text on the left in line with the image on the right, rather than the image pushing the text to the next line down?

you can see what the current state of play is, and also what im trying to achieve here (Ive disabled this on my site until i can come to a resolution close to what I want):

https://vborg.vbsupport.ru/external/2012/07/26.jpg

thanks for any help, pulling my hair out trying to think of the answer, i bet its fairly simple as well.

vivapotenza 07-19-2012 05:19 PM

anyone? there must be someone who knows enough about css to move an image over like above?

vivapotenza 07-19-2012 08:26 PM

solution found here for future reference:

https://www.vbulletin.com/forum/show...33#post2316133

ScottishScoobie 07-28-2012 10:02 AM

So, downloaded, unpacked, edited forum location. uploaded, imported plugin, see it in the ACP however when i expand vb.sponsors manager all i see is "View Statistics"

nothing more. have i gone wrong somewhere ?

When i edit a forum/section i can see the forum sponsor choices when populated, i see nothing.

its driving me nuts.

ScottishScoobie 07-29-2012 01:38 PM

bump, anyone to support, dont mind rewarding you for your time if its successful.

Jonathan81 08-03-2012 06:50 PM

Quote:

Originally Posted by vivapotenza (Post 2349341)
Right, Ive got that working now, all working good.

However, im now having difficulty getting the image to align properly to the right where I want it. I have edited my template as per post #43 above to get it to align right.

Is there anyway I can have it move all the way to the right, to where the "subscribe" ticks used to be? and also can I have the text on the left in line with the image on the right, rather than the image pushing the text to the next line down?

you can see what the current state of play is, and also what im trying to achieve here (Ive disabled this on my site until i can come to a resolution close to what I want):

thanks for any help, pulling my hair out trying to think of the answer, i bet its fairly simple as well.

Anyone know how to fix this issue with the right alignment? (hope you don't mind me using your site to highlight this vivapotenza):

http://www.vivapotenza.com/forumdisp...e-Market-Place


All times are GMT. The time now is 07:31 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.01227 seconds
  • Memory Usage 1,746KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (2)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