Can anyone tell me if this still works?
]]>I have been using your plugin for 5 years now. A few days ago it no longer shows me the list of users registered on WordPress? Can you help me to solve this problem.
]]>The error on line 373 can be fixed by:
Replace that line with:
if (!count(array($savedusers)) > 0 && !count(array($savedroles)) > 0 ){
]]>Is User Specific Content plugin compatible with GravityView.
I dont get the User Specific Content control on the GravityView view settings
]]>Hi
I receive the below error, on contributor frontend page
Warning: count(): Parameter must be an array or an object that implements Countable in /public_html/wp-content/plugins/user-specific-content/User-Specific-Content.php on line 373
]]>I have user-specific content-box installed as a plugin.
I assign different pages to my users at the bottom of the page where it provides an option to assign users.
As clients log in, sometimes it works and is fine however soon when they assess the page, it goes blank again.
From then I have to remove their access to the page and update it but then it won’t last long
]]>Does plugin allow setting both role and logged in users restriction at the same time?
]]>is there a way to create a list of users post maybe a shortcode to show all post that was assigned to a user
]]>.this message appeared on every page of my site since yesterday afternoon.
Warning: count(): Parameter must be an array or an object that implements Countable in /home/xxxxxxxx/public_html/xxxxxxxx/wp-content/plugins/user-specific-content/User-Specific-Content.php on line 373
]]>Warning: count(): Parameter must be an array or an object that implements Countable in /home/ayuilinf/public_html/wp-content/plugins/user-specific-content/User-Specific-Content.php on line 373
]]>Hey,
ive created a custom post type with the slug “xyz”.
Ive added your code from here:
https://www.ads-software.com/support/topic/use-with-custom-post-type-1/
and insert the slug.
But its not working?!
//using a filter hook
add_filter(‘USC_allowed_post_types’,’usc_filter_post_types’);
function usc_filter_post_types($types){
//to add a custom post type
$types[] = ‘xyz’;
//to remove a post type
if(($key = array_search(‘post’, $types)) !== false) {
unset($types[$key]);
}
}
I need a frontend button X.
X is visible for everyone.
X is after the post title or simple a php code so i can put it enywhere in the theme file.
If user 12345 press X the post will be hidden for that user and only for that user.
User abcdef can still see the post! U understand the point.
Is it something you can help with?
]]>If I set permissions on custom roles, the plugin doesn’t work.
IS there a workaround to solve this issue?
]]>Hi
We are having trouble using the plugin with CPTs, we tried it with toolset, WCK and CPT UI. Custom Post Type UI (CPT UI) has a place to add a support type slug that will allow third-party plugins like User Specific Content to register its meta box. Here is the link:
https://docs.pluginize.com/article/28-third-party-support-upon-registration
COULD YOU PLEASE GET THIS WORKING. Your page says it supports custom types but it is not at this time.
Thank you
Cristina Lisa
Is there any way for retrieving all roles authorized to edit a post?
I would to display some item with php of the current user role is authorized to edit a post
Thanks in advance
Attempting to call user specific content to display on a page by calling a user name. I need to be able to show pdf’s and or content specific to a private user.
i am using this code
[O_U user_name=”boyyyd”]boyyyd content goes here[/O_U]
]]>Hi There,
Im creating a website for holiday homes, the page for each holiday home is automatically generated by the website, Im able to set it that only specific users can access specific pages, however the plugin only seems to be protecting certain parts of the webpage and not it all, can you help?
Good afternoon,
How can I insert the shortcode of the [LOGIN_FORM] ?, now I put it in the plugin for when a page is private or with restricted access, apart from a text to the client the option of being able to Login appears on that same page.
Thank you.
I wait for news.
Greetings, Rafael M.
]]>I’m trying to troubleshoot the shortcode not working on a custom page. Naturally I’m needing to read the documentation for this plugin.
Where can I find that documentation?
Any help is appreciated, thanks.
]]>Hi,
This plugin is very usefull, thanks!
However, I need this plugin to configure on certain users on woocommerce products, but I couldn’t find the way to do that (woocommerce products doesn’t display user specific content menu).
Do you know if is there a way to do that?
Thank you very much!
Regards,
Cristian
Hey guys.
I’m pretty sure I’m doing something wrong here, maybe you can help.
When I use [O_U]Hidden content[/O_U] from within a post (custom post type), all is working just fine. However, when I try to hide content (custom content generated by USP Pro on a post of the same custom post type) the shortcode is not being displayed (thus interpreted, I guess) but the hidden content shown nonetheless and followed by a readable [/O_U]. It seems as if the shortcode is getting canceled/ended before reaching the content.
Here is my code:
<?php echo do_shortcode( '[O_U user_name="test" blocked_meassage="To access additional information, request access to level 2."]' ); ?>
<a href="<?php echo usp_get_meta(false, 'usp-custom-trailer'); ?>" target="_blank"><?php echo usp_get_meta(false, 'usp-custom-trailer'); ?></a>
<?php echo do_shortcode('[/O_U]'); ?>
This is the result I get when rendering the page:
To access additional information, request access to level 2. https://youtu.be/...
[/O_U]
Thanks a lot!
]]>Thanks for this plugin – it works a treat
Not an issue here – just some information.
I’m using custom post types for my secured content (which will tend to be images for client approval).
I did have some problems at first, as my template created work from outside WP’s $content – which is what the plugin secures.
I got around the problem by using php output buffering on that content (‘ob_start’ etc), and adding a “the content” filter to add it in.
I’m using this plugin with the “Capability Manager Advanced” plugin to manage user roles and access.
Hi,
I use your plugin extensively through my website. It is really great.
However, I was wondering if it possible to limit content by ’email address’ rather than ‘username’. Please advise.
Another thing I was wondering is whether we can mix restriction types. For example can I restrict by ‘username’ and ‘role’ at the same time? I want to allow access by ‘role’ but add additional individual users that have different roles.
Would appreciate your help on these. Thanks!
]]>We’re running the current version and there are a lot of errors in our logfile, all of which seem to be pointing to these two issues:
[04-Dec-2017 02:43:12 UTC] PHP Notice: Trying to get property of non-object in ......../plugins/user-specific-content/User-Specific-Content.php on line 351
[04-Dec-2017 02:43:12 UTC] PHP Notice: Trying to get property of non-object in ......../plugins/user-specific-content/User-Specific-Content.php on line 352
Good afternoon,
The last couple of options I tried (that were unsuccessful) had a login form that you would input to a page. I feel very dumb asking this but now that I have specified Usernames that can see content, how would they log in? I am still wondering if they would log in to the site through a link or how?
Thank you very much for your help,
Sebastian
Using WooCommerce, and ‘Custom Product Tabs for WooComerce’ plugin.
I try using the short codes under one of those tabs, to display content based on id and username. Neither seem to work. I got the id from wordpress > users > info (form id).
Example shortcodes I used:
[O_U user_name=”usernametest”]content goes here now testing[/O_U]
[O_U user_id=”3530″]Content goes here (user id test)[/O_U]
Neither work. The shortcode for logged in/logged out users does work though.
What am I doing wrong?
]]>It seems like only ‘administrators’ can use this plugin. Is it possible to use it for ‘editors’?
]]>Hi,
I downloaded the .pot file included in the theme.
I edited the file with POedit, created nl_NL.po and nl_NL.mo
However the translations are not working.
Any way to solve this issue ?
]]>Hi,
How can I adjust this so that if a user doesn’t have access to a post, they can’t see it in a list of blogs or posts?
Any direction you can provide would be great!
Thanks!
]]>Hi,
the plugin seems to be working well in pages and articles posts but I mostly need it for my custom post type, can you help a newbie (non-developer) with a hint into how to make it appear also in my cpt? Thank you very much!