Home › Forums › Legacy Support › Support queries › Other issues › Logged In Menu – Redirect or remove ‘View Profile’ link
Tagged: hide, logged-in menu, redirect, view profile
- This topic has 7 replies, 3 voices, and was last updated 6 years, 4 months ago by Mark Morgan.
Viewing 8 posts - 1 through 8 (of 8 total)
-
AuthorPosts
-
July 2, 2018 at 9:27 am #167870alexanderlyonsSpectatorIn the logged in menu there is a 'view profile' button underneath the user's name, I would like to either hide or redirect this to another page that is not the BuddyPress menu. I have been looking through PHP files but can't find an obvious place for it. Also there is a number next to the user's name in this menu how would I be able to hide that? Thanks AlexJuly 2, 2018 at 9:44 pm #167963LMSfriendParticipant[Non official answer:] The first code in this thread from Alex is working to hide "view profile": https://wplms.io/support/forums/topic/how-to-remove-view-profile-and-information-below/ Just add it in customizer - Custom CSSJuly 3, 2018 at 9:01 am #168006alexanderlyonsSpectatorThanks for sharing LMSfriend, however, unfortunately, that hasn't worked. Just to be sure that we are talking about the same feature, I have attached a screenshot of the 'view profile' link that I am referring to on the dropdown logged in menu. Thanks again Alex https://drive.google.com/file/d/17Baz4p9ESqU2Vm_IHzTJdJ-Fb_jl39eN/view?usp=sharingJuly 4, 2018 at 10:53 am #168157Mark MorganSpectatorTo hide the view profile button you need to add below given css code in your custom css. #vibe_bp_login ul li#username+li>a{display:none !important;}
- Please go to wp-admin -> LMS -> Setting ->General-> Logged in menu and remove by clicking on cross sign as shown in screenshot. Refer : http://prntscr.com/k2eh0r
July 4, 2018 at 11:48 am #168167alexanderlyonsSpectatorDear Mark, Thanks for your tip, however, it's still not working though. I tried inputting it in my Appearance > Customiser and also in a Custom CSS Plug-In that I use and it didn't work in either. I had already removed dashboard from the LMS > Setting > General > Logged in menu however I do have some custom links in there, but I don't see why that should effect it. Below is a copy of my custom CSS, I don't think any of this should conflict with it so perhaps it is a PHP issue? I don't know where to locate the Logged in the PHP files. Best, Alex CSS: #vibe_bp_login ul li#username+li>a{display:none !important;} Remove Star Ratings .block.courseitem.course2 .block_content .star-rating{ display:none !important; } #course-list li .item-meta strong { display: none !important; } #buddypress div#item-header div#item-meta, #course-list .item-meta .star-rating{ display:none !important; } strong.course-star-rating,strong.course-star-rating+strong,.students { display: none !important; } Remove Students .block.courseitem.course2 .block_content .star-rating+strong{ display:none !important; } #course-list li .item-meta .students { display: none !important; } .students_undertaking {display:none !Important;} Breadcrumbs .breadcrumbs{ display:none; } div#item-meta strong{display:none !important;} strong.course-star-rating {display:none !important;} .single-course.c2 .course_header #item-header-content h1{color:#FFF !important;} .footerwidget.widget_text, .footerwidget.widget_text p {font-size:8px;}July 5, 2018 at 11:24 am #168301Mark MorganSpectatorThis is working on my test setup, please share your admin credentials to replicate this. PS: Mark the reply as private while sharing the credentials.July 6, 2018 at 8:27 am #168405alexanderlyonsSpectatorThis reply has been marked as private.July 6, 2018 at 1:31 pm #168437Mark MorganSpectatorHello, I checked your site and removed tabs from logged in menu and it is working fine. Please clear your cache and then check. -
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)
- The topic ‘Logged In Menu – Redirect or remove ‘View Profile’ link’ is closed to new replies.