How can you remove the "+Add Photo", "+Add Blog" links - I only want admins to have this function.

Views: 69

Reply to This

Replies to This Discussion

I'm uncertain but I'm guessing you're not seeing a response b/c Ning promotes social interaction, which would mean members *can* upload photos and share.  Maybe someone else can chime in here but my best guess would be you utilize your Controls and have photos approved before they appear.  The only other suggestion I would have is to use the Language Editor and search for "add photo" and replace that wording with "admin" or something that maybe your members won't click as readily.  idk if deleting the words altogether would be prudent.  Unsure.  Not what you're looking for I know but we'll see if anyone else responds.  Good luck

Thanks, Kos.  Ran through all those scenarios, but none really solve what I am trying to do.  I'll have to come up with something...I guess that's why they call us creators.

Kos,

Thanks again for the post...tried TJ's code but it didn't get me what I needed, so I went back to the drawing board on the language editor.  I do think TJ's code will help with another issue I have on another network, though!

-Tony

Hi Anthony,

I was asked a similar question once, on my site:

http://jqueryhelp.ning.com/forum/topics/remove-the-option-to-add

I gave some code there that may work.  Here is a mod of that code.  You can try this and see if it does what you want.  This goes in your Custom Code box:

<script type="text/javascript">

// Only allow Admins to see +Add buttons:
if (ning.CurrentProfile.id != '1wtvjg4o8ruf3') {
  x$('a.xg_sprite-add:contains("Add")').parent().hide();
}
</script>

Some details on how to make this work for your site is in this reply:

http://jqueryhelp.ning.com/xn/detail/2818000:Comment:28953

Look under where it says, "How to make it work on your network:" as it applies to the code above as well.

I hope this points you in the right direction.

Best wishes!

"TJ"

Wow, that is wicked cool TJ!   Can't wait to see his response if it does the trick for him.

TJ,

Thanks for the code...it didn't accomplish what I needed, but may have solved a problem I have with another network!  To solve this particular dilemma, I actually ended up modifying the language editor with wording that makes the end user think of something totally different.

-Tony

RSS

Latest Activity

soaringeagle replied to SweetPotato's discussion 'Suggestion: Social Channels Page Titles and Title Tags' in the group The Sandbox
"good catch hadnt even looked at that another seo issue with these though is the videos arent…"
6 minutes ago
Kira Slye replied to John McDonald's discussion 'Free Ning 3.0 Sandbox Networks'
"I'm playing here: http://craftymember.ning.com/ Thanks! "
11 minutes ago

NC for Hire
SweetPotato replied to SweetPotato's discussion 'Suggestion: Social Channels Page Titles and Title Tags' in the group The Sandbox
"Hi Kos, not on my Ning 3.0 they aren't: Click to enlarge"
41 minutes ago
Kos replied to SweetPotato's discussion 'Suggestion: Social Channels Page Titles and Title Tags' in the group The Sandbox
"yeah, they're showing up as h2 in firebug :(  Hope Ning wakes up on this."
1 hour ago
Kos replied to Enrrico Torres's discussion 'Change Domain Name'
1 hour ago
Cherry replied to shirley's discussion 'how can i stop a member from sending privet massage to all his friend's on my net?'
"If what is being sent is truly spam, you need to suspend the member for spam. If it is just…"
1 hour ago
Kos replied to Enrrico Torres's discussion 'Change Domain Name'
"With domain mapping, you're pointing your purchased domain towards Ning's servers.…"
1 hour ago
Enrrico Torres replied to Enrrico Torres's discussion 'Change Domain Name'
"yes it's a 3.0, i could not change the doman from domain mapping? or we have to email Ning to…"
1 hour ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service