Thread: Miscellaneous Hacks - Rotating Banner System
View Single Post
  #1182  
Old 03-08-2011, 09:32 PM
y2ksw's Avatar
y2ksw y2ksw is offline
 
Join Date: Aug 2003
Location: Italy
Posts: 1,418
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cbehan View Post
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');
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01958 seconds
  • Memory Usage 1,769KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete