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.

RossGrant


My Latest Replies (From Various Topics)

Viewing 25 replies - 26 through 50 (of 81 total)
Author Replies
Author Replies
Posted: Wednesday Mar 6th, 2013 at 8:25 pm #43918
RossGrant
Username: RossGrant

Okay, I think FINALLY I have worked this out!

IGNORE EVERYTHING above more or less, here is what is happening.

‘Read’ is a core WordPress Capability, which by default is set to ‘on’ for many (if not all) WP roles.

Installing BBPress (current version 2.2.4) doesn’t alter that role on initial activation or subsequent deactivations WHEN S2 is NOT activated.

HOWEVER upon deactivation, through upgrade or manually WITH S2 Member ACTIVE, for some reason the ‘Read’ cap is deleted from subscriber, admin and S2 roles 1 – 4.

This won’t cause an issue UNTIL YOU DEACTIVATE S2, when you’ll start having issues with admin menus due to you no longer having the ‘Read’ cap.

The issue that I was having with no access to the ‘Topic Tags’ menu isn’t related I don’t think.

I think this was actually to do with BBPress NOT assigning the keymaster role to admin when upgrading from previous versions of BBPress.

It does this by default now in new versions, but i think for those that have upgraded from previous versions in the past that it wasn’t doing this.

From what I can tell, the best thing to do is to install the ‘Capability Manager Enhanced’ plugin, detailed by Jason in the link above.

Deactivate all plugins except the capability plugin.

Reset all WP roles.

Then activate all plugins again to run the new capabilities needed.

If you are upgrading BBPress after that you must turn off S2 temporarily, upgrade BBPress, then turn S2 on again.

I’m going to keep poking about, but that’s what i’m getting so far.

What do you think Jason, is this an S2 issue then?

*** To assign the Keymaster role to all admins, you will need to create an extra admin account, install the ‘Switch User Plugin’, switch to the new admin, access your original admin edit screen when logged in as the new admin, and assign the keymaster role to your initial admin account.

Posted: Wednesday Mar 6th, 2013 at 6:18 pm #43910
RossGrant
Username: RossGrant

AHA!

Okay, i see that this issue has been reported before here:

http://www.s2member.com/forums/topic/uninstalling-s2member-causes-permission-issue/#post-35231

Yep, it is 100% due to upgrading BBPress from version 2.0 – 2.1 – 2.2.x

So to clarify, BEFORE I decide to reset all user capabilities then reactivate all plugins, I’m not going to lose any S2 data for users am I?

I’ll just be resetting the caps?

I guess you only have one shot at this, I’d like to be totally clear on each step before I take this plunge!

Ross :)

Posted: Wednesday Mar 6th, 2013 at 1:34 pm #43898
RossGrant
Username: RossGrant

Update 3.

This doesn’t seem to be an issue on a new S2 install on a new BBPress install.

Some existing caps must be left from earlier BBPress versions that are screwing things up here unfortunately!

Any idea how we could tackle this Jason?

Any way to reset user roles at all and sync them again with S2 member?

I’m guessing there are going to be many folk in the same boat who have used bPress for a while.

Posted: Wednesday Mar 6th, 2013 at 1:22 pm #43895
RossGrant
Username: RossGrant

Okay Jason, this is definitely an S2 issue from what I can gather in testing.

I’ve found another crazy quirk too.

Here’s how you replicate it:

– Log in as admin
– Go and deactivate S2 Member
– Try and access /wp-admin/index.php

I get a permission denied, like it no longer gives me all admin caps.

I can access plugins again to reinstate s2member and it gives me access to the admin index page again, but without S2 being on I don’t get it.

I have noticed that even without S2 active that the user roles for S2 levels still show up in the backend of user profiles so S2 is leaving behind caps.

The initial issue with no access to topic tags must be due to the way S2 plugs into BBPress.

It’s not hooking into the levels above moderator somehow so we don’t see the UI for the Topics> Topic Tags menu.

Would love to hear if you can recreate this.

Like I say though, the installations I’m using have had BBPress installed since version 2.0, so there could be things left over from previous versions.

Ideally it would be great to reset all caps I guess?

Ross :)

Posted: Monday Mar 4th, 2013 at 10:33 am #43703
RossGrant
Username: RossGrant

Hi again Jason!

I have cleared out the standard tracking codes under API>Tracking and have gone with the cURL tracking pixel URL under API Notifications for both ‘Payments’ and ‘Post/Page’ Access.

I’ve tested for post/page and it works great.

I can’t really test for recurring just yet as I have no test subscriptions up and running.

Will this new method work in retrospect too?

So the subscriptions that HAVEN’T been generating recurring commissions now start generating them when the payments hit?

Is there anything else I need to set anywhere or is that simple cURL it?

Thanks!

Posted: Monday Mar 4th, 2013 at 10:29 am #43702
RossGrant
Username: RossGrant

Rena, did you figure this out?

I have set up a new forum post so we can all chip into a definitive answer for iDev integration.

http://www.s2member.com/forums/topic/a-definitive-look-recurring-commission-idev/

Were you by any chance testing out your commission with a post/page access button?

If so, I’m guessing the reason you had trouble is that you didn’t set your URL for the Specific Post/Page ~ Sale Notification URLs (optional)?

I have just set up my install with the cURL tracking pixel and it works just fine, as long as you have it set in each instance for payments AND for post/ page access on the APII Notifications page.

Posted: Tuesday Jan 29th, 2013 at 3:56 pm #39928
RossGrant
Username: RossGrant

Nothing wrong with your code from what i can tell Ron, I too can’t get images working.

I think something may be amiss somewhere.

Jason should hopefully be able to pitch in here!

Posted: Monday Jan 28th, 2013 at 10:11 pm #39827
RossGrant
Username: RossGrant

My experience of the download key function is to enable LOGGED OUT users to view media.

So if I don’t include it, even if a media item is not restricted by any S2 conditional, then the media will NOT show for logged out users.

It will show for logged in users without using the download key function.

But for me, who needs to show previews of videos to users who are not yet signed up or logged in, I need to add that download_key=”true” statement for them to be able to see and play that media.

The iPad height issue is pretty annoying. I just want it to show at 24px high as JW5 did, it seems to insist on it’s height, regardless when using mp3 on iPad.

I’ll start a thread over on the Longtail forums and keep you posted.

Thanks again :)

Posted: Monday Jan 28th, 2013 at 9:36 pm #39825
RossGrant
Username: RossGrant

Echo, just to let you know, adding download_key=”true” into the shortcode does make my media available to people who aren’t logged in.

Give it another try.

One thing that I have noticed though, is when playing mp3’s on iPad, even setting the player height to 24 as was done in Philly’s shortcode plugin, so that only the control bar shows, the height of the player is about 150px high.

Only happens on iPad or iPhone, the 24px setting is adhered to in all desktop browsers from what I can see.

Posted: Monday Jan 28th, 2013 at 7:13 pm #39816
RossGrant
Username: RossGrant

The iPad issue is an encoding issue not the shortcodes.

I would recommend people use Handbrake to encode videos for JW6, use the iPhone setting and check boxes for web and iPod 5g support.

Posted: Monday Jan 28th, 2013 at 6:32 pm #39814
RossGrant
Username: RossGrant

Cheers Echo!

With Philly’s codes enabling non logged in members access, I’m sure S2 should be able to this this somehow too.

Bizarrely the videos I now have working DON’T play on my ipad even though the media files are EXACTLY the same ones that did play in JW Player 5.

Is there part of the shortcode I need to implement for iPhone/ ipad?

These exact files played fine in JW 5 with Philly’s plugin?

Posted: Monday Jan 28th, 2013 at 5:18 pm #39808
RossGrant
Username: RossGrant

Yeah something isn’t right with the images by the looks of things. Not sure if we have to host these on S3 either perhaps with S2’s own shortcodes?

I’m sure Jason can pitch in with why you’re not seeing anything for logged out users.

I too will need that functionality to show preview videos when I take my other installs away from Philly’s plugin and onto these s2 shortcodes.

Would be great to be able to show videos to non-logged in members and get these images working.

Posted: Monday Jan 28th, 2013 at 4:25 pm #39799
RossGrant
Username: RossGrant

It was me being stupid.

This was a brand new install and I just hadn’t set any ‘Basic Download Restrictions’ in the backend that’s all.

I too do not get a custom image though, even though one is set above.

Is that now a premium feature of JW Player Jason, or should it be working with the basic free version?

:)

Posted: Monday Jan 28th, 2013 at 4:09 pm #39797
RossGrant
Username: RossGrant

Hey Echo, the download key doesn’t refer to a premium version of JW Player, it allows S2Member to authenticate access for non-logged in members.

I actually think this is why your videos disappear when you are logged out.

Add downloadkey=”true” to your code and you’ll probably find it’s fine when you log out then.

I’m not sure what is causing my issue. I’m pretty experienced with this setup so it’s probably something very obvious that I’ve just overlooked like an idiot.

I’ll keep playing, but let me know how you get on with adding that key.

Posted: Monday Jan 21st, 2013 at 8:20 pm #38757
RossGrant
Username: RossGrant

Hey Todd, the shortcodes are explained under the Download Options—> Shortcode Attributes And API Functions (Explained) tab.

Posted: Monday Jan 21st, 2013 at 11:40 am #38587
RossGrant
Username: RossGrant

Ahh think I may have found the answer here:

Additional [s2Stream /] Shortcode Attributes:

See also: API Function s2member_file_download_url() for PHP integration.

file_download=”video.mp4″ Location of the audio/video file, relative to the /s2member-files/ directory; or, relative to the root of your Amazon® S3 Bucket, when applicable.
player=”jwplayer-v6-rtmp” Required. Current supported players in this Shortcode include: jwplayer-v6 (works with any audio/video file, and you do NOT need to have Amazon® S3 or CloudFront™ integrated for this to work), jwplayer-v6-rtmp (streams with the RTMP protocol, plus there is a full download fallback of the source file if streaming is not possible on a particular device; this requires both Amazon® S3 and CloudFront™ integration), jwplayer-v6-rtmp-only (streams with the RTMP protocol only, with no access to the source file, only to the RTMP stream; this requires both Amazon® S3 and CloudFront™ integration).
player_id=”” Optional. HTML div ID for the audio/video player. Defaults to a unique ID generated by s2Member® for each instance of your Shortcode.
player_path=”/jwplayer/jwplayer.js” Required. Path to the player’s JavaScript file (ex: /jwplayer/jwplayer.js — you should upload the /jwplayer folder to the root of your web directory).
player_[setting]=”” Optional. Any additional attributes supported by your audio/video player, prefixed with player_. For JW Player™ v6, see this article please. Examples: player_width=”480″, player_height=”270″, player_image=”http://www.example.com/wp-content/uploads/video-preview.jpg”, player_autostart=”true”, player_skin=”/jwplayer/my-skin.xml”. Please note that “Advanced Options Blocks” listed on this page are currently NOT supported here. All others are.

Posted: Sunday Jan 20th, 2013 at 5:44 pm #38502
RossGrant
Username: RossGrant

Nice one Jason, that’s awesome!

Haven’t got a clue how to set it up, but I’ll look into it now.

Did it take you guys long to switch over?

Would be great if it improves deliverability!

Thanks for the heads-up.

Posted: Sunday Jan 20th, 2013 at 2:35 pm #38455
RossGrant
Username: RossGrant

That would be awesome Jason.

I love amazon services, I’ll take a look at that!

Do you use SES?

Posted: Sunday Dec 23rd, 2012 at 10:25 am #35434
RossGrant
Username: RossGrant

Fixed this guys!

It looks like JW Player has issue with responsive themes.

When I turned off the responsive scripts in the theme it sprung back into life.

Anyone else had issues with JW Player and responsive themes?

Posted: Sunday Dec 23rd, 2012 at 6:23 am #35422
RossGrant
Username: RossGrant

That’s correct Bruce.

Unfortunately there isn’t a change log as the framework the theme is running from is really a beta version and it’s not well documented yet.

There are no JS errors showing, so would that suggest a JQuery issue?

Any advice would be great!

Posted: Saturday Dec 22nd, 2012 at 7:02 pm #35371
RossGrant
Username: RossGrant

Here’s a link to one of the pages on the staging site that should be showing the player.

You’ll see the white space only after the ‘Watch a preview’ title:

http://bit.ly/Yzj5dw

Would LOVE some help with this if anyone has any ideas what can cause this.

It’s definitely a change in the theme that I’m using after updating it, but I have no idea what kind of thing to look for.

If I change to the default theme, it all works great, and it still works in the older version of the theme I’m running.

Thanks :)

Posted: Wednesday Dec 12th, 2012 at 9:01 am #34355
RossGrant
Username: RossGrant

Oh by the way, I HAD installed the user role plugin, but DIDN’T allow it to change anything. I just installed it to look at what permissions each role had assigned, so as far as I am aware the DB should be corruption free fingers crossed.

Posted: Wednesday Dec 12th, 2012 at 8:59 am #34354
RossGrant
Username: RossGrant

Hey Jason!

Just to be clear, the link between S2 Member and BB Press only changed when I upgraded BB Press.

S2 was already installed and up to date, so it ws only BB Press that was altered in the update process.

Reading the following from the S2 options for other integrations:

If bbPress® was already installed when you activated s2Member, your s2Member Roles/Capabilities are already configured to work in harmony with bbPress®. If you didn’t, you can simply click the “Update Roles/Capabilities” button here. That’s all it takes. Once your Roles/Capbilities are updated, s2Member and bbPress® are fully integrated with each other.

So the scenario of upgrading BBPress when S2 IS already active might not run that routine to link the roles?

I’m guessing that on each S2 upgrade that routine is automated, but when BB Press is updated and reactivated we may have to push that button to run the routine?

It’s happened on 2 installs now.

All works just fine, but has resulted in the same scenario each time.

Let me know what you think.

Posted: Tuesday Dec 11th, 2012 at 10:10 am #34261
RossGrant
Username: RossGrant

@jason Hey Jason!

I just upgraded to the new BB Press update put out a few hours ago and I think upgrading breaks the links between s2 and BB press initially.

All my forum members were labelled as the dynamic ‘Member’ role that is assigned by BB Press.

In order to get them back to the ‘Participant’ level that I have set by default, i needed to update the roles by hitting the button in the S2 ‘Other Integrations’ menu.

Is this something we’ll just have to remember each time we upgrade BB Press.

No big deal, just wanted to let other folk know!

:)

Posted: Monday Nov 19th, 2012 at 10:20 pm #32046
RossGrant
Username: RossGrant

It looks like it was Akismet.

I deactivated it and it allowed the user to post.

Upon reactivation they can now post too, so perhaps the roles had played a bit with Akismet, or Akismet’s servers were just going a bit crazy!

It’s all just odd though! Hopefully we’ll get some BBPress2.2 docs soon to work with!

Let me know if you can reproduce anything!

Thanks again :)

Viewing 25 replies - 26 through 50 (of 81 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.