Quote:
Originally Posted by Bellardia
It should work, what template are you putting this in?
|
Quote:
Originally Posted by Lynne
Depending on where you are calling this template from, that variable may not be available.
|
thanks Mr
Bellardia, Mr
Lynne,
there is template i've add it and called it in '
Fourmhome'
and i want to show
some contains in this template
in my template 'mytemp' i write this code : [
just example]
PHP Code:
<if condition="$show['member']">
<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong>
<else />
please login ....
</if>
the same thing in 'navbar' template
Quote:
Originally Posted by Dismounted
You may want to try this instead (as above, it may not be available in some templates):
Code:
<if condition="$bbuserinfo['userid'] != 0">
|
thanks Mr
Dismounted,
i try to use this but it dosn't work for me,
and what if i want to display contains to multi-userid ? [
if this code work by another way]
alot of thanks to all of you