Log in

View Full Version : strange adsense


abramelin
10-23-2006, 07:01 PM
I am using adsense after the all first messages in posbits; but
Any idea why it is displaying ads at the bottom of every Private Message I open...

/private.php?do=showpm&pmid=X

where X is Private Message ID

It should't do...



<if condition="!$GLOBALS['FIRSTPOSTID']">

Doesn't that mean adsense every first post...?

Or I have to add an !in_array code but I don't know how to do it for Private Message Read...

UncoderMom
10-24-2006, 03:00 PM
I use it too and wondered the same thing ?

I havent had time to hit the support thread but It didnt really bother me lol. Not inless its something that could casue errors else where!

BigJohnny
10-25-2006, 01:50 AM
because the postbit is also used for the private messages.

I had this problem with a "pm user" button in my postbit, showing up in pms :)

fixed it by adding
<if condition THIS_SCRIPT == "showthread">
your code here
</if>

so if a user is viewing the postbit from showthread.php, it will show the ad.... and if the user ISNT viewing the postbit from showthread.php, it will NOT show the ad.

hope it helps.

induslady
02-02-2008, 01:52 AM
Actually, I would like to add an adsense block on every outgoing private message. How do I do that?