View Single Post
  #1  
Old 03-08-2018, 10:23 PM
gnrx gnrx is offline
 
Join Date: Apr 2009
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Strange problem with blocks / adsense code

Hello.
In the first time, sorry if my english isn't very good.

Well, in the last years I have configured some blocks in this part: admincp-publicity (or advertising, I don't know how appears in english )

I have configured 2 or 3 blocks in this part with this condition:
If the user not are in usergroup x, appears this blocks.

(This blocks contain code google adsense).

Well in this years work fine fine.

A few days ago edit this google adsense code or a new code adsense called: Automatic announcements, According to Google, you must insert this code in each page that you want to appear, and they are automatically, Google studies and publishes them in the best place that Google believes appropriate as well as the quantity. The idea seems great. As you do not enter it on the page and I want it to appear on all my pages, I have entered it in the ad that was previously just below the navbar, because that one appears on all the pages. So far, the result can not be better, everything has grown considerably, and now I have ads where I did not have before (because of the impossibility of configuring them) and I see it much better.

But have a strange strange error...

Like indicate above, I have configured this with: If the user not pertain at usergroup x (in this usergroup x, aren't any user).

And this is the mistery...

I am a site admin of the site, I view this news ads by google but....yesterday, for other questions, logout with mi user admin, and login with a regular user...ooo!!! surprise! Now, appears a lot more ads by google in others places of the site (places a lot better).
Thinking its puntual, I start my tests:

Same browser, loged with admin user, only view some ads. Logout (same browser, not close and reopen, sme browser) and loggin with regular user, appears more ads in more places in the site.

I made all changes in my regular user and continue viewing more ads and in more places.

But my admin user, only view some ads...

I review all of config site about permissions and more...I don't view the reasson for this....strange or mistake...

Thank you!
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01119 seconds
  • Memory Usage 1,764KB
  • 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)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