THIS COMPONENT IS PART OF OSSN 5.5
Shows if someone typing comments and it will also load latest comments from current time.
It will not load previous comments but the comments that created after the time you loaded the page.
This component is experimental and may not work or may create unexpected results so please test on development website first
Please must post your feedback
Only tested on GoBlue theme. Ossn v5.2
- Fixes some console errors
Oh i forgot to mention i never tested on other stuff than newsfeed, i am not sure the effect after removing user-activity, what about pagination is it working on auto pagination? i will test too.
ok, here some first results ...
1. working basically good and the same way on GoBlue and GreenByGreen
- newsfeed wall: ok
- group wall: ok
- profile wall: ok
2. NOT working on photo comments getting
Uncaught TypeError: Cannot read property 'left' of undefined at m.fn.init.$.fn.isInViewComments (opensource.socialnetwork.js:3936) at opensource.socialnetwork.js:4010
problem is wrong selector
m.fn.init [prevObject: m.fn.init(1), context: document, selector: ".user-activity .ctyping-entity-2750"]
as of course we have no
user-activity on pages like this and bounds is being undefined.
Will try what happens without user-activity ...
yep, removed it from line 72, 73 and 90 of rtcomments and everything seems to work fine now.
I just installed it,
and my log is filling up with "implode(): Invalid arguments passed" in file /var/www/html/components/RealTimeComments/actions/status.php (line 22)
every 4 seconds.
I'd like to have a
$commentids = array(); on line 15, please. :)