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

⚡JFarrow⌁ replied to Ana Massien's discussion
Emoji work in module headers and newsfeed
"anywhere except for inside the HTML itself."
32 minutes ago
⚡JFarrow⌁ replied to Ana Massien's discussion
Front end edits
"Most likely not"
35 minutes ago
⚡JFarrow⌁ updated their profile photo
37 minutes ago
Rosas † Negras replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"Alessandro is me .. thank you very much for the compliment I am the best"
1 hour ago
Ana Massien replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"Dood we have not even spoke in this thread since June 2020. I don't see why you came to bump it…"
2 hours ago
Ana Massien replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"My name is Ana, not Ann. Ning's earlier days, before the 2.0. Some the elgg layouts correspond to…"
2 hours ago
Rosas † Negras replied to Ana Massien's discussion
Possibly Ning 2 or Ning 1.5
"De nada"
23 hours ago
Ana Massien posted a discussion
  You can add emoji from a browser extension or emojipedia.com (and copy and paste it) into module…
yesterday
Ana Massien posted a discussion
For mods and admins, will 3.0 ever be able to have the front end edit buttons like ning 2.0…
yesterday
Ana Massien updated their profile
yesterday
Lea Bouillet updated their profile
Sunday
Rosas † Negras replied to Rosas † Negras's discussion
Style your View all buttons by touch by changing two colors
"Bizz 
these are the points impossible to reach without these codes"
Saturday
More…

Meanwhile, you can check our social media channels