How's possible to show the link to send invitation only on the administrator user CP and not in every user CP? The default to show in the user CP is set to "yes" so I should go user per user and change this value to "No" but is not feasible.
Solutions are
1 - Change the code to insert in USERCP_SHELL to something that check if the user is and admin. Something like that
Quote:
<if condition="$show['member']">
<if condition="$vbulletin->options['invitation_usercp_link']">
<tr>
<td class="$navclass[invitation]" nowrap="nowrap">
<a class="smallfont" href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation]</a>
</td>
</tr>
</if>
</if>
|
but since I'm not a coder I don't know if the syntax is right or not or
2 - Run a SQL query so set "Can this User Send Invitations? (Override)" to "No"
Any suggestion?