Patch 340 überflüssige HTML-Tags entfernt.";
break;
case "0.1.1": // SQL queries for v0.1.1
$SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_user_data DROP nick_uid";
// Update notes (these will be set as task text!)
$UPDATE_NOTES = "Auswahlfür Mitglied ob mit Nickname oder User-ID einloggen entfernt.";
break;
case "0.1.2": // SQL queries for v0.1.2
// Update notes (these will be set as task text!)
$UPDATE_NOTES = "Zum Zusenden eines neuen Passwortes kann jetzt entweder der Nickname / User-ID ODER die angemeldete EMail-Adresse eingegeben werden.";
break;
case "0.1.3": // SQL queries for v0.1.3
// Update notes (these will be set as task text!)
$UPDATE_NOTES = "CSS-Datei in general.css verschmolzen (Patch 435!)";
break;
case "0.1.4": // SQL queries for v0.1.4
// Update notes (these will be set as task text!)
$UPDATE_NOTES = "HTML-Code ausgelagert in Templates und SQL-Anweisungen abgesichert.";
break;
case "0.1.5": // SQL queries for v0.1.5
// Update notes (these will be set as task text!)
$UPDATE_NOTES = "Abspeichern von Einstellungen repariert.";
break;
case "0.1.6": // SQL queries for v0.1.6
$SQLs[] = "UPDATE "._MYSQL_PREFIX."_member_menu SET action='extras', sort='2' WHERE what='nickname' LIMIT 1";
// Update notes (these will be set as task text!)
$UPDATE_NOTES = "Mitgliedsmenü komplett umgebaut.";
break;
case "0.1.7": // SQL queries for v0.1.7
// Update notes (these will be set as task text!)
$UPDATE_NOTES = "Mitglieder ohne Nickname sollten kein *failed* mehr sehen.";
break;
case "0.1.8": // SQL queries for v0.1.8
// Update notes (these will be set as task text!)
$UPDATE_NOTES = "Fehlerhinweis bei deaktivierter Erweiterung verbessert.";
break;
case "0.1.9": // SQL queries for v0.1.9
$SQLs[] = "INSERT INTO "._MYSQL_PREFIX."_admin_menu (action, what, title, descr, sort) VALUES('user','list_nickname','Nickname-Historie','Listet alle verwendeten Nicknames der Mitglieder auf.', 12)";
$SQLs[] = "DROP TABLE IF EXISTS "._MYSQL_PREFIX."_nickname_history";
$SQLs[] = "CREATE TABLE "._MYSQL_PREFIX."_nickname_history (
id BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
userid BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
nickname VARCHAR(255) NOT NULL DEFAULT '',
added TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
last_used TIMESTAMP NOT NULL DEFAULT '0000-00-00 00:00:00',
INDEX userid (userid),
INDEX (last_used DESC),
PRIMARY KEY(id)
) TYPE=MyISAM COMMENT='History of used nicknames'";
// Update notes (these will be set as task text!)
$UPDATE_NOTES = "Historie eingegebener Nicknames hinzugefügt. Mitglied kann auf bereits verwendeter zurückgreifen und Liste selbst löschen.";
break;
}
break;
default: // Do stuff when extension is loaded
// @TODO|@DEPRECATED Please rewrite these constants, LOAD_CONFIG() is no more needed in extensions
$dummy = LOAD_CONFIG();
define('__NICKNAME_LANG_CHARS', $dummy['nickname_chars']);
define('__NICKNAME_LENGTH' , $dummy['nickname_len']);
define('__NICKNAME_PATTERN' , $dummy['nickname_pattern']);
unset($dummy);
break;
}
// Language file prefix
$EXT_LANG_PREFIX = "nickname";
// Extension is always active?
$EXT_ALWAYS_ACTIVE = "N";
//
?>