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.

Multisite License Upgrade & Video Not Working

Home Forums Community Forum Multisite License Upgrade & Video Not Working

This topic contains 12 replies, has 4 voices. Last updated by  Raam Dev 4 years, 10 months ago.

Topic Author Topic
Posted: Monday Mar 12th, 2012 at 3:58 pm #7917

Hi,
I am using the latest version of s2Member Pro 120309 & WordPress 3.3.1, and I use JW Player for my videos

The videos that I am having issue with work fine on the main site (http://www.the-tma.org) but we would like to have the videos for each event/subdomain on the event/subdomain site itself rather than redirecting users around to the main site.

I just purchased the upgrade for the multisite license because I was hoping to solve my video-not-playing problem but I still receive a ‘Video not found or access denied’ error.

The subdomain for this particular video, where it isn’t working is: http://www.the-tma.org/oilandenergy

When logged in as an admin, they DO work. When logged in as a subscriber, they DON’T. The page they are on is the login welcome page, set in the s2Member admin panel. The user name that I am testing with is in the User Admin section and in the database.

<script type='text/javascript' src='http://www.the-tma.org/wp-content/themes/corporate/flash/jwplayer.js'></script>
 
<div id='carabartek' class="vplr">This text will be replaced</div>
 
<script type='text/javascript'>
  jwplayer('carabartek').setup({
    'flashplayer': 'http://www.the-tma.org/wp-content/themes/corporate/flash/player.swf',
    'file': 'http://www.the-tma.org/wp-content/plugins/s2member-files/s2member-file-inline/Cara-Bartek_1.flv',
    'image': 'http://www.the-tma.org/oilandenergy/files/2012/02/splash-cara-bartek.png',
    'backcolor': '000000',
    'frontcolor': 'FFFFFF',
    'controlbar': 'bottom',
    'width': '425',
    'height': '320'
  });
</script>

Do I need to add that site license somewhere and I missed it? or is there a setting in s2Member admin for it?

as always, your help is much appreciated! thanks! Rayna

List Of Topic Replies

Viewing 12 replies - 1 through 12 (of 12 total)
Author Replies
Author Replies
Posted: Tuesday Mar 13th, 2012 at 7:08 am #7979

Hello Rayna.

Have you configured the file protection for each of the blogs in the network where you’re going to deliver the protected videos?
[hilite path]Dashboard -› s2Member® -› Download Options -› Basic Download Restrictions[/hilite]

Does your test account have the required level in that blog to view the protected file?
[hilite path]Dashboard -> Users -> All -> User edit -> Role[/hilite]

Posted: Tuesday Mar 13th, 2012 at 9:13 am #7988

Hi Cristian,
The user is a subscriber, which is what we’re offering – free level 0 registration, which is allowed in the s2Member admin panel. When I created the user I registered like an actual user would.

For Download Restrictions, I have flv & swf as an inline file but there really isn’t anything else to configure. I set the options up like the main site where the videos are working. We don’t use Cloud services and there are no download limits.

I tried the version of the link to the file listed under ‘basic download restrictions’ http://the-tma.org/oilandenergy/?s2member_file_download=example-file.zip, but this only created cross domain policy restrictions.

When I saw that format, I also tried adding ‘oilandenergy’ to the file link structure I’m currently using but that didn’t work either. So instead of
‘file’: ‘http://www.the-tma.org/wp-content/plugins/s2member-files/s2member-file-inline/Cara-Bartek_1.flv&#8217;,

I tried
‘file’: ‘http://www.the-tma.org/oilandenergy/wp-content/plugins/s2member-files/s2member-file-inline/Cara-Bartek_1.flv&#8217;,

I feel like it’s so close! :)

Thanks so much for your help and quick reply! Rayna

Posted: Tuesday Mar 13th, 2012 at 9:45 am #7991
Raam Dev
Username: Raam
Staff Member

Hi Rayna,

The s2Member Multisite support does not extend access control from the primary site to the sub-sites.

While s2Member is compatible with and supports WordPress Multisite Networking, the sites within a WordPress network are separate and not interconnected. That means you cannot share users, logins, or other data across the sites (including access control).

Please see the following from WordPress.org:

The sites in a multisite network are separate, very like the separate blogs at WordPress.com. They are not interconnected like things in other kinds of networks (even though plugins can create various kinds of interconnections between the sites). If you plan on creating sites that are strongly interconnected, that share data, or share users, then a multisite network might not be the best solution.

The s2Member Multisite feature allows you to offer the s2Member plugin to sub-sites, giving your sub-sites the ability to setup and use s2Member on their own. When you upgrade s2Member on the primary site, the s2Member plugin is automatically updated for all your sub-sites. However, things like access restrictions on one WP installation are not shared across WP installations (again, the WordPress Multisite feature itself isn’t designed to work like that).

There are plugins that allow you to get around these WordPress Multisite limitations, however they may or may not work with s2Member.

If you’re trying to protect a file on http://the-tma.org/ and then allow users logged into http://the-tma.org/oilandenergy/ (the other WordPress installation) to access those protected files, that won’t work: The second WP installation won’t see that you’re logged in.

Posted: Tuesday Mar 13th, 2012 at 10:42 am #7996

Hi,

If you’re trying to protect a file on http://the-tma.org/ and then allow users logged into http://the-tma.org/oilandenergy/ (the other WordPress installation) to access those protected files, that won’t work: The second WP installation won’t see that you’re logged in.

That I understand and that’s not what I’m trying to do. http://the-tma.org/oilandenergy/ is its own site, own users and it’s own files just like the test user/subscriber is a member on the /oilandenergy site but NOT the-tma.org site. I only referenced the-tma.org because the videos are working there. I created a page, which is my login welcome page, on the /oilandenergy site but the videos won’t load from the s2Member folder. Here is a screenshot of the page and the video with the error message: http://www.the-tma.org/wp-content/uploads/screenshot2.jpg

The question is: Why aren’t my videos loading on this site? Can you protect content on a sub-site? (we own all of them, it’s not a blog farm which is why I only upgraded to the multisite license. I thought maybe that was why the videos weren’t working, because I only had a single site license)

Thank you! Rayna

Posted: Tuesday Mar 13th, 2012 at 11:31 am #8002
Staff Member

On a Multisite Network installation, you will choose either a sub-directory style configuration, or a sub-domain configuration. In other words, each of your Child Blogs are either in a virtual sub-directory, like http://www.domain.com/virtual-sub-directory/, or in a sub-domain like: mysite.domain.com.

In either case, your File Download Links need to contain that information. For instance, this is correct:

http://www.the-tma.org/oilandenergy/wp-content/plugins/s2member-files/s2member-file-inline/Cara-Bartek_1.flv

If that link is not working for you, please confirm the following:

Did you configure this instance of the s2Member plugin? Each Child Blog runs it’s own instance of WordPress and it’s own instance of s2Member. Each instance needs to be configured. It appears from your link that you’ve NOT yet configured any Basic Download Restrictions for s2Member on this particular Child Blog?

Posted: Tuesday Mar 13th, 2012 at 11:54 am #8004

Hi Jason,
First – I can’t thank you and your team enough for being so attentive to this issue today!!

That version of the link did not work. In regards to your questions:

Did you configure this instance of the s2Member plugin? Yes, the form fields have been customized, I have all the pages set – Login Welcome, Membership Options, etc., free registration is allowed, etc.

NOT yet configured any Basic Download Restrictions for s2Member on this particular Child Blog? I have the restrictions configured like the main site. So: Basic Download Restrictions – there is a limit set and a page set for limit exceeded; inline file extensions are ‘flv,swf’, we don’t use the Cloud options.

I’m clearly missing something but I’ve gone back and forth between the settings a number of times but can’t see what I’m missing.

Thanks again, Rayna

Posted: Tuesday Mar 13th, 2012 at 12:58 pm #8018
Staff Member

Hi Rayna. That link seems to be working properly from my end now. Upon clicking the link I’m redirected to your Membership Options Page, which is expected, since I’m not logged into your site.

If problems persist, please send us a Dashboard/FTP login and we’ll take a quick look for you.
Please use: s2Member® » Private Contact Form

Posted: Tuesday Mar 13th, 2012 at 1:51 pm #8026

Hi,
thank you – the videos still aren’t loading so I sent you my details through the contact form.

Rayna

Posted: Tuesday Mar 13th, 2012 at 2:13 pm #8029
Staff Member

Thank you. Investigation completed.

I find that your /wp-config.php file contains this line:
define( 'DOMAIN_CURRENT_SITE', 'the-tma.org' );
Indicating that your installation is NOT using the www. prefix.

So if you change your download link over to the following, it should work as expected.

http://the-tma.org/oilandenergy/wp-content/plugins/s2member-files/s2member-file-inline/Cara-Bartek_1.flv

See Also: this forum topic… Don’t mix WWW and without!

Posted: Tuesday Mar 13th, 2012 at 2:35 pm #8033

Cristian, Raam & Jason,

Thank you SO much for getting this resolved today. You guys are top-notch!

Super girlie moment: xoxoxo

On the professional side, that is one of those things that I don’t think of very often – I forget that it’s set up with no www. I will mentally add that to the list of things to check from now on when things go amiss.

Thanks again, Rayna

Posted: Wednesday Mar 14th, 2012 at 12:15 am #8076

:)

Posted: Wednesday Mar 14th, 2012 at 1:34 pm #8125
Raam Dev
Username: Raam
Staff Member

You’re most welcome, Rayna! Glad we could help. :)

Viewing 12 replies - 1 through 12 (of 12 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

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.