Restrict page content entire a page – UserPro Forums https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/feed/ Sat, 18 May 2024 20:37:56 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36551 <![CDATA[Restrict page content entire a page]]> https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36551 Thu, 08 May 2014 20:19:23 +0000 TomassV Hello, it’s possible hide page content entire a page, page area, for certain user-roles?

i try explain this πŸ™‚

something:

“this is restricted content, you must be logged in or register to view this content”

]]>
https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36559 <![CDATA[Reply To: Restrict page content entire a page]]> https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36559 Thu, 08 May 2014 22:11:36 +0000 Hi TomassV I use a free wordpress plugin called WordPress Access Control to restrict pages by role. You can also restrict areas of a page depending on role but with this plugin it won’t tell you to login, it will simply not show that content if a user doesnt have the right role. The plugin works perfectly on my site and with UserPro. It even has a redirect option if wrong role tries to access page. It’s a very useful plugin! https://wordpress.org/plugins/wordpress-access-control/

Ahmed will correct me if im wrong but with UserPro you can resrict pages/posts so only members can view it. UserPro does not have the ability to restrict by role yet. You can also restrict certain content with UserPro but again only to logged out users, not by role either.

Hope that heps!

]]>
https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36590 <![CDATA[Reply To: Restrict page content entire a page]]> https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36590 Fri, 09 May 2014 10:05:24 +0000 kabadabra You can use the shortcode…

[userpro_private]…CONTENT HERE…[/userpro_private]

]]>
https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36593 <![CDATA[Reply To: Restrict page content entire a page]]> https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36593 Fri, 09 May 2014 10:25:00 +0000 admin restrict_to_roles=x,x,x,x will work role-based in combination with [userpro_private] πŸ™‚

]]>
https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36602 <![CDATA[Reply To: Restrict page content entire a page]]> https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36602 Fri, 09 May 2014 10:30:26 +0000 Ah I stand corrected! Am i right in saying there is no ability to restrict pages by role yet?

]]>
https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36604 <![CDATA[Reply To: Restrict page content entire a page]]> https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36604 Fri, 09 May 2014 10:31:57 +0000 admin You are right, If you mean “global / entire page” from page editor, not yet. But this should be something I need to work on. It will add flexibility.

]]>
https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36609 <![CDATA[Reply To: Restrict page content entire a page]]> https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36609 Fri, 09 May 2014 10:33:45 +0000 Have a look at the wordpress plugin i have linked to above. They have that feature created perfectly, so hopefully it would be a useful guide for you to work to.

]]>
https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36613 <![CDATA[Reply To: Restrict page content entire a page]]> https://forum.userproplugin.com/forums/topic/restrict-page-content-entire-a-page/#post-36613 Fri, 09 May 2014 10:44:33 +0000 admin Yup, many thanks

]]>