Link to Edit forum/Auth in ACP - 1.0.1
Tarih: 28.10.2006, 15:57
- Kod: Tümünü seç
###########################################
## Mod NAME: Link to Edit forum/Auth in ACP
## Mod VERSION : 1.0.1
## Mod AUTHOR: yakusha < yakushaBB@yahoo.com > (sabri ünal) < http://www.canver.net | http://www.yakusha.net >
## Mod DESC: Forum editten forum izinlerine, forum izinlerinden ilgili foruma link oluşturur.
## Böylece, Hızlı ve kolay bir yönetim için kolaylık sağlar
##
###########################################
## Installation Level: Medium
## Installation Time : 3 minutes
## Edited Files: (5)
## - admin_forums.php, admin_forumauth.php, lang_admin.php
## - auth_forum_body.tpl, forum_edit_body.tpl
##
## Included Files: (0)
###########################################
## Faydalanılan Modlar
##
## MOD Title: Link to Edit User/Auth in ACP
## MOD Author: eviL3 <evil@phpbbmodders.com> (Igor Wiedler) http://phpbbmodders.com
############################################
## Support and Help : http://www.canver.net - http://www.yakusha.net
## copyleft : Copyleft © - canver|net, yakusha|net
## Lisance : GNU Public License v2 http://opensource.org/licenses/gpl-license.php
############################################
## Security Varning:
##
## 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:
## phpBB & Canver & Yakusha! All my Love :)
###########################################
## MOD History:
##
## 1.0.1 - 03-01-2007
## - Yanlış bul değeri düzeltildi
##
## 1.0.0 - 28-10-2006
## - ilk versiyon
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
admin/admin_forums.php
#
#-----[ FIND ]------------------------------------------
#
'S_PRUNE_ENABLED' => $prune_enabled,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_AUTH_LINK' => $lang['Go_edit_forum_auth'],
'S_SWITCH_ACTION' => append_sid("admin_forumauth.$phpEx"),
#
#-----[ OPEN ]------------------------------------------
#
admin/admin_forumauth.php
#
#-----[ FIND ]------------------------------------------
#
'L_AUTH_TITLE' => $lang['Auth_Control_Forum'],
'L_AUTH_EXPLAIN' => $lang['Forum_auth_explain'],
'L_SUBMIT' => $lang['Submit'],
'L_RESET' => $lang['Reset'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_AUTH_LINK' => $lang['Go_edit_forum'],
'S_SWITCH_ACTION' => append_sid("admin_forums.php?mode=editforum&". POST_FORUM_URL ."=$forum_id"),
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE ADD ]------------------------------------------
#
// Link to Edit forum/Auth in ACP
$lang['Go_edit_forum'] = 'Edit this forum';
$lang['Go_edit_forum_auth'] = 'Edit this forum Permissions';
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/auth_forum_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<h2>{L_FORUM}: {FORUM_NAME}</h2>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<form method="post" action="{S_SWITCH_ACTION}">
<p>
<input type="submit" name="edit" value="{L_AUTH_LINK}" class="mainoption" />
</p>
</form>
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/forum_edit_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<h1>{L_USER_TITLE}</h1>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<form method="post" action="{S_SWITCH_ACTION}">
<p>
<input type="submit" name="auth" value="{L_AUTH_LINK}" class="mainoption" />
{S_HIDDEN_FIELDS}
</p>
</form>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM