Here are the code for notification i have asked for the code no one gave it so now here im giving it to ya all
Notification
Collapse
X
-
Notification
________________
Jacques
jacques@gw-designs.co.za
http://coding.biz.tm
Come join and lets make it a place to learn all the noobies how to code
__________________
NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITHTags: None
-
When sumone sign ur guesbook or place a comment in ur gallery or when new ppl register add u to buddie list usally it go to ur inbox well now it will go to the notification inbox________________
Jacques
jacques@gw-designs.co.za
http://coding.biz.tm
Come join and lets make it a place to learn all the noobies how to code
__________________
NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH
Comment
-
maybe could be more good if it were translated in english and in xhtml..
i don't understand the language of this script..sigpicthe italian/international COMMUNITY of friendship
http://people2000.netne.net
WAP/WEB
peoplemailbox@katamail.com
Comment
-
i have the wml english version but not xhtml________________
Jacques
jacques@gw-designs.co.za
http://coding.biz.tm
Come join and lets make it a place to learn all the noobies how to code
__________________
NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH
Comment
-
yea thats right all u do create a sql copy the private and make a notify sql then in core u add the autopm function u can rename it to the sql u made for notify then in index u just make a space for the notify inbox and copy the inbox to a notify sql also________________
Jacques
jacques@gw-designs.co.za
http://coding.biz.tm
Come join and lets make it a place to learn all the noobies how to code
__________________
NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH
Comment
-
Smaller clone of notification at mGIGS Home
PHP Code://add core
function Notify($to,$frm,$msg){
if(!isuser($frm))$frm=1;
if(mysql_query("insert into ibwf_ntf values(NULL,$to,$frm,$msg,1,time())"))return true;
return false;
}
//add to index
elseif($action=="ntf"){
//html start
$q=mysql_query("SELECT * FROM ibwf_ntf WHERE uid='".getuid_sid($sid)."' ORDER BY dtime DESC LIMIT 20");
if(mysql_num_rows($q)>0){
while($nt=mysql_fetch_array($q)){
if($nt[unread]==1)$urd="*";
$usr='<a href="index.php?action=viewprofile&who='.$nt['who'].'&sid='.$sid.'">'.getnick_uid($nt[who]).'</a>';
echo $urd.$usr."- ".$nt[msg]."<br/>";
}
mysql_query("update ibwf_ntf set unread='0' where uid='".getuid_sid($sid)."'");
}else{
echo "No notifications.";
}
//html stop
}
//sql structure
/*
table: ibwf_ntf
rows: id, int(100), auto_increment;
uid int(100); who int(100); msg varchar(100); unread int(1) default 1; dtime int(100);
*/
//use
//$msg="wrote in your gbook";
//$to=id recvr
//$frm=id of snd
//Notify($to,$frm
,$msg);
Comment
Comment