Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › User dashboard and logged-in menu customisation
Tagged: logged-in menu, user Dashboard
- This topic has 6 replies, 2 voices, and was last updated 8 years, 10 months ago by sirindesigns.
Viewing 7 posts - 1 through 7 (of 7 total)
-
AuthorPosts
-
January 1, 2016 at 7:23 pm #16365sirindesignsSpectatorHi, We'd like to edit logged-in menu of the user. 1) Remove Dashboard coz it's actually empty, remove Stats because when Users enters "Courses" he can actually access Stats from there. Add "Refer a friend" and "Shop" quick links to the menu. Rearrange menu positions like: a) Notifications b) Courses (Includes Stats and Results) c) Groups d) Inbox e) Settings f) Quick Links I tried this guideline: https://wplms.io/support/knowledge-base/addedit-custom-links-in-the-logged-in-login-panel/, but got the theme broken, apparently inserted code into wrong line. Can you please show on a printscreen or sample where do I enter these code lines exactly? 2) When clicked, the logged-in menu does not disappear unless one clicks on a space of the page. Is it possible to role it up by the same click on the menu? 3) Notifications pane. Can we have an Archive function? So it will be Read, Delete and Archive. 4) Settings pane. Screenshot attached. a) Remove the "Lost your Password" because you will not be able to log into this panel without your password. b) Can the “Change password’ box be resized so it’s the same size as the ‘Repeat New password’? it should be Text box, then ‘New password’ on the right, then the next line is text box again and ‘Repeat New Password’ on the right. Thanks! Happy NY!January 4, 2016 at 9:06 am #16516Anshuman SahuKeymaster1. Add the widgets in you student and instructor dashboards . Please refer : https://wplms.io/support/knowledge-base/wplms-dashboards/ Please refer : https://wplms.io/support/knowledge-base/how-to-use-coding-tips/ Also please copy the ocde in a text editor before pasting ti into your site becoz sometimes there may be some html formatting also copied alongiwth the code and this generates syntax errors and breaks the site . Reordring woul not be possible as of now in wplms in the logged in menu . 2. Not able to replicate any such issue it seems to be working fine at our end : http://screencast-o-matic.com/watch/cDVfj8hAsO If you want it on hover then you mey need to customize the theme files which is customization . 3. Well this is core buddypress feature .You can check third party plugin for this . 4. This is also a core buddypress feature ,you can check out third party plugins to customize this pane. Thanks have a great year ahead. Happy New year .January 4, 2016 at 8:54 pm #16624sirindesignsSpectatorHi, 1) Thanks, Dashboard is filled with widgets now and looks fine. However, I still cannot remove "Stats" and add "Refer a friend" and "Shop" quick links to the logged-in menu. I followed your tips and video instructions. The code seems to be inserted right, the theme is working but all menu items disappeared, only Dashboard remained. Can you please check from my wp-admin, what am I doing wrong? Screenshots of the menu and code inserts attached. 2) What I meant is that to roll-up the opened menu, you need to click somewhere else, but not on the same menu header. Is it possible to roll it up by clicking on the same place where you opened the menu? Hope I clarified it :) 3), 4) – okay, got it. Thank you. WP Admin access: http://rlt.com.sg/wp-admin login: admin | pass: OnlineEducationT00ls Please proceed to subsite http://kwik.rlt.com.sg/wp-admin, where WPLMS theme is installed. Thanks.January 5, 2016 at 12:19 pm #16751Anshuman SahuKeymaster1. Add the code in your wplms-customizer.php file in wplms customizer plugin . add_filter('wplms_logged_in_top_menu','loggedin_login_panel'); function loggedin_login_panel($loggedin_menu){ unset($loggedin_menu['stats']); // stats, courses, messages, notifications, groups return $loggedin_menu; } To add links : add_filter('wplms_logged_in_top_menu','loggedin_login_panel12'); function loggedin_login_panel12($loggedin_menu){ $loggedin_menu['custom']=array( 'icon' => 'icon-exclamation', // Grab icon code from here : yoursite.com/wp-content/themes/wplms/css/icons-reference.html 'label' => __('Custom','vibe'), 'link' => 'http://google.com' ); $loggedin_menu['custom_one']=array( 'icon' => 'icon-plus-1', // Grab icon code from here : yoursite.com/wp-content/themes/wplms/css/icons-reference.html 'label' => __('Custom 2','vibe'), 'link' => 'http://xyz.com' ); return $loggedin_menu; } 2. Sorry that would not be possible as of now .January 5, 2016 at 1:58 pm #16776sirindesignsSpectatorHi, 1) Thanks, the problem was that it is said in your tip that the code needs to be inserted into customizer_class.php, not wplms_customiser.php, which are two different sources. Please correct the tip to prevent other users from same mistake (https://wplms.io/support/knowledge-base/addedit-custom-links-in-the-logged-in-login-panel/). Also, I managed to add a new items in the menu but icons are not showing. I used code: $loggedin_menu['custom']=array( 'icon' => '', // Grab icon code from here : yoursite.com/wp-content/themes/wplms/css/icons-reference.html 'label' => __('Get more Courses','vibe'), 'link' => 'http://kwik.rlt.com.sg/shop/' ); Took icon's code from the reference but it is not shown. 2) When I press "logout" on the logged-in pane, I can't actually log out of the system. What can be the issue? Thank you.January 6, 2016 at 7:17 am #16890Anshuman SahuKeymaster1. For the icon you need to put the class name there : http://prntscr.com/9moaal 2. This is strange ,try deactivating the third party plugins and clear your browser cookies .January 6, 2016 at 9:30 am #16938sirindesignsSpectatorHi, 1) The problem was that I used character mapping instead of CSS mapping. Thanks, it works now. 2) It worked, thx.
-
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)
- The topic ‘User dashboard and logged-in menu customisation’ is closed to new replies.