• Resolved ofmarconi

    (@ofmarconi)


    Like any CPT it is possible to restrict the content to subscribers, but this plugin is different because it doesn’t load anything from WordPress in your view.

    Would I have to edit the .htacess for everything after /web-stories/* to be subscribers only?

    How can I do this?

    If it were possible to hide the share button, it could load inside an iframe…

    I don’t care about the AMP, I just want the ease of creating content-rich slides.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello @ofmarconi thanks for your question. The .htaccess doesn’t control permissions by WP user role so this would not be possible.

    Could I please ask how you define your subscribers? Do you have a set user role for them?

    Regarding hiding the share button there is an open GitHub issue for this that you can follow for updates.

    • This reply was modified 2 years, 11 months ago by Adam Dunnage.
    Thread Starter ofmarconi

    (@ofmarconi)

    That’s right, the function determines what each one sees.

    The subscriber is free to see everything
    The customer (generated the purchase but did not pay or expired) sees it as a visitor
    And the Visitor sees that he is not allowed to see but can sign…

    • This reply was modified 2 years, 11 months ago by ofmarconi.

    @ofmarconi thanks for providing this information. To help assist you further on the subscriber question you have would you be able to provide your Site Health information or You can share privately if you prefer via this form.

    Thread Starter ofmarconi

    (@ofmarconi)

    
    ### wp-core ###
    
    version: 5.8.2
    site_language: pt_BR
    user_language: pt_BR
    timezone: -03:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: open
    environment_type: production
    user_count: 103
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /home/site.com/public_html
    wordpress_size: loading...
    uploads_path: /home/site.com/public_html/wp-content/uploads
    uploads_size: loading...
    themes_path: /home/site.com/public_html/wp-content/themes
    themes_size: loading...
    plugins_path: /home/site.com/public_html/wp-content/plugins
    plugins_size: loading...
    database_size: loading...
    total_size: loading...
    
    ### wp-dropins (1) ###
    
    object-cache.php: true
    
    ### wp-active-theme ###
    
    name: Hello Elementor Child (hello-theme-child-master)
    version: 1.0.1
    author: Elementor Team
    author_website: https://elementor.com/
    parent_theme: Hello Elementor (hello-elementor)
    theme_features: core-block-patterns, widgets-block-editor, post-thumbnails, menus, automatic-feed-links, title-tag, html5, custom-logo, editor-style, align-wide, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider
    theme_path: /home/site.com/public_html/wp-content/themes/hello-theme-child-master
    auto_update: Desativado
    
    ### wp-parent-theme ###
    
    name: Hello Elementor (hello-elementor)
    version: 2.4.1
    author: Equipe Elementor
    author_website: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    theme_path: /home/site.com/public_html/wp-content/themes/hello-elementor
    auto_update: Desativado
    
    ### wp-mu-plugins (1) ###
    
    ManageWP - Worker Loader: version: 1.0.0, author: GoDaddy
    
    ### wp-plugins-active (33) ###
    
    Admin Columns Pro: version: 5.6, author: AdminColumns.com, Atualiza??es automáticas desativadas
    Advanced Database Cleaner PRO: version: 3.1.6, author: Younes JFR., Atualiza??es automáticas desativadas
    All-in-One WP Migration: version: 7.50, author: ServMask, Atualiza??es automáticas desativadas
    All-in-One WP Migration Unlimited Extension: version: 2.42, author: ServMask, Atualiza??es automáticas desativadas
    Brazilian Market on WooCommerce: version: 3.7.2, author: Claudio Sanches, Atualiza??es automáticas desativadas
    Buffer Flush Fix: version: 1.0, author: Openwrite, Atualiza??es automáticas desativadas
    Elementor: version: 3.4.8, author: Elementor.com, Atualiza??es automáticas desativadas
    Elementor Pro: version: 3.5.2, author: Elementor.com, Atualiza??es automáticas desativadas
    JetBlocks For Elementor: version: 1.2.10, author: Crocoblock, Atualiza??es automáticas desativadas
    JetBlog For Elementor: version: 2.2.14, author: Crocoblock, Atualiza??es automáticas desativadas
    JetElements For Elementor: version: 2.6.1, author: Crocoblock, Atualiza??es automáticas desativadas
    JetEngine: version: 2.10.2, author: Crocoblock, Atualiza??es automáticas desativadas
    JetFormBuilder: version: 1.4.2, author: Crocoblock, Atualiza??es automáticas desativadas
    JetGridBuilder: version: 1.1.1, author: Crocoblock, Atualiza??es automáticas desativadas
    JetSearch For Elementor: version: 2.1.14, author: Crocoblock, Atualiza??es automáticas desativadas
    JetSmartFilters: version: 2.3.7, author: Crocoblock, Atualiza??es automáticas desativadas
    JetTabs For Elementor: version: 2.1.14, author: Crocoblock, Atualiza??es automáticas desativadas
    JetTricks: version: 1.3.9, author: Crocoblock, Atualiza??es automáticas desativadas
    Juno para WooCommerce: version: 2.4.1, author: Juno Gateway de Pagamentos para ecommerces, Atualiza??es automáticas desativadas
    LiteSpeed Cache: version: 4.4.5, author: LiteSpeed Technologies, Atualiza??es automáticas desativadas
    ManageWP - Worker: version: 4.9.10, author: GoDaddy, Atualiza??es automáticas desativadas
    Rank Math SEO: version: 1.0.78, author: Rank Math, Atualiza??es automáticas desativadas
    Redirection: version: 5.1.3, author: John Godley, Atualiza??es automáticas desativadas
    Retarget Marks: version: 2.0, author: Marconi, Atualiza??es automáticas desativadas
    Uncanny Automator: version: 3.5, author: Uncanny Owl, Atualiza??es automáticas desativadas
    Uncanny Automator Pro: version: 3.4, author: Uncanny Owl, Atualiza??es automáticas desativadas
    Web Stories: version: 1.15.1, author: Google, Atualiza??es automáticas desativadas
    WooCommerce: version: 5.9.0, author: Automattic, Atualiza??es automáticas desativadas
    WooCommerce Subscriptions: version: 3.1.6, author: WooCommerce, Atualiza??es automáticas desativadas
    WP Offload SES Lite: version: 1.4.6, author: Delicious Brains, Atualiza??es automáticas desativadas
    WPvivid Backup Plugin: version: 0.9.65, author: WPvivid Team, Atualiza??es automáticas desativadas
    WPvivid Plugins Pro: version: 2.1.3, author: wpvivid.com, Atualiza??es automáticas desativadas
    Yoast Duplicate Post: version: 4.2, author: Enrico Battocchi & Team Yoast, Atualiza??es automáticas desativadas
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: 1690
    imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
    imagick_version: @PACKAGE_VERSION@
    file_uploads: File uploads is turned off
    post_max_size: 32M
    upload_max_filesize: 32M
    max_effective_size: 32 MB
    max_file_uploads: 20
    gd_version: bundled (2.1.0 compatible)
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: 9.50
    
    ### wp-server ###
    
    server_architecture: Linux 5.4.0-91-generic x86_64
    httpd_software: LiteSpeed
    php_version: 8.0.13 64bit
    php_sapi: litespeed
    max_input_variables: 1000
    time_limit: 300
    memory_limit: 512M
    max_input_time: 100
    upload_max_filesize: 32M
    php_post_max_size: 32M
    curl_version: 7.68.0 OpenSSL/1.1.1f
    suhosin: false
    imagick_availability: true
    pretty_permalinks: true
    htaccess_extra_rules: true
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 10.3.32-MariaDB-0ubuntu0.20.04.1
    client_version: mysqlnd 8.0.13
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/site.com/public_html/wp-content
    WP_PLUGIN_DIR: /home/site.com/public_html/wp-content/plugins
    WP_MEMORY_LIMIT: 40M
    WP_MAX_MEMORY_LIMIT: 512M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_LOCAL_DEV: undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    mu-plugins: writable
    
    ### web_stories ###
    
    web_stories_version: 1.15.1
    web_stories_db_version: 3.0.13
    web_stories_amp_version: 2.2.0-alpha
    web_stories_cdn_url: https://wp.stories.google/static/14
    web_stories_dev_mode: false
    web_stories_theme_support: Desabilitado
    web_stories_enabled_experiments: 
    	Template search: Ativado
    	Página de arquivo: Ativado
    	Inserir mídia do link: Ativado
    	CORS Proxy: Ativado
    	Corte de vídeo: Ativado
    	Armazenamento de miniaturas em cache: Ativado
    	Legendas de vídeo: Ativado
    web_stories_libxml_version: 2.9.10
    
    

    @ofmarconi thanks for the information. Can I confirm if it is the Elementor Pro plugin you are using to manage your user roles such as subscribers?

    Thread Starter ofmarconi

    (@ofmarconi)

    Hi!

    What I’m using to manage subscribers is this plugin:
    https://woocommerce.com/en-us/products/woocommerce-subscriptions/

    But I believe it only changes functions (it doesn’t create), I have a more advanced site that works with function levels depending on the subscription, then the plugin to create functions I use this: https://www.ads-software.com/plugins/capability-manager-enhanced/

    If you want a test environment I can clone this site.

    thx!

    • This reply was modified 2 years, 11 months ago by ofmarconi.

    @ofmarconi thank you for explaining that makes sense. I will need to discuss this with the engineering team for more information and we will update you as soon as we can.

    Plugin Author Pascal Birchler

    (@swissspidy)

    In theory it should definitely be possible to restrict web stories access to subscribers. Just like the plugin already supports the WordPress-native functionality for making content password protected, which is similar.

    If it works in practice as well really depends on the plugins you’re currently using to achieve that.

    They might actually already be adding custom meta boxes to the editor that would allow you to configure the access level. Have you checked that? There might be a small “M” in the bottom of the editor:

    If you don’t see custom meta boxes and there’s no way to change access, e.g. via the “All Stories” page, I recommend reaching out to those plugin developers to request adding support for stories.

    PS. Thanks for the kind offer to set up a test environment but we’re not allowed to do that, per the forum guidelines.

    Thread Starter ofmarconi

    (@ofmarconi)

    Got your point!

    A plugin that restricts access to the post type depending on the user’s role should resolve.

    I hadn’t thought of it that way, for me your plugin just generated a link, not that it really was a post type.

    It just makes me sure how amazing the developers of this plugin are!

    I can’t see this M: https://i.postimg.cc/fRy53VKK/image.png
    Which plugin adds this M?

    Thanks

    @ofmarconi The M will display in the Web Stories editor if you have another plugin installed that adds meta boxes to post types in WordPress. Since you don’t see one there, it means that none of your plugins (including your membership plugin) are adding meta boxes.

    The best next step here would be for you to contact the developers of your membership plugin to see if they can add meta box or other support so that you can restrict Web Stories to members only.

    I’ll mark this topic as resolved for now, but if you do have any other questions about Web Stories, please feel free to open a new topic. Thanks!

    Thread Starter ofmarconi

    (@ofmarconi)

    Thx so much!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘I want to use as subscriber-restricted content.’ is closed to new replies.