This is the site I admin, and I pasted a code into Advanced CSS to hide the Latest Activity feed from members profiles. Look to the bottom of the screen shot and you'll see the code shows up at the bottom of the page. I know others are using this same code, so I'm asking i anyone else is having this problem.

Update: Turns out there are two hacks down there, not just one.

Thanks

Tags: CSS, Latest Activity, hide latest activity

Views: 194

Reply to This

Replies to This Discussion

Hi Patrick,

I think this is just a typo or tag enclose problem. You just seem to forgot to encode the opening or closing <style> tag. Check your code again particularly on that line which is showing up at the bottom footer. My good guess is the opening <style> tag is missing.

Hope that helps.

I've never used a <style> enclosure for any hack used to hide Ning modules. I'll give it a try.

Thanks Ron.

Ron is correct. You have a <style> tag in the Custom Code box (not Advanced CSS), missing the start of the tag.

 

.xg_widget_profiles .xg_module_activity {display:none!important;} .xg_widget_profiles .xg_module_activity div.xg_module_head h2 {display:none!important;} </style>
SHOULD BE:

<style>
.xg_widget_profiles .xg_module_activity {display:none!important;} .xg_widget_profiles .xg_module_activity div.xg_module_head h2 {display:none!important;} </style>

Hope that helps confirm the issue,
Jen

Thank you Jen!

BTW, Emmanuel was right, too. ;-)

Bad news. Jen. It's still there! =(

hmmm, let me take another look.

Ok.

Now you have multiple errors. Please find this block of code. Where I have striked out the code, do the same by removing it. Also, I bolded the correct code:

</script> <!-- END Slider -->    .xg_widget_profiles .xg_module_activity {display:none!important;} .xg_widget_profiles .xg_module_activity div.xg_module_head h2 {display:none!important;}  </style> <!-- Replace Alerts with My Comment Wall -->

<script type="text/javascript"> x$(document).ready(function() { x$("a.xg_sprite-alert").attr("href", "http://"+top.location.host+"/profiles/comment/list?attachedToType=User&attachedTo=" + ning.CurrentProfile.id).html("My Comment Wall"); }); </script>  <a href="http://www.skysa.com" id="SKYSA-NoScript">HTML Codes</a><script type="text/javascript" src="//static2.skysa.com?i=6B6E0DB0-C571-48EC-B169-D652D1558B70" async="true"></script> <style> .xg_widget_profiles .xg_module_activity {display:none!important;} .xg_widget_profiles .xg_module_activity div.xg_module_head h2 {display:none!important;} .xj_sidebar_content .xg_module_activity {display:none !important;} </style>

CHANGE TO:

</script> <!-- END Slider -->   .xg_widget_profiles .xg_module_activity {display:none!important;} .xg_widget_profiles .xg_module_activity div.xg_module_head h2 {display:none!important;}  </style> <!-- Replace Alerts with My Comment Wall -->

<script type="text/javascript"> x$(document).ready(function() { x$("a.xg_sprite-alert").attr("href", "http://"+top.location.host+"/profiles/comment/list?attachedToType=User&attachedTo=" + ning.CurrentProfile.id).html("My Comment Wall"); }); </script>  <a href="http://www.skysa.com" id="SKYSA-NoScript">HTML Codes</a><script type="text/javascript" src="//static2.skysa.com?i=6B6E0DB0-C571-48EC-B169-D652D1558B70" async="true"></script> <style> .xg_widget_profiles .xg_module_activity {display:none!important;} .xg_widget_profiles .xg_module_activity div.xg_module_head h2 {display:none!important;} .xj_sidebar_content .xg_module_activity {display:none !important;} </style>

She shoots! She scores! Thanks a million Jen!

Thank you too, Ron!

You're welcome. problem now solved I see :-)

RSS

Latest Activity

Riccardo Rossini replied to Alex's discussion 'More styling in the Design Studio'
"An another thing about avatar: the image uploaded that aren't in square aspect ratio are…"
5 minutes ago
Bree replied to soaringeagle's discussion '3.0 feature request'
"I hope this feature will be added, as SE says it will really help to drive activity and allow…"
1 hour ago

NC for Hire
Bernard Lama replied to Indrie Florin Gabriel's discussion 'Buton More Disapears'
"You are welcome Gabriel."
2 hours ago
Kos replied to Angie Fisher's discussion 'Help for a 3.0 Newbie Please....'
"Create a 2nd page and save it. Once saved a box will appear "make subtab". Check that and…"
2 hours ago
Riccardo Rossini replied to Alex's discussion 'More styling in the Design Studio'
"Alex, can you please consider this…"
2 hours ago
Riccardo Rossini replied to Riccardo Rossini's discussion 'Severe bug!' in the group The Sandbox
"Tha problem is still not solved...:(("
2 hours ago
Riccardo Rossini replied to Jen's discussion 'Menu on Mobile Device Difficult'
"Subtables overlap the menù.."
3 hours ago
Indrie Florin Gabriel replied to Indrie Florin Gabriel's discussion 'Buton More Disapears'
"It's works, Thank you Bernard!"
3 hours ago

© 2013   Created by Ning.

Badges  |  Report an Issue  |  Terms of Service