Friends add-on for wp recall. What's included in the basic version of WP-Recall? Profile Builder Plugin

Hi everyone! Today it will be about creating a personal WordPress user account using plugins. When the number of visitors to the blog reaches a certain level, you should think about the convenience of the readers' stay on the site.

One of the options is to provide everyone with the opportunity to enter your resource under their own username and see information intended only for them. From a usability point of view, it is recommended to create a personal user profile. Same Personal Area WordPress will be useful for those who organize an online store or affiliate program.

And at the end of the article I will tell you about our honeymoon trip!

WP-Recall personal account plugin: basic version

The Meta widget preinstalled by WordPress allows only registration and login. Therefore, to create a WordPress personal account, you need to use one of the plugins. WP-Recall is perfect for this purpose, which in its functionality can replace a number of plugins.

Benefits of WP-Recall

Among the main advantages are the following:

  • easy installation;
  • integration with any WordPress theme;
  • flexible, extensive settings;
  • modular structure;
  • the presence of a large number of functional additions;
  • the ability to write your own add-on to the plugin;
  • using standard WordPress functionality;
  • small amount of archive;
  • translated into Russian, Ukrainian, English and Hebrew.

Other positive aspects should also be noted. The plugin can be found on GitHub and in the official WordPress repository. Users can get answers to questions about using WP-Recall on the developer forum.

Plugin functionality

Personal account WordPress, created using the WP-Recall plugin, provides a lot of opportunities, both from the point of view of administration and from the user side.

For the administrator, these are:

  • formation of custom fields of the user profile;
  • the ability to regulate the deletion of an account by visitors;
  • several options for displaying the registration form with an indication of their fields;
  • managing the number of messages in user correspondence;
  • flexible settings of the rating system on the site;
  • creation of user groups;
  • granting the right to publish materials by visitors from their personal account;
  • a large number of shortcodes for administering personal profiles.

For the user:

  • organization of a personal account;
  • tracking online or offline statuses of visitors;
  • publishing materials from your office;
  • correspondence in a convenient personal chat format;
  • the ability to create a blacklist;
  • getting a personal rating;
  • creating bookmarks on the site, managing them;
  • the right to create your own groups and join others;
  • subscribing to news from other users or groups;
  • the formation of their galleries.

Separately, it is worth noting the possibilities provided by the WP-Recall plugin for online stores on WordPress. The user's personal profile can be easily converted into a buyer's account. On the this moment for these purposes, the following functionality has been developed:

  • personal account and the ability to pay for the order with its funds;
  • connection to Interkassa and Robokassa;
  • the presence of a shopping cart;
  • the ability to track changes in order statuses by the customer;
  • filtering incoming orders for the administrator;
  • accounting for the availability of goods and the possibility of reservation.

Installing and configuring WP-Recall

Alternative ways to create a personal WordPress account

The ability to create a WordPress personal account using the plugin is also provided by the authors of "Theme My Login" and " Profile Builder».

PluginThemeMyLogin makes it possible to display the authorization form on your blog in accordance with the style of the site's theme, without using the console. That is, the visitor does not land on a separate page with the "WordPress" logo. Instead, the plugin automatically creates required pages and a widget. This makes the TML plugin compatible with any template. A number of modules provide other useful functionality as well.

The details of installing and configuring the Theme My Login plugin can be found in the video review:

And the last one for today WordPress plugin to create a personal user account - ProfileBuilder... Its capabilities are provided by:

  • creation of an improved form of registration, authorization and account with display on a separate page and in the sidebar;
  • simplified process of inserting forms anywhere in the blog using shortcodes;
  • the ability to choose design styles;
  • convenient construction of forms using Drag & Drop interface;
  • availability of a russified version.

The principle of operation of Profile Builder is simple - in the place of the site you need, display the corresponding shortcode. This is the result of using the line in the sidebar:

You can find the plugin settings in the "Users" section of the console. All fields are available commented, it will not be difficult for you to customize the user profile to your liking.

That's all. Now, to create a multifunctional WordPress personal account using the plugin, you can choose the option that best suits your blog.

P.S. The day after the wedding, my husband and friends went on a trip by car in Sri Lanka. For 10 days we have traveled around the most interesting places with many adventures! We visited Kandy, Sigiriya, Dambulla, Polonaruwa, Nuwara Eliya, Ella and many other cities. If anyone needs advice on planning a Sri Lanka trip, I would love to help!
So we spent the night in a Sri Lankan private orphanage:

On a safari in national park... A couple of meters from us is a wild free elephant.

Stunning 9-arched bridge in Ella

At the top of the Pidurangaly mountain.

Traveling with friends is very pleasant and fun!

Greetings, dear reader! In this article, we will focus on removing unnecessary from the user profile of a blog on WordPress and displaying additional information there.

WordPress has a registration, authorization and user profile mechanism. I really want to use the ready-made functionality, so as not to sculpt your own bike. I have already talked about. Now it remains to figure out how to throw out the garbage from the user profile and display the really necessary information there.

If you register as New user with subscriber rights, then the user profile (or personal account) available at the link imya_saita.ru/wp-admin/profile.php will have appearance shown in Fig. 1. Agree, a lot of unnecessary rubbish.

Rice. one. Standard view a WordPress user profile with subscriber rights.

In fig. 1.The numbers indicate problem areas, which we will sequentially remove.

The coding principle is as follows: during page loading, the engine generates events called hooks. When a hook occurs, you can run the code we have written. In order for our program code was accepted by the engine, you need to insert it into the file function.php active topic.

Video tutorial

The video tutorial was recorded with the support of the new article exchange from SeoPult - WebArtex. Only high-level sites work in the system, which do not light up and did not light up earlier in link brokers. Such sites are extremely safe and extremely effective for optimizers.

Explanation for the video tutorial, sources
1. Removing the WP logo and dropdown menu. Adding a link "Home".

// Remove the WordPress logo from the horizontal menu add_action ("admin_bar_menu", "remove_wp_logo", 999); function remove_wp_logo ($ wp_admin_bar) (if (! current_user_can ("administrator")) ($ wp_admin_bar-> remove_node ("wp-logo"); $ wp_admin_bar-> remove_node ("site-name"); $ args = array (" id "=>" sdelaysite_home_page "," title "=>" Home "," href "=>" / "," meta "=> array (" class "=>" my-toolbar-page ")); $ wp_admin_bar-> add_node ($ args);))

Rice. 2. The result of the action of the above code.

// Removing the link to the console and other unnecessary items add_action ("admin_menu", "remove_menus"); function remove_menus () (global $ menu; if (! current_user_can ("administrator")) ($ restricted = array (__ ("Dashboard"), __ ("Posts"), __ ("Media"), __ ("Links "), __ (" Pages "), __ (" Appearance "), __ (" Tools "), __ (" Users "), __ (" Settings "), __ (" Comments "), __ (" Plugins " )); end ($ menu); while (prev ($ menu)) ($ value = explode ("", $ menu); if (in_array ($ value! = NULL? $ value: "", $ restricted)) (unset ($ menu);))))

3. Removing the left vertical menu, basement and relief.

In this paragraph, a slightly different approach is applied. When a hook occurs admin_print_scripts-profile.php additional styles are displayed that hide blocks with the specified identifiers. If you want to hide any other block that has an identifier, you can use the proposed method.

// Remove left vertical menu, footer, engine version information add_action ("admin_print_scripts-profile.php", "hide_admin_bar_prefs"); function hide_admin_bar_prefs () (if (! current_user_can ("administrator")) (?>

4. Removing the color scheme.

Again, a slightly different approach. The function that pulled out the color scheme switch is simply turned off.

// Remove the color scheme remove_action ("admin_color_scheme_picker", "admin_color_scheme_picker");

5. Removing the heading "Personal settings", the checkbox "Show the top panel when browsing the site" and changing the heading "Contacts" to "Personal data".

This clause uses an approach similar to that described in the third clause. The only difference is that deleting blocks is not possible with CSS, because blocks do not have unique identifiers. Thanks to the ability of jQuery selectors to flexibly select the desired object and perform a wide range of actions on it, I was able to do my plan.

Hook personal_options runs a function that outputs the desired jQuery code.

// Removing the Personal settings item, changing the name of the headers add_action ("personal_options", "ozh_personal_options"); function ozh_personal_options () (if (! current_user_can ("administrator")) (?>

6. Changing the fields for entering contact information.

The code demonstrates the ability to remove unnecessary input fields for contact data (lines 7 - 8) using standard WP functions.

Line 10 adds a new contact method called "Skype".

E-mail is a required field, I don't know how to delete it. Also, I don’t know how to remove the site address input field in the standard way. You can try the jQuery approach described in point 5.

// Change contacts add_filter ("user_contactmethods", "my_user_contactmethods"); function my_user_contactmethods ($ user_contactmethods) (unset ($ user_contactmethods ["jabber"]); unset ($ user_contactmethods ["yim"]); unset ($ user_contactmethods ["aim"]); $ user_contactmethods ["skype"] = " Skype"; return $ user_contactmethods;)

7. Removing biography.

I found a solution to remove the biography, which I cannot comment on. However, it does work. I think a similar result can be obtained using the jQuery approach of the fifth paragraph.

// Remove biography, about me add_action ("personal_options", array ("T5_Hide_Profile_Bio_Box", "start")); / ** * Captures the part with the biobox in an output buffer and removes it. * * @author Thomas Scholz, * * / class T5_Hide_Profile_Bio_Box (/ ** * Called on "personal_options". * * @return void * / public static function start () (if (! current_user_can ("administrator")) ($ action = (IS_PROFILE_PAGE? "show" : "edit"). "_user_profile"; add_action ($ action, array (__CLASS__, "stop")); ob_start ();)) / ** * Strips the bio box from the buffered content. * * @return void * / public static function stop () (if (! current_user_can ("administrator")) ($ html = ob_get_contents (); ob_end_clean (); // remove the headline $ headline = __ (IS_PROFILE_PAGE? "About Yourself": "About the user "); $ html = str_replace ("

". $ headline."

"," ", $ html); // remove the table row $ html = preg_replace (" ~ \ s *