attachments - FORUM - Ning Creators Social Network2024-03-29T15:41:19Zhttps://creators.ning.com/forum/topics/feed/tag/attachmentsHow to Reinstall your Lost Attachments / Files after Migration from N2-N3https://creators.ning.com/forum/topics/how-to-reinstall-your-lost-attachments-files-after-migration-from2019-07-26T22:56:03.000Z2019-07-26T22:56:03.000Z⚡JFarrow⌁https://creators.ning.com/members/JFarrow<div><p>If you recently migrated from Ning 2.0 to Ning 3.0 you may have discovered that your Attachments on Forums inside Groups may be missing. In the future, this may we worked out, but in the meantime, this is what I am doing to remedy. </p><p>About your missing files: Hopefully you have them backed up. You could have downloaded them using the old archiver but chances are you may have to go into the <a href="http://web.archive.org" target="_blank">Wayback Machine</a> to retreive them.. (remember there is also a /topics/ after /forum inside the old 2.0). </p><p>As for getting the problems solved. Here is a little video walkthrough i made today while testing out Loom recorder. Sorry for the lag in some places...my internet was slower than usual today..</p><p>Sorry, your browser doesn’t support HTML5 videos. <a href="{{#staticFileLink}}3387055889,default{{/staticFileLink}}">Download it.</a></p><p style="text-align:center;">Also see...</p><p style="text-align:center;"><strong><a href="https://creators.ning.com/xn/detail/6651893:DiscussionEntry:275361">Tip: Language Editor Tweaks for File Downloads and Attachments</a></strong></p><p style="text-align:center;"><strong>Sweet Potato graciously provided us with this method for creating your Download buttons</strong></p><h3 class="entry-title" style="text-align:center;"><a href="https://creators.ning.com/forum/topics/ning-3-0-tip-download-button">Ning 3.0 Tip: Download Button</a></h3><p> </p><p>In this video I'll show you how to reupload those attachments while embedding them at the same time into your discussions so that you can regain your search engine traffic for those pages. </p><p><strong>For this example it is best to create a workflow with just 3 tabs open</strong> (instead of 15 like i did in this video... sorry for the length). </p><ol><li>The Edit page for the Discussion you are updating</li><li>This <a href="https://codepen.io/JFarrow/pen/PMbzaY" target="_blank">Code Pen</a> to change out the URL for generating your Embed Iframe</li><li>Your <a href="https://search.google.com/search-console/" target="_blank">Google Webmaster Console</a> to resubmit to search engines after update.</li></ol><p> </p><p class="codepen" style="height:300px;border:2px solid;margin:1em 0;padding:1em;">See the Pen <a href="https://codepen.io/JFarrow/pen/PMbzaY/"> PDF View or any docs view using gdocs</a> by JFarrow (<a href="https://codepen.io/JFarrow">@JFarrow</a>) on <a href="https://codepen.io">CodePen</a>.</p></div>How to Implement Members-Only Downloads for Attachmentshttps://creators.ning.com/forum/topics/how-to-allow-implement-members-only-downloads-of-attachments2012-08-31T18:59:53.000Z2012-08-31T18:59:53.000Z⚡JFarrow⌁https://creators.ning.com/members/JFarrow<div><p>So I made a change to my network this week that I think could be very beneficial to other creators.  I noticed that some of my forum posts have between 5k-7k views but not very many replies, so with a little investigation, i realized that these posts where ones with uploaded attachments such as manuals and guides.</p>
<p></p>
<p>I wrote some javascript to require non-members to be forced to sign up in order to download files from my surveyors network.</p>
<p>Here is the code, which must be placed inside your custom code section at the bottom under all of your other scripts.</p>
<p><script><br />
x$('.attachments li a').click(function () {<br />
if (x$('#xn_signout').html() != "Sign Out" || x$('#xn_signout').html() == null) {<br />
x$(window.location).attr('href', 'http://yournetwork.com/main/authorization/signUp');<br />
return false;<br />
}<br />
});<br />
</script></p>
<p></p>
<p>What happens when yo are not signed in and try to download an attachment is it automatically redirects members to the signup page.  Take a look at <a rel="nofollow" href="http://landsurveyorsunited.com/group/excel/forum/topics/curves-widening-etc" target="_blank">this post</a> and try to download the attachment and you'll see what I mean.  Tell me what you think!</p>
<p></p>
<p>By the way my network just crossed the 8200 member mark this week!  Hoo-Ray! <em> I am very picky about my members...</em></p>
</div>