By Sabih on Wednesday, 17 February 2016
Likes 0
Views 1K
Votes 0
Hey there,

my members are investigative like crazy and just complained that there are no points for comments on stream entries but for photos and videos only. I could not believe this and tried to find and check the rule and just could not find it.

Are there no points for comments on story entries?
Hello Sabih,

Hm, I've checked on it and yes, there is no points for user when adding a comment on stream item. I've modified the attached file to let it adds point for comment. Please replace the attached file in: ../components/com_easysocial/controllers/comments.php and execute this SQL in your phpmyadmin. Make sure to change the #_ to your own table prefix before execute it.

INSERT INTO `#__social_points` (`id`, `command`, `extension`, `title`, `description`, `alias`, `created`, `threshold`, `interval`, `points`, `state`, `params`)
VALUES
(93, 'post.comment', 'com_easysocial', 'Comment Posts', 'Earn points when you add a comment on posts.', 'comment-posts', '2016-01-08 09:04:58', NULL, 0, 5, 1, '');


Please give it a try and let us know how it goes.
·
Wednesday, 17 February 2016 12:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Jasni,

outstanding! This is working, thank you so much. I just had to change the value 93 to 142 for me. Just in case of someone trying to replicate this as well. You need to check your database about how many values there are.

Thank you very much, this is just so cool.


While I made this live I recognized another small thing:
Earn points when someone likes your posts.

Is this rule part of 1.4.7? Because it does not work for me but I have not updated to 1.4.7 yet so I thought this might be working after updating, can you confirm this?
·
Wednesday, 17 February 2016 19:44
·
0 Likes
·
0 Votes
·
0 Comments
·
If you are not the owner of the stream item and you liked the stream item, then yes, this rule works
·
Thursday, 18 February 2016 00:32
·
0 Likes
·
0 Votes
·
0 Comments
·
this rule works


No doubt about that Mark, but it does not for me. I tried with a clean 1.4.7 version where it worked. So I asked myself if it does not work because I am still on 1.4.6. But nevertheless your last message about that URL check motivated me to finally start updating once again. So I will see if it works in 1.4.7 else I will unfortunately need to come back to this.
·
Monday, 22 February 2016 08:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Sabih Perhaps if the problem still persists with a clean installation, start a new ticket here
·
Monday, 22 February 2016 12:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post