KillerSneak |
|
---|---|
# tensh : What "if statement" would you build to check whether user is logged in? Preferably hearer or global tag. I'm thinking of the Tag to be used...Can this be used for whole DIV blocks? http://www.donotargue.com/ You can see some Advertisement blocks on my site. I would like them not to show for my Donators but the code above doesn't seem to work to hide: <div class="lboxHD">Advertisement :</div> <div class="lboxBody"><center> <script type="text/javascript"><!-- google_ad_client = "pub-*******************"; /* dna50blue_index_468x60, gemaakt **-**-** */ google_ad_slot = "*********"; google_ad_width = ***; google_ad_height = **; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </center></div> Putting the above between <!-- IF {PHP.usr.profile.user_maingrp} > "17" --> <!-- ENDIF --> Doesn't work?: EDIT: Running COTONTI 0.0.5 as i don't like the 547328957483257 new TPL tags in 0.0.6 |