Firefox PHP

Looking for a BBcode tag to hide text for not-registered visitors

Posted by wamukota 
Looking for a BBcode tag to hide text for not-registered visitors
March 24, 2011 08:11AM
I run a medical/patient forum and sometimes the info in the forum is not for the guest visitor to view.

I am looking for a BBcode that can be used to hide the text between the BBcode tags from being viewed by a guest visitor, while it should be visible for the logged-in user.

Maybe the BBcode Spoiler can be used as a base for it, but I am not able to hack that code.

Alain

Alain J. Baudrez
[cibliga.be]
Re: Looking for a BBcode tag to hide text for not-registered visitors
March 24, 2011 08:43AM
Keeping in mind that [hidden] or whatever tag could be mistyped or simply forgotten by the author, wouldn't it be better to make the forum inaccessible for the guest visitor at all?


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Looking for a BBcode tag to hide text for not-registered visitors
March 24, 2011 09:34AM
Quote
Maurice Makaay
Keeping in mind that [hidden] or whatever tag could be mistyped or simply forgotten by the author, wouldn't it be better to make the forum inaccessible for the guest visitor at all?

It is a tag that I have been using on other forums and it works rather well. Actually googling on 'bbcode hide' brings up a lot hits too, so it not so uncommon.

Hiding the forum for guests is not an option as 'they' want all forums open for guests...
Sorry, only registered users may post in this forum.

Click here to login