![]() |
Text only viewable by logged in users
I have a forum post that I would like to make for a tournament but in this post I have to give out a password. Now I don't want just anybody browsing the forums to see the password, I want it to be only visible if you are logged into the forums. So if I was NOT logged in and went to this thread it would look something like this:
Blah blah blah blah blah blah password: *you must be logged in* Blah blah blah blah blah blah but if I WAS logged in, it would look like this: Blah blah blah blah blah blah password: super_awesome_password Blah blah blah blah blah blah Is there a mod or something that can give me this or should I start diving into the class_bbcode.php and hope for the best? I have tried making a custom bbcode tag but it won't parse PHP |
Just editing your template: use this code..
Code:
<if condition="$show['member']"> ;) |
Yes, but he wants it in a specific thread.
|
Quote:
--------------- Added at 12:32 --------------- I made this quick hack to use a [usersonly] bb code tag for this. It just goes like this: PHP Code:
|
All times are GMT. The time now is 12:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|