Winters
Jr. Member
Posts: 88
I'm a llama!
|
|
Re:[mod 1.5.x] Quick Replay
« Reply #6 on: November 08, 2003, 09:20:30 AM » |
|
Na ja, so viel erkenne ich da nicht, aber ich hab's mal mit der Schritt-für-Schritt-Methode probiert.
Der erste Fehler kommt bei Schritt 9. Step 9: Search for this in file Sources/Profole.php:
$request = mysql_query(" UPDATE {$db_prefix}members SET $queryPasswdPart $customTitlePart realName='$member[name]', emailAddress='$member[email]', websiteTitle='$member[websitetitle]', websiteUrl='$member[websiteurl]', signature='$member[signature]', posts=$member[settings6], memberGroup='$member[settings7]', ICQ='$member[icq]', MSN='$member[msn]', AIM='$member[aim]', YIM='$member[yim]', gender='$member[gender]', personalText='$member[usertext]', avatar='$member[userpic]', $member[dr]location='$member[location]', birthdate='$member[bday]', lngfile='$member[language]', " . ($username == $member['user'] ? "memberIP='$memIP', " : '') . "timeFormat='$member[usertimeformat]', timeOffset=$timeOffest, secretQuestion='$member[secretQuestion]', secretAnswer='$member[secretAnswer]', hideEmail=$hideEmail$karmaStr WHERE memberName='$user'") or database_error(__FILE__, __LINE__);
Replace with:
$request = mysql_query(" UPDATE {$db_prefix}members SET $queryPasswdPart $customTitlePart $QuickReplyPart realName='$member[name]', emailAddress='$member[email]', websiteTitle='$member[websitetitle]', websiteUrl='$member[websiteurl]', signature='$member[signature]', posts=$member[settings6], memberGroup='$member[settings7]', ICQ='$member[icq]', MSN='$member[msn]', AIM='$member[aim]', YIM='$member[yim]', gender='$member[gender]', personalText='$member[usertext]', avatar='$member[userpic]', $member[dr]location='$member[location]', birthdate='$member[bday]', lngfile='$member[language]', " . ($username == $member['user'] ? "memberIP='$memIP', " : '') . "timeFormat='$member[usertimeformat]', timeOffset=$timeOffest, secretQuestion='$member[secretQuestion]', secretAnswer='$member[secretAnswer]', hideEmail=$hideEmail$karmaStr WHERE memberName='$user'") or database_error(__FILE__, __LINE__);
Bei mir steht da:
$request = mysql_query(" SELECT passwd, realName, emailAddress, websiteTitle, websiteUrl, signature, posts, memberGroup, ICQ, AIM, YIM, gender, personalText, avatar, dateRegistered, location, birthdate, timeFormat, timeOffset, hideEmail, ID_MEMBER, usertitle, karmaBad, karmaGood, lngfile, MSN, secretQuestion, secretAnswer FROM {$db_prefix}members WHERE memberName='$user'") or database_error(__FILE__, __LINE__);
Kann ich das nun einfach ersetzen, sicher nicht, oder?
|