new comments?

Is there anything module or script or something that would help me with one problem. If member (A) commented member's (B) profile, this member (B) will not get any message about new comment. Member (B) have to always check all his/her photos, videos and his/her profile to know if someone has commented.

Any cure for this :)?

Quote · 18 Apr 2011

You can check out this module .... http://www.boonex.com/unity/extensions/entry/Ultimate_Notifier

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 18 Apr 2011

Something like this I have been looking for BUT is this your module only for notifying by email? That's not funny when emailbox will be full of notifyes.... I am looking for something that in member's navbar or somewhere else will be some "4 new comment's" or something message ^^

Quote · 18 Apr 2011

I have a solution. At your own risc!

First we have to add an extra column into the database using myphpadmin. We need to add this extra column, because we have to check if a comment has been checked or not.

so open your myphpadmin, go to SQL statements and copy paste the following line

ALTER TABLE `sys_cmts_profile` ADD cmt_confirmed INT default '0'

 

Now use DEANOS TOOLS to insert a PHP block anywhere you want .. i have mine on my homepage

and copy paste the code below:

$iProfileID = getID( $_GET['ID'] );
$sNick = getNickname($iId);

$oDb = new BxDolDb();
$sSQLQuery = "SELECT COUNT(*) FROM `sys_cmts_profile` WHERE `cmt_object_id` = $iProfileID AND `cmt_confirmed` = 0";

$result  =  mysql_query($sSQLQuery);

$num_rows = mysql_fetch_row($result);

if ( $num_rows[0] != 0 ) {
echo "
<form name='form' method='post'> You have $num_rows[0] new comments waiting for you!
<input type='submit' name='button1' value='Click here'/> To read

</form> ";
}

if(isset($_POST['button1'])){

$sSQLQuery = "UPDATE `sys_cmts_profile` SET `cmt_confirmed` = 1 WHERE `cmt_confirmed` = 0 AND `cmt_object_id` = $iProfileID";
$result  =  mysql_query($sSQLQuery);
header("Location: $sNick");
exit;

}//if isset

 

Code is AS IS .. NO SUPPORT & NO WARRANTYS

Have fun!

Quote · 19 Apr 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.