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)

HipHopStan.com 11-20-2010 05:17 PM

okay.... i installed this plugin on my forum. How do I get a right sidebar for ads on all pages.

Forums & Moderators -> does not have anything for Block Manager in vb4.0.8 PL 2

I have enabled the option for the sidebar in settings-> Forum Sidebar and Block Options.

y2ksw 11-20-2010 05:35 PM

Quote:

Originally Posted by HipHopStan.com (Post 2123930)
okay.... i installed this plugin on my forum. How do I get a right sidebar for ads on all pages.

Forums & Moderators -> does not have anything for Block Manager in vb4.0.8 PL 2

I have enabled the option for the sidebar in settings-> Forum Sidebar and Block Options.

I don't know :)

I'm not a designer ...

mc0676 11-21-2010 01:41 PM

Hi italian mate, :D,
what about upgrade from 2.2.6 ?

y2ksw 11-21-2010 03:45 PM

Quote:

Originally Posted by mc0676 (Post 2124193)
Hi italian mate, :D,
what about upgrade from 2.2.6 ?

Just do it :)

nectons 11-21-2010 09:16 PM

Ok. I Upgrated to 2.3 version.

Everething works great as before. But... i cant find anywere this feuture:

Quote:

Detail Banner Statistics with unique access key for your customers


I found the extre modules and works perfect. I found the click limitations and impression limitations but i cant find anyware how to enable this feuture :(

Please help ?


GREAT work bytheway :D

mfnforex 11-21-2010 09:18 PM

Thanx

y2ksw 11-21-2010 09:36 PM

1 Attachment(s)
Quote:

Originally Posted by nectons (Post 2124409)
Ok. I Upgrated to 2.3 version.

Everething works great as before. But... i cant find anywere this feuture:



I found the extre modules and works perfect. I found the click limitations and impression limitations but i cant find anyware how to enable this feuture :(

Please help ?


GREAT work bytheway :D

The click and impression limitations are setup individually for each banner.

The "public" link to a banner statistic is found just below the upper navigation buttons:
Attachment 123795
You may give this link to your customers in order to allow them to watch their expenses grow :)

thieu.bocap 11-22-2010 07:53 AM

https://vborg.vbsupport.ru/external/2010/11/13.jpg

How to fix it, ads is flash banner?

Thanks!

y2ksw 11-22-2010 10:25 AM

Quote:

Originally Posted by thieu.bocap (Post 2124550)
https://vborg.vbsupport.ru/external/2010/11/13.jpg

How to fix it, ads is flash banner?

Thanks!

Looks like you haven't inserted the banner into the right template, or you have not specified the correct dimensions - anyway, I'm not a designer and can't reply to design specific questions adeguately.

Apolo. 11-22-2010 01:57 PM

Quote:

Originally Posted by thieu.bocap (Post 2124550)
How to fix it, ads is flash banner?

You have to use this parameter within your <object> code:

<param name="WMode" value="transparent"/>

And then the drop-down menu will be displayed correctly.

Hope it helps.

y2ksw 11-22-2010 03:26 PM

Nice trick, thanks :)

Apolo. 11-22-2010 03:31 PM

You're welcome. :)

thieu.bocap 11-22-2010 03:55 PM

Quote:

Originally Posted by Apolo. (Post 2124640)
You have to use this parameter within your <object> code:

<param name="WMode" value="transparent"/>

And then the drop-down menu will be displayed correctly.

Hope it helps.

Yes, if manual ads i can add <param name="WMode" value="transparent"/> but with hack mod this ex: <div align="center"><!--@vbbanners:5@--></div> how to use?

sorry because my english :D

pitzerwm 11-22-2010 05:33 PM

Y2, if I do the update, will your sample banners, over-write my present banner positions?

If so, how would I delete them before update.

Thanks again for a great mod.

nectons 11-22-2010 06:10 PM

Quote:

Originally Posted by y2ksw (Post 2124419)
The click and impression limitations are setup individually for each banner.

The "public" link to a banner statistic is found just below the upper navigation buttons:
Attachment 123795
You may give this link to your customers in order to allow them to watch their expenses grow :)

Under my eyes. Im so stupid.

Thanks my friend!


GREAT WORK!

jaribas 11-22-2010 11:31 PM

Hello.
First Sorry for my english, i am spanish and i not learning english in the school.

My question is.. i need to put more than 2 banners in the header of the forum. Now i have 2 banners when i install the plug, and i like minimun 3 banners in the header. Is posible this?

Thanks

pitzerwm 11-22-2010 11:52 PM

I don't think that would be a problem.

You would either do <!--@vbbanners:0@--><!--@vbbanners:1@--><!--@vbbanners:2@-->

or <!--@vbbanners:0@--><br>
<!--@vbbanners:1@--><br>
<!--@vbbanners:2@--><br>

You might need the surrounding tags, as a <div> or a <table>

jaribas 11-23-2010 12:50 AM

ok.. very thanks...

Cutsizzle 11-23-2010 06:07 PM

I want to have two different styles that use different sets of rotating banners. Is this possible?

y2ksw 11-24-2010 07:47 AM

Quote:

Originally Posted by thieu.bocap (Post 2124702)
Yes, if manual ads i can add <param name="WMode" value="transparent"/> but with hack mod this ex: <div align="center"><!--@vbbanners:5@--></div> how to use?

sorry because my english :D

This HTML is only an example. You may use any kind of HTML in your templates.

However, for Flash Banners you must choose between two possibilities:
1. You use the "Text" field and paste there the complete banner code, thus including all the <object> and <embed> code, which is then inserted at the <div align="center"><!--@vbbanners:5@--></div>, such as <div align="center"><object ...></div>.
2. You use the Flash wrapper which takes care of inserting the correct code, and as far as I know, handles also correctly the menu issue.

y2ksw 11-24-2010 07:49 AM

Quote:

Originally Posted by pitzerwm (Post 2124731)
Y2, if I do the update, will your sample banners, over-write my present banner positions?

If so, how would I delete them before update.

Thanks again for a great mod.

The sample banners are installed only at the moment you install this product first. No banners are touched when updating. However, it is always a good idea to keep a backup somewhere :)

y2ksw 11-24-2010 07:54 AM

Quote:

Originally Posted by jaribas (Post 2124829)
Hello.
First Sorry for my english, i am spanish and i not learning english in the school.

My question is.. i need to put more than 2 banners in the header of the forum. Now i have 2 banners when i install the plug, and i like minimun 3 banners in the header. Is posible this?

Thanks

Quote:

Originally Posted by pitzerwm (Post 2124831)
I don't think that would be a problem.

You would either do <!--@vbbanners:0@--><!--@vbbanners:1@--><!--@vbbanners:2@-->

or <!--@vbbanners:0@--><br>
<!--@vbbanners:1@--><br>
<!--@vbbanners:2@--><br>

You might need the surrounding tags, as a <div> or a <table>

It's even easier:

<!--@vbbanners:0@--><!--@vbbanners:0@--><!--@vbbanners:0@-->

This way, you have 3 or more banners in position 0, they rotate along with other banners in a single page.

You would use the different positions only where you have different banner types and must have a distinct placement.

y2ksw 11-24-2010 07:57 AM

Quote:

Originally Posted by Cutsizzle (Post 2125067)
I want to have two different styles that use different sets of rotating banners. Is this possible?

Yes. In this case you make use of banner positions, where for example in Style 1 you store banners in position 0 and in Style 2 position 1.

SteveV 11-24-2010 07:00 PM

1 Attachment(s)
Is it possible to have a few banners in the place on the picture i attached ?

And i couldn't find where to set the time for the different banners.
Is that even possible ?

I don't have it installed yet but am reading up on it before i uninstall the other mod i am using.
This mod looks more powerful.

y2ksw 11-24-2010 09:33 PM

Quote:

Originally Posted by SteveV (Post 2125429)
Is it possible to have a few banners in the place on the picture i attached ?

And i couldn't find where to set the time for the different banners.
Is that even possible ?

I don't have it installed yet but am reading up on it before i uninstall the other mod i am using.
This mod looks more powerful.

1. Yes, but it needs a style modification, because the original header contains room for two small banners side by side, as far as I recall.
2. Each banner can be setup with a starting and ending date, as a matter of facts, they must. By default, a new banner is shown for one year.
3. I believe it is pretty powerful, but it is not up to me to proof this statement :)

SteveV 11-25-2010 06:15 AM

Hi Y2 thanks for the answers.

What i ment with the time for each banners is the amount of seconds.
I only have animated gif files and some are 10 seconds and others are longer.

Thanks again.

thieu.bocap 11-25-2010 07:25 AM

Quote:

Originally Posted by y2ksw (Post 2125268)
This HTML is only an example. You may use any kind of HTML in your templates.

However, for Flash Banners you must choose between two possibilities:
1. You use the "Text" field and paste there the complete banner code, thus including all the <object> and <embed> code, which is then inserted at the <div align="center"><!--@vbbanners:5@--></div>, such as <div align="center"><object ...></div>.
2. You use the Flash wrapper which takes care of inserting the correct code, and as far as I know, handles also correctly the menu issue.

Thanks very much for your reply :D i will test in my site :)

y2ksw 11-25-2010 08:53 AM

Quote:

Originally Posted by SteveV (Post 2125546)
Hi Y2 thanks for the answers.

What i ment with the time for each banners is the amount of seconds.
I only have animated gif files and some are 10 seconds and others are longer.

Thanks again.

Ah right ... I got it. There is no such field, a banner is shown for the life time of the page. I have been asked several times to add the feature of rotating banners in place while the page is loaded.

Workaround: Eventually you may create a HTML page, which you insert as an IFRAME in your banner space. That HTML may refresh every so time, and would then load a new banner (if there is any). This HTML is already available and has been mentioned a few posts ago. All it needs is to make it work for your specific use, adding e meta tag with the desired refresh period :)

https://vborg.vbsupport.ru/showpost....&postcount=951

y2ksw 11-25-2010 12:28 PM

1 Attachment(s)
Quote:

Originally Posted by y2ksw (Post 2125579)
Ah right ... I got it. There is no such field, a banner is shown for the life time of the page. I have been asked several times to add the feature of rotating banners in place while the page is loaded.

Workaround: Eventually you may create a HTML page, which you insert as an IFRAME in your banner space. That HTML may refresh every so time, and would then load a new banner (if there is any). This HTML is already available and has been mentioned a few posts ago. All it needs is to make it work for your specific use, adding e meta tag with the desired refresh period :)

https://vborg.vbsupport.ru/showpost....&postcount=951

Here, as an unofficial addon, you get the autorefreshing page (tested). It needs:

- a text editor;
- a refresh time of your choice (see metatag refresh in file, now at 10 seconds);
- a banner location (see placeholder in file, now at position 0);
- at least a banner for that location;
- a global target of a new page aka _blank (RBS options), else you jump into the iframe;
- a template modification for a 468x60 banner:
HTML Code:

<iframe src="rbs_iframe.php" align="center" frameborder="0" height="60" width="468" scrolling="no"></iframe>
Please note: with smaller banners you get white borders, with larger than the iframe area, they are clipped.

SteveV 11-25-2010 01:30 PM

Thank you.

I will install the mod tonight together with the unofficial addon.
I hope i get it working the first time :)

Internetcafe 11-28-2010 07:12 PM

Doesn't seem to work on 4.0.8 :-
Quote:

Please upload the files that came with the product before installing or upgrading!
Missing files:
All files have been uploaded !?

CybaGirl 11-29-2010 01:50 AM

Quote:

Originally Posted by giorgioarmani (Post 1640159)
So its installed.. Where do I place "@vbbanners@" so it shows top right?

If anyone else is wondering how to do this and if what you are trying to achieve is shown in this image.

https://vborg.vbsupport.ru/external/2010/11/5.jpg

This is what I did to make it look like this.

1. Log in to your admin panel.

2. Click on styles and templates.

3. Click on style manager.

4. Select the template you wish to modify and from the drop down box on the right select Edit Templates.

5. Double click on Ad Location Templates so that this menu expands.

6. Scroll down till you see ad_header_end and double click on it.

7. In the empty big box enter in the following.

Code:

<br><br><br>
<div align="center"><table>
<tr>
    <td><!--@vbbanners:0@--></td>
</tr>
</table>
</div>

Of course changing <!--@vbbanners:0@--> to what ever banner number you want to display in this area.

For example if you want to display Position 2 banners in this area change the 0 to a 2 so that it looks like this.

<!--@vbbanners:2@-->

Oh yes and if you are not using a large forum logo like we are. You may have to switch where it says <div align="center"> in the code above to say <div align="right"> .


Anyway hope this helps others who would like to place their banners in this area.

:D

Parture 11-30-2010 08:36 AM

How do we get the images to rotate each time the page is refreshed? I have added 3 images but only one ever shows up.

Oh, problem solved, for some reson the starting dates of the other banners were later in the day.

andreamarucci 12-02-2010 09:14 AM

1 Attachment(s)
Quote:

Originally Posted by CybaGirl (Post 2126975)
5. Double click on Ad Location Templates so that this menu expands.

6. Scroll down till you see ad_header_end and double click on it.

There's no ad_header_end. I've 4.0.8pl2 and these are the templates

Attachment 124078

CybaGirl 12-02-2010 10:11 AM

Hi Andreamarucci,

I have just tested the code in the ad_global_header1 and it seems to work exactly the same as if it was placed in the ad_header_end

I haven't upgraded our forum to version 4.0.8 pl2 yet. So I guess this is where I will need to place this code when I do :).

andreamarucci 12-02-2010 10:20 AM

Tried and it works in the header1 or header2 position...

andreamarucci 12-02-2010 11:04 AM

Another question. Is it possible to rotate the banner based on time? I've seen that the banner change when you change page. It's not possible to make it change every x seconds?

CybaGirl 12-02-2010 11:32 AM

Quote:

Originally Posted by andreamarucci (Post 2128301)
Another question. Is it possible to rotate the banner based on time? I've seen that the banner change when you change page. It's not possible to make it change every x seconds?


I read it was possible in one of the replies in one of the previous pages. But I cannot remember which page I read it on now.

It has something to do with using the meta refresh tag.

Probably your best bet is to start from page 1 and read all the pages. As I am sure I read about this on one of the previous pages. Plus if my memory serves me right someone is kind enough to provide a working example on how you can achieve this.

nando.dominios 12-08-2010 09:52 AM

Please, replace output url "&" with "&amp;" in the next relase for a valid urls. Good work, thanks.

http://www.htmlhelp.com/tools/valida...blems.html#amp

y2ksw 12-09-2010 06:52 AM

Quote:

Originally Posted by andreamarucci (Post 2128301)
Another question. Is it possible to rotate the banner based on time? I've seen that the banner change when you change page. It's not possible to make it change every x seconds?

https://vborg.vbsupport.ru/showpost....&postcount=989


All times are GMT. The time now is 09:25 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.02580 seconds
  • Memory Usage 1,852KB
  • 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
  • (1)bbcode_html_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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