Related Tip:
How To Remove Right Column For Pages



Since things have changed and the Ning ID and Ads have been removed from the right column; I would like to share a nice tip with everyone. With the new Ning, any site that has access to the Custom Code Box (previously Analytics Box) can use this tip: Ning Plus and Ning Pro

How to remove the right column from a specific Group (Main Page of Group):
  1. Add the following code to your Custom Code Box, via (My Network/Tools/Custom Code).
  2. Be sure to change the Group name. Use the exact name at the end of your group URL. For example, the Group URL for the Ning Tips on JenSocial is: "http://jensocial.com/group/ningnetworktips". If I wanted to remove the right column from this Group, I would replace the 'your_group_name' with 'ningnetworktips'

UPDATE July 21, 2010: If you are using this code and it stopped working, please copy/replace using the updated code, below.


<script type="text/javascript">
if (window.location.href.split('group/')[1] == 'your_group_name') {
x$('.xg_column.xg_span-4.xg_last').css('display','none');
x$('.xg_3col').css('width','955px');
x$('.xg_span-16').css('width','945px');
x$('.xg_headline').css('display','none');
x$('.xg_span-12').css('width','940px');}
</script>

The code below will also remove the Group Header (where the Group icon takes up too much space, and the Group Text Box Header. Most Network Creators will probably not want these 2 elements removed. If you do not, please use code above.

<script type="text/javascript">
if (window.location.href.split('group/')[1] == 'your_group_name') {
x$('.xg_column.xg_span-4.xg_last').css('display','none');
x$('.xg_3col').css('width','955px');
x$('.xg_span-16').css('width','945px');
x$('.xg_headline').css('display','none');
x$('.xg_span-12').css('width','940px');
x$('div.pad5').css('display','none');
x$('div.xg_module_head').css('display','none');}
</script>

Enjoy!

Views: 638

Replies to This Discussion

is there anything that can be done about the group controls being shoved to the bottom of the page Jen?  in my network, all groups now have the controls box sent to bottom of page...any ideas?  thanks...

by the way, gonna sign up for your premium tips next week...i've sent several NCs over there and they have reportedly had great assistance...

Did you try the latest tip code, updated in July?

UPDATE July 21, 2010: If you are using this code and it stopped working, please copy/replace using the updated code, below.


<script type="text/javascript">
if (window.location.href.split('group/')[1] == 'your_group_name') {
x$('.xg_column.xg_span-4.xg_last').css('display','none');
x$('.xg_3col').css('width','955px');
x$('.xg_span-16').css('width','945px');
x$('.xg_headline').css('display','none');
x$('.xg_span-12').css('width','940px');}
</script>

 

Thanks, appreciate the supportive words and telling NCs about the Group!

Happy Holidays,

Jen

I have everything from the updated code except for the /')[1] == 'your_group_name') {

in my network i want to change all groups at same time, would adding this to the code mean that I have to change only one group per instance of this code?

 

the code I am using is as follows:

<script type="text/javascript">if (window.location.href.split('group')[1] > '/') {x$('.xg_column.xg_span-4.xg_last').css('display','none');x$('.xg_3col').css('width','955px');x$('.xg_span-16').css('width','945px');x$('.xg_headline').css('display','none');x$('.xg_span-12').css('width','940px');}</script>

 

thanks Jen...any ideas are always appreciated

I wrote one thing, but changed my mind. What you are already using should work, no?

 

If your group controls are still at bottom, has something to do with other custom CSS, and not sure what.

Best,

Jen

Hi Jen,

 

My group controls are also being shoved to the bottom. Any idea why?

My Group

 

I have no code in my custom css and my layout is A1.

I've also used the code you suggested above  :-(

So, you're just using the special script?

yep, I just have the script above and I put that punchtab code in (that I read about on this site!)

 

The group controls are at the bottom before I added the punchtab script, so that is not the issue.

 

Thank you for your speedy reply btw!

Just sorry I couldn't figure it out. I hate it when that happens. But a lot going on tonight trying to finish up at a decent hour for once, for early morning meetings.

Best to you, and if I ever have time and figure it all out, I'll create a new tip and note it here.

Best Regards,

Jen

I couldn't comment below, thread too deep. Well it looks like this tip is worthless with all the new layouts, and for that I apologize. I think I'll have to take the time to write this like I did the new one for pages, here:

http://jensocial.com/group/ningnetworktips/forum/topics/remove-righ...

 

I've been trying to fix the one group page for you, and just not hitting the right stuff.

So Sorry,

Jen

Hey no problem. Thank you for looking at it and being so fast with the comments!

Wow. This just isn't working for me. Any suggestions?

Susan,

This won't work because the new Design Studio columns are different. Go to your Design panel, click on layout, and let me know which one you are using, like A1, B3, etc...

Thanks,

Jen

RSS

Members

© 2021   Created by JenSocial.   Powered by

Badges  |  Report an Issue  |  Terms of Service

Home
VIP Ning Tips