• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

Restrict Content Pro – Restrict Past Content not working with PPV

[Solved]

Foliovision › Forums › FV Player Pay Per View › Bug Reports › Restrict Content Pro – Restrict Past Content not working with PPV

  • turbokingspoker 2 years, 9 months ago

    Hi, we have over 400 videos in our library, and until recently everything worked fine.
    with your new PPV Beta everything now is out of whack.

    we have two main memberships, one that restricts past content, and one that doesnt. Silver and Gold.
    If someone signs up to Silver today he is supposed to see just the new videos but not something from say a month ago. Gold is unrestricted.
    on top of that each video is available for PPV purchase.
    now.
    When i add new videos i now have to select which memberships have access to RCP https://gyazo.com/890b3b67e0487ed2a23d9721ef78bc14
    if i dont do that, even members have to PPV. but if i do that, now it circumvents the restrict past content restriction and silver members have access to old videos. I need a solution asap

Viewing 20 replies - 1 through 20 (of 20 total)
  • Mária Stašová 3 years ago
    Avatar photo

    Hello Turbokingspoker,

    We’re sorry about the inconvenience.

    We have fairly recently launched a new subscription system which is an integration with RCP as a part of the PPV plugin. Thank you for reporting these conflicts between the two systems.

    I’ll notify our development team and they will deal with it shortly.

    Making the web work for you,
    Maria

    Martin 3 years ago

    Hello Turbokingspoker,

    please download a fresh copy of FV Player Pay Per Vie ZIP file from https://foliovision.com/my-licenses and reinstall from that.

    Then the issue should be fixed.

    Thanks,
    Martin

    turbokingspoker 3 years ago

    It worked for a while but now doesnt again. this is a major issue Martin.

    Im sending you a video of the problem, available to get on call to show you in person as well if needed. Please help!!!!!!!!

    Video is coming per email

    Martin 3 years ago

    Hello Turbokingspoker,

    I checked the video.

    You said that a user with RCP membership would get the Pay Per View buttons even though the video was associated with the RCP membership level which he purchased. So he should have access to the video.

    However if you then open the player in the editor, the issue goes away. But then it does come back the next day or so.

    On one occasion you also noticed that the RCP memberships set for the player would disappear from its configuration.

    I’m sorry to hear about such issues, it’s certainly not what you should be experiencing with FV Player.

    I was not able to replicate these issues, I don’t see how this could be happening at all. It seems like some database error.


    As a first troubleshooting step please get a fresh FV Player Pay Per View ZIP file from https://foliovision.com/my-licenses and reinstall from that.

    Then enable wp-admin -> Settings -> FV Player PPV -> Debug. Then find another video for which your test member gets the Pay Per View buttons, add ?fvppv_debug to the link in the browser location bar and open it again. Then open the page source HTML code and look for lines with <!--fvppv_debug msg:

    If the player is restricted for certain RCP memberships, then there should be a log message like this:

    RCP Membership Level IDs ‘1,2’

    Then is the user has the access to that membership there will be:

    User has the required RCP Membership Level ‘2’

    If the post is too old and is restricted by Restrict Past Content RCP addon you will see:

    However rcp_membership_can_access filter restricts the access

    But there might be some weird issue or that message might not come at all. In that case you might just see:

    No EDD nor RCP restriction found

    If that’s the case then please try to export the player by using wp-admin -> FV Player -> however over the player row and click “Export”. Will you be able to find the rcp_levels part if in? Something like this:

    {“ab”:””,”ad”:””,”ad_height”:””,”ad_width”:””,”ad_skip”:””,”align”:””,”autoplay”:””,”controlbar”:””,”copy_text”:””,”embed”:””,”end_actions”:””,”end_action_value”:””,”height”:””,”hflip”:””,”lightbox”:””,”lightbox_caption”:””,”lightbox_height”:””,”lightbox_width”:””,”player_name”:””,”player_slug”:””,”playlist”:””,”playlist_advance”:””,”qsel”:””,”share”:””,”share_title”:””,”share_url”:””,”speed”:””,”sticky”:””,”video_ads”:””,”video_ads_post”:””,”width”:””,”status”:”published”,”meta”:[{“meta_key”:”rcp_levels”,”meta_value”:”1,2″},{“meta_key”:”post_id”,”meta_value”:”147204″}],”videos”:[{…}]}

    Thanks,
    Martin

    turbokingspoker 3 years ago

    hello Martin, sent you an email already, but here is the debug log:
    <!–fvppv_debug msg: Purchase date–>
    <!–fvppv_debug msg: Rental duration–>
    <!–fvppv_debug var: 96–>
    <!–fvppv_debug msg: Seconds left–>
    <!–fvppv_debug var: -1665406807–>
    <!–fvppv_debug msg: Showing preview–>

    Martin 3 years ago

    Hello Turbokingspoker,

    please double check that you actually grabbed a fresh FV Player Pay Per View ZIP file from https://foliovision.com/my-licenses and reinstalled from that.

    It includes some more debug information which is missing on your output. Was there really nothing about “RCP Membership” ?

    Thanks,
    Martin

    turbokingspoker 3 years ago

    just downloaded a new version from our license tab again and reinstalled, did the debug thing and this the debug message now:
    <!–fvppv_debug msg: User purchases for user_id ‘none’ –>
    <!–fvppv_debug msg: EDD Purchase date ‘none’ –>
    <!–fvppv_debug msg: Rental duration 96 –>
    <!–fvppv_debug msg: Seconds left -1665407829 –>
    <!–fvppv_debug msg: Showing preview –>

    turbokingspoker 3 years ago

    Im available to jump on a teamviewer or zoom call to show you if you want,

    turbokingspoker 3 years ago

    If this is a paid support issue thats fine, you can send me an invoice for your time, i just need this resolved asap.
    thank you

    turbokingspoker 3 years ago

    when i do the reload thing as i have shown you in the video then suddenly the debug message shows this <!–fvppv_debug msg: RCP Membership Level IDs ‘4,5,6,3,2’ –>
    <!–fvppv_debug msg: User purchases for user_id ‘none’ –>
    <!–fvppv_debug msg: EDD Purchase date ‘none’ –>
    <!–fvppv_debug msg: User has the required RCP Membership Level ‘3’ –>
    <!–fvppv_debug msg: Rental duration 96 –>
    <!–fvppv_debug msg: Seconds left -1665408085 –>
    <!–fvppv_debug msg: Access permitted for RCP member –>

    Martin 3 years ago

    Hello Turbokingspoker,

    what’s strange is that when you reinstalled FV Player Pay Per View you did not get that “RCP Membership Level IDs” debug message. You only got it after reloading the page.

    That suggests to me the issue is with page caching. A WordPress caching plugin or your web host page cache might be interfering with the membership functions of your website.

    Are you able to reproduce the behavior where you do not get the access to the video, but you can see “RCP Membership Level IDs” in debug?

    Our paid support is available here: https://foliovision.com/pro-support We would require a WordPress admin access, FTP access and access for a test member to use for the testing.

    Thanks,
    Martin

    turbokingspoker 3 years ago

    No, I’m not able to reproduce that. if there is access to the video, then this debug message shows it, however, if there is no access then it doesn’t show it.

    What’s strange is that I know that I went over every single video myself which is over 500 to make sure all videos in the FV Player have the memberships set which have access, now when I double check some of them don’t. It’s really mind-boggling and frustrating, as I can’t reopen over 500 videos in the FV Player to double-check those every time.

    turbokingspoker 3 years ago

    And I don’t think it has anything to do with caching, to be honest. Just now checked video 54 which I know for a fact last night had all the right authorizations set, I opened it in FV Player, and next to Restrict Content Pro under PPV Tab everything is empty. So again I had to select the memberships I want to have free access to that video. I keep doing the same work over and over for tons of videos

    Martin 3 years ago

    Hello Turbokingspoker,

    what does the Export function on wp-admin -> FV Player give back for a player that does not work with the membership?

    Please check that before opening the player for editing again. Will you be able to see that rcp_levels part?

    Thanks,
    Martin

    turbokingspoker 3 years ago

    also please check this GIF.

    I open video 104 it has no rights assigned, open video 105 no rights assigned. then i add rights to video 105, then open 104 and suddenly 104 has the same rights as 105 where it was empty before.

    https://gyazo.com/c67ac115188ef787a3bc3bcf24d5fcc1

    turbokingspoker 3 years ago

    to your last question, here is the gif:

    Video on website shows PPV buttons, exported video from FV player has no RCP metadata, however now i open that video in FV Player and under RCP it does show memberships, when i now close that video and open Metadata it suddenly has RCP metadata and a refresh of the website removes the PPV buttons
    https://gyazo.com/8912e55b7f25bc38a1b88df4cb642a7b

    Martin 3 years ago

    Hello Turbokingspoker,

    regarding the first GIF – I see that we do not reset the status of the RCP membership picker properly. It’s fixed now, please grab a fresh copy of FV Player Pay Per Vie ZIP file from https://foliovision.com/my-licenses and reinstall from that

    I see that with a bug like this it would be very hard to edit anything. So perhaps you thought the membership restrictions are all set while they were in place from your previous edit.

    Would you like to apply the same RCP Membership Level IDs for all the players in your database? If you, you can use SQL like this, please just make sure you backup your database and change 1,2 to your actual membership IDs:

    DELETE FROM wp_fv_player_playermeta WHERE meta_key = 'rcp_levels' AND meta_value = '';
    
    INSERT INTO `wp_fv_player_playermeta` ( `id_player`, `meta_key`, `meta_value`)
    select id, 'rcp_levels', '1,2' FROM wp_fv_player_players WHERE id NOT IN (
      SELECT id_player FROM wp_fv_player_playermeta WHERE meta_key = 'rcp_levels'
    );

    Thanks,
    Martin

    turbokingspoker 3 years ago

    Hey Martin,
    thank you will download the new version, and do the SQL inserts as yes all videos can be accessed by the same memberships.
    much appreciated, will let you know if there are any further issues.

    turbokingspoker 3 years ago

    OK did the SQL insert and so far couldn’t find a video that doesn’t work.
    Looks like we fixed it. Thank you so much for your help.
    Have a great weekend.

    Martin 3 years ago

    Hello Turbokingspoker,

    thank you for your cooperation. It’s getting late here but I’ll check again in 3-4 hours to see if you run into anything strange.

    Thanks,
    Martin

Viewing 20 replies - 1 through 20 (of 20 total)
Reply To: Restrict Content Pro – Restrict Past Content not working with PPV



Please Sign in or Register to upload files.

Related Posts

  1. How To Sell Video Subscriptions With Restrict Content

  2. Pay Per View Feature and Restrict Content Pro

    Pay Per View Feature and Restrict Content Pro

  3. Status of Pay Per View/Restrict Content Pro feature?

    Status of Pay Per View/Restrict Content Pro feature?

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!