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 03-08-2011 09:32 PM

Quote:

Originally Posted by cbehan (Post 2171007)
In both templates, the code is inserted into the template, but on the rendered source it's nowhere to be found.

Ok this means, the plugin works, but for some reason it can't find a banner for your page.

If you still have the default banners (at the beginning), could you please try to enable them and see if they show up? Else you may create a new image banner and make sure to use an extremely large timeframe to avoid it becomes expired for some reason.

Or run this query to re-insert the default banners, provided you have id 1 and 2 free to use:

Code:

REPLACE INTO `rbs_banners` (`id`, `name`, `url`, `image`, `text`, `startdate`, `enddate`, `impressions`, `notes`, `maximpressions`, `position`, `forumids`, `enabled`, `forumhome`, `clicktrack`, `maxclicks`, `clicks`, `m_expired`, `mails`, `usergroups`, `flash`, `object`, `embed`, `width`, `height`, `md5key`) VALUES
(1, 'Google Text 468x60', '', '', '<script type="text/javascript">\r\n<!--\r\ngoogle_ad_client = "pub-8477879996596626";\r\ngoogle_ad_width = 468;\r\ngoogle_ad_height = 60;\r\ngoogle_ad_format = "468x60_as";\r\ngoogle_ad_type = "text";\r\ngoogle_ad_channel = "";\r\n//-->\r\n</script>\r\n<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>', 1211320800, 1526853600, 274611, '', 0, 0, '', 1, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, '2b4dd10a8f244478254663e1c96b17aa'),
(2, 'Google Image 468 x 60', '', '', '<script type="text/javascript"><!--\r\ngoogle_ad_client = "pub-8477879996596626";\r\ngoogle_ad_slot = "8172517593";\r\ngoogle_ad_width = 468;\r\ngoogle_ad_height = 60;\r\n//-->\r\n</script>\r\n<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>', 1211320800, 1526853600, 273356, '', 0, 0, '', 1, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, '09c198a7c54fc144b22d0e477294d9f0');


cbehan 03-08-2011 09:58 PM

Quote:

Originally Posted by y2ksw (Post 2171108)
Ok this means, the plugin works, but for some reason it can't find a banner for your page.

If you still have the default banners (at the beginning), could you please try to enable them and see if they show up? Else you may create a new image banner and make sure to use an extremely large timeframe to avoid it becomes expired for some reason.

Or run this query to re-insert the default banners, provided you have id 1 and 2 free to use:

Code:

REPLACE INTO `rbs_banners` (`id`, `name`, `url`, `image`, `text`, `startdate`, `enddate`, `impressions`, `notes`, `maximpressions`, `position`, `forumids`, `enabled`, `forumhome`, `clicktrack`, `maxclicks`, `clicks`, `m_expired`, `mails`, `usergroups`, `flash`, `object`, `embed`, `width`, `height`, `md5key`) VALUES
(1, 'Google Text 468x60', '', '', '<script type="text/javascript">\r\n<!--\r\ngoogle_ad_client = "pub-8477879996596626";\r\ngoogle_ad_width = 468;\r\ngoogle_ad_height = 60;\r\ngoogle_ad_format = "468x60_as";\r\ngoogle_ad_type = "text";\r\ngoogle_ad_channel = "";\r\n//-->\r\n</script>\r\n<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>', 1211320800, 1526853600, 274611, '', 0, 0, '', 1, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, '2b4dd10a8f244478254663e1c96b17aa'),
(2, 'Google Image 468 x 60', '', '', '<script type="text/javascript"><!--\r\ngoogle_ad_client = "pub-8477879996596626";\r\ngoogle_ad_slot = "8172517593";\r\ngoogle_ad_width = 468;\r\ngoogle_ad_height = 60;\r\n//-->\r\n</script>\r\n<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>', 1211320800, 1526853600, 273356, '', 0, 0, '', 1, 0, 0, 0, 0, 0, '', '', 0, 0, 0, 0, 0, '09c198a7c54fc144b22d0e477294d9f0');


I uninstalled the product, then reinstalled it to restore the original ads. That didn't work.

I tried even just placing some simple text into the Text box to see if it would appear....no luck.

It's as though the plugin isn't responding to insert the code at all.

Maxi62 03-09-2011 09:43 AM

Hi
I become no mail from rotating banner system?
In the setup I enabled it and I have banner email address is also entered

Why might that be?

y2ksw 03-09-2011 11:05 AM

Quote:

Originally Posted by cbehan (Post 2171113)
I uninstalled the product, then reinstalled it to restore the original ads. That didn't work.

I tried even just placing some simple text into the Text box to see if it would appear....no luck.

It's as though the plugin isn't responding to insert the code at all.

Please PM me your site. I really believe it is something trivial but can't work out what. I probably will also need an admin account with permission to see into the settings and styles.

y2ksw 03-09-2011 11:07 AM

Quote:

Originally Posted by Maxi62 (Post 2171290)
Hi
I become no mail from rotating banner system?
In the setup I enabled it and I have banner email address is also entered

Why might that be?

Maybe mailing or the task are globally disabled?

Maxi62 03-09-2011 10:51 PM

Quote:

Originally Posted by y2ksw (Post 2171324)
Maybe mailing or the task are globally disabled?

No, its on! can i test the email function? When email is sent?

FTDave 03-10-2011 02:28 AM

Thank you for the mod.
http://www.teenbay.net

y2ksw 03-10-2011 08:34 AM

Quote:

Originally Posted by Maxi62 (Post 2171660)
No, its on! can i test the email function? When email is sent?

The email is sent when a banner expires (by date/time).

uglyduck 03-11-2011 02:20 PM

Great mod. I have this working on my site for the most part but have discovered that it is only showing banner IDs 1 through 8. I have 12 banners currently configured in position0(horizontal) but as I indicated only banners 1-8 are displayed, 9-12 do not ever show up. I am using image banners, no flash. I confirmed the image paths for the non-working banners are valid Below is the code I have entered into global_ad_below_navbar template

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

Here is what I have configured in the RBS options for Nth placeholder

<!--@vbbanners:%d@-->

Thank you

y2ksw 03-13-2011 10:20 AM

Quote:

Originally Posted by uglyduck (Post 2172263)
Great mod. I have this working on my site for the most part but have discovered that it is only showing banner IDs 1 through 8. I have 12 banners currently configured in position0(horizontal) but as I indicated only banners 1-8 are displayed, 9-12 do not ever show up. I am using image banners, no flash. I confirmed the image paths for the non-working banners are valid Below is the code I have entered into global_ad_below_navbar template

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

Here is what I have configured in the RBS options for Nth placeholder

<!--@vbbanners:%d@-->


Thank you

Please make sure you haven't set other rules which may exclude those banners from showing, such as specific sections, usergroups and date/time ranges.


All times are GMT. The time now is 12:07 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.02839 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
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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