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)

y2ksw 10-22-2012 03:07 PM

Quote:

Originally Posted by Nook_Neformat (Post 2374898)
In opera, when i the first time click on swf banner with link, it shows me the banner itself on new page, and only after second click it follows link, any ideas how to fix?

also, in Explorer, if swf banner under the search menu in navbar, banner become on top of search menu.

If you use the wrapper, all the problems should be solved. If not, you may try to insert the full banner (HTML <object>) code into the "text" field.

In any case, if you can run the banner from a clean HTML page the desired way, you can do it also from inside the RBS software.

leoyeh1 10-22-2012 04:21 PM

thank you

now is fine


Quote:

Originally Posted by y2ksw (Post 2374719)
Could you please try the (here) attached XML instead the one of the package? Is this working for you?


kodbg 10-24-2012 02:12 PM

Huh!!
Rotating Banner System has stopped working on my forum. Maybe today, maybe before 1-2 days.
I have not changed the configuration of the forum, nothing more've installed.
Gives no error, just does not show the code: (
Any suggestions?

And... I see strange code

Manage Products - Edit:
Version 2.4.0 - Install code:


Code:

$SQL = array();

$SQL[] = "ALTER TABLE `" . TABLE_PREFIX . "rbs_banners` CHANGE `width` `width` INT UNSIGNED NOT NULL DEFAULT '0'";
$SQL[] = "ALTER TABLE `" . TABLE_PREFIX . "rbs_banners` CHANGE `height` `height` INT UNSIGNED NOT NULL DEFAULT '0'";
$SQL[] = "ALTER TABLE `" . TABLE_PREFIX . "rbs_banners` CHANGE `maximpressions` `maximpressions` INT UNSIGNED NOT NULL DEFAULT '0'";
$SQL[] = "UPDATE `" . TABLE_PREFIX . "rbs_banners`
    SET `text`='<script type=\"text/javascript\">
<!--
google_ad_client = \"ca-pub-4756434467422936\";
/* RBS Text */
google_ad_slot = \"5636861293\";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></script>'
    WHERE `text` LIKE '%pub-8477879996596626%'
        AND `text` LIKE '%468x60_as%'";
$SQL[] = "UPDATE `" . TABLE_PREFIX . "rbs_banners`
    SET `text`='<script type=\"text/javascript\">
<!--
google_ad_client = \"ca-pub-4756434467422936\";
/* RBS Image */
google_ad_slot = \"8194031811\";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type=\"text/javascript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\"></script>'
    WHERE `text` LIKE '%pub-8477879996596626%'
        AND `text` LIKE '%8172517593%'";
$SQL[] = "UPDATE `" . TABLE_PREFIX . "rbs_banners`
    SET `text`=REPLACE(`text`, 'pub-8477879996596626', 'ca-pub-4756434467422936')";
$SQL[] = "UPDATE `" . TABLE_PREFIX . "rbs_banners`
    SET `md5key`=MD5(`name`)
    WHERE `md5key`=''
        AND `text` LIKE '%ca-pub-4756434467422936%'";

run_sqls($SQL);


Whta is this - this is not my adsense - ca-pub-4756434467422936?
Hack?

y2ksw 10-24-2012 02:59 PM

Quote:

Originally Posted by kodbg (Post 2375635)
Huh!!
Rotating Banner System has stopped working on my forum. Maybe today, maybe before 1-2 days.
I have not changed the configuration of the forum, nothing more've installed.
Gives no error, just does not show the code: (
Any suggestions?

And... I see strange code

Manage Products - Edit:
Version 2.4.0 - Install code:

Whta is this - this is not my adsense - ca-pub-4756434467422936?
Hack?

This is the adsense for the inbuilt test banners. your code isn't touched.

If your banners stopped, check the dates. This is the most probable reason if you haven't changed anythings else.

kodbg 10-24-2012 04:01 PM

No, dates are OK - 2022 Year...
Impressions is OK too.
Maybe like a Windows OS - uninstall / fresh install?

y2ksw 10-24-2012 05:08 PM

Quote:

Originally Posted by kodbg (Post 2375667)
No, dates are OK - 2022 Year...
Impressions is OK too.
Maybe like a Windows OS - uninstall / fresh install?

if the impressions grow, it is at 99% a browser problem. banner impressions grow only when the banners are actually shown on page.

kodbg 10-24-2012 07:05 PM

mm, with "Impressions is OK too." i mean thаt i have set:
Max. Impressions
With this value you may limit how often banners are shown on your pages. to 4294967295 - so the problem is not there.

Videx 10-25-2012 12:36 AM

One of the first things you should do when troubleshooting is put up a static graphic and give us the link so we can at least tell you if we can see it.

Hiding your site or trying to use complex scripts like adsense just makes a solution that much more difficult.

kodbg 10-25-2012 03:50 AM

I tried it with text ...
I have deleted adsense code from several positions and put text "ZZZZ"
ZZZZ does not appear ...
It is not a browser problem.

y2ksw 10-25-2012 12:45 PM

1 Attachment(s)
Quote:

Originally Posted by kodbg (Post 2375715)
mm, with "Impressions is OK too." i mean thаt i have set:
Max. Impressions
With this value you may limit how often banners are shown on your pages. to 4294967295 - so the problem is not there.

If you keep max impressions to 0, it is not considered (as many other options).

Quote:

Originally Posted by kodbg (Post 2375795)
I tried it with text ...
I have deleted adsense code from several positions and put text "ZZZZ"
ZZZZ does not appear ...
It is not a browser problem.

If you have changed the styles and forgot to insert the placeholders, that would be another reason (but you said you have not changed anything).

So if you have these settings and really nothing changed between then and now:

Attachment 141978 (any position will do, if you have the placeholder)

Attachment 141979

Attachment 141980 (no forums selected)

banners must show.

Do you have maybe another plugin which hides or shows content and that is expired? For example the inbuilt advertising system?


All times are GMT. The time now is 10:03 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.02694 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_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