Quote:
Originally Posted by mvigod
Anyone aware of an if condition that would allow only a usergroup to lock the first post instead of it globably applying to the entire forum?
|
The answered by mvigod below.
Quote:
Originally Posted by mvigod
For other usergroups, just add their usergroup id to the if condition:
= Code:
<if condition="is_member_of($bbuserinfo, 6,5,7)">
|
Spermy,
That works for the postbit selection, however it is still globally locking the first post. What would be even better is if this had a selection in the usergroup permissions that allowed an admin to set "can lock first post" yes/no. And then have it as a radio button within the postbit.
Failing that I guess a new user field could be generated and then added to the template:
Code:
if ($forum['chiefpost'] AND $vbulletin->userinfo[fieldx]=='Yes')
However change that to a specific bbgroup.