1. 论坛系统升级为Xenforo,欢迎大家测试!
    Dismiss Notice

邀请注册系统

Discussion in '源码讨论' started by giggs, Mar 24, 2007.

  1. giggs

    giggs New Member

    Joined:
    Mar 3, 2007
    Messages:
    25
    Likes Received:
    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>