Current status of the Ning Platform is always available on the Ning Status Blog.

I pieced together some code that inserts add buttons for videos, photos, blogs, discussions, events and invites as seen in the screenshot below.  You shouldn't have to change any of the code unless you want to modify the appearance or remove some buttons.  The links are all sub-links without the domain so no need to change them either.  Add to your custom code.

Copy and Paste all the code below the double line
===============================

<!----Add buttons under Status Update---->

<!---Creates button table and links--->

<div id="tmp_sm_buttons" style="display:none;">

<div align=right id="buttonwrapper" width="400" height="20" style="padding: 0px;">

<table class="padded-table" width="330" style="margin-top:2px!important;margin-bottom:5px!important;"><tr><td style="text-align: left;" valign="top" width="10%"><a href="#">Share:</a></td><td style="text-align: left;" valign="top" width="9%"><a href="/photo/photo/newWithUploader"><strong>Photo</strong></a></td><td style="text-align: left;" valign="top" width="9%"><a href="/video/video/newWithUploader"><strong>Video</strong></a></td><td style="text-align: left;" valign="top" width="8%"><a href="/profiles/blog/new"><strong>Blog</strong></a></td><td style="text-align: left;" valign="top" width="10%"><a href="/forum/topic/new"><strong>Discussion</a></strong></td><td style="text-align: left;" valign="top" width="10%"><a href="/events/event/new"><strong>Event</strong></a></td><td style="text-align: left;" valign="top" width="10%"><a href="/main/invitation/new"><strong>Invite</strong></a></td></tr></table>

</div>

</div>

 

/* inserts buttons below status update */

<script type="text/javascript">

if (typeof(x$) != 'undefined') {

 x$(".form-hint").prepend('<div style="padding-top:0px;text-align:right;" id="sm_buttons"></div>');

    var t_sm_buttonsCode = document.getElementById('tmp_sm_buttons');

    var sm_buttonsCode = document.getElementById('sm_buttons');

    sm_buttonsCode.innerHTML = t_sm_buttonsCode.innerHTML;

}

</script>

 

<!----End Buttons---->

 

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Votes: 0
Email me when people reply –

Replies

  • :O <---------- Speechless !
  • Thanks
  • I updated it a bit to put everything in alphabetical order and change "Share" to "Add New". I also included Groups and changed "Invite" to "Member" (so it looks like "Add New Member").

    <script type="text/javascript">
    <!----Add buttons under Status Update---->

    if (typeof(x$('#xj_StatusAndShareLink') != 'undefined')) {
    var myShareLinks='<div id="myShareLinks" class="right" style="padding:0 0 3px;">Add New:<span style="font-weight:bold;">&nbsp;&nbsp;&nbsp;<a href="/profiles/blog/new">Blog</a>&nbsp;&nbsp;&nbsp;<a href="/events/event/new">Event</a>&nbsp;&nbsp;&nbsp;<a href="/forum/topic/new">Forum</a>&nbsp;&nbsp;&nbsp;<a href="/groups/group/new">Group</a>&nbsp;&nbsp;&nbsp;<a href="/main/invitation/new">Member</a>&nbsp;&nbsp;&nbsp;<a href="/photo/photo/newWithUploader">Photo</a>&nbsp;&nbsp;&nbsp;<a href="/video/video/newWithUploader">Video</a>&nbsp;&nbsp;&nbsp;</span></div>'; x$(".form-hint").before(myShareLinks);
    }
    </script>

    Here is what it looks like on my network, in case you want to see what it does first:

    3197930?profile=RESIZE_480x480Now, keep in mind-I have other code besides this, so the color/appearance of the box itself is from that. Also, I don't allow members to create groups on my network, so I removed it from my code... And it's a bit long if you include everything, so I removed "Member" from mine as well.

    • Hello Janettee! 
      I'm new here and need help: 
      Can you show me where I can paste the copied code? 

      3227397?profile=original

      • This code is pasted into your custom code box as found under Tools on your dashboard.  See screenshot below for reference (click to enlarge):

        3230901?profile=RESIZE_1024x1024

      • Oops, sorry for not answering you sooner, Julio! I was lost in my network making updates, LOL. I see Mike picked up my slack though:) Thanks, Mike!
        • THANKS Janettee!
  • Hello friend! 
    I'm new here and need your help: 
     

    Can you show me where I can paste the copied code? 

     

    Thanks my friend!

    • Insert in your custom code box
This reply was deleted.
 

Some interesting articles related to community management, digital marketing etc. could be found in our digest. Don't hesitate to leave a feedback so we would know that we should continue :-)

Latest Activity

Tyler Masonry updated their profile
Saturday
⚡JFarrow⌁ posted a discussion
I am trying to find just one working example of an app or utility that runs with the Ning API. No…
Thursday
Eva updated their profile
Aug 2
Eva liked Steve C's discussion Ning's staff is in Kyiv. Keep them in your hearts.
Aug 2
Eva liked ⚡JFarrow⌁'s discussion What is going on with Ning? What Do We have to Look Forward To?
Aug 2
Chris Egg updated their profile
Jul 30
Eva liked Ning Support's discussion New feature added into Group Permissions
Jul 29
Arissa Seah updated their profile
Jul 27
APOSTLE TEYSHANA WILEY liked Ning Support's discussion New feature added into Group Permissions
Jul 25
Lady updated their profile photo
Jul 23
bryant tutas posted a discussion
Cant figure out how to add playlists. All my loaded songs are in the same list and I don't see an …
Jul 22
Angie Breidenbach updated their profile
Jul 21
More…

Meanwhile, you can check our social media channels