PDA

View Full Version : Private Messaging System - Ready for Testing!


Tim Mousel
02-12-2008, 08:50 AM
Hello,

I'm happy to announce that the Five Star Private Messaging System (FSPMS) is ready for testing!

The FSPMS can be integrated into any website or most any script. The example link shows the integration with the Five Star Review Script.

You can test it here and any feedback would be appreciated:

http://www.trade-review.com/review/pm/inbox.php

user - test
pass - test

You can also create your own account for testing by registering here:

http://www.trade-review.com/review/login/register.php

If you're not quite sure what a Private Messaging system is, go ahead and test it out. Here is the definition from Wikipedia,
"A personal message or private message, often shortened to PM, is like an e-mail sent from one Internet forum or bulletin board system user to another user on the same forum.
Personal messages are more anonymous than regular e-mail messages because the e-mail address and IP address of the sender and recipient are not made available, with the exception of administrators and sometimes moderators. This feature is usually implemented on Internet forums."

Hope you find it useful,

Tim

Tim Mousel
11-19-2008, 06:36 PM
If integrating this into the Five Star Review Script, be sure to add the following code to /login/approve.php right above "//protect against a session fixation attack":

//setup private messaging
$user_id = $result['id']

$sql = "INSERT INTO review_pm_prefs
SET notify='y',
show='y',
user_id='$user_id'
";

$result = @mysql_query($sql,$connection)
or die(sprintf("Couldn't execute query, %s: %s", db_errno(), db_error()));
}