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)

dopeytjen 11-06-2010 08:01 PM

Hello, could you please help me? I have been trying to get this to work but it's not working at all.
I have added the "<div align="center"><!--@vbbanners:0@--></div>" tag in my ad_navbar_below template, but nothing is showing.

y2ksw 11-06-2010 09:02 PM

Quote:

Originally Posted by dopeytjen (Post 2118791)
Hello, could you please help me? I have been trying to get this to work but it's not working at all.
I have added the "<div align="center"><!--@vbbanners:0@--></div>" tag in my ad_navbar_below template, but nothing is showing.

If you have vbSEO and/or use HTML comment cleaning or HTML compression, you may need to define a different placeholder in the RBS options, such as for example @vbbanners:%d@ and thus adjust your template placeholder accordingly to @vbbanners:0@, @vbbanners:1@ ...

dopeytjen 11-06-2010 09:12 PM

As far as I know I have none of those things, where could I check that? are they all third party addons?

y2ksw 11-06-2010 09:15 PM

Quote:

Originally Posted by dopeytjen (Post 2118817)
As far as I know I have none of those things, where could I check that? are they all third party addons?

Yes.

But just in case, changing these parameters does no harm, it just tells the banner plugin to look for another placeholder instead of the predefined ones.

Have you tried to run the predefined banners?

dopeytjen 11-06-2010 09:18 PM

I sent you a PM.

n_only 11-07-2010 10:29 AM

Quote:

Originally Posted by dopeytjen (Post 2118791)
Hello, could you please help me? I have been trying to get this to work but it's not working at all.
I have added the "<div align="center"><!--@vbbanners:0@--></div>" tag in my ad_navbar_below template, but nothing is showing.


could you please change Start Date to one day in the past.

it will works fine :)

y2ksw 11-07-2010 12:54 PM

Quote:

Originally Posted by n_only (Post 2118968)
could you please change Start Date to one day in the past.

it will works fine :)

I'm sorry, if your server would show the current date and time correctly, it would work. I can't and never will fix problems which are bound to incorrect server or vbulletin settings. ;)

Videx 11-08-2010 03:49 PM

Quote:

Forum administrators with maintenance rights may add, edit and delete records from the Administration Control Panel (ACP)...
Can this be changed easily? I'd like my co-admin to be able to administer banners, but not to repair tables or update counters. Seems like a different thing entirely.

y2ksw 11-09-2010 08:52 AM

Quote:

Originally Posted by Videx (Post 2119517)
Can this be changed easily? I'd like my co-admin to be able to administer banners, but not to repair tables or update counters. Seems like a different thing entirely.

You may change the attribute "permissions" from "canadminmaintain" to, for example: "canadminsettings" in the file /includes/xml/cpnav_rbs.xml.

For more possible values, please see cpnav_vbulletin.xml. You may also try to remove this attribute in order to make the banner functions available to all administrators.

Outbackmark 11-09-2010 10:41 AM

Terrific mod, installed on test 4.08 board and it's looking top notch...thanks!!

Rafa-el 11-09-2010 02:10 PM

This is one of my favorites mods :)

Thanks for release it!

Lord Singo 11-09-2010 10:52 PM

1 Attachment(s)
Some of my banners display. Others don't. I have 7 of ten banners displaying. The others rotate but display a blank, white placeholder where the banner should be. The banners not displaying are no different to the others. All the banners are same size and range from 26KB to78KB (the ones displaying are not necessarily smaller than the others).

This is a great mod but the blank banners are frustrating. Any ideas?

I've added two screenshots to illustrate.

reefcity 11-13-2010 01:46 PM

Same issue here, the banner just come and go as they please not hardly displaying.
Is there any way to get this fixed.

ryansmith 11-14-2010 04:51 AM

This may have been addressed before, so please excuse me if I missed it, but...

Is there any way to put a timer in so that there's an option to rotate these banners every X seconds? For instance, if I put 2 banners in Position 0, can I make them rotate back and forth every 20 seconds without having to reload the page? I used to have a Javascript banner rotater but it would be so nice if this mod could do something similar.

Thanks.

y2ksw 11-15-2010 06:56 AM

Quote:

Originally Posted by Lord Singo (Post 2120058)
Some of my banners display. Others don't. I have 7 of ten banners displaying. The others rotate but display a blank, white placeholder where the banner should be. The banners not displaying are no different to the others. All the banners are same size and range from 26KB to78KB (the ones displaying are not necessarily smaller than the others).

This is a great mod but the blank banners are frustrating. Any ideas?

I've added two screenshots to illustrate.

Quote:

Originally Posted by reefcity (Post 2121362)
Same issue here, the banner just come and go as they please not hardly displaying.
Is there any way to get this fixed.

Most probably you have external banner sources which fail to load and thus result in a white space. This happens for example with Google AdSense, if you have failed to insert correctly the scripts, but also with flash, if you haven't upgraded your browser Flash plugins.

Please make sure your banners will load, for example creating a blank static HTML including the banner code (as suggested in the help files). Anything you can't load normally, can't be loaded by the banner rotator either ;)

If you have intermittent problems with one banner, try to wrap them differently. HTML is a pretty difficult programming language with a lot of alternate comaptibility issues, some of which may or may not work with one or another browser.

cam2 11-15-2010 10:19 PM

I am having issues with this also. I'm sure it's my fault. I have vBSEO installed and have the white spaces turned off.

I have been trying for hours to get this thing going. Every time I select a forum to show the banner in it does not show up.

I am using vB 4.0.8

Any help would be appreciated.

Apolo. 11-15-2010 10:27 PM

Disable all plugins you may have in place and then try again. If it works, then you will be able to find out which is the one causing you that issue.

If it still doesn't work... well... perhaps you may try a full vBulletin reinstall?

cam2 11-15-2010 10:42 PM

Yep, did that. No way I can do another install. Those are the only options?

Apolo. 11-15-2010 10:53 PM

Quote:

Originally Posted by Scott Gerdes (Post 2122251)
Yep, did that. No way I can do another install. Those are the only options?

Did you do this?

Quote:

Originally Posted by y2ksw (Post 2122013)
Please make sure your banners will load, for example creating a blank static HTML including the banner code (as suggested in the help files). Anything you can't load normally, can't be loaded by the banner rotator either ;)


cam2 11-15-2010 10:59 PM

Tried that too.

The code is there but not showing on my test page.

y2ksw 11-16-2010 05:47 AM

Quote:

Originally Posted by Scott Gerdes (Post 2122256)
Tried that too.

The code is there but not showing on my test page.

Could you please PM me the code you are trying to insert?

y2ksw 11-16-2010 05:49 AM

Quote:

Originally Posted by Scott Gerdes (Post 2122247)
I am having issues with this also. I'm sure it's my fault. I have vBSEO installed and have the white spaces turned off.

I have been trying for hours to get this thing going. Every time I select a forum to show the banner in it does not show up.

I am using vB 4.0.8

Any help would be appreciated.

Does it show up if you have no forum selected? Which template are you using?

MmS1 11-17-2010 09:28 PM

HI idid every thing but it's not working
it dont show any thing even ur google banner

i upload all the files
i Import the product

is there any thing i have to do more than that

y2ksw 11-18-2010 06:15 AM

Quote:

Originally Posted by MmS1 (Post 2122963)
HI idid every thing but it's not working
it dont show any thing even ur google banner

i upload all the files
i Import the product

is there any thing i have to do more than that

Yes: read the help, eventually try the Flash Help (link in the first post).

Most of all, it will show banners only at places you define in your templates. If no place given, no banner ever shows :)

MmS1 11-18-2010 10:41 AM

Hi
i saw the flash and i did every thing in it

but still not working i have put the <!--@vbbanners:0@--> until <!--@vbbanners:9@--> in the ad_navbar_below and i got nothing

y2ksw 11-18-2010 12:57 PM

Quote:

Originally Posted by MmS1 (Post 2123124)
Hi
i saw the flash and i did every thing in it

but still not working i have put the <!--@vbbanners:0@--> until <!--@vbbanners:9@--> in the ad_navbar_below and i got nothing

Do you have vbSEO or another software which removes HTML comments from your pages?

MmS1 11-18-2010 06:51 PM

No i do not have a vbseo
but i do have
vB4: SuperCharged
vBSEO :: Sitemap Generator

MmS1 11-18-2010 07:00 PM

i disable the hack "vB4: SuperCharged" and still the same

y2ksw 11-18-2010 07:54 PM

Quote:

Originally Posted by MmS1 (Post 2123278)
i disable the hack "vB4: SuperCharged" and still the same

Well, I don't know.

If you let me have a look into your board, please send me a PM with the credentials to an account which may access the vbulletin settings, styles and maintenance. I need to check the RBS options, the placeholder in your template and the banner insertion itself. It would be best if that board was a test installation :)

hohleweg 11-18-2010 08:49 PM

Hi
Can i set ALL impressions to 0?
Greetings Jo

pitzerwm 11-18-2010 09:48 PM

Y2, as usual you openned a can of worms with the new update:)

Do you think that if I update, that it will create any issues with my HTML pages?

Code:

Y2, remember you created this code for me and I have it running on a number of "non-forum" sites.


<?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:0@-->
</body>
</html>';
eval('print_output("' . $html . '");');
?>
Calling it with:


<iframe src="http://98.131.36.111/rbs_html.php" width="600" height="80" scrolling="no" marginheight="0" marginwidth="0" ></iframe>


MmS1 11-18-2010 10:29 PM

i know why it didn't work
it's work only with visitor and member not admins
if i put a images banner not working but if put text it work but only visitor and member will see that not me

megroup 11-18-2010 10:55 PM

Hello,

Unfortunately, In the new version still several bugs that required to be fixed:

I have VB 3.8.2 and here is what happens.

1. When you save banner settings. Expire date and time jumps forward 20 hours or so. That means you cannot set accurate banner expire date and time.

2. When all required settings for flash banner are enabled, embedded link that included within swf banner code does not work. meaning visitors cannot get to advertisers websites by clicking on banner.

y2ksw 11-19-2010 09:00 AM

Quote:

Originally Posted by hohleweg (Post 2123304)
Hi
Can i set ALL impressions to 0?
Greetings Jo

You mean you want to reset the impressions on all existing banners?

Query:
Code:

UPDATE rbs_banners SET impressions=0

y2ksw 11-19-2010 09:16 AM

Quote:

Originally Posted by megroup (Post 2123336)
Hello,

Unfortunately, In the new version still several bugs that required to be fixed:

I have VB 3.8.2 and here is what happens.

1. When you save banner settings. Expire date and time jumps forward 20 hours or so. That means you cannot set accurate banner expire date and time.

2. When all required settings for flash banner are enabled, embedded link that included within swf banner code does not work. meaning visitors cannot get to advertisers websites by clicking on banner.

1. I can't and I won't fix problems with board and/or server settings. If your time jumps, your DST setting or your server date/time settings, or both, are not setup properly. I can remember I have had similar problems in the past until I worked out how to correctly setup the board date/time features and DST, and of course, syncronized the server time with NTP to a reliable time server (e.g. pool.ntp.org). A lot of servers on the web aren't syncronized and run out of any plausible time space over their life time, but you can require from your hosting provider to keep the time within a certain range.
2. The Flash wrapper works as designed. It was designed to override internal flash links in order to allow click tracking and overriding erroneous, missing or tampered embedded links. Thus, you will have to specify also a landing page (URL), else it will not go anywhere. If you want to use your banner as-is, you don't need the wrapper. In this case, paste the banner code into the Text field and leave all other fields empty (unmodified). As easy as that. However click tracking would not work, unless the embedded link calls the script rbs_banner.php?id=N, where N is the ID of the banner you wish to track. In this case, you will have to setup a landing page, too.

y2ksw 11-19-2010 09:27 AM

1 Attachment(s)
Quote:

Originally Posted by MmS1 (Post 2123331)
i know why it didn't work
it's work only with visitor and member not admins
if i put a images banner not working but if put text it work but only visitor and member will see that not me

That seems to be impossible ... have you specified user groups in the Usergroups field? If yes, delete them all. The visitor user group has the ID 1.

I attach here a typical banner setting.

If you are still testing, I suggest to reinstall the product in order to get the default settings back, and be sure the predefinded banners work as designed. I'm really unhappy with a situation I can't see and have to guess what's wrong.

y2ksw 11-19-2010 09:31 AM

Quote:

Originally Posted by pitzerwm (Post 2123325)
Y2, as usual you openned a can of worms with the new update:)

Do you think that if I update, that it will create any issues with my HTML pages?

Code:

Y2, remember you created this code for me and I have it running on a number of "non-forum" sites.


<?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:0@-->
</body>
</html>';
eval('print_output("' . $html . '");');
?>
Calling it with:


<iframe src="http://98.131.36.111/rbs_html.php" width="600" height="80" scrolling="no" marginheight="0" marginwidth="0" ></iframe>


This code should continue to work flawlessly. Essentially, the changes are to support banner statistics and record additional information on a banner click.

kellogs 11-19-2010 11:27 AM

I have installed it and it works very well except on flash banner.

The flash banner flicker

Any idea?

pitzerwm 11-19-2010 06:09 PM

Thanks, This mod, enables me to make a lot of money with my website. Todate, all issues were my screwups.

y2ksw 11-20-2010 07:21 AM

Quote:

Originally Posted by kellogs (Post 2123504)
I have installed it and it works very well except on flash banner.

The flash banner flicker

Any idea?

Could you please send me (PM) the link to your flash banner? Thanks.


All times are GMT. The time now is 09:35 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.02640 seconds
  • Memory Usage 1,847KB
  • 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
  • (3)bbcode_code_printable
  • (20)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