Gossamer Forum
Quote Reply
hide from some users
Hi, I'm trying to hide content guests and from one registered users with
Code:
<%if Username and if Username ne 'Name of User'%>
Content
<%endif%>


But the code above does not work?

Matthias
gpaed.de

Last edited by:

Matthias70: Mar 6, 2010, 2:04 PM
Quote Reply
Re: [Matthias70] hide from some users In reply to
<%if Username and Username ne 'Name of User'%>

should work :) (you don't need the 2nd "if")

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] hide from some users In reply to
You are right, the second if was wrong...
Thanks

Matthias
gpaed.de