1. 论坛系统升级为Xenforo,欢迎大家测试!
    排除公告

邀请注册系统

本帖由 giggs2007-03-24 发布。版面名称:源码讨论

  1. giggs

    giggs New Member

    注册:
    2007-03-03
    帖子:
    25
    赞:
    0
    ->Invitation System > Allow the option of registration by invite only with usergroup permissions.
    ->Import product_invitation.xml via Product Manager
    ->Upload bitfield_invitation.xml into your forumfolder/includes/xml folder
    ->set usergroup permissions : Usergroups Manager > Usergroups > Invitation System Permissions > Can use this Usergroup the Invitation System? Yes/No > Yes and Save
    ->Do template edits

    In USERCP_SHELL Template Find this Code



    HTML:
    <if condition="$show['profilepiclink']">
                <tr>
                  <td class="$navclass[profilepic]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editprofilepic">$vbphrase[edit_profile_picture]</a></td>
                </tr>
              </if>

    Add Below

    HTML:
    <tr>
    	<td class="alt2" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=invitation">$vbphrase[invitation]</a></td>
    </tr>