MyBB Community Forums

Full Version: how to hide code for unregister users?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
just like in topic:

how to hide code for unregister users?

i mean.. i have board, and i wanna to have open all secrions/topics/posts
but

if i write any in [ code ] - the unregister user cant see that?
only after register he can see what is write in [ code ]

anyone know?Smile
Where are you putting this secret [ code ]? In posts or in templates?
in post look here:

smth write here

and i wanna to unregister people see message "Register to view code section"
and after register he see "smth write here"

do u undrestood? i write clear?Smile
You could use the 'iif condition' modification.
http://community.mybboard.net/showthread...9#pid42219

Then you should be able to use
<if condition={$mybb->user['uid']} > 0 <then>
smt here
<else /></if>
no.. this is not this what i need....

in vbulletin is something like i need... so... mybb havent got this plugin? Sad
Then go to vB. Djees. And there are probably 4different versions of a hide tag too.
i like better mybb Big Grin so.. i dont go to vbulletin.. i only tell you what plugin is need to mybbWink
and? no one know how to make that mod?

i need this so much Sad help meSad

or how to modyficate mybb [ code ] to have smth like i want?

or this how to add to Mybb code ? to everyone who is not register, saw: To see this you must register.

and register user can see this..Smile?

LeX- Wrote:You could use the 'iif condition' modification.
http://community.mybboard.net/showthread...9#pid42219

Then you should be able to use
<if condition={$mybb->user['uid']} > 0 <then>
smt here
<else /></if>
If you add the plugin to your forums, and activate it in your Admin CP.
<if condition={$mybb->user['uid']} > 0 <then>

Your content goes here, or code rather.

<else /></if>

It should work to your desire...
but i dont know how to add this? can u explain me that?

how can i to do this?
when i write smth in [code ] tags only register can see this.. ?

can u tell me how i must to do this?
Pages: 1 2