The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
how come the ads by google doesnt show on the first post?
the ads are created a few days back already. they're not new. on the early days, ads are showing, but know, it's not showing anymore. no matter what ads i place. why? This is the code i placed at "ad_showthread_firstpost_start " Code:
<if condition="$bbuserinfo['usergroupid'] == 1"> <div style="float:right; width:300px; height:250px; margin-left:10px"> <script type="text/javascript"><!-- google_ad_client = "pub-3468565034734280"; /* 300x250, created 5/29/09 */ google_ad_slot = "4032835295"; google_ad_width = 300; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> </if> |
#2
|
||||
|
||||
![]()
Have you messed with the postbit or postbit_legacy templates and removed the code necessary to show the ads?
Make sure this is in those templates: Code:
$ad_location[ad_showthread_firstpost_start] |
#3
|
|||
|
|||
![]()
nope,i didnt mess with those templates.. its still there.
if i'm logged out. i can see that there's a space inside the 1st post, the imaginary square (since its a square ads by adsense) is there. but the ads cant be seen. if i logged in, the space will be gone, and the post will go back to its normal look. so we know that putting a table inside ad_showthread_firstpost_start will work. but as i said, the ads dont show. |
#4
|
|||
|
|||
![]()
see attached pics..
|
#5
|
|||
|
|||
![]()
<if condition="$bbuserinfo['usergroupid'] == 1">
means they only show for usergroup with the ID of 1 That usergroup is Unregistered / Not Logged In. So only guests will see the ads as you added the IF statement to only show them the ad's :P Code:
<div style="float:right; width:300px; height:250px; margin-left:10px"> <script type="text/javascript"><!-- google_ad_client = "pub-3468565034734280"; /* 300x250, created 5/29/09 */ google_ad_slot = "4032835295"; google_ad_width = 300; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> |
#6
|
|||
|
|||
![]()
yup i know scotteh.
![]() but when i'm a guest, i cant see the ads. ![]() (you can see at the attached picture the situation. ![]() |
#7
|
|||
|
|||
![]()
Oh right, google adsense requires a few days to sort out (72 hours i think AFTER you generate the HTML code) so may still be within that time range?
|
#8
|
||||
|
||||
![]()
Take a look at your page source and see what is there.
|
#9
|
|||
|
|||
![]() Quote:
![]() Quote:
i cant select the empty space.(or highlight) --------------- Added [DATE]1244645788[/DATE] at [TIME]1244645788[/TIME] --------------- Code:
<if condition="is_member_of($bbuserinfo, 1)"> My members can see the ads. but if i'm or we're not logged in, (or in other words, we are guests) the problem remains. we cant see the ads. i didnt touch any postbit template. i have another forum, and the same code works, either as a guest or member. help pls. |
#10
|
|||
|
|||
![]()
i think i know already know what is causing the ads to not show up.
I have two notices, one is for the guests, and one is for the registered users. and both of these notices have google ads. if i'm logged out, of course the notice for the guest (with google ads) WILL show, and the ads inside the first post and on my footer WILL NOT show. this goes for the registered users as well. if im logged in, the notice for the guest (with google ads) WILL show, and the other ads WILL NOT show. does anyone know how to fix this? so that even if there's a notice(with ADS), the other ads will also show.. i hope y'all got my problem. thanks for the replies by the way. appreciated it. ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|