Seite 1 von 1
Admin-Sonderrechte (private Msg, EMail)
Verfasst: 07.10.2004 13:32
von klunzen
hallo.
während alle normalen user speicherplatz für z.b. 10 emails und private nachrichten haben soll der admin unbrenzt viele nachrichten und priv. nachrichten speichern können. (egal ob eingang oder gesendete oder ausgang)
wie und wo muss ich was ändern?
thx
Verfasst: 07.10.2004 13:55
von musashi
Code: Alles auswählen
##############################################################
## MOD Title: Umlimited PM Space for Admins and Moderators
## MOD Author: itst < n/a > (Sascha Carlin) http://www.phpbb.de
## MOD Description: Configure the space for PMs to give Admins and Moderators
## the chance to write, send and save an umlimited count of
## private messages
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 1.2 Minutes
## Files To Edit: 1
## privmsgs.php
##
## Included Files: n/a
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## Mod description written by:
## oxpus < webmaster@oxpus.de > (Karsten Ude) http://www.oxpus.de
##
##############################################################
## MOD History:
##
## 2004-01-06 - Version 1.0.0
## - First release
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
privmsgs.php
#
#-----[ FIND ]------------------------------------------
#
if ( $sent_info['sent_items'] >= $board_config['max_sentbox_privmsgs'] )
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( $sent_info['sent_items'] >= $board_config['max_sentbox_privmsgs'] && $userdata['user_level'] == USER )
#
#-----[ FIND ]------------------------------------------
#
if ( $saved_info['savebox_items'] >= $board_config['max_savebox_privmsgs'] )
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( $saved_info['savebox_items'] >= $board_config['max_savebox_privmsgs'] && $userdata['user_level'] == USER )
#
#-----[ FIND ]------------------------------------------
#
if ( $inbox_info['inbox_items'] >= $board_config['max_inbox_privmsgs'] )
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( $inbox_info['inbox_items'] >= $board_config['max_inbox_privmsgs'] && $userdata['user_level'] == USER )
#
#-----[ FIND ]------------------------------------------
#
//
// Output data for inbox status
//
if ( $folder != 'outbox' )
#
#-----[ REPLACE WITH ]------------------------------------------
#
//
// Output data for inbox status
//
if ( $folder != 'outbox' && $userdata['user_level'] == USER )
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Verfasst: 07.10.2004 17:31
von klunzen
super.. danke dir