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)
-   -   Miscellaneous Hacks - Rotating Banner System (https://vborg.vbsupport.ru/showthread.php?t=188328)

fridaypassion 10-16-2010 03:50 PM

Hi

I have a forum that uses a new style not the default vb style so this mod doesnt show up automatically.

If I have a banner set to say position 1 what is the tag I have to add in the template to get the banner to show?

Which template is the normal position one vertical position in? This is the position I want to add to my style

Thanks

djbaxter 10-16-2010 05:47 PM

Quote:

Originally Posted by fridaypassion (Post 2110748)
If I have a banner set to say position 1 what is the tag I have to add in the template to get the banner to show?

<!--@vbbanners:1@-->

Quote:

Originally Posted by fridaypassion (Post 2110748)
Which template is the normal position one vertical position in?

Any "ad postion" in this add-on can be vertical or horizontal, depending entirely on how you want to define it. You then put the placeholder (see above) in whatever template you wish.

If you use the built in vBulletin advertising templates, the only one with a built in vertical is the Blog Sidebar template. However, you can use any of the sidebar templates if you have those enabled and just add the banner placeholder in that spot.

alan92rttt 10-22-2010 04:30 AM

Is there any reporting for click/views per month to the person paying for the ad?

y2ksw 10-22-2010 04:29 PM

Quote:

Originally Posted by alan92rttt (Post 2112631)
Is there any reporting for click/views per month to the person paying for the ad?

You may enable click tracking (works for images only). In the header and in the listings you see also the number of views.

You may also limit the number of clicks (Max. Clicks) or impressions (Max. Impressions) beforehand, such that the banner disappears when it has reached the prepaid amount of clicks and/or views.

pitzerwm 10-22-2010 11:42 PM

I'm using this on my HTML pages, see a previous post. In FireFox the banners are not showing up. this is new, so IMO its one of the patches. Gio, you have any ideas?

You can see this by using FireFox and this URL: http://www.autocareforum.com/buyersguide.html

The banners that you might see are Flash and they work fine. Its the Gif & Jpg that do not.

This is the code to display it.


Code:

<?php
error_reporting(E_ALL & ~E_NOTICE);
define('SKIP_SESSIONCREATE', 1);
define('NOCOOKIES', 1);
define('THIS_SCRIPT', 'rbs_blank');
$phrasegroups = array();
$specialtemplates = array();
$globaltemplates = array();
$actiontemplates = array();
require_once('./global.php');
$html = '<html>
<head>
 <title>Rotating Banner System</title>
</head>
<style type=\"text/css\">

<!--
body {
            margin-left: 0px;
            margin-top: 0px;
            margin-right: 0px;
            margin-bottom: 0px;
}
-->
</style>

<body>
<!--@vbbanners:2@-->
</body>
</html>';
eval('print_output("' . $html . '");');
?>





Thanks,

y2ksw 10-23-2010 12:38 PM

Quote:

Originally Posted by pitzerwm (Post 2112974)
I'm using this on my HTML pages, see a previous post. In FireFox the banners are not showing up. this is new, so IMO its one of the patches. Gio, you have any ideas?

You can see this by using FireFox and this URL: http://www.autocareforum.com/buyersguide.html

The banners that you might see are Flash and they work fine. Its the Gif & Jpg that do not.


Thanks,

Well I tried hard to get an image banner on the home page, but probably you have them disabled ... on the forum I got one though (footer) and it works to me.

If an image banner doesn't show, maybe you have exceptions for (not loading) images on your own site (?). This is the only one I could think of ... or a buggy plugin, such for example a local image cache, or so.

onesexforum 10-23-2010 03:07 PM

this mod is brilliant just what i was looking for. If you are doing affiliate ads and don't have to worry about monetizing it yourself then this is for you. It is a simple banner ad rotation mod. You may have to fiddle around in the templates a bit to get the ads where you want them, but you will figure it out after a while. It's not too hard :D

thanks :D and Keep up the good work !

pitzerwm 10-23-2010 08:07 PM

Gio,

It is a FireFox issue, IE and Chrome are ok. The forum is fine as it uses your normal code. I have java, and reader etc I don't have but a couple of add-ons.

I'll keep messing around. I noticed that I didn't have any images on the Ebay site, so something is turned off, but don't know whay.

fridaypassion 10-27-2010 06:31 PM

Quote:

Originally Posted by djbaxter (Post 2110770)
<!--@vbbanners:1@-->



Any "ad postion" in this add-on can be vertical or horizontal, depending entirely on how you want to define it. You then put the placeholder (see above) in whatever template you wish.

If you use the built in vBulletin advertising templates, the only one with a built in vertical is the Blog Sidebar template. However, you can use any of the sidebar templates if you have those enabled and just add the banner placeholder in that spot.

Thanks for this reply

Do you know which template this position is (the top ad in this site) this is the location I want to use in my site but I cant find it!

http://www.meganesport.net/community/

djbaxter 10-27-2010 07:10 PM

Quote:

Originally Posted by fridaypassion (Post 2114973)
Thanks for this reply

Do you know which template this position is (the top ad in this site) this is the location I want to use in my site but I cant find it!

http://www.meganesport.net/community/

Admin CP > Advertising > Add New Ad > Ad Selector > Global: Below Navbar

or

Styles & templates > Style manager > Ad Location Templates > ad_global_below_navbar


All times are GMT. The time now is 09:05 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.03067 seconds
  • Memory Usage 1,751KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (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