Social Web Directory :: Social Network Directory :: Ning Tips and Ning Support
Hello everyone!
If you want to add a menu item to your main menu that will take a member directly to their "My Friends" list, this is how you can do it.
1. Go to the Social Site Manager, first icon in the set of icons on the top left of your page if you are the site's NC.
2. Click "Site & Pages"
3. Click "Add a Page"
4. For Page type, choose Link. For Status, choose Published. For Tab title, choose "My Friends" or "Your Friends" or whatever you want to call this new menu item. For URL, enter
http://YourSite.com/members?friends=
but change YourSite.com to whatever the main URL is for your site. Then click Save.
5. Add this code to your Custom Code, End of Page Code box:
<script type="text/javascript">
x$(document).ready(function() {
if (ning.CurrentProfile) x$('a[href="http://YourSite.com/members?friends="]').attr('href', 'http://YourSite.com/members?friends=' + ning.CurrentProfile.id);
});
</script>
Again, change YourSite.com to the main URL for your site, i.e. for here, it would be jensocial.com.
Save the Custom Code by clicking Save.
If you want, you can go back to Site & Pages and make your new menu item a subtab by clicking "Make this a sub-tab" under the Tab title. If you do that, click Save.
If a non-Member clicks this Menu choice, they will see All Members, unless that page is not Public, then they will be asked to Sign Up or Sign In.
That's it. I tried this out on my Ning 3 site and it works fine. I hope it works for you all as well.
Best wishes!
"TJ"
Tags:
And, if you want to make a little user menu on the right hand side like you had an account box in Ning 2.0, here's the invite link. http://www.yourning.ning.com/main/invitation/new anything under/main still works including old URLS if you are curious and that I found, was also true for an invite link. Ning didn't include one but there it is. The settings and my profile link you could find under the top bar, I bet it would be as simple as replicating the my profile link with a static URL hack also, and the settings link is static anyways. God Ning 3 is complicated, a the wrong mix of hybrid jquery and ajax manipulation.
Thanks TJ, this along with your profile link code has helped complete my new 3.0 account menu :) Thanks again
0
|
0
|
12/26/18
|
||||
0
|
94
|
11/29/18
|
||||
0
|
20
|
11/25/18
|
||||
0
|
17
|
11/25/18
|
||||
Welcome to
JenSocial: Social Web Directory and Ning Tips
Posted by JenSocial on May 7, 2018 at 8:35pm 8 Comments 1 Favorite
Posted by JenSocial on January 6, 2017 at 4:00pm 10 Comments 1 Favorite
Posted by JenSocial on October 22, 2016 at 1:05am 0 Comments 0 Favorites
Posted by JenSocial on September 17, 2016 at 12:00am 26 Comments 1 Favorite
Posted by JenSocial on August 31, 2016 at 3:30pm 13 Comments 0 Favorites
Ning 3.0 Tip - Add Buttons/Links Below Status Update (Quick Links to Add Photos, Posts, Discussions)
Started by Ning.spruz.com in Ning 3.0 Feb 19. 0 Replies 0 Favorites
Started by Evelina in Ning 3.0 Aug 30, 2023. 0 Replies 0 Favorites
Started by Evelina in Ning 3.0 Aug 27, 2023. 0 Replies 0 Favorites
© 2024 Created by JenSocial. Powered by
© Copyright JenSocial.