How do I add a new link in the Account Box?

For example . . .

 

Sign Out

Inbox

Alerts

Friends

Settings

NEW LINK

 

Thanks for your help.

Rick

Views: 146

Reply to This

Replies to This Discussion

This might get you started. Replace with your link, and add to Custom Code Box:

<script type="text/javascript">
if (typeof(x$) != 'undefined') {
x$("#xg_module_account ul li .xg_sprite-setting").after('<br><a href="http://www.yahoo.com">Yahoo</a>');
}
else{
}
</script>

Kudos

With icon would be great

This is exactly what I needed.

The ability to add a sprite in front of this new link would be helpful too.

Thank you very much for your quick response.

First to clear something up - - a sprite is not one image or one icon. A sprite is one large image that contains multiple images/icons, or collection of images. To add an image/icon to the link in the script, you'll need to:

1. Find icons that are 16 by 16 in dimensions, the smallest you will find. You can start here: http://www.iconfinder.com

2. Once you find your needed icon, upload to Ning API with insert image, and copy/paste the image URL into the script where I have added the RSS image.

3. You will need to adjust the width of 16 to 12, as I have. This is closer to the sprite image size.

4. I also added padding to the top and right of the image.

Here's the script with an image and link to the RSS for the Ning Latest Activity Feed. I used this in the example, because you need to keep in mind that only signed in members can see these links.

<script type="text/javascript">
if (typeof(x$) != 'undefined') {
x$("#xg_module_account ul li .xg_sprite-setting").after('<br><a href="/activity/log/list?fmt=rss" title="Subscribe to our RSS"><img style="padding-right:8px;padding-top:4px;" src="http://api.ning.com:80/files/-jCP6hUTGM8OUjR1SnPswlEsyQP*po*BLqlEVAEPG4DmtRa66xwjyswXGR*TJvwORU*wBsP4jWEfBJLtRdsIffHrByiTyZwS/rss16.png" width="12" />Subscribe to RSS</a>');
}
else{
}
</script>

Best,

Jen

Oh, also - - does the Alert show up after Setting if one exists? If yes, this could be a problem. Keep this in mind.

You can do it modifying language manager

RSS

Latest Activity

CPA replied to sho allan's discussion '[TIP-NING 3.0] Add icon in menu tabs!!'
"Thanks Sho, I'm going to try this!"
1 hour ago
soaringeagle replied to soaringeagle's discussion 'dreadlockssite 3.0 bugs issues suggestions list updated 5/18' in the group The Sandbox
"updated a member reported the following : It runs so slow that typing a comment/reply is next to…"
2 hours ago
Jordon McGee (Jords) replied to Jared's discussion 'Leaving members, deleting content, Archive feature'
"@Joe Fulton Eric is no longer an employee of Ning. All questions should be forwarded to Allison."
3 hours ago
Kos replied to sho allan's discussion '[TIP-NING 3.0] Add icon in menu tabs!!'
"Going to try this today.  Fingers crossed I don't screw it up *lol*"
3 hours ago
Kos replied to Elshara Silverheart's discussion 'Free Site Promotion'
"I have to bookmark this one.  Thank you!"
3 hours ago
Ana Maria Sancho Biesa replied to Ana Maria Sancho Biesa's discussion 'Activity ha dejado de funcionar en mi red 3.0' in the group Ning Networks en español
"Las actividades se recuperaron.Cuando escribí lo que abre este hilo de discusión no…"
7 hours ago
Joe Fulton replied to Jared's discussion 'Leaving members, deleting content, Archive feature'
"No response from Allison or Eric as of yet.  I had sent Eric Seuez an e-mail and expected…"
10 hours ago
Rosemary Burns joined Allison Leahy's group
Thumbnail

The Sandbox

Join The Sandbox to experiment with Ning 3.0 now!The Ning Team will be triaging bug reports and…See More
12 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service