Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-27-2010, 09:06 AM
Hammertime Hammertime is offline
 
Join Date: Dec 2009
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Unauthorised google ads - WTF?

I've just noticed Google ads appearing in my forum posts and I didn't put them there.

If i'm logged in as Admin they don't appear, view the thread as guest and there they are.

Is this something in v4 that i'm unaware of or could it be a plugin that I have installed that is embedding these ads?

I'll not be impressed if it's the latter.

--------------- Added [DATE]1267269114[/DATE] at [TIME]1267269114[/TIME] ---------------

I've disabled all plugins and products but still have same problem.
Reply With Quote
  #2  
Old 02-27-2010, 01:03 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you checked your ads?

AdminCP > Ads > Manage ads? Delete them.
Reply With Quote
  #3  
Old 02-27-2010, 01:35 PM
Hammertime Hammertime is offline
 
Join Date: Dec 2009
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ChopSuey View Post
Have you checked your ads?

AdminCP > Ads > Manage ads? Delete them.
Yeah, there's nothing there at all.
Reply With Quote
  #4  
Old 02-27-2010, 01:41 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Create a new style with no parent:
  • Styles & Templates > Style Manager > Add New Style
  • Parent Style: No Parent Style
  • Title: Default vBulletin
  • Allow User Selection: Yes
  • Save
Then browse the site using that totally default vbulletin style - do you still have the same problem?

If it is still happening - Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
Reply With Quote
  #5  
Old 02-27-2010, 01:49 PM
Hammertime Hammertime is offline
 
Join Date: Dec 2009
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lynne will try now.

The ad only appears on the last post btw.

--------------- Added [DATE]1267286023[/DATE] at [TIME]1267286023[/TIME] ---------------

Quote:
Originally Posted by Lynne View Post
Create a new style with no parent:
  • Styles & Templates > Style Manager > Add New Style
  • Parent Style: No Parent Style
  • Title: Default vBulletin
  • Allow User Selection: Yes
  • Save
Then browse the site using that totally default vbulletin style - do you still have the same problem?
Problem disappears when I do the above.

Does this mean it is something embedded in the style I was using?
Reply With Quote
  #6  
Old 02-27-2010, 01:56 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its in your templates where does it show up ? showthread? Edit the showthread template.
Reply With Quote
  #7  
Old 02-27-2010, 02:08 PM
Hammertime Hammertime is offline
 
Join Date: Dec 2009
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah inside the last post of a thread.

Had a look in SHOWTHREAD but I can't see the wood for the trees and don't know what i'm looking for.

When I check out my page source I can see this:

Code:
<div id="ad_thread_last_post_content"><script type="text/javascript"><!--
google_ad_client = "pub-3466134045923773";
/* 300x250, created 10/20/09 */
google_ad_slot = "6024783282";
google_ad_width = 300;
google_ad_height = 250;
//-->

</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>
						
				<div class="content hasad">
					<div id="post_message_9">
						<blockquote class="postcontent restore ">
							Test post 4.
						</blockquote>
					</div>

					
				</div>
Reply With Quote
  #8  
Old 02-27-2010, 02:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not gonna be in showthread. It would be in whichever postbit template you are using or in the ad template. Did you look to see which ad templates have been modified? Like ad_thread_last_post_content perhaps?
Reply With Quote
  #9  
Old 02-27-2010, 02:19 PM
Hammertime Hammertime is offline
 
Join Date: Dec 2009
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
It's not gonna be in showthread. It would be in whichever postbit template you are using or in the ad template. Did you look to see which ad templates have been modified? Like ad_thread_last_post_content perhaps?
Pinpoint accuracy Lynne.

In ad_thread_last_post_content...

Code:
<div id="ad_thread_last_post_content"><vb:if condition="is_member_of($bbuserinfo, 1)"><script type="text/javascript"><!--
google_ad_client = "pub-3466134045923773";
/* 300x250, created 10/20/09 */
google_ad_slot = "6024783282";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><vb:if condition="$adsshown[] = 3"></vb:if></vb:if></div>
--------------- Added [DATE]1267288229[/DATE] at [TIME]1267288229[/TIME] ---------------

Are theme creators allowed to do this here? Especially without declaring it?

Thanks Lynne.
Reply With Quote
  #10  
Old 02-27-2010, 02:59 PM
iamacyborg iamacyborg is offline
 
Join Date: Sep 2009
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would have thought not, especially if the ad revenue is going back to their accounts rather than yours. If that is the case, send Google an email, and they'll deal with it.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:38 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.15599 seconds
  • Memory Usage 2,257KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete