Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 


       myfreeforum.org Forum Index -> Web page/template Editing
Myles

Hide from regular members, visible to admins and mods only

URL: http://footballitalia.myfastforum.org


Template: myfs_footballitalia1/overall_footer.tpl


Key phrases: hide link, hide text, admin


Question: Can i hide the merge.php link (in the footer of my forum) from regular members so that only admins and mods can see the link when logged in?
(In the same way the Go to Administration Panel link is hidden to every member except the admins.)

Code in overall_footer.tpl
Code:
<a href="http://footballitalia.myfastforum.org/merge.php" target="_blank">Merge</a>


Thanks.
myff admin

You can use:

<!-- IF S_USER_LEVEL > 0 -->

<!-- ENDIF -->
Myles

Perfect, thanks.
Myles

myff admin wrote:
You can use:

<!-- IF S_USER_LEVEL > 0 -->

<!-- ENDIF -->


Is there a user level to show content to bots only?

Reason: So i can surround tag words with the IF statement and only the search engines will see the content.
Myles

Actually the opposite would be handy too, where i could hide content from bots so the crawlers pick up only on the content i want them to see, so the bots only see the content of the posted messages and not much else. Probably help boost the rank, maybe. It's all trial and error anyway.

       myfreeforum.org Forum Index -> Web page/template Editing
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum