Real Time Comments Status Download 1.3

German Arsalan Shah 2 months ago

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
ly Naser Naser Replied 3 weeks ago

So Wonderful
We wait for a similar component of friends' posts in real time

ch Fikri Sami Replied 1 month ago

OK, now it's done!
Sorry, the whole black strip at the top was not visible for some reason.
My bad.
Thank you

German ~Z~ Man Replied 1 month ago

Oh, that's strange. If you don't mind let's track down your problem:
Being logged in:

  • you don't see the "ADD DISCUSSION" link top left?
  • you see it, but on clicking the link nothing happens?
  • something different?
ch Fikri Sami Replied 1 month ago

Unfortunately, I could not post a new thread in the community, even when logged in.
Looks like no chance for free :(

German ~Z~ Man Replied 1 month ago

Looks like you missed something indeed, Fikri.

This thread was and still is expecting feedback on the functionality of Real Time Comments Status -
it wasn't meant for general feature requests.
Feel free to open a new and different thread for your own requests on the community's main page instead.

ch Fikri Sami Replied 1 month ago

I would really appreciate having the text input similar to this one we are using here at least or even better with text formatting, instead of bare text. Unless there is something I missed.
Another wish is video upload. Thanks in advance.
enter image description here

German Austin Smart Replied 2 months ago

Works flawless - thanks

German Arsalan Shah Replied 2 months ago

Removed user-activity selector

German Arsalan Shah Replied 2 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 2 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.

Component

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

Versions