Arsalan Shah
6 years ago
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.
Warning This component is experimental and may not work or may create unexpected results so please test on development website first
Warning Please must post your feedback
Only tested on GoBlue theme. Ossn v5.2

1.3
Arsalan Shah
Replied 6 years ago
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.
(added to https://github.com/opensource-socialnetwork/RealTimeComments)
Michael Zülsdorff
Replied 6 years ago
ok, here some first results ...
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 ...
Update
yep, removed it from line 72, 73 and 90 of rtcomments and everything seems to work fine now.
Arsalan Shah
Replied 6 years ago
@zetman, added 😊😊😊😊
Michael Zülsdorff
Replied 6 years ago
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. :)
TalkToAi Online
Replied 6 years ago
Thanks!