PDA

View Full Version : online/offline memberinfo user profile


Taragon
01-17-2008, 05:26 PM
When viewing a board/member profile whilst being offline, some features ie. friends/contact functions are hidden.

Would it be possible to make these settings viewable for visitors also perhaps, and show a 'you must be logged in to use these settings' window instead? (a template edit perhaps?)

alexgeek
01-17-2008, 06:41 PM
You could just use a template if. I think this it:

<if condition="!$vbuserinfo">
display you must be logged in
<else />
normal code here
</if>

that's most likely wrong though.

Shawn Yue
03-12-2008, 02:24 AM
Can View This Link

https://vborg.vbsupport.ru/showthread.php?t=32133

Marco van Herwaarden
03-12-2008, 07:07 AM
Can View This Link

https://vborg.vbsupport.ru/showthread.php?t=32133
Shawn,

We do appreciate that you are trying to help others, but please verify your advise before posting:
- You are linking to a vBulletin 2.x modifcation, doubtfull that the member asking this question is running vBulletin 2.
- The modification you are linking to is archived, thus not available at this time.
- The threadstarter asked to show a message when a guest is viewing a profile that he can not see contact info on that member until logged in. This has nothing to do with the modification you are linking to.

Taragon
03-12-2008, 08:03 AM
Thanks everyone; I have to admit
<if condition="!$vbuserinfo">
display you must be logged in
<else />
normal code here
</if>


didn't work for me.
<if condition="$show['guest']">
normal code
</if>


did do the trick as needed.