This application allows your users to create “Status Updates”, to answer the question “What are you doing now?”. It functions in the style of Twitter, Pownce and FaceBook Status updates.





INTRO

Pages
Index - /mods/status/index - this page takes the status updates and displays the latest status updates of all users on the network.


Integrating with the Front Page
You can put the Status updates onto the front page of your Ning site, and indeed anywhere you can put a text box, such as the profile page.

For those of you who care, this process uses a Javascript JQuery call to get a list of the latest items from the store, then updates a specific div class with the items, if that div class is present on the page.

This is a two step process:

Step 1
Go to Manage → Analytics and paste in the following line of code into your Analytics Box
<script type="text/javascript" src ="http://ui.jquery.com/repository/tags/testing/jquery-1.3.1.js"></script>
<script type="text/javascript" src=”/mods/status/js”> </script>


Step 2
On the page you want the list displayed, type in
<div class=”ningmods_status”></div>

Then refresh the page, the list will now be displayed.





ADDING STATUS TO THE FRONT PAGE

To add status to the front page of your Ning site, go to Manage -> Analytics, and paste in the following two lines of code:

Step 1
<script type="text/javascript" src ="/mods/jquery/131"></script>
<script type="text/javascript" src ="/mods/status/js"></script>


Note that you only need to add in the first line once within the WHOLE analytics box, so if you've already typed that in for another app, you dont need to type it in again!

Step 2
Go to the front page, and add a text box. Within the textbox just type in this line of code.
<div id="ningmods_status"></div>
Hit refresh and you're done, a list of the latest 5 items will appear in the box.

© 2010   Created by Thom on Ning.   Create a Ning Network!

Badges  |  Report an Issue  |  Privacy  |  Terms of Service