Notification On Activity Stream When User Login To Your Wapka Site

I earlier wrote a tutorial on how to create a facebook-like activity stream on your wapka powered wapsite which was coded using wapka blog function. Today, am going to show you how to code a feature where by a notification will be posted in your wapsite activity stream or what’s on your mind page when members or users login to your site.
This tutorial is very simple, just follow the steps below;

  1. Login to your wapka admin panel and create a page ( let’s assume it site-id is X )
  2. Change your wapsite login code to :login-X:.
    Note: X is the site-id of the page we created in step one. Change X to your own created page id. Site id is found at the bottom of every wapka page.
  3. Copy and add the below code in page X created above;

    NOTE: change 0 in “blog_0.xhtml” to the page id you will want the user to redirect to after clicking enter button.

  4. Tutorial End.
Don’t miss out!
Subscribe to My Newsletter
Invalid email address