Hi Guys,

 

I am an admin for my site. I want to customize my page so I would like to remove Latest Activity, Text Box, Comment Wall, etc. How can I do that?  If I remove it should be the default format for all the users.

 

Thanks in advance

Steve

Tags: activiy, latest, remove

Views: 184

Reply to This

Replies to This Discussion

You can target your own page and those modules with CSS. What is the URL of your page. I will take a look and give you the code to hide them. 

Hi Flint,

 

Thanks for your quick reply.Here is my link.

 

http://mystates.ning.com/profile/3edup8xxk0wdm

 

Thanks

Steve

This needs to be done with Java Script and an external CSS file. After you edit the code directly below following my destructions, copy and paste it into your custom code box.

<script type="text/javascript">x$(document).ready(function() {if (window.location == 'http://mystates.ning.com/profile/3edup8xxk0wdm')x$(".xg_widget_profiles_profile_show .xg_module_activity").before('<div><link href="EXTERNAL-CSS-FILE-HERE" rel="stylesheet" type="text/css" media="all" /></div>');});</script>

Open notepad on your computer. Copy and paste the CSS code you see below into the notepad. Now save that file as ----> hide-modules-my-page.css

CSS-Code:

.xg_module_activity {display:none !important;}
.html_module.module_text {display:none !important;}
.xg_module_comment_wall {display:none !important;}

Upload that file to your website through a text box by clicking on the paper clip after clicking the edit button for that text box. In the window you will see a URL after the file has been uploaded, copy the URL for that CSS file, click the cancel button for that text box and then paste the URL in place of EXTERNAL-CSS-FILE-HERE

Do not remove the single quotes, paste in between them. After you do that, add the script to your custom code box.

I tested this on my website and it worked without a hitch.


**Note**

If you are just an admin and not the site creator, you will not be able to use this hack. Only site creators have access to the custom code box.


-Flint 

Hi Flint,

 

You are the best.

 

It works like a charm.

 

Where can we find the module names(ex: xg_module_activity).

 

Thanks

Steve

Thank you and welcome. =)

You can find a few names here http://help.ning.com/cgi-bin/ning.cfg/php/enduser/std_adp.php?p_faq... 

Hi to The Internet Junkie,

I’ve just fallen upon that discussion and the script you provided to Steve in October 2011. I’d like to thank you for sharing your script with the NC network. I’d like to ask you 2 questions about it, I hope you’ll get my message. Right now, I’m working on designing a standard MyPage to be used by all my network Members. To do so, I’m trying to modify the layout of the default MyPage. I’ve used your script which was a good start. However, here are 2 difficulties I’m facing and trying to solve, maybe you have an idea that could help me solve it: QUESTION 1/ Your script helps remove all the text boxes of my MyPage. I’d like to remove specific text boxes and not all of them. Do you have any idea of how I could identify in the script a specific text box to modify that only box? QUESTION 2/ Since you use the http://mystates.ning.com/profile/3edup8xxk0wdm URL to address to my MyPage, I’ve found out that your script was modifying my MyPage only but my Members’ MyPages hadn’t changed. Is there any way I could do the modifications on all the MyPages to get a unique standard default MyPage laid out as I need it to be? I hope my questions are clear, A big thanks in advance for the help you could provide me with :-)

Go to My Network>Features Layout.  You have full control to cumtomize layout and add and remove stuff.

Hi Bernard,

 

I tried that but the change only appears in MAIN page. I want to change the layout in MY PAGE.

 

Thanks

Steve

Hi there,

Thing is that, basically, we can't change someone's page layout. We have to use some kinda javascript code for that and I don't have an idea how to do that...hope someone will help you to do so...

RSS

Latest Activity

Strumelia replied to Yaron's discussion 'Feature request: The ability to embed music players, in the same way we could embed videos on Ning 3.0?'
"Oops, I see I was typing pretty much the same request and clarifications as Yaron was at the same…"
4 minutes ago
Strumelia replied to Yaron's discussion 'Feature request: The ability to embed music players, in the same way we could embed videos on Ning 3.0?'
"I feel my network needs a centralized player that all members could upload their music clips to, in…"
6 minutes ago
Allison Leahy replied to Yaron's discussion 'Feature request: The ability to embed music players, in the same way we could embed videos on Ning 3.0?'
"Sure does. Thanks for the clarification. It's a really great idea, and I'll be glad to…"
17 minutes ago
Yaron replied to Yaron's discussion 'Feature request: The ability to embed music players, in the same way we could embed videos on Ning 3.0?'
"Thanks, Allison. What I meant was for this to be identical to the embed video feature, so that…"
24 minutes ago
Profile IconMiTu Network Ops, David McDine, Joana Reiterer and 6 more joined Creators
36 minutes ago
Allison Leahy replied to Yaron's discussion 'Feature request: The ability to embed music players, in the same way we could embed videos on Ning 3.0?'
"Great news, Yaron. This is totally possible -- you can embed SoundCloud or ReverbNation widgets on…"
42 minutes ago
Jorge Bravo 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
1 hour ago
Allison Leahy replied to SM's discussion 'Just discovered Disqus commenting on Ning - how do we add more features?'
"Thanks for looking into it, SM!"
1 hour ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service