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.

Philly


My Latest Replies (From Various Topics)

Viewing 25 replies - 51 through 75 (of 267 total)
Author Replies
Author Replies
Posted: Friday Sep 14th, 2012 at 10:38 am #25305

Hello Darryl,

What update are you talking about? s2members last update was 2 months ago unless I’m missing one.

Are you sure your not getting s2member mixed up with another plugin? As those login and registration forms are not being added by s2, but are being added by another membership plugin you have installed.

Posted: Friday Sep 14th, 2012 at 10:20 am #25301

Hi Michaela,

If you use s2members pro forms for registration then yes they will not allow special characters.

If your using wordpress’s registration (wp-login.php?action=register), which I presume you are, then there is no easy way to disallow special characters, you may be able to find a plugin that does it, or you”ll need to do some custom coding.

If you get someone to do some custom coding there is a built in wordpress feature that sanitizes usernames that you should be able to hook into so that would be the place to start

<?php sanitize_user( $username, $strict ) ?>
Posted: Wednesday Sep 12th, 2012 at 1:31 pm #25049

Hi Juan,

That file never get overwritten so its fine to define the levels there.

:)

Posted: Wednesday Sep 12th, 2012 at 1:30 pm #25048

Hi Ralph,

The setting you need to change is located

wordpress -> dashboard -> s2member -> restriction options -> Alternative View Protection

Posted: Wednesday Sep 12th, 2012 at 1:24 pm #25045

It looks like a permalink problem possibly caused by a bad plugin not flushing the rewrite rules.

As a test can you disable all plugins then reset your permalinks.

WordPress => dashboard => settings => permalinks

choose default then save(must save), then go back to what your had then save again.

Then see if its works, If it does you can then reactivate plugins one by one until it breaks.
If it still does not work can you post the contents of your .htaccess file located in your root wordpress directory, so we can see if there is any weirdness going on in there.

Posted: Wednesday Sep 12th, 2012 at 1:08 pm #25043

No it doesn’t.

When you navigate here

http://digitaltrackandfield.com/?page_id=4942

It works?

Its redirecting me to the membership options pages correctly saying I need level 1 access, so looks like its working from my end.

Posted: Wednesday Sep 12th, 2012 at 12:42 pm #25039

What is the id of /academy-page/ in the following format

http://digitaltrackandfield.com/?page_id=1234

you can find the id by hovering over the link to the post/page within the all posts/all pages screen, it will appear in the bottom left of your browser like

/wp-admin/post.php?post=1234&action=edit

Posted: Wednesday Sep 12th, 2012 at 11:58 am #25029

this page appears to be working ok now

/membership-options-page/

Can you tell me the id’s of the pages that are still generating the errors (/academy-area/)

Posted: Wednesday Sep 12th, 2012 at 11:18 am #25023

Hi Scott,

Are you caching 404 errors with total cache?

If not can you again set permalinks to default then save. Then go to the post editor and click view post on the post thats giving the 404 error and report back on whats happens

Thanks

Posted: Wednesday Sep 12th, 2012 at 6:15 am #24979

I’m not sure I would agree with the approach outlined here, s2members js file contains important variables that you may want loaded before the page starts to render in the same way you would always put a script like modernzer in the head.

There is definitely much improvement to be had here though and I know they’re working to improve this, I personally hope that the new s2member will serve any js minified and gziped.

Posted: Wednesday Sep 12th, 2012 at 5:46 am #24978

Hi Jon,

Where have you been trying to get help?

once you enter your CC information on Paypal,

Do you mean on paypals website or yours?

Anyway I noticed you don’t have a SSL certificate so you can’t take payment info on your site until you do.

(I think wp-engine are good at assisting you in setting one up)

Posted: Wednesday Sep 12th, 2012 at 5:23 am #24977

Hi Alex,

Your theme looks badly coded to me and you really need to ask them to fix this problem.

you can start by adding the following to your css file if your unable to get them to fix it

div.s2member-pro-paypal-form-submission-section-title {
	clear: both;
}
Posted: Wednesday Sep 12th, 2012 at 5:05 am #24976

Hi Scott,

Can you try reseting your permalinks.

WordPress => dashboard => settings => permalinks

choose default then save, then go back to what your had then save again.

see if that does the trick, sometimes plugins mess with them and don’t flush the rewrite rules.

Posted: Wednesday Sep 12th, 2012 at 4:47 am #24975

Hi Michael,

Your going to have to talk to your hosting company and tell them you need to be able to write to that file and you need wordpress to be able to write to that file also.

Thanks

Posted: Tuesday Sep 11th, 2012 at 7:48 am #24875

Yes thats not what I said its been modified it should check that the user is level 0 only because you dont want to display that content to anyone else

[s2If current_user_is(s2member_level0)]
    Some content for Free Subscribers.
[/s2If]
Posted: Monday Sep 10th, 2012 at 9:05 pm #24812

Hi Luis,

Off the top of my head I wonder if something like this would work? I’m not sure how the sharing works though but if this was in you doc head I wonder if it would work for facebook.

<meta property="og:video" content="[s2File download="video.mp4" download_key="universal"  /]" />
  • This reply was modified 4 years, 3 months ago by  Philly.
Posted: Monday Sep 10th, 2012 at 8:31 pm #24800

I think i would use shortcodes and do this

[s2If current_user_is(s2member_level0)]
    here you could add the pay again stuff and maybe a message saying their account has expired
    
    everything here will only be seen by level 0
[/s2If]


[s2If current_user_can(access_s2member_level1)]
then here is all the stuff for paying members which cannot be seen by level 0
[/s2If]

the other options are to create a meta redirect but that has a 1 second delay so is not smooth, or to have different pages for the different levels

hope that helps

  • This reply was modified 4 years, 3 months ago by  Eduan. Reason: Corrected first conditional
Posted: Monday Sep 10th, 2012 at 7:27 pm #24786

Hi Cassel,

You can do it from reg or first transaction. One limitation is that its only from first transaction, so for example if a user was a member for 1 month then cancelled and joined again in six months time their paid registration stamp would say 7 months. I had to write a little script that resets their time stamp if they cancel.

<?php if ( current_user_can( "access_s2member_ccap_Element" ) && ( S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 100 ) ){ ?>
       If current user can access ccap Element and first paid more than or equal to 100 days display this
    <?php } ?>
    
Posted: Monday Sep 10th, 2012 at 7:16 pm #24784

Hi Michael,

How comes you can’t change the permissions? Who is your site hosted with? What sort of access do you have to your server?

Thanks

Posted: Monday Sep 10th, 2012 at 7:11 pm #24783

Hello Lisa,

Page ID 547 is your login welcome page.

So when anybody logins in thats the page they are taken too, this is both normal and expected behaviour.

That page is protected from the public and non-members.

Subscribers are still members, level 0 members albeit not paying ones.

What is it that your trying to achieve? What would you like to happen to those members? There are a couple of options here the first is you can create a separate login welcome page for subscribers/level-0 that they are redirected to upon login or you can use conditional shortcodes to display and hide whatever messages/content you have in your welcome page.

Let me know if you need me to explain how to do those :)

Posted: Friday Sep 7th, 2012 at 5:11 pm #24570

Yes you just need to download a ‘skin’ http://www.longtailvideo.com/addons/skins

Then in shorcode

skin="http://locationofskin.com"

What I’d like to be able to do is have some free and some member-only videos in the same list or at least available on the same page.

Well I guess the best way would be to have one playlist for free and use downloadkey=”true” if the free videos are stored in a protected bucket.

And then have a second playlist with free and paid videos in it, but just omit the downloadkey=”” part altogether.

That way anyone can see the free stuff, but only members can view the premium stuff. Just remember to put the premium playlist in an area of your website that can only be accessed if you’ve paid or users will get confused.

Posted: Friday Sep 7th, 2012 at 3:48 pm #24560

Hi Susan,

The scroll bar is there its just not visible because your player is set to width=”980″ but your page content area is 965.

If you set download key to true on it will grant access to all files in the list and you cant override that on an individual basis.

What is it your trying to achieve?

Posted: Friday Sep 7th, 2012 at 2:31 pm #24555

Hi Susan,

When you download the player files from longtail you have to ‘uncheck’ a tick box about the sharing bit, for some reason they started adding by default.

What do you mean when you say the requirement for membership?

Do you mean protecting the video from non-members? If so just omit the downloadkey=”true”.

Thanks,
Philly

Posted: Friday Sep 7th, 2012 at 4:59 am #24479

Hello Susan,

s2Member needs to generate signed urls for videos links in order for it to work with cloudfront and for cloudfront to grant access to the file.

When using the JW plugin the signed urls don’t get created so it won’t work.

That plugin only works if using only the s3 configured because the signed url is not required.

I have created a plugin for use in conjunction with s3 and cloudfront, you can find the latest version here there are no reported problems. Let me know if you need any help :)

Posted: Wednesday Sep 5th, 2012 at 9:32 pm #24241

Thank you.

In that case you need to be more specific in the code like so

$s2_jw_config["mp4_video_file_name"] = "sub-folder-name/sub-folder-name/lesson1.mp4";

Let me know how you get on.

Viewing 25 replies - 51 through 75 (of 267 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.