พัฒนาโดย : Galandas
Version : 1.2.3
ดาวน์โหลดได้ที่ : https://www.mindphp.com/download/files/9 ... 3-zip.html
ไฟล์ที่ใช้ในการติดตั้ง
>> includes/functions.php,
>> includes/acp/acp_board.php,
>> styles/prosilver/template/overall_header.html,
>> styles/prosilver/theme/common.css
วิธีติดตั้ง
เปิดไฟล์ includes/functions.php
ค้นหา
โค้ด: เลือกทั้งหมด
// The following assigns all _common_ variables that may be used at any point in a template.
โค้ด: เลือกทั้งหมด
// Start Invitation Enrollment
if (!empty($config['inv_enabled']))
{
$user->add_lang('mods/info_acp_iel');
$template->assign_vars(array(
'INV_ENABLED' => $config['inv_enabled'],
));
}
// End Invitation Enrollment
ค้นหา
โค้ด: เลือกทั้งหมด
'legend4' => 'ACP_SUBMIT_CHANGES',
โค้ด: เลือกทั้งหมด
// Begin Invitation Enrollment
'legend5' => 'INV_SETTINGS',
'inv_enabled' => array('lang' => 'INV_ENABLED', 'validate' => 'bool', 'type' => 'radio:yes_no', 'explain' => false),
ค้นหา
โค้ด: เลือกทั้งหมด
<strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- ENDIF -->
โค้ด: เลือกทั้งหมด
<!-- IF INV_ENABLED -->
<!-- IF not S_IS_BOT -->
<!-- IF not S_USER_LOGGED_IN and not (S_SHOW_COPPA or S_REGISTRATION) -->
<div class="reybar">
<div class="inner"><span class="corners-top"><span></span></span>
<p>{CURRENT_TIME}</p><div style="text-align:center;"><img src="{T_THEME_PATH}/images/ciaomamma.gif" alt="" /><br /><span style="font-weight: bold; color: #000000; font-size: 150%;">{L_INVITATION} {SITENAME} {L_GUEST}! <img src="{T_THEME_PATH}/images/register.png" width="50" height="50" alt="" /> <a href="{U_REGISTER}" class="button2">{L_REGISTER}</a> {L_JOIN} <a href="{U_LOGIN_LOGOUT}" class="button2">{L_LOGIN}</a></span> <img src="{T_THEME_PATH}/images/login.png" width="60" height="60" alt="" /><br /><br /><strong>{L_INFORMATION}:</strong> {SITE_DESCRIPTION}</div>
<span class="corners-bottom"><span></span></span></div>
</div><!-- ENDIF --><!-- ENDIF -->
<!-- ENDIF -->
ค้นหา
โค้ด: เลือกทั้งหมด
.clear {
display: block;
clear: both;
font-size: 1px;
line-height: 1px;
background: transparent;
}
โค้ด: เลือกทั้งหมด
/* Invitation Enrollment & Login by phpbb3world.com
---------------------------------------- */
.reybar {
margin-top: 5px;
margin-bottom: 5px;
background-color: #D9EAD2;
color: #BC2A4D;
padding:0 10px;
}
.reybar span.corners-top, .reybar span.corners-bottom {
margin: 0 -10px;
}
และทำการรันในหน้า invitation_install.php เพื่อทำการ install เมื่อทำการติดตั้งเสร็จเรียบร้อย สามารถเข้ามาทำการตั้งค่าได้ที่ ตั้งค่าการลงทะเบียนผู้ใช้ ดังรูป
หน้าต่างในส่วนของ Admin สามารถทำการตั้งค่าการลงทะเบียนผู้ใช้ได้