Home › Forums › Nick Ramsden
About: Nick Ramsden
Sorry, I've not written a description yet. I'll get to it soon!
Topics I'm Subscribed To
| Topic | Count | Last Reply |
|---|---|---|
|
Struggling to get JW Player Working
By: |
voices: 5 replies: 16 |
|
|
Membership Options not shown if in level 0
By: |
voices: 2 replies: 5 |
Topics I've Started
| Topic | Count | Last Reply |
|---|---|---|
|
Struggling to get JW Player Working
By: |
voices: 5 replies: 16 |
|
|
Membership Options not shown if in level 0
By: |
voices: 2 replies: 5 |
My Latest Replies (From Various Topics)
| Author | Replies |
|---|---|
| Author | Replies |
| Posted: Monday Feb 11th, 2013 at 7:55 pm #41474 | |
|
|
|
|
QUICK UPDATE – PROBLEM SOLVED Having established that the problem was related to the Cloudfront integration, I disabled it, generated a new key pair and started from scratch. Everything is working OK now. Something obviously must have gone wrong the first time around. The symptoms of the problem didn’t seem to be obviously related which is why I’ve been scratching my head (or should that be tearing my hair out!) over this for the past few days. Anyway, all’s well that ends well. Cheers |
|
| Posted: Monday Feb 11th, 2013 at 5:52 pm #41427 | |
|
|
|
|
OK I’ve been doing some more trouble-shooting and decided to build a completely fresh test instance from scratch, testing at each stage, step by step. So, starting with a vanilla installation of WordPress with the 2012 theme and just S2 Member running, using the shortcode I managed to get video playing from the /wp-content/plugins/s2member-files directory. Next I set up my Amazon S3 Bucket with Access Key and Secret Key and got the video playing from there. Then I set up S3/CloudFront options with Key Pair ID and Private Key, saved the settings and got confirmation that the settings had been enabled. I waited a while and then checked my CloudFront account and verified that the Stream/Download distributions were deployed and enabled. When I went back to the site the page was truncated again. So it seems that the problem lies with enabling CloudFront. I’m assuming that I’ve set up the options correctly in S2 Member or else the distributions would not have been configured by S2 Member. When I removed the CloudFront settings from S2 Member everything was back to normal again, except I can’t stream video without CloudFront. Any ideas please? |
|
| Posted: Monday Feb 11th, 2013 at 4:11 pm #41417 | |
|
|
|
I’m not getting any error at all. When the shortcode is included in the page, the page content, sidebar and page footer just disappear. All I get is the site header, the page title and where the other stuff should be is just blank space. If I remove the shortcode everything returns to normal. It’s like the presence of the shortcode is truncating all other code within the page content and everything that follows it. Here’s an example of what the source code might look like:
Instead, this is what actually happens
It’s not as though it is just the html from shortcode onwards is affected, but even content immediately prior to the shortcode within the same “div” tag is removed. Removing the shortcode restores everthing. |
|
| Posted: Sunday Feb 10th, 2013 at 9:04 am #41315 | |
|
|
|
|
Just for the record, I have this in the head tag of the page:
“ACCWII” being the subdirectory where I’m currently building the site. Also as well as the shortcode mentioned in my previous post, I’ve also tried this: –
But still get the same result. |
|
| Posted: Friday Feb 8th, 2013 at 6:24 am #41190 | |
|
|
|
|
Thanks, this is the shortcode:
|
|
| Posted: Tuesday Feb 5th, 2013 at 7:25 pm #40882 | |
|
|
|
Yes, thank you. That’s the answer. I have a generic domain name and for development purposes I’m running the installation in a sub-directory. I’ll move it to it’s own domain when I’m ready to make the site live. However, I seem to stumble from one hurdle to another. Now that I’ve overcome all of this. I’ve set up the S3/Cloudfront integration and S2 Member distributions are configured and enabled in Cloudfront. So far so good, but when I put the S2Stream short code into a page, the side bar, page content and footer completely disappear! All I’m left with are the site header and the page title. I’ve tried it with all plugins disabled and just the plain twenty twelve theme and the problem is still there so I’m sure there are no plugin/theme conflicts causing this problem. If remove the short code the page displays properly. If add it back in everything disappears again. This is the source code from the very end of the page: –
With the short code present there is no content or code at all beyond the [div class="entry-content"] tag. With the shortcode removed, all of the page content and footer code etc is included. Any idea what might be causing this? |
|
| Posted: Monday Feb 4th, 2013 at 6:39 pm #40790 | |
|
|
|
|
I finally managed to get this working. The latest S2 Member update which allows the reference to the JW Player script in the head tag certainly helped. I think I was previously experiencing some conflict between what I had between the head tags and what was in the short code. So, with the script referenced in the head tags, the short code looks like this: –
I think it is much simpler to implement it like this without having to reference the player license key in each shortcode. However, aside from issues with the short code, there was one other miniscule issue that had completely compounded my efforts to get this working and that is the reference to the JW Player location. This doesn’t work
But this does
The period before the first / makes all the difference and allows the player to be referenced from the root directory. I’m not sure why this should be because I have my JW Player in the root directory as shown in the “how to” article. Has anybody else had this problem? Anyway, I think I’m good to go; just got to get my head around the S3/Cloudfront bit now! |
|
| Posted: Thursday Jan 31st, 2013 at 5:57 pm #40204 | |
|
|
|
|
Thanks for your advice and the file link. I’ve run the server check and everything passes so I feel better about letting the Secure WordPress plugin go. |
|
| Posted: Tuesday Jan 29th, 2013 at 5:15 pm #39936 | |
|
|
|
|
After some trial and error I’ve managed to establish that the culprit causing this problem is a plugin called Secure WordPress By WebsiteDefender. On the face of it this seems like a handy plugin to have. If I run without it are there any risks I should address in some other way or are there any alternative plugins that are compatible with S2 Member that I can use? |
|
| Posted: Tuesday Jan 29th, 2013 at 2:59 pm #39925 | |
|
|
|
|
Bump! |
|








Pre-Sale FAQs
Video Tutorials
Community Forum
Knowledge Base
News/Updates
s2 Codex / Docs
GPL v2 License
Contact A Human
About Us
Our Customers
Support Policy
Privacy Policy
