latest stable versions: v140614 (changelog)

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

About: Bendix

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing 12 topics - 1 through 12 (of 12 total)
Topic Count Last Reply
Pro-Forms in Germany

By:  Christian Bruckmair in: Community Forum

voices: 4
replies: 5

11 months, 1 week ago  Raam Dev

Individual CCAP EOT ?

By:  Bendix in: Community Forum

voices: 3
replies: 5

2 years, 2 months ago  Bendix

Support s2member development

By:  Bendix in: Community Forum

voices: 2
replies: 1

2 years, 3 months ago  Raam Dev

General iOS problems

By:  Bendix in: Community Forum

voices: 4
replies: 9

2 years, 4 months ago  Jason (Lead Developer)

Paypal pro form – just a button?

By:  Bendix in: Community Forum

voices: 2
replies: 1

2 years, 4 months ago  Raam Dev

Error 400 1 2

By:  Bendix in: Community Forum

voices: 6
replies: 32

2 years, 4 months ago  Cristián Lávaque

htaccess – iOS JW Player MP4 stream 1 2

By:  Bendix in: Community Forum

voices: 6
replies: 30

2 years, 4 months ago  Bendix

Cloudfront and Advanced Mod-Rewrite

By:  John McChesney in: Community Forum

voices: 3
replies: 5

2 years, 5 months ago  Jason (Lead Developer)

S2 Maintenance

By:  Stuart Giles in: Community Forum

voices: 2
replies: 1

2 years, 5 months ago  Bendix

PayPal, Site after purchase

By:  Sebastian Czopp in: Community Forum

voices: 3
replies: 2

2 years, 5 months ago  Bendix

How to redirect a user to register

By:  adam chen in: Community Forum

voices: 3
replies: 7

2 years, 5 months ago  adam chen

Registration/ Profile Field&Options

By:  J H in: Community Forum

voices: 3
replies: 3

2 years, 5 months ago  J H

Viewing 12 topics - 1 through 12 (of 12 total)

Topics I've Started

Viewing 6 topics - 1 through 6 (of 6 total)
Topic Count Last Reply
Individual CCAP EOT ?

By:  Bendix in: Community Forum

voices: 3
replies: 5

2 years, 2 months ago  Bendix

Support s2member development

By:  Bendix in: Community Forum

voices: 2
replies: 1

2 years, 3 months ago  Raam Dev

General iOS problems

By:  Bendix in: Community Forum

voices: 4
replies: 9

2 years, 4 months ago  Jason (Lead Developer)

Paypal pro form – just a button?

By:  Bendix in: Community Forum

voices: 2
replies: 1

2 years, 4 months ago  Raam Dev

Error 400 1 2

By:  Bendix in: Community Forum

voices: 6
replies: 32

2 years, 4 months ago  Cristián Lávaque

htaccess – iOS JW Player MP4 stream 1 2

By:  Bendix in: Community Forum

voices: 6
replies: 30

2 years, 4 months ago  Bendix

Viewing 6 topics - 1 through 6 (of 6 total)

My Latest Replies (From Various Topics)

Viewing 25 replies - 1 through 25 (of 35 total)
Author Replies
Author Replies
Posted: Wednesday May 2nd, 2012 at 9:31 am #12376
Bendix
Username: benchefe

Hi Joe,

looks like you have to play around using API scripting like this one:

[s2If current_user_can(access_s2member_level1)]

    Some premium content for all Level 1 Members.

    [_s2If current_user_can(access_s2member_ccap_music)]
        Display links for music as well.
    [/_s2If]

    [_s2If current_user_can(access_s2member_ccap_videos)]
        Display videos as well.
    [/_s2If]

[/s2If]

… doin this for the different levels as well on a page or post.

The EOT time for individual CCAP is not working yet, but as you can see in Christians post, they are working on it!

Greetings

Posted: Saturday Apr 21st, 2012 at 10:30 am #11509
Bendix
Username: benchefe

Thx Christian.
Is there any information about a release date?
:)

can’t wait to get this option :)

Greetings

Posted: Tuesday Mar 13th, 2012 at 4:47 pm #8054
Bendix
Username: benchefe

it’s flash :)

<body style="background:#FFFFFF; margin:0; padding:0;">
<div style="width:750px; margin:0 auto 0 auto; border:1px solid #CCCCCC;">
<embed type="application/x-shockwave-flash" src="./s-details.swf" flashvars="secure=1&amp;domainName=VOCALCOACHING-ONLINE.COM&amp;lastVerified=LAST+VERIFIED%3A+03%2F13%2F2012&amp;md5Hash=6a8c2dbe246e96c4ef2ccfdcdb06c248" width="750" height="700"></embed>
</div>

is there a chance that this could be used in a html5 way or something like that, working in iOS? :)
maybe something for an update :)

but not that important…

:)

Posted: Tuesday Mar 13th, 2012 at 4:36 pm #8051
Bendix
Username: benchefe

Hi Christian,

the security badge is working fine on mac and windows computers.
The problem appears only while using an iOS system, clicking on the badge link.

greetings

Posted: Monday Mar 12th, 2012 at 3:23 pm #7914
Bendix
Username: benchefe

Hi Ross,

thx for your reply.
I tried different movie types. Right now I am testing it with a H.264, 640×480 video.

My 14 year old cousin is helping me out of this mess :)
right now he is coding a php script for “secure” file streaming.
When the php hack is finished, I will share it… :)
this young boy is really great :)

Greetings

Posted: Friday Mar 9th, 2012 at 3:47 pm #7748
Bendix
Username: benchefe

Jason!!!!!
thank you very much!!!!

Amazon® CloudFront Distributions auto-configured successfully. Please allow 30 minutes for propagation.

:)

Posted: Friday Mar 9th, 2012 at 5:19 am #7706
Bendix
Username: benchefe

Hey Mark,

where are you from ?
maybe non US countries trying to connect to the cloud front is not working…

I am in Europe – Germany

Posted: Friday Mar 2nd, 2012 at 12:18 pm #7083
Bendix
Username: benchefe

I tried… but still the div text displayed….
hmm
I will try on a clean fresh wordpress installation…

Posted: Friday Mar 2nd, 2012 at 7:29 am #7057
Bendix
Username: benchefe

When using this code, modified for my video, just the text of the jw-container div is displayed.

[s2If current_user_can(access_s2member_ccap_v1)]<div id="jw-container">JW Player® appears here.</div>
<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>
<script type="text/javascript">
    jwplayer("jw-container").setup({modes: /* JW Player®. */
    [
        /* First try psuedo-streaming with Flash® player. */
        {type: "flash", provider: "http", src: "/jwplayer/player.swf",
            config: {file: "/wp-content/plugins/s2member-files/s2member-file-inline/access_s2member_ccap_v1/testvideo.mp4"}},
            /* Shortcode equivalent: [s2File rewrite="yes" inline="yes" download="testvideo.mp4" /] */
    
        /* Else, try an HTML5 video tag. */
        {type: "html5", provider: "video",
            config: {file: "/wp-content/plugins/s2member-files/s2member-file-inline/access_s2member_ccap_v1/testvideo.mp4"}},
            /* Shortcode equivalent: [s2File rewrite="yes" inline="yes" download="testvideo.mp4" /] */
    
        /* Else, this is a safe fallback. */
        {type: "download", /* Download the file. */
            config: {file: "/wp-content/plugins/s2member-files/s2member-file-inline/access_s2member_ccap_v1/testvideo.mp4"}}
            /* Shortcode equivalent: [s2File rewrite="yes" inline="yes" download="testvideo.mp4" /] */
    ],
    /* Set video dimensions. */ width: 600, height: 430
    });
</script>
[/s2If]

I also tried without s2if conditions… but the same…

Posted: Friday Mar 2nd, 2012 at 7:09 am #7053
Bendix
Username: benchefe

thank you very much for your help.
All videos are working on my iPhone. My files are stored local on my server (s2member-files directory).
Amazon was not working for me :(
I will try to use the code you are using and report as soon as tested.

Posted: Friday Mar 2nd, 2012 at 6:36 am #7050
Bendix
Username: benchefe

Can’t check my iPad right now, cause it is at home and I am at work. but when iPhone is working, I thing iPad will do as well :)

well… I tried to set up Amazon as I wrote in another post in this forum, but the auto configuration failed :(
I could not find a solution for setting up my cloud front so far…

oh boy :)

I will go on, and on, and on, and on…… :)

Posted: Friday Mar 2nd, 2012 at 6:28 am #7048
Bendix
Username: benchefe

Thx Sam,

I can watch this video on my iPhone!
Is this one protected?

Posted: Friday Mar 2nd, 2012 at 5:56 am #7041
Bendix
Username: benchefe

Yeah, as described in the jwplayer quick start guide:

Embedding the JW Player on your website is a simple, 3-step process:
1. Upload the jwplayer.js and player.swf files from the download ZIP to your server. All other files in the download (documentation, source code, etc) are optional.
2. Include the jwplayer.js somewhere in the head of your webpage:
<script type="text/javascript" src="/jwplayer/jwplayer.js"></script>
3. Call the player setup somewhere in the body of your website. Here's a basic example:
When the page is loading, the JW Player is automatically instantiated on top of the <div>. By default, the player is rendered in Flash. If Flash is not supported (e.g. on an iPad), the player is rendered in HTML5.
Posted: Friday Mar 2nd, 2012 at 5:35 am #7039
Bendix
Username: benchefe

Hi DrByte,

I installed the jwplayer in my root directory, as described.
And it is working on all my devices when using the same file in a unprotected folder!

file: "http://www.vocalcoaching-online.com/video_free/testvideo.mp4"

When protected,

file: "http://www.vocalcoaching-online.com/wp-content/plugins/s2member-files/access_s2member_ccap_v1/testvideo.mp4"

all iOS devices fail with the message:

The Video could not be loaded, either because the server or network failed or because the format is not supported:http://www.vocalcoaching-online.com/wp-content/plugins/s2member-files/access_s2member_ccap_v1/testvideo.mp4

I’ve also tried the jwplayer plugin for wordpress, resulting with the same error :(

Posted: Friday Mar 2nd, 2012 at 5:01 am #7031
Bendix
Username: benchefe

Hey Christian,

thx for your reply!

I just updated to the newest s2member version (framework and pro), using the same code that works before…
This is my htaccess of my s2member-files directory:

Options +FollowSymLinks -MultiViews -Indexes

<IfModule mod_env.c>
# No GZIP for script-based file downloads.
	SetEnv no-gzip 1
</IfModule>

<IfModule mod_rewrite.c>
# Enable rewrite and configure base.
	RewriteEngine On
	RewriteBase /

# Initialize all environment variables we're using below.
	RewriteCond %{ENV:s2member_file_download_setup} !^complete$
	RewriteRule ^(.*)$ - [E=s2member_file_download_wp_vdir:0,E=s2member_file_download:$1,E=s2member_file_stream:0,E=s2member_file_inline:0,E=s2member_file_storage:0,E=s2member_file_remote:0,E=s2member_file_ssl:0,E=s2member_file_download_key:0,E=s2member_skip_confirmation:0,E=s2member_file_download_setup:complete]

# Handle virtual directories, common on multisite networks.
	RewriteCond %{ENV:s2member_file_download_wp_vdir_check} !^complete$
	RewriteCond %{THE_REQUEST} ^(?:GET|HEAD)(?:[\ ]+)(?:/)([_0-9a-zA-Z\-]+/)(?:wp-content/)
	RewriteRule ^(.*)$ - [E=s2member_file_download_wp_vdir:,E=s2member_file_download_wp_vdir:%1,E=s2member_file_download_wp_vdir_check:complete]

# Handle streaming download requests via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-stream/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%2,E=s2member_file_stream:,E=s2member_file_stream:&s2member_file_stream=yes]

	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-stream-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_file_stream:,E=s2member_file_stream:&s2member_file_stream=%2]

# Handle inline file requests via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-inline/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%2,E=s2member_file_inline:,E=s2member_file_inline:&s2member_file_inline=yes]

	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-inline-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_file_inline:,E=s2member_file_inline:&s2member_file_inline=%2]

# Handle storage specifications via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-storage-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_file_storage:,E=s2member_file_storage:&s2member_file_storage=%2]

# Handle remote authorization requests via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-remote/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%2,E=s2member_file_remote:,E=s2member_file_remote:&s2member_file_remote=yes]

	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-remote-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_file_remote:,E=s2member_file_remote:&s2member_file_remote=%2]

# Handle SSL file requests via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-ssl/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%2,E=s2member_file_ssl:,E=s2member_file_ssl:&s2member_file_ssl=yes]

	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-ssl-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_file_ssl:,E=s2member_file_ssl:&s2member_file_ssl=%2]

# Handle file download keys via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-download-key-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_file_download_key:,E=s2member_file_download_key:&s2member_file_download_key=%2]

# Handle confirmations having beek skipped via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-skip-confirmation/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%2,E=s2member_skip_confirmation:,E=s2member_skip_confirmation:&s2member_skip_confirmation=yes]

	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-skip-confirmation-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_skip_confirmation:,E=s2member_skip_confirmation:&s2member_skip_confirmation=%2]

# Cleanup variables not used in this request. Looking for `0` values.
	RewriteCond %{ENV:s2member_file_download_wp_vdir} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_download_wp_vdir:]
	
	RewriteCond %{ENV:s2member_file_stream} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_stream:]
	
	RewriteCond %{ENV:s2member_file_inline} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_inline:]
	
	RewriteCond %{ENV:s2member_file_storage} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_storage:]
	
	RewriteCond %{ENV:s2member_file_remote} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_remote:]
	
	RewriteCond %{ENV:s2member_file_ssl} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_ssl:]
	
	RewriteCond %{ENV:s2member_file_download_key} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_download_key:]
	
	RewriteCond %{ENV:s2member_skip_confirmation} ^0$
	RewriteRule ^(.*)$ - [E=s2member_skip_confirmation:]
	
# Put everything together now and process the internal rewrite.
	RewriteRule ^(.*)$ %{ENV:s2member_file_download_wp_vdir}?s2member_file_download=%{ENV:s2member_file_download}%{ENV:s2member_file_stream}%{ENV:s2member_file_inline}%{ENV:s2member_file_storage}%{ENV:s2member_file_remote}%{ENV:s2member_file_ssl}%{ENV:s2member_file_download_key}%{ENV:s2member_skip_confirmation} [QSA,L]
</IfModule>

<IfModule !mod_rewrite.c>
	deny from all
</IfModule>

And this one is my htaccess of my wordpress root directory:

RewriteEngine On

RewriteCond %{HTTP_Host} ^vocalcoaching-online\.com$ [NC]
RewriteRule ^(.*)$ http://www.vocalcoaching-online.com/$1 [R=301,L]

RewriteCond %{HTTP_Host} ^vocalcoaching-online\.de$ [NC]
RewriteRule ^(.*)$ http://www.vocalcoaching-online.de/$1 [R=301,L]

# BEGIN s2Member GZIP exclusions
<IfModule mod_rewrite.c>
	RewriteEngine On
	RewriteBase /
	RewriteCond %{QUERY_STRING} (^|\?|&)s2member_file_download\=.+
	RewriteRule .* - [E=no-gzip:1]
</IfModule>
# END s2Member GZIP exclusions

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

oh boy :)

Posted: Thursday Mar 1st, 2012 at 9:30 am #6885
Bendix
Username: benchefe

oh boy…
after upgrading to the newest s2member version, it fails again :(
strange…

I tried mp4, flv and m4v videos.

Only the flv prompts my iPhone for download and shows the dowload limitation massage…

all these filly types are set as inline types in s2member-dowload options.

oh boy oh boy :(

I don’t understand whats going on…

Posted: Thursday Mar 1st, 2012 at 6:51 am #6877
Bendix
Username: benchefe

Hey, here I am again :) Sorry for that delayed response, but I received Error 503 (too many IP addresses) while trying to log in. It’s not the first time s2member dislikes the login from up to 4 different devices (iPad,iPhone,macbook, mac pro) :)

back to what we are talking about.
thx for all your responses…

right now, my iPad plays back my test videos like a charm :)
but I don’t know exactly why :)
I disconnected from my amazon bucket, so the files are stored local on my server, using this script for playback:

[s2If current_user_can(access_s2member_ccap_v1)]
<div id="container"></div>
<script type="text/javascript">// <![CDATA[
 jwplayer("container").setup({
flashplayer: "/jwplayer/player.swf",
file: "http://www.vocalcoaching-online.com/wp-content/plugins/s2member-files/access_s2member_ccap_v1/testvideo.mp4",
autostart: "false",
controlbar: "true",
width: 600,
height: 430,
});
// ]]></script>[/s2If]

On that way I can’t use the RTMP Protocol… but better than playback problems for iOS.
here my s2member-files htaccess file:

Options +FollowSymLinks -MultiViews -Indexes

<IfModule mod_env.c>
# No GZIP for script-based file downloads.
	SetEnv no-gzip 1
</IfModule>

<IfModule mod_rewrite.c>
# Enable rewrite and configure base.
	RewriteEngine On
	RewriteBase /

# Initialize all environment variables we're using below.
	RewriteCond %{ENV:s2member_file_download_setup} !^complete$
	RewriteRule ^(.*)$ - [E=s2member_file_download_wp_vdir:0,E=s2member_file_download:$1,E=s2member_file_stream:0,E=s2member_file_inline:0,E=s2member_file_storage:0,E=s2member_file_remote:0,E=s2member_file_ssl:0,E=s2member_file_download_key:0,E=s2member_skip_confirmation:0,E=s2member_file_download_setup:complete]

# Handle virtual directories, common on multisite networks.
	RewriteCond %{ENV:s2member_file_download_wp_vdir_check} !^complete$
	RewriteCond %{THE_REQUEST} ^(?:GET|HEAD)(?:[\ ]+)(?:/)([_0-9a-zA-Z\-]+/)(?:wp-content/)
	RewriteRule ^(.*)$ - [E=s2member_file_download_wp_vdir:,E=s2member_file_download_wp_vdir:%1,E=s2member_file_download_wp_vdir_check:complete]

# Handle streaming download requests via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-stream/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%2,E=s2member_file_stream:,E=s2member_file_stream:&s2member_file_stream=yes]

	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-stream-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_file_stream:,E=s2member_file_stream:&s2member_file_stream=%2]

# Handle inline file requests via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-inline/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%2,E=s2member_file_inline:,E=s2member_file_inline:&s2member_file_inline=yes]

	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-inline-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_file_inline:,E=s2member_file_inline:&s2member_file_inline=%2]

# Handle storage specifications via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-storage-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_file_storage:,E=s2member_file_storage:&s2member_file_storage=%2]

# Handle remote authorization requests via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-remote/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%2,E=s2member_file_remote:,E=s2member_file_remote:&s2member_file_remote=yes]

	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-remote-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_file_remote:,E=s2member_file_remote:&s2member_file_remote=%2]

# Handle SSL file requests via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-ssl/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%2,E=s2member_file_ssl:,E=s2member_file_ssl:&s2member_file_ssl=yes]

	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-ssl-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_file_ssl:,E=s2member_file_ssl:&s2member_file_ssl=%2]

# Handle file download keys via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-file-download-key-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_file_download_key:,E=s2member_file_download_key:&s2member_file_download_key=%2]

# Handle confirmations having beek skipped via the rewrite engine.
	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-skip-confirmation/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%2,E=s2member_skip_confirmation:,E=s2member_skip_confirmation:&s2member_skip_confirmation=yes]

	RewriteCond %{ENV:s2member_file_download} ^(.*?)(?:s2member-skip-confirmation-(.+?)/)(.+)$
	RewriteRule ^(.*)$ - [N,E=s2member_file_download:,E=s2member_file_download:%1%3,E=s2member_skip_confirmation:,E=s2member_skip_confirmation:&s2member_skip_confirmation=%2]

# Cleanup variables not used in this request. Looking for `0` values.
	RewriteCond %{ENV:s2member_file_download_wp_vdir} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_download_wp_vdir:]
	
	RewriteCond %{ENV:s2member_file_stream} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_stream:]
	
	RewriteCond %{ENV:s2member_file_inline} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_inline:]
	
	RewriteCond %{ENV:s2member_file_storage} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_storage:]
	
	RewriteCond %{ENV:s2member_file_remote} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_remote:]
	
	RewriteCond %{ENV:s2member_file_ssl} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_ssl:]
	
	RewriteCond %{ENV:s2member_file_download_key} ^0$
	RewriteRule ^(.*)$ - [E=s2member_file_download_key:]
	
	RewriteCond %{ENV:s2member_skip_confirmation} ^0$
	RewriteRule ^(.*)$ - [E=s2member_skip_confirmation:]
	
# Put everything together now and process the internal rewrite.
	RewriteRule ^(.*)$ %{ENV:s2member_file_download_wp_vdir}?s2member_file_download=%{ENV:s2member_file_download}%{ENV:s2member_file_stream}%{ENV:s2member_file_inline}%{ENV:s2member_file_storage}%{ENV:s2member_file_remote}%{ENV:s2member_file_ssl}%{ENV:s2member_file_download_key}%{ENV:s2member_skip_confirmation} [QSA,L]
</IfModule>

<IfModule !mod_rewrite.c>
	deny from all
</IfModule>

Thats it for the moment. I will go on testing with a friend of mine, who knows much more about server configurations and php :) I am just a musician :)
I will report soon :)

Greetings and thx again, for the best community in the world wide web !

Posted: Thursday Feb 23rd, 2012 at 3:55 am #6092
Bendix
Username: benchefe

Oh sorry :)
It`s not always that easy for me to translate my thoughts :)

This is my php info file:
http://www.vocalcoaching-online.com/phpinfo.html

maybe you can share your ideal php configuration.

this might be a way for me to find out differences…

Posted: Thursday Feb 23rd, 2012 at 3:23 am #6080
Bendix
Username: benchefe

thx again, Jason!

I already tried the additional hack and also tried to setup Cloud Front :( but as you can see in this thread it always ends up with Error 400.
http://www.s2member.com/forums/topic/error-400/?nc14#post-5832

I watched the Video and did everything as you said.
Maybe this is another hint for finding a solution:

As I tried to setup the remote header auth method as shown in the video, My page does not accept the username and password. So podcasts can`t be used :(

I bought the us_license :)

thx for your support!

Greetings

  • This reply was modified 2 years, 5 months ago by  Bendix.
Posted: Thursday Feb 23rd, 2012 at 3:10 am #6076
Bendix
Username: benchefe

Thx Jason :)

but nothing works for me :(

But again! Great support!!!!
I don’t need the multisite license right now, but I will buy it to support this community!

I will try a clear new wordpress setup with just s2member installed.
maybe something crashed my installation….

Greetings

Posted: Tuesday Feb 21st, 2012 at 2:30 am #5833
Bendix
Username: benchefe

Hey Christian,

thx. I was watching the new video yesterday. Congratulations for your great support and these tons of videos you made :) It is amazing that you all can share this great support while developing s2member at the same time.

But for me, this could not solve my problem :(

Looks like a server configuration is wrong or it has to do with being in germany… don’t know…
Could you share or mail your server configuration? I already read Jasons “ideal server config”
but maybe there is something else that causes this problem…

greetings

Posted: Monday Feb 20th, 2012 at 9:15 am #5686
Bendix
Username: benchefe

Thx for your replys!

I am using just a single site installation. I tried everything I found.
Disabling all plugins and my custom theme :( nothing worked for me!

Is there a chance somebody tries to setup auto-config using another amazon s3 source?
Maybe christian or luisrosario ?
I would sent you admin login. maybe you can test it with your clound front.

On this way we may find out, if this is a problem of my wordpress installation or maybe my amazon s3 cloud front.
or the other way round. I can sent you my amazon s3 data.

what do you think?

Posted: Monday Feb 20th, 2012 at 8:17 am #5685
Bendix
Username: benchefe

Hey Stuart,
you can try this one:

WP Maintenance Mode

You can customize the CSS File to your needs.

Greetings

Posted: Friday Feb 17th, 2012 at 8:38 am #5481
Bendix
Username: benchefe

Hi Eduàn,

thx for your reply!

Server version: Apache/2.2.16 (Debian)
Server built: Feb 5 2012 21:35:42

s2Member Version 120213 + s2Member Pro v120213

already using the newest versions…

Posted: Friday Feb 17th, 2012 at 7:16 am #5476
Bendix
Username: benchefe

Hey Folks,
I am really getting crazy :( I can’t figure out how to solve this problem :(
Still the same!
If the file is protected by s2member (…/s2member-files/access_s2member_ccap_v1/testvideo.mp4), the video is not working on iOS.
Using the same video placed here: http://www.my-domain.com/free_video/testvideo.mp4 it is working like a charm… In both cases the player is placed as a part of the same wordpress page.

So I must confess:

1. JW Player is installed correctly and working fine! (when using advanced mod-rewrite linkage)
2. The video format is working for iOS, cause the same video unprotected is working fine
3. Same problems disabling plugins
4. same problems changing theme to standard
5. :(

So there must be a wrong configuration by s2member :(
I can’t find out, whats going wrong.

Please help me…

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

Old Forums (READ-ONLY): The community now lives at WordPress.org. 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.