![]() |
Sorry but you'll have to write it yourself (or have somebody else write it) because not everybody's in the same situation as you.
|
|
I Got a little problem with this hack:
Invalid SQL: INSERT INTO usertouserlog (entrytype, fromuserid, touserid, dateline) VALUES ("email", 0, , UNIX_TIMESTAMP()) mysql error: You have an error in your SQL syntax near ' UNIX_TIMESTAMP())' at line 1 In the member.php file ... the $touserid isn't returning a value. |
Make sure you're running a late version of vB and at least PHP 4.2.0.
|
I am ... 2.2.9 and my PHP is 4.3....
|
Make sure you followed the instructions again; I don't know what else to tell you, I'm running 2.3.0 on PHP 4.3.0 and it works fine. It could be a hack interacting badly with this one.
|
No dude ... that line you refferd in your hack code for $vbmail is the problem...
In 2.2.9, the only code that resembles this is: eval("\$message = \"".gettemplate("email_lostpw",1,0)."\";"); eval("\$subject = \"".gettemplate("emailsubject_lostpw",1,0)."\"; "); HERE: mail ($user[email],$subject,$message,"From: \"$bbtitle Mailer\" <$webmasteremail>");[/b] // User to User Log Hack $DB_site->query("INSERT INTO usertouserlog (entrytype, fromuserid, touserid, dateline) VALUES (\"email\", ". $bbuserinfo['userid'] .", $userid, UNIX_TIMESTAMP())"); // User to User Log Hack (End) |
Well like I said:
Quote:
|
[Rolodex hurrys to uninstall this hack!]
Will make a "user friendly" one myself... |
For users who are still using v2.29, and want to install this hack, I modified a few lines that works for your version of vB.
Changes were made in the member.php, where this line wasn't found in 2.29: Code:
vbmail($destuserinfo['email'], $subject, $sendmessage, $bbuserinfo['email'], '', $bbuserinfo['username']); Code:
$DB_site->query("INSERT INTO usertouserlog (entrytype, fromuserid, touserid, dateline) Code:
$DB_site->query("INSERT INTO usertouserlog (entrytype, fromuserid, touserid, dateline) Code:
mail ($user[email],$subject,$message,"From: \"$bbtitle Mailer\" <$webmasteremail>"); |
All times are GMT. The time now is 05:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|