Login     Sign up
Profile Comment Not Notifications
emjhie Bahrink (@emjhie)
Join date: Sep 27th 2010
Community posts: 91
View Profile
Send Message

hii.. jcowers..

why my jcow not have notification if friends write comments on profile comments (Write status). Notification only work if friends reply comment or like status..

174 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

because apparently the script is using the wrong form.

it is using the stream_form function instead of the profile_comment_form function

174 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

i made this change in page_inc.php

function index

[code]
if (!$page['no_comment']) {

        $output = stream_form($profile['id'],$owner['page']);
            }

[/code]
into
[code]
if (!$page['no_comment']) {
if ($page['type']=='u') {
$output = profile_comment_form($owner['id']);
}
else {

        $output = stream_form($profile['id'],$owner['page']);
        }
    }

[/code]

what sends notifications, but doesn't show up in the stream

174 months ago
emjhie Bahrink (@emjhie)
Join date: Sep 27th 2010
Community posts: 91
View Profile
Send Message

yeaah. .. I've tried changing the code. but friends can not see that status. only appear in the feed.

174 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

i changed activity_get to stream_get in the private function newsfeed in the dashboard module.

174 months ago
emjhie Bahrink (@emjhie)
Join date: Sep 27th 2010
Community posts: 91
View Profile
Send Message

i have changed. notification succes but comment cannot show if i reload the profile..

174 months ago
Vincent T (@vincent)
Join date: Jun 18th 2010
Community posts: 298
View Profile
Send Message

v4 does't support profile_comment_form any more. we will add the commenting notification.

173 months ago
emjhie Bahrink (@emjhie)
Join date: Sep 27th 2010
Community posts: 91
View Profile
Send Message

how to add it. or wait for the release of jcow 4.2. ok thanks,.

173 months ago
Jcow Master (@falcone)
Join date: Sep 2nd 2010
Community posts: 917
View Profile
Send Message

i did some modifications elsewhere, so it is compatible with version 4.

some remarks

this a part of the original code in pages_inc.php, function index.

[code]
$config['theme'] = 'themes/default/profile.tpl.php';
if (!$page['no_comment']) {
$output = stream_form($profile['id'],$owner['page']);
}
[/code]

the file profile.tpl.php doesn't exist and also the variable $profile['id'] doesn't exist in that function.

if some function or form is not used anymore, why not just remove it. There are lot of functions in the script that are not used anywhere.

173 months ago