Current status of the Ning Platform is always available on the Ning Status Blog.

FORUM

This question was asked in the forum about members not having to upload an image for an event and show a default image if they chose not to add an image. So here is a way to do that, I have tested this on IE, Chrome and Firefox and all works. Also added a Latest Activity Module and it works there too.

NOTE: As we are no actually uploading an image a media frame is not created for it in the main activity feed so there will be no image shown there. I am working on a way to add the image for the main activity and will update this post when done.

Below you will see a demo image of the events added not with an image uploaded by the user and so shows the default image I added of the green calendar.

Adding the code

First of all you will need an image you want to display. Once you have one add it to your file manager then copy the link for insertion into the code where it says ADD IMAGE LINK HERE

Next you will have to edit the code and add your site's url replacing the part in bold YOUR URL HERE.

This code goes in your site and pages custom code

<script>
// Remove Image require in events, change to default image
x$(document).ready(function(){
x$('.entryEditPage #entry-form').attr('data-image-required','false ');
x$('img.eventPage-image[src=" Your url here?height=400&width=400&crop=1:1"]').closest ('.eventPage-image').addClass("noImage");
x$('.eventPage-image.noImage').attr('src',' ADD IMAGE LINK HERE ');
});
</script>

This is how it should look when done

<script>
// Remove Image require in events, change to default image
x$(document).ready(function(){
x$('.entryEditPage #entry-form').attr('data-image-required','false');
x$('img.eventPage-image[src="http://bizzssite.ning.com?height=400&width=400&crop=1:1"]').closest ('.eventPage-image').addClass("noImage");
x$('.eventPage-image.noImage').attr('src','https://api.ning.com/files/8u9*hkKvZQTPOzjRk0tYJjwOiykjQ36cHuRZtESh-ixKD8CNaVNApgT25qi1s0q*2dMrlZDF0WoaKUGqxO7HZK426A3LkNFg/textcalendar.png');
});
</script>

DEMO IMAGE

You need to be a member of Ning Creators Social Network to add comments!

Join Ning Creators Social Network

Email me when people reply –

Latest Activity

Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion
Overview of Q3 and Ning Q4 2017 plan.
"Hi there!
We already have such suggestion registered in the system, but the management hasn't made…"
2 hours ago
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion
Overview of Q3 and Ning Q4 2017 plan.
"Hi there!
Only number 4 is related to both platforms, all other features would be implemented on 3.…"
3 hours ago
Kyryl_Ning_Support replied to Kyryl_Ning_Support's discussion
Overview of Q3 and Ning Q4 2017 plan.
"Hi there!
1. I do remember this suggestion, you have posted it here before. And I have good news fo…"
3 hours ago
American Energy replied to Kyryl_Ning_Support's discussion
Overview of Q3 and Ning Q4 2017 plan.
"Will each of the below be available on 2.0?
1. Member ranking system2. E-commerce platform wider de…"
3 hours ago
Ning via Facebook

Do you think that Ning platform should provide opportunities for creating business pages? Share…

Kos replied to Kyryl_Ning_Support's discussion
Overview of Q3 and Ning Q4 2017 plan.
"If you're using Nings RSS feed (on 3.0), you can display up to 24 items"
6 hours ago
George Daniels, leon van rooyen, Rolf Joho and 46 more joined Ning Creators Social Network
12 hours ago
Badan Barman replied to Kyryl_Ning_Support's discussion
Overview of Q3 and Ning Q4 2017 plan.
"I would like to recommend two features that are crucial for my survival, 1. Provision of displaying…"
14 hours ago
Badan Barman replied to Kyryl_Ning_Support's discussion
Creators, we need your opinion regarding one idea
"I loved the existing way of Inviting the members. Will not recommend a third party not for the cost…"
14 hours ago
Badan Barman replied to Scott Bland's discussion
Should I or shouldn't I?
"Dear Bland, I am here from the year 2008 and I loved the way Ning is moving. Will recommend it full…"
14 hours ago
Ning via Facebook

The law is hard, but it is the law. Do you think that social media marketing laws are too…

Ning via Facebook

A or B? Black or white? Discover why A/B testing is more than simple choice of 2 landing page…

More…

Meanwhile, you can check our social media channels