The frontend user management plugin User ultra, Its well-made plugin with good options. But it is having lots of unwanted options like videos, photo gallery etc.
But it is having post management option for frontend users, in very efficient way. I wanted the plugin that allow user to submit their new posts, so i don't want even orders option in that.
Will remove unwanted things from Userultra
>wp-content/plugin/user-ultra/template/basic/dashboard.php
open it with any editor, preferably the Notepad++
From line number 188, The dashboard section will start.
Remove that codes from line 299 to 217. codes shown below
But it is having post management option for frontend users, in very efficient way. I wanted the plugin that allow user to submit their new posts, so i don't want even orders option in that.
Will remove unwanted things from Userultra
Altering User Ultra Dashboard (account page)
First find the php file>wp-content/plugin/user-ultra/template/basic/dashboard.php
open it with any editor, preferably the Notepad++
From line number 188, The dashboard section will start.
User ultra untouched |
To remove messages on dashboard
Begins from line number 202 (starts like this: <?php if(!in_array("photos",$modules)){?>)Remove that codes from line 299 to 217. codes shown below
To remove photos on dashboard
Find and remove these much codes as below
To remove My orders module
Remove these codes in dashboard.php
To remove My purchase
Remove these codes
To remove My friends
Remove these codes
To remove photos and videos
Remove these codes
To use shortcodes in dashboard
just put
<?php echo do_shortcode('[your_short_code]'); ?>
whare you have removed message and photo box in the dashboard.
This will display
one of my customization with shortcode ultimate, my cred plugins
with codes:
Stuck with any problems?, Comment below.
Adding Social login to use ultra form
If you are using social login plugin, User ultra won't includes it in it's login option. For that you need to tweak something here.
Open the php file @ wp-content/plugins/user-ultra/xooclasses/xoo.userultra.class.php with notepad++
If you find difficulty to edit, Get the xoo.userultra.class.php file from my githib account here and replace it with original of your's.Open the php file @ wp-content/plugins/user-ultra/xooclasses/xoo.userultra.class.php with notepad++
Login form
- find (Ctrl+F) rememberme_
- you will get rememberme_ and </div>
- after that div tag put this code (my case line no:1982)
<div style=" height: 165px; margin-left: -50px; width: 500px;">'.do_shortcode('[oa_social_login]').'</div>
Register Form
- find for xoouserultra-seperator-requiredfields xoouserultra-edit xoouserultra-edit-show
- find the </div> in same line remove the '; at the end.
- in next new line add <div style="height: 165px;">'.do_shortcode('[oa_social_login]').'</div>';
Stuck with any problems?, Comment below.