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™

Customizing "?s2member_file_download="

s2Member Plugin. A Membership plugin for WordPress®.

Customizing "?s2member_file_download="

Postby beanojames » January 29th, 2012, 1:59 pm

Is it possible to customize the "?s2member_file_download=" to something else such as
"?file="
User avatar
beanojames
Registered User
Registered User
 
Posts: 2
Joined: January 29, 2012

Re: Customizing "?s2member_file_download="

Postby beanojames » January 30th, 2012, 10:17 am

Yes? No?
User avatar
beanojames
Registered User
Registered User
 
Posts: 2
Joined: January 29, 2012

Re: Customizing "?s2member_file_download="

Postby Cristián Lávaque » January 31st, 2012, 4:18 am

Hmm... I haven't tried it, but you could probably do something. In the mu-plugins directory you could add a php file that checks if $_GET['file'] isset and if so, define s2member_file_download with its value.

I hope that helps. :)
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: No registered users and 0 guests

cron