代碼: 選擇全部
#################################################################
## MOD Title: Registration Stopper
## MOD Author: Fountain of Apples < webmacster87@gmail.com > (Douglas Bell) http://www.webmacster87.info
## MOD Description: Allows you to prevent additional registrations to your board if set in the ACP.
## MOD Version: 1.0.1
##
## Installation Level: Easy
## Installation Time: 5 Minutes
## Files To Edit: profile.php
## admin/admin_board.php
## includes/page_header.php
## language/lang_english/lang_admin.php
## language/lang_english/lang_main.php
## templates/subSilver/overall_header.tpl
## templates/subSilver/admin/board_config_body.tpl
## Included Files: admin/avc_mods/avc_stopreg.php
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## 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.com/mods/
##############################################################
## Author Notes:
##
## This MOD adds a configuration setting to your ACP which will let
## you disallow registrations to your board. If registrations are
## disallowed, the Register link in the header will be hidden, and
## if a user attempts to register, they will receive an error. This
## is totally transparent to registered users; they will still be
## able to login and edit their profiles and do everything else as
## normal. This MOD is great to have installed for a demo board.
##
## This MOD is compatible with my ACP User Registration MOD.
##
## UPGRADES:
## Upgrades from previous versions of Registration Stopper can be
## found within the upgrades/directory contained in this zip. See
## upgrades/versions.txt within this zip to determine which script
## to install.
##
## Support for this MOD is available at its phpBB.com topic at
## < http://www.phpbb.com/phpBB/viewtopic.php?t=313879 >. You
## can also download this MOD from my website at
## < http://mods.webmacster87.info >.
##############################################################
## MOD History:
##
## 2006-01-01 - Version 1.0.1
## - Repackage and re-release of the MOD to try to fix errors that users have been receiving with opening the install script and installing with EasyMOD. No changes to code.
## - Updated Author's Notes and contact info.
##
## 2005-08-06 - Version 1.0.0
## - No new features; just repackaged as 1.0.0.
##
## 2005-07-25 - Version 0.2.0 (Release Candidate)
## - Fixed an error where no message was displaying when the register page was accessed & registrations were disabled.
## - Configuration option language has been re-written to be easier to understand.
## - Fixed an error in the install file where the lang tags were being added to the wrong files.
## - MOD install script updated to the new MOD Template changes effective on July 23rd, 2005.
##
## 2005-07-06 - Version 0.1.0 (beta)
## - Initial Release.
##
##############################################################
代碼: 選擇全部
// MOD: Registration Stopper
// Registrations Enable Setting for Board Configuration Panel
$lang['Registrations_enable'] = '討論區註冊';
$lang['Registrations_enable_explain'] = '關閉註冊時將不允許會員註冊,這個動作不會影響已經註冊的會員';
// END MOD: Registration Stopper
代碼: 選擇全部
// MOD: Registration Stopper
// Lang tags for "Registrations Disabled" Message
$lang['Registrations_disabled'] = '抱歉,討論區目前暫停註冊';
$lang['Click_return_forum_index'] = '點選 %s這裡%s 返回討論區'; // a href, /a tags
// END MOD: Registration Stopper
允許管理員可以關閉討論區註冊功能\r
版本: 1.0.1 (Updated 01/02/06)
下載: registrationstopper_101a.zip
大小: 8279 Bytes