The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello everyone.
I searched on Google and Vb.org but i can`t find anything about check if user has an album. Can you help to do that ? I found that on memberinfo_block_albums template: Code:
<vb:if condition="$block_data['albumbits']"> <a class="textcontrol" href="album.php?{vb:raw session.sessionurl}u={vb:raw userinfo.userid}">{vb:rawphrase more}</a> <vb:else /> <a class="textcontrol" href="album.php?{vb:raw session.sessionurl}do=addalbum">{vb:rawphrase add_album}</a> </vb:if> I want to display this to everyone " This user has no album" I can`t do it. I need like this code: Code:
<vb:if condition="$user_has_album"> I can show here the albums.(I know the code its OK.) <vb:else /> This user has no albums. </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|