Real Time Comments Status Download 1.3

This component/theme doesn't work with the latest OSSN version.
German Arsalan Shah 8 months 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
German Arsalan Shah Replied 8 months 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 ~Z~ Man Replied 8 months 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.

German Arsalan Shah Replied 8 months ago

@zetman, added 😊😊😊😊

German ~Z~ Man Replied 8 months 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 SzSocial Media Replied 8 months ago

Thanks!

Component

Developer: Arsalan
License ossnv3
Type: Tools
Minimum Requirement: 5.2
Latest Version: 1.3
Last Updated 8 months ago
Repository Url View Repository

Versions