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™

Wp-filebase integration issue

s2Member Plugin. A Membership plugin for WordPress®.

Wp-filebase integration issue

Postby Vahka » January 10th, 2012, 2:12 pm

On my site, s2m is integrated with wp-filebase to make possible to download files for members.
Both are great plugins (especcialy s2m ;) ). All works almost fine, but...

There is just last frustrating problem: s2m block file download counter included with wp-filebase.
Wp-filebase counting file based hits, but not anymore if ?s2member_file_download= added to file path.

10.01.jpg
Filebase download url base
10.01.jpg (37.65 KiB) Viewed 799 times


Have any suggestion to get it work? I have no more ideas...
User avatar
Vahka
Registered User
Registered User
 
Posts: 12
Joined: September 2, 2011
Location: Estonia

Re: Wp-filebase integration issue

Postby Cristián Lávaque » January 12th, 2012, 6:09 am

Thanks for the kudos! :)

You could try the Advanced Mod-Rewrite Linkage. WP Admin -> s2Member -> Download Options -> Advanced Mod-Rewrite Linkage
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: Wp-filebase integration issue

Postby Vahka » January 12th, 2012, 6:45 am

I have tried various codes for path. If I remove "?" query then WP-Filebase will count hits, but s2m restriction not work. If I add "?s2member_file_download=" then conversely: s2m works, but wp-filebase not.
User avatar
Vahka
Registered User
Registered User
 
Posts: 12
Joined: September 2, 2011
Location: Estonia

Re: Wp-filebase integration issue

Postby Vahka » January 16th, 2012, 5:44 am

I got this message if I changed the download path:

403 Permission Denied
You do not have permission for this request /wp-content/plugins/s2member-files/?s2member_file_download=/black_metal/Black%20Metal%20Flat.zip
User avatar
Vahka
Registered User
Registered User
 
Posts: 12
Joined: September 2, 2011
Location: Estonia

Re: Wp-filebase integration issue

Postby Eduan » January 17th, 2012, 1:42 pm

Hi, regarding the 403 error, you might wanna take a look into this thread and see if that solves your problem:
viewtopic.php?f=36&t=14787

Hope this helps. :)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: Wp-filebase integration issue

Postby Vahka » January 22nd, 2012, 11:16 am

Cristián Lávaque wrote:Thanks for the kudos! :)

You could try the Advanced Mod-Rewrite Linkage. WP Admin -> s2Member -> Download Options -> Advanced Mod-Rewrite Linkage


This new flexibility may come in handy for site owners serving files through media playback devices that have issues with query string variables. For instance, it is now possible to link to an s2Member-protected file directly, like this: ... /wp-content/plugins/s2member-files/example-file.zip instead of ... /?s2member_file_download=example-file.zip. Either way works, but the direct link might be easier for some.

Yes, on this way downloads works, but it eliminates s2m download restrictions?

I hope we will find solution...
Vahka
User avatar
Vahka
Registered User
Registered User
 
Posts: 12
Joined: September 2, 2011
Location: Estonia

Re: Wp-filebase integration issue

Postby Cristián Lávaque » January 22nd, 2012, 6:01 pm

Vahka wrote:Yes, on this way downloads works, but it eliminates s2m download restrictions?


No, the download protection should keep working.

If you have a protected file and while logged out you try to download it with the s2Member link, the one without the query string, does the download happen?
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: Wp-filebase integration issue

Postby Vahka » January 23rd, 2012, 3:21 am

So, the download prodection dont keep working for guest as well for logged in users.

1.Restriction work, but WP-Filebase counter is out from game.
mydomain.com/?s2member_file_download=/category/file.zip

2. Restriction do not work at all. WP-Filebase count downloads.
mydomain.com/s2member-files/category/file.zip

There must be a simple solutions, but I can`t find it :(
User avatar
Vahka
Registered User
Registered User
 
Posts: 12
Joined: September 2, 2011
Location: Estonia


Return to s2Member Plugin

Who is online

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

cron