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™

Protected .html file is not accessing image or css files

s2Member Plugin. A Membership plugin for WordPress®.

Protected .html file is not accessing image or css files

Postby rtrevivian » August 18th, 2011, 10:48 am

I am trying to secure a static html page by placing it inside /access-s2member-level1 but when I log in and view it using ?s2member_file_download= the page renders without any assets ie. images or css (which are located in the same directory). Is it possible to get the page rendering correctly?
User avatar
rtrevivian
Registered User
Registered User
 
Posts: 4
Joined: August 18, 2011

Re: Protected .html file is not accessing image or css files

Postby Cristián Lávaque » August 18th, 2011, 3:01 pm

You'll have to access each file the same way you did the HTML (i.e. ?s2member_file_download=...).
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: Protected .html file is not accessing image or css files

Postby rtrevivian » August 19th, 2011, 3:13 am

Thats sorted it, thanks very much
User avatar
rtrevivian
Registered User
Registered User
 
Posts: 4
Joined: August 18, 2011

Re: Protected .html file is not accessing image or css files

Postby Cristián Lávaque » August 19th, 2011, 9:40 pm

:)
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


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests

cron