How can you remove the "+Add Photo", "+Add Blog" links - I only want admins to have this function.
Tags:
Permalink Reply by Kos on January 20, 2013 at 7:36am 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
Permalink Reply by Tony Craig on February 21, 2013 at 5:51pm 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.
Permalink Reply by Tony Craig on February 24, 2013 at 4:39pm 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

Permalink Reply by TJ @ jQueryHelp on February 22, 2013 at 12:09pm 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"
Permalink Reply by Kos on February 22, 2013 at 1:09pm Wow, that is wicked cool TJ! Can't wait to see his response if it does the trick for him.
Permalink Reply by Tony Craig on February 24, 2013 at 4:37pm 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
Allison Leahy replied to soaringeagle's discussion '3.0 feature request'
Kos replied to SweetPotato's discussion 'Simple, Responsive Slider for Ning 3.0'
Kos replied to SweetPotato's discussion 'Simple, Responsive Slider for Ning 3.0'
Kos replied to John Bizley's discussion 'File Manager NO DELETION option anymore ? Plus can you expand the file name size box.' in the group The Sandbox
John Bizley replied to John Bizley's discussion 'File Manager NO DELETION option anymore ? Plus can you expand the file name size box.' in the group The Sandbox
Riccardo Rossini replied to John Bizley's discussion 'File Manager NO DELETION option anymore ? Plus can you expand the file name size box.' in the group The Sandbox© 2013 Created by Ning.
