The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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> 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. |
#2
|
||||
|
||||
![]()
All the css for the code block is in the template. If you don't want to have the same css for your message as with the block itself, then you'll have to put your if condition outside of that and create your own css.
|
#3
|
|||
|
|||
![]()
Thanks Lynne
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|