Deprecated: Assigning the return value of new by reference is deprecated in /depo/web490/2009/realmlab/wordpress/wp-settings.php on line 520 Deprecated: Assigning the return value of new by reference is deprecated in /depo/web490/2009/realmlab/wordpress/wp-settings.php on line 535 Deprecated: Assigning the return value of new by reference is deprecated in /depo/web490/2009/realmlab/wordpress/wp-settings.php on line 542 Deprecated: Assigning the return value of new by reference is deprecated in /depo/web490/2009/realmlab/wordpress/wp-settings.php on line 578 Deprecated: Function set_magic_quotes_runtime() is deprecated in /depo/web490/2009/realmlab/wordpress/wp-settings.php on line 18 Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/classes.php on line 1199 Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/classes.php on line 1199 Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/classes.php on line 1199 Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/classes.php on line 1199 Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/classes.php on line 1244 Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/classes.php on line 1391 Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/classes.php on line 1391 Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/classes.php on line 1391 Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/classes.php on line 1391 Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/classes.php on line 1442 Strict Standards: Redefining already defined constructor for class wpdb in /depo/web490/2009/realmlab/wordpress/wp-includes/wp-db.php on line 306 Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /depo/web490/2009/realmlab/wordpress/wp-includes/cache.php on line 431 Strict Standards: Declaration of Walker_Comment::start_lvl() should be compatible with Walker::start_lvl(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/comment-template.php on line 1266 Strict Standards: Declaration of Walker_Comment::end_lvl() should be compatible with Walker::end_lvl(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/comment-template.php on line 1266 Strict Standards: Declaration of Walker_Comment::start_el() should be compatible with Walker::start_el(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/comment-template.php on line 1266 Strict Standards: Declaration of Walker_Comment::end_el() should be compatible with Walker::end_el(&$output) in /depo/web490/2009/realmlab/wordpress/wp-includes/comment-template.php on line 1266 Strict Standards: Redefining already defined constructor for class WP_Dependencies in /depo/web490/2009/realmlab/wordpress/wp-includes/class.wp-dependencies.php on line 31 Strict Standards: Redefining already defined constructor for class WP_Http in /depo/web490/2009/realmlab/wordpress/wp-includes/http.php on line 61 RealmLab » Blog Archive » Notification Support

Notification Support

For virality, Notifications in facebook has an important place. Notification is a message directly sent to a user. There are two types of notifications, user2user, app2user.

To send a user to user notification, sending user must have an active session in your application and receiving users must also have installed your application.

In our project’s concept, since we share the userbase among different applications, we have to utilize notification stuff so that it will use u2u or app2u according to it’s situation.

I’ve implemented a notification manager, which can send a notification in two cases, user A attacks user B and win; user A attacks user B and kill. This notification manager class checks A and B’s realms. If both have the same realm, uses u2u notification, otherwise, it fetches B’s application’s information from the database, and sends a app2user notification.

All code has been tested and released yesterday.

 

No Responses to “Notification Support” (post new)

 

Leave a Reply

 

Categories

Blogroll

Tags