latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Emmanuel Genoll

I was a photographer pro during ten years. Now I stopped and shoot only for fun, I have a more classic job now but I always sell my photo and video contents on adult websites. I'm using s2Members with ccBill.


My Latest Replies (From Various Topics)

Viewing 25 replies - 1 through 25 (of 26 total)
Author Replies
Author Replies
Posted: Saturday Feb 23rd, 2013 at 12:10 pm #43048

YESSSS

In wp-config.php i removed

define('DISALLOW_FILE_EDIT', true );

is it right ?

Posted: Saturday Feb 23rd, 2013 at 12:02 pm #43047

I have try with “Twenty Eleven” and “Twenty Twelve”
After activation i can see this message : “Quick Cache reset automatically to avoid conflicts :-)”
but still the same error.

Now i remove the plugin, clean wp-options table, and re-install the plugin. I Hope :-)
Still the same. :-(

Posted: Saturday Feb 23rd, 2013 at 4:27 am #42985

Nothing particular in the data base concerning cache. I have deactivated one by one all plugins and no change.

Posted: Saturday Feb 23rd, 2013 at 3:58 am #42983

Ok, i will investigate in database

Posted: Saturday Feb 23rd, 2013 at 2:38 am #42968

I’ve just send a message with login infos.
Thanks for your help

Posted: Friday Feb 22nd, 2013 at 9:38 am #42814

I have all rights.
I’ve just test it with Enhanced Capability Manager

Posted: Friday Feb 22nd, 2013 at 8:53 am #42807

All test is green…

Posted: Wednesday Jan 30th, 2013 at 10:52 am #40002

Hello Jason

After some new tests it works.
THANK YOU

Posted: Saturday Jan 26th, 2013 at 12:33 pm #39700

Wel I’ve made new tests ond it’s ok i receive an email with a link to register but i have a new message :

User registration is currently not allowed.

So i’ve modify in General Options -> Open Registration on YES

But now when i register on my account by clic on the link emailed to me, i’m a free subscriber.

Posted: Thursday Jan 24th, 2013 at 12:56 pm #39429

Hello Jason
I send it again

Thanks for your help

Posted: Wednesday Jan 23rd, 2013 at 3:59 am #39131

Hello Jason
Have you received my private message ?

Thank you for your help

Posted: Friday Jan 11th, 2013 at 1:21 pm #37026

Thank you
I will test it right now

Posted: Tuesday Dec 11th, 2012 at 4:46 pm #34300

Thanks for your help but it’s still don’t work.
I will try an another directory inside root.

Thank you

Posted: Monday Dec 10th, 2012 at 4:26 pm #34178

Hello Bruce

well i try again but it don’t work. Sorry
I think i will try with a classic folder into the root.

Can you read my code, may be a mistake that i can’t see ;-)

<?php
add_filter('ws_plugin__s2member_files_dir', 'my_files_directory');
function my_files_directory() {
return ABSPATH.'/var/www/vhosts/mydomain.com/myfolder/'.((stripos(PHP_OS, "win") === 0 && stripos($_SERVER["SERVER_SOFTWARE"], "apache") === false) ? "/app_data" : "");
}
?>
Posted: Sunday Dec 9th, 2012 at 5:36 am #34044

Can you try adding the following line to the end of your new directory?

I don’t undestand what you mean by new directory ?
Can you explain a little more ;-)

Thank you

Posted: Friday Dec 7th, 2012 at 1:23 pm #33906

Always the same message…

This is directory info :
user www-data
group www-data
chmod 775

My server run whith plesk

Posted: Thursday Dec 6th, 2012 at 5:08 pm #33786

Sorry always the same message : The security-enabled files directory (/var/www/vhosts/mydomain.com/mysecuritydirectory) does not exist.

Posted: Thursday Dec 6th, 2012 at 4:45 pm #33783

Hi,
It’s not a document outside wordpress that I wish to protect.
I just want to modify the location of the security-enabled directory, and this location is outside the web root.

Posted: Wednesday Dec 5th, 2012 at 8:26 am #33543

Thanks but i can’t fix my trouble so i’ve decide to re-install on single domain.

To complex for me ;-(

Posted: Friday Nov 16th, 2012 at 5:21 am #31750

Sorry but don’t work.

I need to use the protected zip file. I must use a mix between
My Conditions if zip file exist and if member or no.

My function to make my zip file, like this id_model_full.zip, for example marilyn_full.zip, this file is in my protected folder.
I must use something like this

<?php
if (in_array('zipfull', get_field('fichiers_zip')) and current_user_can("access_s2member_level3"))
	echo '<a title="Right clic to download this file" href="s2member_file_download_url(array("file_download" => "' . the_field('id_model') . '_full.zip")">Zip Full</a><br/>';
else if (in_array('zipfull', get_field('fichiers_zip')))
	echo '<a title="Right clic to download this file" href="/join">Zip Full (Between 3M and 6M pixels</a><br/>';
else 						
	echo '';
?>

Of course my code is wrong :-)

Posted: Thursday Nov 15th, 2012 at 9:49 am #31691

get_field or the_field are functions defined in my custom functions.

But my main problem si how can i integrate the URL of zip fil in my if-elseif-else condition.

echo '<a title="Right clic to download this file" href="#">Zip Full (.....

at the place of href

Posted: Wednesday Nov 14th, 2012 at 9:16 am #31574

Great, thank you

Posted: Wednesday Nov 14th, 2012 at 6:13 am #31550

It works; like this :

if (in_array('ziplevel2', get_field('zipfiles')) && current_user_is("s2member_level2")) {
	$memberlink = '<a title="Member only" href="#">Zip Level 2</a><br/>';
	echo "$memberlink";
} else {
	$freelink = '<a title="Freelink" href="/join">Zip Level 2</a><br/>';
	echo "$freelink";
}

Thank you

Posted: Saturday Nov 10th, 2012 at 4:15 am #31189

Sorry but it don’t work :-(
And how to show the value $freelink if the member has no required levels ? How to add and else condition ?

if(in_array('ziplevel2', get_field('zipfiles')) && current_user_is("s2member_level2"))
	{
	$freelink = '<a title="Freelink" href="/join">Zip Level 2</a><br/>';
	$memberlink = '<a title="Member only" href="#">Zip Level 2</a><br/>';
	echo "$memberlink";
	}
Posted: Friday Nov 9th, 2012 at 4:02 pm #31173

Thanks, I test that tomorrow, now I am going to sleep.

;=/

Viewing 25 replies - 1 through 25 (of 26 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.