Ich bräuchte ein Strafpunkt und Verwarnungssystem. Es sollte ungefähr so laufen:
Ein Moderator kann einem User Strafpunkte geben können. Diese werden dann in eine Liste geschrieben. Bei einer bestimmten Anzahl von Strafpunkten wird der User gesperrt. Bei jedem Strafpunkt bekommt der User per PM gesagt das er einen Strafpunkt bekommen hat. Natürlich müsste man auch diese Punkte wieder abziehen können.
Das Verwarnugssystem läuft ebenfalls so. Nur wird alles in eine Verwarnliste geschrieben
Strafpunkte & Verwarnungssystem
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
-
Lohgock-Trainer
- Mitglied
- Beiträge: 341
- Registriert: 08.01.2006 03:04
- Wohnort: Attendorn
So jetzt will ich das installieren aber ich weiß nicht was hier von mir verlangt wird
http://mods.db9.dk/viewtopic.php?t=8&si ... cbae6b74df
- <?php
#########################################################
## SQL commands to phpBB2
## Author: Niels Chr. Rød
## Nickname: Niels Chr. Denmark
## Web: http://mods.db9.dk
## Email: ncr@db9.dk
##
## Ver 1.0.9
##
## phpBB2 database update script for mods
## this file is intended to use with phpBB2, when installing mods
## after so you may delete this file, but only admin can use so it really doesen't matter
## The script will look what prefix you are using, and use the existing DB defined by congig.php
## The execution of this script's included SQL is harmless, so you can run it as meny times you like
## note, though that the users last visit, will be set back to his/her last login,
## but that is a minor cosmetic isue, that will correct it self next time the use logs in
##
## the following example are from my mods, and you can add some self, for other mods if you like
## you will after execution get a list over those commands that are run with succes and those with warnings !
## delete the sample lines if you are using it only for other mods
##
#########################################################
define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
include($phpbb_root_path . 'includes/functions_selects.'.$phpEx);
###################################################################################################
##
## put the SQL commands below here, the SQL commands listed below are only exampels, substitude them with the one you need ##
##
###################################################################################################
$sql=array(
'INSERT INTO '.AUTHS_DEF_TABLE.' ( `auth_type` , `auth_name` , `auth_order` ) VALUES ("f", "auth_bluecard", "150")',
'INSERT INTO '.AUTHS_DEF_TABLE.' ( `auth_type` , `auth_name` , `auth_order` ) VALUES ("f", "auth_greencard", "160")',
'INSERT INTO '.AUTHS_DEF_TABLE.' ( `auth_type` , `auth_name` , `auth_order` ) VALUES ("f", "auth_yellowcard", "170")',
'INSERT INTO '.AUTHS_DEF_TABLE.' ( `auth_type` , `auth_name` , `auth_order` ) VALUES ("f", "auth_redcard", "180")',
'INSERT INTO '.CONFIG_TABLE.' (config_name, config_value) VALUES ("bluecard_limit", "3")',
'INSERT INTO '.CONFIG_TABLE.' (config_name, config_value) VALUES ("bluecard_limit_2", "1")',
'INSERT INTO '.CONFIG_TABLE.' (config_name, config_value) VALUES ("max_user_bancard", "10")',
'INSERT INTO '.CONFIG_TABLE.' (config_name, config_value) VALUES ("report_forum", "0")',
'ALTER TABLE '.USERS_TABLE.' ADD user_warnings SMALLINT (5) DEFAULT "0"',
'ALTER TABLE '.POSTS_TABLE.' ADD post_bluecard TINYINT (1)'
);
$mods = array (
'Yellow Card Mod','Yellow Card Mod','Yellow Card Mod','Yellow Card Mod',
'Yellow Card Mod','Yellow Card Mod','Yellow Card Mod','Yellow Card Mod',
'Yellow Card Mod','Yellow Card Mod'
);
http://mods.db9.dk/viewtopic.php?t=8&si ... cbae6b74df
-
Lohgock-Trainer
- Mitglied
- Beiträge: 341
- Registriert: 08.01.2006 03:04
- Wohnort: Attendorn