![]() |
After a day of searching the forums, I found this:
Code:
<if condition="$post['islastshown']"> EDIT: Works perfect. |
StarBug, you're my hero! At least for the next few minutes. :D
I wish there was a way to highlight this mod to separate it from the other "adsense in threads" mods. -Raymond |
how can i show this after say the 5th post on every page?
|
I think after the first makes more sense. You won't always have 4 posts.
Anyways, is there a way to make it show up as the second post on every page? -Raymond |
i added it...saved it and it's not showing anything
|
i use 3.6.5 i added everything..the google link show up..but not the referral icon or anything.
|
Do you use a ad blocker?
Sometimes the easiest solution is the right one. If not copy and paste my code above into the templates and check if it shows up. If it does you did something wrong. Replace my adsense code with yours and you are good to go. @popowich: to be honest I have no clue. I am not a big programmer, I call myself "modifier" ;) |
I will try again
|
i added your full code...on the default and all i get is the KATRINA add showing.
|
Ok then you have no problem at all ;)
You are currently receiving public service ads. Google adsense takes a few days to display relevant ads to your site. Replace my code with your adsense code (you can leave mine if you feel generous :p) and wait a few days. The ads will show up over time, depending on the saturation of your keywords. And make your forum readable for guests. Only this way google can serve you relevant ads. If you want to take a read on google adsense I would suggest: http://forums.digitalpoint.com/ This is a great community for webmasters. Good Luck StarBuG |
what do u mean? I thought soon as I ad that code..the ads should come up? I did just add google ad at the footer of my forum and they start running asap.
|
Read the adsense FAQ.
This is not a problem of this modification, it is a normal adsense behavior |
Quote:
|
Normaly 3-5 days.
Take a read in the forum I suggested above. You'll find every question answered there plus hundrets of tips to improve your adsense earnings. ;) |
I have changed the condition to show the advertising on every page as second post, not just on page one.
The old condition was: Code:
<if condition="THIS_SCRIPT == 'showthread' AND $post[postid] == $GLOBALS['qrfirstpostid'] AND ($show[member])"> Code:
<if condition="THIS_SCRIPT == 'showthread' AND !$GLOBALS['FIRSTPOSTID'] AND ($show[member])"> StarBuG The hack is now version 1.1 Best regards StarBuG |
hi guys i done everything what is sayis in the install pack but nothing is showing up can some one help me please
|
Do you use an adblock software?
|
i fixt this thanks :)
|
You'r welcome ;)
|
I have just released an add-on for this mod.
ADD-ON: In addition you can add a Google Adsense link unit as last post of a thread on any page for members and guests. This advertising will only show if the thread has more then one post so that it does not show 2 advertisings directly below each other in case that the thread has no replies yet. Google Adsense has updated its ToS so that you are now allowed to use up to three link units on one page. So if you already use my "Adsense Link Unit in Navbar" Mod there woun't be a problem. I hope you like it. Let me know how it works out ;) StarBuG |
Quote:
It is out of scope for the original product name. Actually, I've already done the linkbar as last post w/ another product. -Raymond |
how can i make the link unit be the 2nd post?
|
Just replace the existing adsense code in my original modification with the adsense code for the link unit.
|
Nothing is coming up on my design for some reason...
This is my postbit code: Quote:
I just changed a few things for the adsense code for testing. Looking forward to getting this working :) Thanks |
Add your template as txt file attachment, it is horrible to read through code like this ;)
|
Added :)
Thanks for the help! |
I just created a new style and pasted your postbit into it.
It works perfectly for me. Are you sure you are not using an adblocker that blocks advertising? Do you see the ads here: http://www.patientenfragen.net/showthread.php?t=2278 ??? Greetings StarBuG |
Thanks for this! Best support I have seen for a product!
I see the ad on your style and don't have any adblockers installed. I can't think of any reason why it wouldn't be showing up. Thanks again |
Is this the first time you are using adsense on your site?
If it is it can take up to 3 weeks for google to show ads on your site. In my adsense code I have set the ads to not show public service ads instead just show the background color. Maybe this is the case for you too? StarBuG |
Hey,
Sorry, I thought I replied to this. If you take a look at the code, Im not using adsense but different advertising code for poker sites, so adsense crawling shouldnt be a problem. Thanks John |
Hey,
Just checking if you have any idea whats wrong? |
Like I said, I used your postbit on my forum and everything worked perfect
There seems to be something wrong with the different ad code you are using. Sorry, I can't help you here. StarBuG |
great mod, thanks a lot
|
in below code, post is specified, I want to show that in three different posts, how can I manage it?
PHP Code:
|
Code:
<if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1') OR ($post[postcount] == '2') OR ($post[postcount] == '3')"> |
Like this hack. Starbug,
1. Does it work with 3.6.8? 2. If so, how can I just show ads to everybody, myself admin included? Using the legacy. |
Quote:
, this is a cool hack thanks for that im testing in vb3.6.8 but i haave one problem , mi second addon is not showing nothis the firs one only shows Make your donation today (about the huracain that hit here in yucatan "im from cancun that was close") i just get yi adsense is this ok , this will show in a few days or i am making somethin wrong if you like to see http://www.warlionhosting.com/foro/s...hp?p=70#post70 thanks for you help |
Yes it works with 3.6.8.
to show it to everyone remove the member part code block and from the guest code (at the top) remove "AND (!$show[member])" from the condition. Adsense shows public service ads if your site is not yet spidered, this will change in a few days. StarBuG |
this is very useful, thanx
|
3.7.1. not found?:(
|
All times are GMT. The time now is 06:49 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|