هاك ايقاف التسجيل وتشغيله من لوحة التحكم [مميز]
المشرف: alhitary
??? ????? ??????? ??????? ?? ???? ?????? [????]
??? ????? : ??? ????? ????? ?? ????? ??????? ?? ?????? ?? ???? ??? ????? ?????? ?? ???? ??????? ?? ??????? ??????
?????? ????? : 1.0.0
????? ????? ???????: ???
?????? ?????? ???????: ??? ?????
??? ????? ?????? ?? ???????
?????
t.j
??????? ?????????
?????? ????? : 1.0.0
????? ????? ???????: ???
?????? ?????? ???????: ??? ?????
كود: تحديد الكل
#################################################################
## MOD Title: Disable Registration
## ????? ????? : ????? ??????? ??????? ?? ???? ??????
## ????? ?????: Spinebuster < Spinebuster27@hotmail.com >
## ?????? : t.j <a_alfager@hotmail.com> <www.phpbbarabia.com> <www.al-fager.com>
## ??? ????? : ??? ????? ????? ?? ????? ??????? ?? ??????
## ?????? ????? : 1.0.0
##
## ????? ????? ???????: ???
## ?????? ?????? ???????: ??? ?????
## ????? ??? ??????: includes/usercp_register.php
## admin/admin_board.php
## language/lang_english/lang_main.php
## templates/*/admin/board_config_body.tpl
## ????? ??????? : ?? ????
## ???????: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb-customs.com
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb-customs.com
## ?????? ????? ???? ??? ?????? http://www.phpbb-customs.com
## ????? ??? ??????? ?????
##
##
##
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
------------------------[ ??????? ?????? ]------------------------
???? ?????? ?????? ?????? ?????? ????? ??
????? ????? ???? ????? ??
www.al-fager.com/bb
www.phpbbarabia.com
a_alfager@hotmail.com
?? ???? ??? ?????? ??? ????? ??? ?????? ?? ??????? ?? ?????
--------------------[ t.j ?? ??????? ?????? ]--------------------
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
##############################################################
## Author Notes: Please run the SQL command that I have provided in this file prior to installing this mod.
##
##############################################################
## MOD History:
##
## 2006-1-7 - Version 1.0.0
## - Initial Release
##
##############################################################
## ??? ???? ??? ??? ???????? ?? ??????? ??? ???????
##############################################################
##############################################################
## ??? ???? ????? ??????? ?? --> ???? ?????? --> ????? ???? --> ?????
##
## ????? ????? ???? ???
## ctrl+shift
## ?? ????? ?????? ?? ???? ????????
##############################################################
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
------------------------[ ??????? ?????? ]------------------------
???? ?????? ?????? ?????? ?????? ????? ??
????? ????? ???? ????? ??
www.al-fager.com/bb
www.phpbbarabia.com
a_alfager@hotmail.com
?? ???? ??? ?????? ??? ????? ??? ?????? ?? ??????? ?? ?????
--------------------[ t.j ?? ??????? ?????? ]--------------------
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
#
#-----[ ??? ??? ????? ??? ????? ???????? ]---------------------------------------------
#
INSERT INTO phpbb_config (config_name, config_value) VALUES ('reg_disable','0');
#
#-----[ ???? ]---------------------------------------------
#
includes/usercp_register.php
#
#-----[ ???? ?? ]---------------------------------------------
#
if ( $mode == 'register' && !isset($HTTP_POST_VARS['agreed']) && !isset($HTTP_GET_VARS['agreed']) )
{
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
show_coppa();
include($phpbb_root_path . 'includes/page_tail.'.$phpEx);
}
#
#-----[ ?????,??? ]---------------------------------------------
#
if ( $mode == 'register' && $board_config['reg_disable'] == '1' )
{
message_die(GENERAL_MESSAGE, $lang['Reg_disable_message']);
}
#
#-----[ ???? ]---------------------------------------------
#
#
admin/admin_board.php
#
#-----[ ???? ?? ]---------------------------------------------
#
$disable_board_yes = ( $new['board_disable'] ) ? "checked=\"checked\"" : "";
$disable_board_no = ( !$new['board_disable'] ) ? "checked=\"checked\"" : "";
#
#-----[ ?????,??? ]---------------------------------------------
#
//Disable Registration
$disable_reg_yes = ( $new['reg_disable'] ) ? "checked=\"checked\"" : "";
$disable_reg_no = ( !$new['reg_disable'] ) ? "checked=\"checked\"" : "";
#
#-----[ ???? ]---------------------------------------------
#
"L_SUBMIT" => $lang['Submit'],
"L_RESET" => $lang['Reset'],
#
#-----[ ????,??? ]---------------------------------------------
#
//Disable Registration
"L_DISABLE_REG" => $lang['Reg_disable'],
"L_DISABLE_REG_EXPLAIN" => $lang['Reg_disable_explain'],
"S_DISABLE_REG_YES" => $disable_reg_yes,
"S_DISABLE_REG_NO" => $disable_reg_no,
#
#-----[ ???? ]---------------------------------------------
#
#
language/lang_arabic/lang_main.php
#
#-----[ ???? ]---------------------------------------------
#
//
// That's all, Folks!
#
#-----[ ?????, ??? ]---------------------------------------------
#
//Disable Registration
$lang['Reg_disable'] = '????? ???????:';
$lang['Reg_disable_explain'] = '?? ??? ????? ????? ??????? ??? ??????';
$lang['Reg_disable_message'] = '??? ????? ??? ?????? ????? ?? ??? ?????? ??????? ?????? ?? ??? ???????';
#
#-----[ ???? ]---------------------------------------------
# ?? ??????? ?? * ???? ???????? ????
#
templates/*/admin/board_config_body.tpl
#
#-----[ ???? ]---------------------------------------------
#
<tr>
<td class="row1">{L_DISABLE_BOARD}<br /><span class="gensmall">{L_DISABLE_BOARD_EXPLAIN}</span></td>
<td class="row2"><input type="radio" name="board_disable" value="1" {S_DISABLE_BOARD_YES} /> {L_YES} <input type="radio" name="board_disable" value="0" {S_DISABLE_BOARD_NO} /> {L_NO}</td>
</tr>
#
#-----[ ?????, ??? ]---------------------------------------------
#
<tr>
<td class="row1">{L_DISABLE_REG}<br /><span class="gensmall">{L_DISABLE_REG_EXPLAIN}</span></td>
<td class="row2"><input type="radio" name="reg_disable" value="1" {S_DISABLE_REG_YES} /> {L_YES} <input type="radio" name="reg_disable" value="0" {S_DISABLE_REG_NO} /> {L_NO}</td>
</tr>
#
#-----[ ???? ????? ?? ??????? ]------------------------------------------
#
# ???????
?????
t.j
??????? ?????????
آخر تعديل بواسطة t.j في الخميس يونيو 01, 2006 10:38 pm، تم التعديل مرة واحدة.
???? ???? ??? ???? ?? ???? ?? ?? ??? ?????? , ????? ??? ???? ????? ???? ???? ???? ??? ???? ????? ???? ???? ?????? ??? ?????? ????? ????? ???? ?? ??? ?? , ???? ??? ???? ??? ???? ??? ??? ?????? ???? ???? ???? ?? ???????t.j كتب:??? ?????? ??? ????? ????? ???? ????? ???? ??? ????? ??????
?? ??????
Skay
البحث في مواضيع المنتدى خير وسيلة للمحافظة علي وقتكـ
ضع رابط منتداكــ في توقيعك أو ملفكـ الشخصي لتحصل علي الدعم الفني


??? ???? ????? ????? ??? ??????

عندك مشكلة في حاسوبك تبي لها حل تبي برنامج ناقصك لحاسوبك
تفضل من هنا ستجد كل ما تريده انشاء الله
http://www.shabab4love.com/com
Computer Arabia
-
- مشرف سابق
- مشاركات: 1997
- اشترك في: الخميس فبراير 20, 2003 6:33 pm
- مكان: -- K.S.A --
??? ???? ?? ??? ????? ?? ???? ???? ??? ?????????? ..
??? ??????
????? ??? ???????
?????? ??
??? ??????

????? ??? ???????

?????? ??
# استمارة الدعم الفني
ܔܓܛܜ قبل أن تصبح مسؤولاً في منتدى .. أرجو الدخول ܔܓܛܜ
آللهــم اجعـــل القــرآن ربيــع قلوبنــا .. ونــور صدورنــا .. وجــلاء أحزاننــا .. وذهاب همومنــا

رجاء لا تبحث عن بريدي الخاص فلن أدعم بالماسنجر أو الرسائل الخاصة
ܔܓܛܜ قبل أن تصبح مسؤولاً في منتدى .. أرجو الدخول ܔܓܛܜ
آللهــم اجعـــل القــرآن ربيــع قلوبنــا .. ونــور صدورنــا .. وجــلاء أحزاننــا .. وذهاب همومنــا

رجاء لا تبحث عن بريدي الخاص فلن أدعم بالماسنجر أو الرسائل الخاصة

- soulaqachurch
- عضو جديد
- مشاركات: 7
- اشترك في: الأحد مايو 20, 2007 10:55 am
- اتصال:
??? ????? ??????? ??????? ?? ???? ?????? [????]
???? ?????? t.j
?????? ?????
??? ??????? ??? ???? ?? ??????? ?? ????? ????? ??????? ?? ??????? ???? ??????? ???? ???? ?? ???
??? ??? ???????? ???? ?? ????? ?????? ???????:
#-----[ ??? ??? ????? ??? ????? ???????? ]---------------------------------------------
#
INSERT INTO phpbb_config (config_name, config_value) VALUES ('reg_disable','0');
??? ???? ??????? ??????? ??????
???
?? ????? ?? ???? ?? ??? ??????
???? ?? ???? ??????? ?????? ?? ?? ??? cPanel
?? ????? ??????? ?????? ?? ????? ???????
?????? ?????
??? ??????? ??? ???? ?? ??????? ?? ????? ????? ??????? ?? ??????? ???? ??????? ???? ???? ?? ???
??? ??? ???????? ???? ?? ????? ?????? ???????:
#-----[ ??? ??? ????? ??? ????? ???????? ]---------------------------------------------
#
INSERT INTO phpbb_config (config_name, config_value) VALUES ('reg_disable','0');
??? ???? ??????? ??????? ??????
???
?? ????? ?? ???? ?? ??? ??????
???? ?? ???? ??????? ?????? ?? ?? ??? cPanel
?? ????? ??????? ?????? ?? ????? ???????
- MH
- عضو فعال
- مشاركات: 567
- اشترك في: الاثنين أغسطس 07, 2006 5:27 pm
- مكان: الدار البيضاء - المغرب
- اتصال:
??? ????? ??????? ??????? ?? ???? ?????? [????]
?? ???? phpmyadmin
SQL
????
?? RUN
????????
SQL
????
كود: تحديد الكل
INSERT INTO phpbb_config (config_name, config_value) VALUES ('reg_disable','0');
????????

الموجودون الآن
المتصفحون للمنتدى الآن: لا يوجد أعضاء مسجلين متصلين و 6 زوار