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

Kos replied to Patrick Chappelle's discussion 'Show Me Your Ning 3.0 Site!' in the group The Sandbox
"ha!  No sooner do I post that and 1/2 of my CSS isn't showing. #fail  (LOL)  I…"
2 minutes ago
John Bizley replied to Patrick Chappelle's discussion 'Show Me Your Ning 3.0 Site!' in the group The Sandbox
"Hi Patrick, here is mine and it is fully open for viewing. I have still lots to do and it's…"
6 minutes ago
Skye replied to Tim's discussion 'Ning Slow Today?'
"Looks like I spoke too soon, a member stated she received a 500 error…"
39 minutes ago
Kos replied to Patrick Chappelle's discussion 'Show Me Your Ning 3.0 Site!' in the group The Sandbox
"I totally tore my 3.0 apart and began back all over again b/c I think we've all been…"
57 minutes ago
Troy D. Bertrand replied to PeruCool's discussion 'Alternatives to Ning social network'
"Please forgive me Kim. I'm been bombarded by spammers. I got the new member awaiting approval…"
1 hour ago
Forbes. replied to Forbes.'s discussion 'Help! 500: Unexpected Error'
"Thanks,its okay."
1 hour ago
Kim Newberg aka imagesbykim replied to PeruCool's discussion 'Alternatives to Ning social network'
"Im waiting for approval on ex"
1 hour ago
Maythureinko favorited Eric Suesz's page Ning 3.0 Roadmap
1 hour ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service