How to prevent certain usergroups from editing/deleting shouts:
Because some users were doing nothing else than deleting / editing shouts and some more who were just mod (but no team-member though) of their userforum were editing / deleting shouts of others i tried to figure out how to restrict access to edit / delete function for certain usergroups only. So if someone is interested in it, please feel free to use the following code.
go to your templates -> look for forumhome_vbshout_archive_shout -> find the following line:
Code:
<if condition="$bbuserinfo[userid] == $Shout[s_by] OR can_moderate()">
replace it with:
Code:
<if condition="in_array($bbuserinfo[usergroupid], array(x, x, x))">
the x's should be replaced by the usergroups who should have access to edit / delete function.
i hope my explanation is understandable (i'm german)
cu
hassi