Arsalan Shah
3 years ago
Shows you a friends online widget and a page. This component will work only on OSSN 6.6 I don't have time to check on previous versions. If your OssnChat is switched off let me quote a issue here explained by Micahel
https://www.opensource-socialnetwork.org/discussion/view/6407/who-among-my-friends-is-online
Still one thing you should be aware of is that the member-activity update intervals are longer when OssnChat is disabled. Thus, by chance you may pick a member who is still marked as being online but has logged off already.
v1.4
Dominik L
Replied 10 months ago
I get this error:
[29-Apr-2025 13:29:51 UTC] Undefined variable $params in FriendsOnline/ossn_com.php (line 62)
in this function:
function friendsonline_page_handler($pages): void {
$title = ossn_print('friendsonline');
$content = ossn_set_page_layout('newsfeed', array(
'content' => ossn_plugin_view('friendsonline/view', $params),
));
echo ossn_view_page($title, $content);
}
Arsalan Shah
Replied 2 years ago
There is no $params on that line https://github.com/lianglee/FriendsOnline/blob/main/ossn_com.php#L53C1-L53C5
Dominik L
Replied 2 years ago
I get this error:
[27-Apr-2024 10:38:42 UTC] PHP WARNING: 2024-04-27 10:38:42 (UTC):
"Undefined variable $params" in file
/var/www/vhosts/queermeet.de/httpdocs/components/FriendsOnline/ossn_com.php
(line 53)
Space ...
Replied 3 years ago
Thank you, what a wonderful thing, such beauty ❤❤❤
Arsalan Shah
Replied 3 years ago
Fixed in 1.3 thanks to TheDoggyBrad
TheDoggyBrad Software Lab
Replied 3 years ago
@Arsalan Shah I am happy to say that the issue about the whoisonline:no text appearing on the site has been fixed.
Arsalan Shah
Replied 3 years ago
Thanks and fixed in 1.2
TheDoggyBrad Software Lab
Replied 3 years ago
I mean the text appearing on my site is whoisonline:no
Dominik L
Replied 3 years ago
I get this error:
[23-Apr-2023 08:40:38 UTC] PHP WARNING: 2023-04-23 08:40:38 (UTC):
"Undefined variable $params" in file /home/queermeet/public_html/components/WhoisOnline/ossn_com.php (line
44)
Rafael [redcrested.net]
Replied 3 years ago
The component works on version 6.4 without errors apparently.
Just change the version in ossn_com.xml