WP User Frontend Pro - wordpress

We have a custom posttype and for displaying that we use very customised template files.
As we use WP User Frontend Pro, we want to check inside the tmemplate (by php/function..) if the user who is currently viewing the page has an active subscription to subscription pack with ID (whatever).
Is tha possbile somehow? Like:
if $user->has_subscription($id) => "GO4GOLD";
if NOT => "Adios";
Thanks for help.

By default, WP User Frontend paid version allows restriction with subscription pack. So when your user is not subscribed to a particular subscription pack, he will not be able to view the page.
Please check the screenshot here.

Related

How can I enable access only to a specific plugin (Newsletter) to a new user on the wordpress admin dashboard?

I am using the Newsletter plugin to send newsletters from my Wordpress website. I want to create a new user who can only access the Newsletter plugin and not have any other admin capability on the admin dashboard.
How do I do that?
I have been experimenting with different access-control plugins, but none seem to have the capability to toggle access for a user/role to another plugin.
Would greatly appreciate if someone can point me to a plugin or a piece of code that can make the magic happen.
Many thanks in advance.
Turned out to be quite simple eventually.
The newsletter plugin, in the advanced settings option in its settings tab, provides a checkbox to allow certain user roles to access the plugin.
I just enabled it for a non-admin role that worked for me, and voila!

Wordpress user roles restrictions plug in

Hi is there any plug in that admin can share posts on each user? And only when a user log in on page can see their relative posts and updates of them?
You can use Advanced Access Manager plugin and you can manage everything in your site with this plugin from the admin panel.
https://wordpress.org/plugins/advanced-access-manager/

Allow users to upload a video in WordPress

How could you allow users to upload a video in their profile and display it on wordpress? Does anyone know of a plugin?
"Does anyone know of a plugin? in regards to the first question and topic"
very similar to this post:
WordPress Media as a Custom Post Type
Dated 2010.. which is why I started a new post.. alot has changed..
I have set up a login so far with WP User Manager and need to allow a user to upload a video link or video so that the video is displayed on their profile.
Using Advanced Custom Fields PRO to make it frontend.
documentation:
https://www.advancedcustomfields.com/resources/create-a-front-end-form/
In Wordpress there is a plugin called User Frontend Pro. This allows for you to create a frontend login for a user as well as it will give you the ability to create a custom frontend form. I used Advanced Custom Fields to create custom form fields for the data entered into this form. I was then able to make a custom post with CPT UI and create a single.php for the template of the post being created by a frontend user. This form allowed for the video with a Custom field to be entered as well as other types of information. There is a certain amount of coding you need to understand in php in creating the template structure, but the list of plugins in wordpress that will allow this to made rather simple are: ACF, CPT UI, and Frontend User Pro.

Woocommerce shop manager can't see previous media files

I have just created a shop manager role inside my site. I want someone else to upload my site content like product details and images. But right now this role can't see the old product images in media library. When i open media library, i see empty.
To view all images login back from admin account. Shop Manager is a role you can give someone to manage the shop without making them an admin. They’re granted the capabilities:
manage_woocommerce
view_woocommerce_reports
If you wish to modify roles and capabilities, use a third-party plugin such as Capability Manager or Capability Manager Enhanced

how to create wordpress user that can only view the plugin I wrote

I have written a plugin, where pre-created users can log in to the system and configure the application. Problem is when I give them higher roles they can view other content on the back-end of the site.Such as creating posts, pages and etc. If I give law level role such as subscriber, user can not view the pluging page. They can't do any configuration.
What I need is only give permission to view my admin panel.
This is the code I create admin panel in wordpress.
function oscimp_admin_actions() {
add_management_page("Pages", "My Pages", "activate_plugins", "Skill-Pages", "skills_list_admin");
}
I would like to create a user from subscriber and allow only to this plugin's admin panel. Can we do it?
You can resolve this with add_cap() method of Wordpress. http://codex.wordpress.org/Function_Reference/add_cap
Also you would like to read those articles about roles and caps: http://www.garyc40.com/2010/04/ultimate-guide-to-roles-and-capabilities/ and http://wp.tutsplus.com/articles/quick-tip-user-permissions-and-your-plugin/, no doubt they will help you

Resources