Real Time Comments Status

This component/theme doesn't work with the latest OSSN version.
Indonesian Arsalan Shah 4 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

enter image description here

1.3
- Fixes some console errors

Comments
Indonesian Arsalan Shah Replied 4 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)

German Michael Zülsdorff Replied 4 years ago

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 ...

Update

yep, removed it from line 72, 73 and 90 of rtcomments and everything seems to work fine now.

Indonesian Arsalan Shah Replied 4 years ago

@zetman, added 😊😊😊😊

German Michael Zülsdorff Replied 4 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. :)

gb TalkToAi Online Replied 4 years ago

Thanks!

Component

Developer: Arsalan
License ossnv3
Type: Tools
Requires Ossn Version : 5.2
Latest Version:
Last Updated
Repository Url View Repository

Versions