I use Ultimate Member and classic form for registration. I have enabled "Strong password", but I want my users to at least fill their password with 1 special character (like "# % $ ...") I didn't find any plugin, so I tried to find the good hook and I tried this code : function um_submit_form_register_theme($args) { global $ultimatemember; $password = $_POST['user_password-257']; if ( !isset($ultimatemember->form->errors) ) { if (!preg_match("/\W/", $password)) { $ultimatemember->classes['form']->add_error( 'user_password-257', __('Your password must a special caractere') ); } …
I want to make a page for each user on my website. When a user logs in, I want them to be able to click on pages that are just designed for them (basically when they log in, I want them to be able to view their own profile). When another user logs in, I want them to be able to view their own profile. Note: I want their profile called 'MY ACCOUNT' and I need to show that on …
I have small multisite and one of site is restricted. When you go site you will see login page first because this function: function members_only() { global $pagenow; // Check to see if user in not logged in and not on the login page if( !is_user_logged_in() && $pagenow != 'wp-login.php' ) auth_redirect(); add_action( 'wp', 'members_only' ); Problem is when I add a new user in site and user gets activation link domain.com/wp-activate.php?key=abcde132456 ... and they click it, they go straight …
I am working on a site that deals with extremely sensitive and personal topics of personal health. As such, it is necessary that having a user account on the site is completely confidential with zero traces left on the public-facing site. Aside from a few admin tools, all plugins used will be written by me (so no leakage via plugins should happen); likewise, I will be creating a custom theme (all other themes removed). I can therefore be relatively sure …
I am creating a site to manage a rugby club, which has the following structure: Disciplines> Categories> Divisions> Teams> Players I was able to create the structure using JetEngine, CPTs and relationships between the CPTs. What I need now is to find a plugin for player registration, which allows me to: Request personal information from the user. Request the type of partner (as "player" or as "partner"). If the user chooses as "player": he must choose a discipline> category> division> …
I have an ordinary website (no WooCommerce function), and now adding woocommerce plugin to enable it with selling functions. Now I have some existing customer members from the real-world shop, how to add these real-world members to this “new online shop with woocommerce plugin”? so that these old member can enjoy some privileges in this online shop. Do I need to buy one more "WooCommerce Subscriptions Plugin" to incorporate it?
Most of the membership plugins I have found seemingly operate on the logic of the website having paying subscribers. I am not looking to make a publishing/blogging website with restricted access to articles. I am not interested in a plugin that I must continually pay for. I won't be billing my customers on a monthly basis. Imagine a company website with a small login section. I am looking for something that'll allow me to restrict access to certain areas, each …
Im not trying to redirect user while logging in, thats already done. I want everybody, logged or not-logged in, to being redirected from members homepage/dashboard where I can see now 'Latest updates' to another custom tab, but lets say to Friends. Whats the best way to achive it? because i cant find similar problem and missing something when i try by myself. thanks!
I am currently building my first Wordpress site. I want to be able to do the following: User arrives on page listing all the available groups User joins group if he finds what he likes If he doesn't find what he likes, he can create a new group and post it on the same page Any advice here? Thanks everybody ! Here's an example wireframe: https://s3.amazonaws.com/assets.mockflow.com/app/wireframepro/company/Ca5da46834ce9573670ea34b79da0d8a0/projects/M79623675c0572761f400b7266af8de811587389099264/pages/11eaaaf342e94bc5826431b70c810e54/image/11eaaaf342e94bc5826431b70c810e54.png
I am writing a plugin that offers an admin menu item which only a specific, custom user role ("customrole" in the example) can access. I have implemented this as follows, and it works: function add_admin_menu() { add_menu_page( 'Custom-Plugin', 'Custom-Plugin', 'customrole', 'custom-plugin', 'init_custom_menu_page' ); } The problem is that the administrator does not have the rights to access this menu item anymore; I would like administrators to still be able to access it, however (and the "customrole"-users). How can I achieve …
I have created multiple custom roles using the members plugin by Justin Tadlock. Now i want certain pages to only be editable by the custom roles i select for them. Is there a plugin i can use for that functionality or is that something i would have to code myself? Thanks in advance.
Please don't mark this as already asked question as I have searched all the questions and none of them gives a clear answer. So I have created a custom role through Members plugin and I want the user with custom role 'Society Manager'to edit the custom post type post only and dont let them create new one. Admin should still be allowed to create new posts. I have seen others using css/html and Jquery to remove the Add New button …
This might be a beginner question, for disclaimer I'm just getting used to the WordPress templating system: I have a purchased theme installed on my working WordPress site, looking great sofar, was relatively easy to setup. I installed a plugin for members functionality (Ultimate Member), then I wanted to list a group of members I created in the design with the following shortcode: [ultimatemember form_id="xxxx"] It displays a list of my members, fine, but in some kind of default design …
I wish to hide certain posts for anyone that is not logged in. I tried the Restrict Content (RC) plugin but that did only hide the content of posts, i wish to omit the post completely. Using RC as a foundation i tried the following: function hideFromUnknownUsers($postObject) { $rcUserLevel = get_post_meta ( $postObject->ID, 'rcUserLevel', true ); if(have_posts()) { if (!( !current_user_can ( 'read' ) && ( $rcUserLevel == 'Administrator' || $rcUserLevel == 'Editor' || $rcUserLevel == 'Author' || $rcUserLevel == …
I want to set up a page with PayPal subscription gate away to my members area. It's a simple page with PayPal button which offer discounted subscription price for the chosen customers only. Therefore I want to give one time access to it. So when the visitor leaves the page to go to PayPal to start subscription and then return to the page - access will be denied. The new access will be denied even if he/she do not subscribe. …
I want to create public WordPress website (for a sports club), but with one closed area just for the members. The public part of the site will have the usual pages: club info, photo gallery, contact page... The closed site area: will have access thru login page (as page added in the menu / navigation) a member must type the username and password in order to login after the login, each member can see only one page (page created just …
Here I meet a little problem with my code. What I do Well I was largely inspired by a tutorial to make a registration system login to a member area under wordpress in the case of a theme developed. However everything is functional because the user manages to sign up to disconnect etc. What I want However I would not ask him for the password when registering but only his [name, surname, and email] Then when he validates I send …
I have a Wordpress site with custom roles (except for administrator) and now wanted to create a role so that a user with this role can be manually assigned as the author of a post. I thus created a role which had all permissions checked in the "post" submenu, but none in the others (since this role is only there for this reason). A user that has this role assigned can now however still not be chosen as the author …
I need to make a private page for subscribers in my Wordpress website I don’t want to use plugins so I’m asking what is better, add the capability to subscribers to read private pages or maybe create a custom page template with conditions?
I'm working on a WP project where I want the user to be able to register via my WP page, and later I want to receive a mail about this user info, To either confirm or deny their registration (this I want to be used as a way for new members to join my association via my website). I was using the Ultimate Member plugin but I don't want users to be able to log in on my site and …