Quote:
Originally Posted by CamJM
Hi Andrew, just one small question, if I set a condition so that only people who aren't logged in see it, it doesn't appear to work. here's what I edited, I have the condition working in other areas of the site..
Code:
<tr colspan="2">
<td align="center">
<if condition="$show['guest']">
Hello Hello Hello
</if>
</td>
</tr>
|
LDM doesn't (currently) set the $show array. You need another test, such as
Code:
<if condition="$vbulletin->userinfo['usergroupid'] > 1">
for logged in, and
Code:
<if condition="$vbulletin->userinfo['usergroupid'] <= 1">
for not