Sooo, jetzt gibts in dieser Angelegenheit einiges zu berichten, denn die neuen Clanprofile sind online. Ich hoffe euch gefallen sie...
BEISPIELE:
Meins: http://www.grdb.de/clan/details.php?squ ... &user_id=2
Und im Forum: http://www.grdb.de/forum/profile.php?mo ... rofile&u=2
WAS IST NEU?
Du meinst außer dass sie jetzt noch schnieker aussehen und mit Icons verziert sind? Mal sehen:
1) Userpic Upload möglich
2) Man kann sein System beschreiben inkl. Maus und Tastatur
3) Man kann seine Favoriten nennen (Games, Filme, Bücher, Essen, Homepages, Musik)
WIE PFLEGE ICH DIE NEUEN SACHEN EIN?
Die Angaben werden ab sofort zentral im Forum gepflegt. Warum? Ganz einfach: Es gab ja auch im Clanbereich ein eigenes Skript zur Pflege des Profils, aber das konnte nur die Hälfte. Ein Passwortwechsel, war dort beispielsweise nicht möglich. Im Clanbereich gibts immernoch nen Link dieser verweist nun aber auf die Profilseite im Forum und dort kann man nun echt alles einstellen: Passwörter, Userpics, Favoriten, Systembeschreibung, Xfire, ICQ, MSN, etc.
WIESO HAT ES SO LANGE GEDAUERT?
Weil es ziemlich komplex war und weil die Kommandos ziemlich hässlich sind. Was das bedeutet? Seht selbst:
$sql = "UPDATE " . USERS_TABLE . "
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) ."', user_icq = '" . str_replace("\'", "''", $icq) . "', clan_xfire = '" . str_replace("\'", "''", $xfire) . "', user_website = '" . str_replace("\'", "''", $website) . "', user_occ = '" . str_replace("\'", "''", $occupation) . "', user_from = '" . str_replace("\'", "''", $location) . "', user_interests = '" . str_replace("\'", "''", $interests) . "', user_birthday = '$birthday', user_next_birthday_greeting = '$next_birthday_greeting', user_sig = '" . str_replace("\'", "''", $signature) . "', clan_motto = '" . str_replace("\'", "''", $motto) . "', clan_ffilm = '" . str_replace("\'", "''", $ffilm) . "', clan_fband = '" . str_replace("\'", "''", $fband) . "', clan_fgame = '" . str_replace("\'", "''", $fgame) . "', clan_fbuch = '" . str_replace("\'", "''", $fbuch) . "', clan_fsites = '" . str_replace("\'", "''", $fsites) . "', clan_fessen = '" . str_replace("\'", "''", $fessen) . "', clan_maus = '" . str_replace("\'", "''", $maus) . "', clan_tastatur = '" . str_replace("\'", "''", $tastatur) . "', clan_os = '" . str_replace("\'", "''", $os) . "', clan_grafik = '" . str_replace("\'", "''", $grafik) . "', clan_sound = '" . str_replace("\'", "''", $sound) . "', clan_prozi = '" . str_replace("\'", "''", $prozi) . "', clan_inet = '" . str_replace("\'", "''", $inet) . "', clan_ram = '" . str_replace("\'", "''", $ram) . "', clan_hdd = '" . str_replace("\'", "''", $hdd) . "', user_sig_bbcode_uid = '$signature_bbcode_uid', user_viewemail = $viewemail, user_aim = '" . str_replace("\'", "''", str_replace(' ', '+', $aim)) . "', user_yim = '" . str_replace("\'", "''", $yim) . "', user_msnm = '" . str_replace("\'", "''", $msn) . "', user_attachsig = $attachsig, user_allowsmile = $allowsmilies, user_allowhtml = $allowhtml, user_allowbbcode = $allowbbcode, user_allow_viewonline = $allowviewonline, user_notify = $notifyreply, user_notify_pm = $notifypm, user_popup_pm = $popup_pm, user_timezone = $user_timezone, user_dateformat = '" . str_replace("\'", "''", $user_dateformat) . "', user_lang = '" . str_replace("\'", "''", $user_lang) . "', user_style = $user_style, user_active = $user_active, user_actkey = '" . str_replace("\'", "''", $user_actkey) . "'" . $avatar_sql . "
WHERE user_id = $user_id";
Noch Fragen? Kein Wunder hab ich darauf nicht jeden Tag Bögge....
In diesem Sinne: Ich hoffe die Profile gefallen euch und ich würde mich über Lob und/oder Anrgungen in diesem Thread (sozusagen als kleine Belohnung) SEHR freuen....
Grüße
KK