Online Status Download 2.0

Indonesian Arsalan Shah 4 days ago

This component is a by Dominik so credit goes to him, it shows online status of user on profile page near user name. Tested only on GoBlue theme.

What has changed?

  • Fixed Empty linefeed on ossn.en.php file
  • Removed echo in callback as never echo anything in callback.
  • Changed callback to extend view of profile page.
  • Remove black RGB background
  • Remove unwanted mutation observer code (1.2)

Since JS code is generated by chatgpt by Dominik, I have no time to read all code and to understand the flow.

Image

Comments
Indonesian Arsalan Shah Replied 4 days ago

EigteenMale is exactly how i fixed this component both extends profile instead of echo in callback.

ossn_extend_view('profile/pages/profile', 'EighteenMale/ExtendProfile');  

and

ossn_extend_view('profile/pages/profile', 'online_status');

I believe sometime chatgpt didn't work well 🤣🤣🤣but i am still happy that he is trying. At least he should not gave up as we are always here help him step by step. I think he gets frustrated because we go step by step.

German Michael Zülsdorff Replied 4 days ago

Thanks for fixing, Arsalan.
And ... yes. it's a little frustrating that Dominik's initial release appeared to be such a show stopper. Because 8 months ago he already asked which way to extend a profile page, and I provided the EighteenMale component with detailed comments as a working example. Actually, there's no big difference displaying age and gender or the online state of a member.

Component

Developer: Arsalan
License GPL v2
Type: Uncategorized
Requires Ossn Version : 7.6
Latest Version: 2.0
Last Updated 3 days ago
Repository Url View Repository

Versions