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)

gazza2008 09-27-2012 06:11 AM

Quote:

Originally Posted by Videx (Post 2368632)
The included instructions tell you how to do this. In my version it's right there in the Quick Start on page 2.

Done what you said and added it to the add location templets still no good if anyone could help I would appricate it


the forum is http://www.theracingview.com/forum.php

y2ksw 09-27-2012 07:10 AM

Quote:

Originally Posted by CLSSY56 (Post 2367645)
Which option? I upgraded to 2.4

Target: If _blank, it will create a new window or tab, if _self, it stays in the current window.

y2ksw 09-27-2012 07:52 AM

Quote:

Originally Posted by gazza2008 (Post 2368329)
Hello

Can anyone help me a little

I want to install the rotating banners I have them working its just I dont know how to put them in the 468x60 part on my forum

http://www.theracingview.com/forum.php

I want it on the right of the forum where the adverts can go. Am lost lol

I am using the Blue Demon skin

Cheers

gaz

Just place into the reserved space the desired placeholder (e.g. <!--@vbbanners:0@-->)

If it doesn't work for you (likely), you will have to add a style into additional.css and make it a bit more complex:
HTML Code:

.rbs_header_2 {
    height: 70px;
    left: 515px;
    position: absolute;
    text-align: right;
    top: 35px;
    width: 468px;
}

(adjust the parameters to your needs)
HTML Code:

<div class="rbs_header_2"><!--@vbbanners:0@--></div>

romster13 09-27-2012 10:09 PM

<span style="text-decoration: line-through">Is there an alternative to this? It worked fine for months and now I'm 4.2 and ads don't show up at all. I just updated the banner swf and updated the ad html and it disappeared. Now no ads will work, in flash or java.</span>

Nevermind i fixed it by using the old html i had in the HTML box. No idea why the new one didn't work.

gazza2008 09-28-2012 10:29 AM

[QUOTE=y2ksw;2368929]Just place into the reserved space the desired placeholder (e.g. <!--@vbbanners:0@-->)

thats where am trying to find the placeholder lol

y2ksw 09-28-2012 12:08 PM

Quote:

Originally Posted by gazza2008 (Post 2369185)
Quote:

Originally Posted by y2ksw (Post 2368929)
Just place into the reserved space the desired placeholder (e.g. <!--@vbbanners:0@-->)

thats where am trying to find the placeholder lol

Well, it isn't there, unless you insert it the very first time :)

Mr_Running 09-28-2012 12:57 PM

Anyone try this with the Blog side block (4.2x)?

clauz 10-01-2012 09:09 AM

How can I see click/impresion history on some banner / time period?
Can I chose a time interval and see click and impresions numbers?

naveeid 10-04-2012 05:30 PM

nice advertisement system , thanks

lfreem2 10-07-2012 08:11 PM

This failed for me. I installed all the files as indicated through FTP and then when I tried to install the xml doc, it gave me an error stating that there were missing files. Had to uninstall.

y2ksw 10-09-2012 07:31 AM

Quote:

Originally Posted by lfreem2 (Post 2371440)
This failed for me. I installed all the files as indicated through FTP and then when I tried to install the xml doc, it gave me an error stating that there were missing files. Had to uninstall.

My question is: where did you upload the files? :)

y2ksw 10-09-2012 07:40 AM

Quote:

Originally Posted by clauz (Post 2369943)
How can I see click/impresion history on some banner / time period?
Can I chose a time interval and see click and impresions numbers?

You may extract some data from the rbs_hits table using phpMyAdmin, e.g. (for the clicks):
Code:

SELECT COUNT(*)
FROM rbs_hits
WHERE bannerid=123
    AND dateline BETWEEN UNIX_TIMESTAMP('2012-01-01') AND UNIX_TIMESTAMP('2012-01-31')

The impressions counter is not traceable and would make no much sense.

gsmlover4u 10-12-2012 10:23 AM

is it working with 4.2.0

Videx 10-12-2012 12:10 PM

Quote:

Originally Posted by gsmlover4u (Post 2372494)
is it working with 4.2.0

This mod uses nothing from vb so it should work with all versions, old and new. At worst an update might remove your banner when you revert templates or when they change ad location hooks. But if you figured out how to put it there in the first place you should have no trouble putting it back.

BOWZONE 10-12-2012 03:40 PM

My developer is unable to make this work with 4.2...Is there a trick to this?

Alibass 10-12-2012 03:54 PM

Quote:

Originally Posted by BOWZONE (Post 2372552)
My developer is unable to make this work with 4.2...Is there a trick to this?

No trick mate, works great on 4.2.0 PL2

Videx 10-19-2012 11:47 PM

If there's a 'trick' it might be to have the person read this entire thread themselves. Or at least report some sort of specific information besides "it doesn't work".

leoyeh1 10-20-2012 02:40 AM

the error when install XML in 4.2.0
XML error:line 457 not well-formed (invalid token)

y2ksw 10-21-2012 07:55 AM

1 Attachment(s)
Quote:

Originally Posted by leoyeh1 (Post 2374426)
the error when install XML in 4.2.0
XML error:line 457 not well-formed (invalid token)

Could you please try the (here) attached XML instead the one of the package? Is this working for you?

Nook_Neformat 10-21-2012 09:47 PM

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.

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?

kodbg 10-25-2012 02:11 PM

everything looks fine in the settings, but does not work :(

y2ksw, can you spare five minutes to look at the forum - i will give you administrator account?

y2ksw 10-25-2012 03:59 PM

Quote:

Originally Posted by kodbg (Post 2375894)
everything looks fine in the settings, but does not work :(

y2ksw, can you spare five minutes to look at the forum - i will give you administrator account?

Yes. Please PM me with credentials :)

kodbg 10-25-2012 10:12 PM

Problem solved thanks to Giovanni.
Great support.

Mauro79 11-02-2012 05:33 AM

I was doing very well.
a question.
as I can do to make the banners are not displayed on a custom page.
e.g.
www.misitio.com/foro/test.php
I have to put in the template test not to see the images of this hack.

HotLink 11-10-2012 07:24 AM

does this work with the vbulletin built in ad manager system? or do we have to alter the templates ?

Videx 11-10-2012 01:44 PM

Quote:

Originally Posted by HotLink (Post 2379875)
does this work with the vbulletin built in ad manager system? or do we have to alter the templates ?

The simplest way to place your banner is to just paste it in an existing vb ad location. But if you want banners in other locations you may edit templates if you want. No template editing is required.

Gripi 11-11-2012 04:15 PM

hi..

i just put a flash banner in the RBS, here is the configuration:

my domain let say www.hot.com

1. URL: www.abcd.com
2. Image / Flash: www.hot.com/flash.swf
3. flash banner, object tag, embed tag = checked

the problem is, when i open my site using internet explorer, and i click the banner, the banner linked to the swf file "www.hot.com/flash.swf"

but no problem when i open the site using firefox and chrome, the banner linked to www.abcd.com

something wrong with the compability to IE ? i'm using IE 8

thanks

Gripi 11-11-2012 04:26 PM

just for update, after i unchecked the "object Tag", the flash banner works perfectly

y2ksw 11-13-2012 03:50 PM

Quote:

Originally Posted by Gripi (Post 2380290)
just for update, after i unchecked the "object Tag", the flash banner works perfectly

I love self-solving maintenance :)

y2ksw 11-13-2012 03:54 PM

Quote:

Originally Posted by Mauro79 (Post 2377732)
I was doing very well.
a question.
as I can do to make the banners are not displayed on a custom page.
e.g.
www.misitio.com/foro/test.php
I have to put in the template test not to see the images of this hack.

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

Here you get some instructions how to solve this problem.


All times are GMT. The time now is 05:11 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.04006 seconds
  • Memory Usage 1,846KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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