DANIEL BRITO
2 weeks ago
This component adds an About tab to the standard OSSN user profile menu.
It displays public and custom user fields such as name, birthdate, gender, job title, department, sector, and other profile fields created through the Custom Fields component.
The component keeps the native OSSN profile layout and is useful for corporate, community, and intranet social networks that need to show structured user information in a professional profile page.
Features:
Arsalan Shah
Replied 2 weeks ago
Hi Daniel, Thanks for sharing a component,
How is your component different from: https://www.opensource-socialnetwork.org/component/view/832/about-user by @Michael
Also your component calling database manually https://github.com/DanielGBrito/OssnUserAbout/blob/main/plugins/default/profile/about.php#L239-L270
Which is not required as $params['user']; already have those fields inside it by default
or you can fetch again by
$user = ossn_user_by_guid($params['user']->guid);