Hei Guyz, I have a problem while code a page. We can see that in facebook, there is comments in Users status or wall posts.I tried to create a thing for me.But while doing this i got a problem in me. That is, when a B commented a status of a user A, I can send that user A a notification.But when that user A commented on his status, i cant send any notification to B. I only can send notification to both user A and B. But i need to do this only for B. How can I do this?? Any Idea?? My sql is like ID, Name, Comment, Statref, Time. My head is full of rubz.😌
Just A Lil Bit Help!!
Started on the old forum in July 2010 · view the original in the archive · old links redirect here
lol this is not little....
com site: http://vampist.net download site: http://wapdloads.net fb: http://www.facebook.com/pmplx
add a new filed to ur sql have 1 for each user a and b when user b posts on a's wall it notifies a by pulling name from table and do the same for when a posts on b's wall
Creator of Epix.Mobi
Keep an Eye on us Big things coming soon!!!! Need something for your site hit me up here http://coding-talk.com/forum/main-forums/marketplace/153110-free-features-for-your-wapsite
hmmmm use the comment id then everytime someone post everyone that has the same id gets a notification so if it was 1 then have a field in sql for comment id so ur using to ids.
do u understand what i mean??
Creator of Epix.Mobi
Keep an Eye on us Big things coming soon!!!! Need something for your site hit me up here http://coding-talk.com/forum/main-forums/marketplace/153110-free-features-for-your-wapsite
Yeh..Thanatos has gave u an idea..Just to add more idea..use autopm function to notify the user when someone commented or liked his/her status..
autopm(getnick_uid(id of the user who commented here)." commented on your <a href=\"link to ur status\">status</a>",ur id here);
My Blog: http://jhommark.blogspot.com My Facebook: http://www.facebook.com/jhommark My Official Site: http://www.undergroundweb.tk My Community Site: http://undergroundwap.xtreemhost.com
thanatos and killer,unfortunately if i follow ur idea, then user A cant comment on his own wall post.
But my problem is there. I need user A can comment on his status or whatever but he ll not get ny ntification.and if user C commented on user A s status and when A commented on the same status, then It will send a notification to the user C not A.
Loony, i got ur idea but seems it will not workin.
This thing is like as facebook.I tried it last two days.but failed.
Nahar, once ill finish the full code, ill share. But i m nt using LAVALAIR.
thanatos and killer,unfortunately if i follow ur idea, then user A cant comment on his own wall post. But my problem is there. I need user A can comment on his status or whatever but he ll not get ny ntification.and if user C commented on user A s status and when A commented on the same status, then It will send a notification to the user C not A. \
thats all something that a few if's and else's would fix look at the code when the user post on own status no notification if the comment id is higher then 1 meaning that his commenting after the original comment then it sends notification. if thats not understandable add me on msn ill explain it a bit better msn ( looony_guy79@hotmail.com )
Creator of Epix.Mobi
Keep an Eye on us Big things coming soon!!!! Need something for your site hit me up here http://coding-talk.com/forum/main-forums/marketplace/153110-free-features-for-your-wapsite
i would recommend create a separate table for notifications.
Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in
ksg91, yeah... i m using separete notification table. but its not up clearly.
example:
$list = mysql_query("SELECT name FROM comments WHERE postid='".$postid."' AND name!='".$yourname."'");
while($list=mysql_fetch_array($list)){
mysql_query("INSERT INTO notifactions SET name='".$list[0]."', postid='".$postid."', date='".time()."', whoposted='".$yourname."'");
}
Then don't put condition if else..Just insert to the db
My Blog: http://jhommark.blogspot.com My Facebook: http://www.facebook.com/jhommark My Official Site: http://www.undergroundweb.tk My Community Site: http://undergroundwap.xtreemhost.com
@se, when i did that that, it send notification to all the commenter of that status. I think ive to add another row for calling individually.
yeah facebook notifies all of the commenters when something is posted ..so thought you wanted it like that