Quote:
Originally Posted by theArchitect
Is there anything that should stop one from giving other user groups the power to give awards. I tried to alter the conditionals but must either being doing something wrong or am missing something. Here is the recoded if statement I am using:
Code:
<if condition="$bbuserinfo[usergroupid]=='5' OR $bbuserinfo[usergroupid]=='6' OR $bbuserinfo[usergroupid]=='7'">
<if condition="$post[award]=='0'">
<a href="award.php?$session[sessionurl]do=award&postid=$post[postid]">Add Award</a>
<else /> <a href="award.php?$session[sessionurl]do=award_remove&postid=$post[postid]">Remove Award</a>
</if>
</if>
|
In the php I stop anyone who isn't a moderator of that forum form giving an award.