This topic contains 15 replies, has 5 voices. Last updated by Eduan 4 years, 2 months ago.
Topic Author | Topic |
---|---|
Posted: Tuesday May 29th, 2012 at 10:52 pm #14892 | |
Hello, I have uploaded my html (htm actually) file along with the swf and any other relevant files inside a folder on the “s2member-files” directory. I have added htm,html,swf,flv in the Inline File Extensions and I have set unter ” Bsic Download Restrictions” File Downloads ( Level #1 Or Higher ): 99 every 1 days in order to test it. Now, I want a wordpress page to link (I would like if possible the page to load immediately the htm file) to the html file. Not sure if this is possibe… When I try to access the htm file directly using its location path: http://mysite.com/forum/wp-content/plugins/s2member-files/my_folder/something.htm I get: “Error 500: Internal Server Error” The directory “forum” is where wordpress is installed. When I try to access it like this: http://mysite.com/forum/?s2member_file_download=/my_folder/something.htm I get my htm page which has a grey background but there is nothing in it. It should load the swf file which is an online course. What am I doing wrong? Should it be inline instead of download in the url, what should the format be? I tried everything. I also read Jason’s post about Advanced Mod rewrite and try to use the links in that section to link to my restricted files but I had no success. Different approach (that was my first approach really… Thank you, Dem |