PDA

View Full Version : Default Signature Adsense


Tigur
11-24-2006, 06:36 PM
I was wondering if anybody has a mod out already or if not if i could request this mod to be done - where if a user does not select a user name - automatically their signature is your adsense banner - they can remove this by adding their own signature - but when they go into the signature box they do not see the adsense code but rather just a blank box they can add their signature in.

RedTyger
11-24-2006, 08:34 PM
Try this. I haven't tested it, but it should work.

AdminCP > Styles & Templates > Search Templates > Open your postbit template

Find:
$post[signature]

Replace with:
<if condition="!$post[signature]">
YOUR ADSENSE CODE
<else />
$post[signature]
</if>

Attitude
11-25-2006, 04:07 AM
i wonder if it wud work ?? didnt work for me .......

RedTyger
11-25-2006, 09:07 AM
What about:


<if condition="$post[signature] != ''">
$post[signature]
<else />
YOUR ADSENSE CODE
</if>

Smoothie
11-25-2006, 09:06 PM
I was wondering if anybody has a mod out already or if not if i could request this mod to be done - where if a user does not select a user name - automatically their signature is your adsense banner - they can remove this by adding their own signature - but when they go into the signature box they do not see the adsense code but rather just a blank box they can add their signature in.Google's TOS limit 3 ads per page, so this would be in violation of the TOS.:classic:

Tigur
11-27-2006, 06:41 PM
Smoothie: ahh that TOS oh well I forgot to check the TOS to make sure it would be legal. Oh well hmm must find another way now.

Ntfu2
11-28-2006, 02:25 AM
Google's TOS limit 3 ads per page, so this would be in violation of the TOS.:classic:

Maybe he only has it to show 3 posts per page :D


If redtygers replacement didnt work, maybe this one will


<if condition!="$post[signature]">
YOUR ADSENSE CODE
<else />
$post[signature]
</if>

BigJimTheLug
11-28-2006, 03:08 AM
ok, what size adsense code is displayed for this?

I know its not the leaderboard....

can you tell me which one, as I would also like to implement this.

Thank you!:)

Mr_Snob
01-11-2007, 01:15 AM
Advanced Default Signature Hack ----> https://vborg.vbsupport.ru/showthread.php?threadid=136153 <------ with this hack you can put HTML Default Signature