Poste a Visitor Message In Profile By TIb3n.
Poster un message de visiteur sur les profile Par Tib3n
Modifier Le fichier account-details.php Et Ajouter Se Code Ou Vous Voullez.
Edit account-details.php And Add This Where You Whant.
loggedinonly();
$commentbody = $_POST['body'];
if (!$commentbody)
show_error_msg("Error","You did not enter anything!",1);
mysql_query("INSERT INTO comments (user, userprofile, added, text) VALUES (".$CURUSER["id"].", ".$user["id"].", '" .get_date_time(). "', " . sqlesc($body).")") or die(mysql_error());
//PM to uploader on comment add
$msg = "Vous Avez Recu Un Nouveaux Commentaire Poster Par $CURUSER[username] [url=$site_config[SITEURL]/account-details.php?id=$id]Cliquer Ici[/url] Pour Voir Le Commentaire.";
mysql_query("INSERT INTO shoutbox VALUES('', '[url=http://www.quebectracker.com/account-details.php.php?id=".$CURUSER["id"]."]".$CURUSER["username"]."[/url]', ' A Ecri Un Nouveaux Commentaire Sur Le Profile a : [url=http://www.quebectracker.com/account-details.php.php?id=".$CURUSER["id"]."]".$user["username"]."[/url] ', now(), '0')") or sqlerr(__FILE__,__LINE__);
mysql_query("INSERT INTO `messages` (`sender`, `receiver`, `added`, `subject`, `msg`, `unread`, `location`) VALUES
('".$CURUSER["id"]."', '".$user["id"]."', '".get_date_time()."', 'Nouveaux Commentaire Sur Votre Profile, Svp Veuiller V
Poster un message de visiteur sur les profile Par Tib3n
Modifier Le fichier account-details.php Et Ajouter Se Code Ou Vous Voullez.
Edit account-details.php And Add This Where You Whant.
//take comment addif ($_GET["takecomment"] == 'yes'){loggedinonly();
$commentbody = $_POST['body'];
if (!$commentbody)
show_error_msg("Error","You did not enter anything!",1);
mysql_query("INSERT INTO comments (user, userprofile, added, text) VALUES (".$CURUSER["id"].", ".$user["id"].", '" .get_date_time(). "', " . sqlesc($body).")") or die(mysql_error());
//PM to uploader on comment add
$msg = "Vous Avez Recu Un Nouveaux Commentaire Poster Par $CURUSER[username] [url=$site_config[SITEURL]/account-details.php?id=$id]Cliquer Ici[/url] Pour Voir Le Commentaire.";
mysql_query("INSERT INTO shoutbox VALUES('', '[url=http://www.quebectracker.com/account-details.php.php?id=".$CURUSER["id"]."]".$CURUSER["username"]."[/url]', ' A Ecri Un Nouveaux Commentaire Sur Le Profile a : [url=http://www.quebectracker.com/account-details.php.php?id=".$CURUSER["id"]."]".$user["username"]."[/url] ', now(), '0')") or sqlerr(__FILE__,__LINE__);
mysql_query("INSERT INTO `messages` (`sender`, `receiver`, `added`, `subject`, `msg`, `unread`, `location`) VALUES
('".$CURUSER["id"]."', '".$user["id"]."', '".get_date_time()."', 'Nouveaux Commentaire Sur Votre Profile, Svp Veuiller V