Replies are closed for this discussion.
Permalink Reply by Donald R Reid on May 29, 2012 at 4:49am Bruce, Without using Design Studio how would you enter the codes ...
Donald
Permalink Reply by Bruce Gaynham on May 29, 2012 at 5:58am Hi Donald,
You paste that code into your Custom Code box. My Network->Tools->Custom Code
Permalink Reply by Bruce Gaynham on August 7, 2012 at 4:57am Thanks Analiza. I thought I would leave it bright yellow as it is very eye-catching, and sort of shouts out at you to do something else in order to see more. ;o)
Permalink Reply by Bruce Gaynham on May 20, 2012 at 5:20am Would anyone be able to tell me how I would change the Activity Feed part of Bernard's code to keep the Latest Activity heading, hide the feed itself, and display the same message that shows on the Members' page to ask the visitor so Sign In or Sign Up to see that content?
As it is now it completely removes the Activity Feed section and is just blank where it should be, so a visitor wouldn't know that they are missing out on anything going on there.
Permalink Reply by Bruce Gaynham on August 7, 2012 at 4:22am In answer to my own question re hiding Activity Feed, just in case anyone else wants to do the same...
See screenshots for results.
<script type="text/javascript">
<!----Hide Latest Activity and Member Profiles from non-signed in visitors---->
if ((ning.CurrentProfile == null) && ((x$(".xg_widget_profiles_profile_show").length > 0) ||
(x$(".xg_widget_profiles_comment_list").length > 0) ||
(x$(".xg_widget_profiles_members_index").length > 0))) x$("#xg_body").html('<div id="jQH_HideProfileMessage">Please <a href="http://www.yournetwork.name/main/authorization/SignIn">Sign In</a> or <a href="http://www.yournetwork.name/main/authorization/SignUp">Sign Up</a> to see this page!</div>');
</script>
<style type="text/css">
#jQH_HideProfileMessage {
padding: 2em;
background-color: #FFFF33;
color: red;
font-size: 200%;
}
</style>
<script type="text/javascript">
if (ning.CurrentProfile == null) {
x$("div.xg_module_body.activity-feed-skinny").html('<div id="jQH_HideProfileMessage">Please <a href="http://www.yournetwork.name/main/authorization/SignIn">Sign In</a> or <a href="http://www.yournetwork.name/main/authorization/SignUp">Sign Up</a> to see member activity!</div>');
x$("div.xg_module_network_description").html("Welcome Guest!");
}
</script>
Permalink Reply by talenttobediscovered on May 21, 2012 at 2:56pm This is very interesting I like it and I will try to do it.
Thanks
Fire-Tech replied to Jen's discussion 'Jen's Running List - Updated 4/6/2013' in the group The Sandbox
Fire-Tech replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
Coach Jon HighPoint IELTS Admin replied to Coach Jon HighPoint IELTS Admin's discussion 'Sandbox Project Report: HighPoint IELTS Prep' in the group The Sandbox
Coach Jon HighPoint IELTS Admin replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
Larry Matthews replied to Larry Matthews's discussion 'Anyone know how to fix Table Alignment ?'© 2013 Created by Ning.
