Toggle navigation
Home
Hosting
Community
Developers
Github
Web Services (API)
Documentation
References
Report Issue
Download
Installer
Virtual Machine Image
Components
Themes
Member Area
Login
Register
Search
Tired of Facebook, Instagram & Twitter selling your data?
You reached the right place
Create your own social network website!
Newsfeed Page
Newsfeed page helps you to find what's happening on the network.
MOBILE FRIENDLY
Mobile friendly design allows your users to browse social network on their mobile devices.
USER PROFILE
PERSONAL WALL, FRIENDS LIST, PHOTO ALBUMS, PROFILE COVER, USER INFORMATION AND MUCH MORE.
Groups
Groups make it easy to communicate with friends , family or your work mates
Administration Panel
Using administration panel you can manage your website pages, components and users
Notification view hook
You need a notification view hook to specify template for viewing your notification type item in notification list. A working example can be found on https://www.opensource-socialnetwork.org/component/view/5526/notification-sample ~~~ <?php function my_component_init(){ //example for type `notification:message:tomyself` ossn_add_hook('notification:view', 'notification:message:tomyself', 'notification_sample_myself_view'); } function notification_sample_myself_view($hook, $type, $return, $params){ $notif = $params; $user = ossn_user_by_guid($notif->poster_guid); $url = ossn_site_url("u/".$user->username); $iconURL = $user->iconURL()->small; return ossn_plugin_view('notifications/template/view', array( 'iconURL' => $iconURL, 'guid' => $notif->guid, 'type' => 'notification:message:tomyself', 'viewed' => $notif->viewed, 'url' => $url, 'icon_type' => 'alert', 'fullname' => $user->fullname, )); } ossn_register_callback('ossn', 'init', 'my_component_init'); ~~~
Quick Access
Dashboard
Notification view hook
Notification add hook
Notifications list type