vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Default Signature Adsense (https://vborg.vbsupport.ru/showthread.php?t=132382)

Tigur 11-24-2006 06:36 PM

Default Signature Adsense
 
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:

Code:

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


Smoothie 11-25-2006 09:06 PM

Quote:

Originally Posted by Tigur (Post 1124403)
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

Quote:

Originally Posted by Smoothie (Post 1125083)
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

Code:

<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/showthrea...hreadid=136153 <------ with this hack you can put HTML Default Signature


All times are GMT. The time now is 11:48 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01066 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete