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.

Home Forums Nigel

Nigel


My Latest Replies (From Various Topics)

Viewing 13 replies - 51 through 63 (of 63 total)
Author Replies
Author Replies
Posted: Wednesday Apr 11th, 2012 at 4:39 am #10540
Nigel
Username: enquirer32

First, feeds according to their level don’t seem to be able to be controlled through the Alternative View Protection except in so far as one is already signed in with the appropriate level e.g. signed in with #3 clearance one can see the posts for that level.

Second, I can’t get the remote auth to work. I’ve upload an xml to the appropriate directory. I’ve formed the url and I obtain the username/pswd prompt (ideally I would like to set this up so it was alreayd part of the url) but it won’t clear the person for entry to view/download the file.

A key might work but it only seems to work if you’re logged in (I’ve tried it) – so can’t see how that would be useful. (message: 503 ( Invalid Key ): Sorry, your access to this file has expired. Please contact Support for assistance.)

Where am I going wrong?

Posted: Tuesday Apr 10th, 2012 at 8:08 am #10452
Nigel
Username: enquirer32

Is this then outside the scope of your support given however that the way S2 integrates a feed – or rather excludes it – is part of the functionality. I have excluded the redirect as interfering simply by disengaging it — any help much appreciated. This is an important element in the way s2 functions. Obviously it is key that RSS cannot bypass the membership levels. But it is also important that those with the correct authority can use it…

Posted: Tuesday Apr 10th, 2012 at 7:51 am #10448
Nigel
Username: enquirer32

Thanks but what would this be for a feed? eg main feed = http://mysite/feed…?

Posted: Saturday Mar 31st, 2012 at 8:51 am #9657
Nigel
Username: enquirer32

well.. it’s not all a bed of roses. See my current posts here:

http://www.s2member.com/forums/topic/rss-feed-not-showing-properly/

I have an outstanding issue on this post which would be good to resolve. Thanks.

Posted: Saturday Mar 31st, 2012 at 3:47 am #9647
Nigel
Username: enquirer32

It occurs to me – I don’t know – that perhaps part of the problem is the way this site was set up. It is in a subdomain and then in a directory of an old directory on which I have a permanent re-write – do you think this is part of the problem.

e.g structure is as follows.

subdomain.mainsite/olddirectory/website

in ‘olddirectory’ I have a permanent forward set up to ‘website’.

I don’t know how these things work but is it rewriting the url as it passes across? Thanks.

Posted: Saturday Mar 31st, 2012 at 3:29 am #9646
Nigel
Username: enquirer32

Hi, thanks for this and yes it covered some of the points. However, I’m providing a feed address of the website rather than a specially crafted xml – although I could obviously rewrite the whole xml file and put it into a different directory and that has occurred to me as a laborious option.

I’ve tried a url such as this:

http://usrname:password@feedaddress.com&s2member_file_remote=yes

but it just defaults to

http://feedaddress.com

which suggests the permalinks are rewriting this url?

in my htaccess file I have the following:

# BEGIN s2Member GZIP exclusions
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /publish/
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 /publish/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /publish/index.php [L]
</IfModule>

# END WordPress

If I use the shortcode not sure that would work but what would be the format?
[s2File download="do I put the feed url here?" remote="yes" /] and anyway if I add a shortcode to the post when I save it it’s not there any more (obviously not in the visualiser).

Any help much appreciated. Thanks again.

Posted: Friday Mar 30th, 2012 at 7:20 am #9571
Nigel
Username: enquirer32

I’ve since discovered that Kindle, for example, does support password protected feeds. So the way to go is to set up a membership level slightly higher than the usual subscriber so you can publish contents specific to the Kindle – there are reasons to do this. Anyway, it works!

Posted: Friday Mar 30th, 2012 at 4:40 am #9565
Nigel
Username: enquirer32

OK – found the problem. I had clicked the full monty on Restriction Options – in reality I only wanted the feed to be shut so clicked this one on its own. Works fine now.

Posted: Wednesday Mar 28th, 2012 at 5:41 pm #9385
Nigel
Username: enquirer32

Not really sure which one in particular… but when I selected that it use a page as its pop-up that seemed to cause the most probs. But anyway it’s not a good combo…

Posted: Wednesday Mar 28th, 2012 at 11:37 am #9343
Nigel
Username: enquirer32

OK.. tracked it down to a plugin – Super PopUp. Doesn’t seem like to one of the settings.

Posted: Tuesday Mar 20th, 2012 at 4:29 am #8587
Nigel
Username: enquirer32

Ok, I have finally understood, and… it works! Thank you! I hadn’t wrapped my pages into the php code above and I needed to set up the forwarding url to include the voucher so the url on the coupon page need to read

urlmydomain.com/subscriptionpage/?voucher=free

Then when it hit the subscription page it read the voucher in the url and bingo passed it to the free sign-up. I was over-complicating matters. Thanks again.

Posted: Saturday Mar 17th, 2012 at 10:33 am #8449
Nigel
Username: enquirer32

Thx but I just can’t ever seem to get the page to deflect either in option 1 or 2. Certainly I find option 2 a little more elegant but when they submit the form they just end up at the free registration page with no divert. This is what I have in my posts –

voucher code = free
url to free registration =

http://mydomain.com/freeregistration

url to paid registration =

http://mydomain.com/paidregistration

Form to submit voucher:

<form id="voucherForm" method="post" action="http://mydomain.com/freeregistration">
<input name="voucher" type="text" maxlength="255" value=""/> 
<input id="saveForm" type="submit" name="submit" value="Submit" />
</form>

This then passes to a page (mydomain.com/freeregistration) where I have the following:

<?php if (isset($_POST['voucher']) && $_POST['voucher'] == 'free') { 
// stay here 
 } else { 
 header("Location:http://mydomain.com/paidregistration"); 
 } ?>
Posted: Thursday Mar 15th, 2012 at 1:16 pm #8268
Nigel
Username: enquirer32

Tried this but doesn’t seem to work with my permalink structure. Could you possible given an example, I am sure it would be very useful for everyone. Thx.

Viewing 13 replies - 51 through 63 (of 63 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.