Very specific wordpress.org / Hostgator problem - Help!

4 replies
  • WEB DESIGN
  • |
I'm having a problem with optimizepress (on Wordpress.org 4.4.2) & Hostgator. It's a very specific problem which I'm going to try to describe as clearly as possible. I'm hoping that someone who knows exactly what I'm talking about will be able to help.

I'm building a membership site. I have 1 product so far. I've set up most of it, but right now I'm trying to get the files that make up my product onto wordpress.

I can't upload them onto the media library directly because my files are huge. So I've uploaded them onto the cpanel of hostgator.

At first, after I uploaded them, I couldn't figure out how to make them appear in the media library. But then I found out about a plugin called Media From FTP and I managed to do it, by clicking on Search & Register. No problem.

But then, as I was watching various videos on how to set up optimizepress, one of them said that I need to protect not only the pages where my files would be, but also the files themselves.

The way to do this is to go to Optimizemember > Download Options > Basic download Restrictions.

Here's what it says there :

- - - - -
Upload restricted files to this security-enabled directory:
/wp-content/plugins/optimizeMember-files

- Now, you can link to any protected file, using this special format:
http://mysite.com/?optimizemember_fi...ample-file.zip
optimizemember_file_download = file, relative to the /optimizeMember-files/ directory. In other words, just the file name.

- Or, use: [opmFile download="example-file.zip" /] ( easier Shortcode if you prefer )
Shortcode equivalent: [opmFile /] produces the entire URL for you, easier.
- - - - -

So, I had to move my files into a special folder for them to be protected.

My files were originally in the /wp-content folder. So, I went into the plugins folder, then the optimizeMember-files folder, and then I created another folder named after my course, plus other folders inside that, in order to organize my files.

So, then I went into the Media From FTP plugin, to get my files into the media library. But when I tried, it only lets me search in the /wp-content/uploads folder (as well as whatever folders are in that one).

So I can't access my files. As far as I can see I have only 1 option, which is to move my files into the uploads folder. This would work, but it would be unacceptable because the files wouldn't be protected. I need them in the protected folder (optimizeMember-files) and I need to get to them from the plugin so I can put them in the media library.

And that's my problem. For days I've tried and tried to get an answer but I've come across nothing. If you're reading this and you know what I'm on about, what should I do? Most of my site is done apart from some tweaking, but this is really slowing me down.

Thanks.
#hostgator #problem #specific #wordpressorg
  • Profile picture of the author CenTex Hosting
    I have not used that plug in before. But I might be able to direct you in the right direction.

    So if I am understanding the above info.

    Your customers would log into your site and they would have access to a media files. If they are not logged in the customers should not be able to see them as well as not be able to put in the directory link to where they are.

    I am usually not a fan of plugins. and usually do custom coding. But if you want I will be more than happy to set up a domain and load this on and figure it out for you. No charge. Just something we do to try and give back. let me know and I can try and set something up just like what you have and figure out a fix for you.
    {{ DiscussionBoard.errors[10527300].message }}
    • Profile picture of the author Johnny1975
      Originally Posted by CenTex Hosting View Post

      I have not used that plug in before. But I might be able to direct you in the right direction.

      So if I am understanding the above info.

      Your customers would log into your site and they would have access to a media files. If they are not logged in the customers should not be able to see them as well as not be able to put in the directory link to where they are.

      I am usually not a fan of plugins. and usually do custom coding. But if you want I will be more than happy to set up a domain and load this on and figure it out for you. No charge. Just something we do to try and give back. let me know and I can try and set something up just like what you have and figure out a fix for you.
      Well if you're using optimizemember, then yes please. But don't spend too long on this, I don't want you to inconvenience yourself. I just need to know how to make a file downloadable from the site, without moving it from /wp-content/plugins/optimizeMember-files (which is where it needs to be in order to be protected). Thanks.

      The problem that I'm having is that when I enter a URL for a file (using the Membership Files Download element), it doesn't accept it. There doesn't seem to be a way for me to put files into the media library from the hostgator cpanel with the plugin, but, I saw a video of someone entering a URL but they didn't mention putting the file into the media library, so I'm thinking maybe it doesn't have to be moved to it. I don't know. I don't know what I'm doing wrong. Maybe my URL is wrong, or maybe it's because the file is in /wp-content/plugins/optimizeMember-files (which it must be in to be protected), or maybe both. I have no idea.
      {{ DiscussionBoard.errors[10529526].message }}
  • Profile picture of the author Johnny1975
    I know how to construct the URL of a file (i.e. no spaces, no & sign, etc), and the urls to the protected files work (and they download the files onto my computer, which kind of defeats the object of protecting them), but I can't enter them into the Membership Files Download element of OP.
    {{ DiscussionBoard.errors[10535631].message }}
  • Profile picture of the author Johnny1975
    I really need help with this people. I need to be able to use the Membership Files Download element on optimizemember. My files are in the optimizemember-files folder in cpanel (they need to be there to be protected), but no matter how I try to construct the url for a file, it just doesn't work.

    What I mean is that the url itself is fine but to do it on optimizemember, I need to do this :

    http://mydomain.com/?optimizemember_...oad=myfile.pdf or whatever

    But it doesn't allow it.
    {{ DiscussionBoard.errors[10539032].message }}

Trending Topics