PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

articulate presenter file protection and access?

s2Member Plugin. A Membership plugin for WordPress®.

articulate presenter file protection and access?

Postby rhinoflog » October 5th, 2010, 4:53 pm

Hello, I have searched for the answer to this question but cannot find anything that helps me.

Here's the goal: to protect the Articulate Presenter files which I deliver to my members through S2.

Articulate Presenter is elearning software which publishes your presentations to a folder that has multiple files in it, including a player.html file. If you point your browser to the player.html file, it will play the presentation (but will utilize the other files in the directory that the player.html file is in).

I have uploaded my entire presentation to the s2-member-files folder and I understand how that works. However, when I point my browser to the player.html file in the s2-member-files directory (using http://examplesite.com/?s2member_file_d ... layer.html), the presentation doesn't play. I have a feeling this has to do with the fact that the player.html calls other files in the directory and the s2-member-files prevents it from accessing those other files.

(I have tried using the URI protect directory. After uploading my presentation, when I point my browser to the player.html, the presentation plays perfectly... Unfortunately, this is the case whether I'm logged in or not. So I figured I couldn't use the URI protect method.) :(

Any ideas or help would be monumentally appreciated.
User avatar
rhinoflog
Registered User
Registered User
 
Posts: 2
Joined: October 5, 2010

Re: articulate presenter file protection and access?

Postby DavidJohnson » February 27th, 2011, 10:32 am

Did you ever get this working? Id like to do the same thing as well. I haven't tried it yet but what about an iFrame? Put it in the files folder and iFrame it in... It should work that way but will it be protected if somebody views source and see's where the file is being iFramed from? Id hate for that to be shared for others to see.
User avatar
DavidJohnson
Registered User
Registered User
 
Posts: 1
Joined: February 27, 2011

Re: articulate presenter file protection and access?

Postby Cristián Lávaque » February 27th, 2011, 4:46 pm

And couldn't you edit the HTML file that points to the other files in the directory and edit the URLs so they all have the right format that will make s2Member serve them to a logged in member?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: articulate presenter file protection and access?

Postby rhinoflog » March 9th, 2011, 12:09 am

Yes, Cristian, that seems like a good idea, and I tried it but to no avail.

I have yet to solve this problem. Would love to solve it, though, as I feel Wordpress + s2member and Articulate are excellent platforms for what I want to do.
User avatar
rhinoflog
Registered User
Registered User
 
Posts: 2
Joined: October 5, 2010

Re: articulate presenter file protection and access?

Postby Jason Caldwell » March 9th, 2011, 11:52 pm

Thanks for the excellent question.

You might try adding a BASE HREF tag to your document.
See: http://www.w3schools.com/tags/att_base_href.asp

Depending on the actual location of your file dependencies,
your base HREF may also need to have ?s2member_file_download= in it.
Code: Select all
<base href="http://examplesite.com/?s2member_file_download=directory/" />
This way all embedded media and links will come out like this.

Code: Select all
<img src="myimage.gif" />

Will actually translate to ( because of the BASE HREF ):
Code: Select all
<img src="http://examplesite.com/?s2member_file_download=directory/myimage.gif" />

* You will also need to configure s2Member's Inline File Extensions. You will find this in your Dashboard under: s2Member -> Download Options -> Inline File Extensions.

* This concept/idea is yet untested; but should work in theory. Please report back with any successes or failures. It will really be appreciated.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron