Strafpunkte & Verwarnungssystem

Du suchst einen bestimmten Mod, weißt aber nicht genau wo bzw. ob er überhaupt existiert? Wenn dir dieser Artikel nicht weiterhilft, kannst du hier den von dir gewünschten/gesuchten Mod beschreiben ...
Falls ein Mod-Autor eine der Anfragen hier aufnimmt um einen neuen Mod zu entwicklen, geht's in phpBB 2.0: Mods in Entwicklung weiter.
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.
Antworten
Lohgock-Trainer
Mitglied
Beiträge: 341
Registriert: 08.01.2006 03:04
Wohnort: Attendorn

Strafpunkte & Verwarnungssystem

Beitrag von Lohgock-Trainer »

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
Kroate
Mitglied
Beiträge: 183
Registriert: 12.03.2006 21:30
Kontaktdaten:

Beitrag von Kroate »

Die ganzen Links sind TOD kann uns einer vielleicht einenfunktionierenden Link geben..und eine Deutsche Version vielleicht
Eoleon

Beitrag von Eoleon »

http://mods.db9.dk

der linkt funzt.
Kroate
Mitglied
Beiträge: 183
Registriert: 12.03.2006 21:30
Kontaktdaten:

Beitrag von Kroate »

So jetzt will ich das installieren aber ich weiß nicht was hier von mir verlangt wird
  • <?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'
    );
Hier die yellow card version 1.4.9
http://mods.db9.dk/viewtopic.php?t=8&si ... cbae6b74df
Lohgock-Trainer
Mitglied
Beiträge: 341
Registriert: 08.01.2006 03:04
Wohnort: Attendorn

Beitrag von Lohgock-Trainer »

Du musst MySQL Tabellen ändern, hinzufügen!
BB-BF-BM
Mitglied
Beiträge: 2179
Registriert: 28.10.2005 16:38
Wohnort: Essen

Beitrag von BB-BF-BM »

siehe
KB:phpmyadmin
KB:modsfaq
und Link:kb
Kroate
Mitglied
Beiträge: 183
Registriert: 12.03.2006 21:30
Kontaktdaten:

Beitrag von Kroate »

Jo Danke^^ :D
Antworten

Zurück zu „phpBB 2.0: Mod Suche/Anfragen“