• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Hiding Hook From Unregistered

wang

Well-known member
#4
wang, that didn't seem to work. I replaced "code" with the code in my hook and it still shows when not signed in.
When you say hook, what exactly do you mean? The code I posted, will hide content from guests and it will show only to registered users.

Can you please post some more details, like your whole code and in what template are you addding it for eg?
 

wang

Well-known member
#6
It seems strange that it is not working for you. I tested it out at my developer forum, for just in case, and it worked fine for me.