I have a problem with hiding code from guests.
I am using this code:
Code:
<if condition="$show['member']">$code<else /><if condition="$show['guest']">{A message telling them to register}</if></if>
This works fine on my coding forums, however, now when a new thread/post is made that contains either code/html/php tags, they aren't restricted from guests.
Is this to do with post caching? Should I disable it (set to 0)?
EDIT: Fixed that issue - now I have another
If a user posts a large block of code, the box grows (obviously), so when the guest message is displayed, the box is still extremely large.
Is there any way to resize the box for guests messages so it's the size of the custom message rather than the whole block of code.