Logged In Menu – Redirect or remove ‘View Profile’ link

Home Forums Legacy Support Support queries Other issues Logged In Menu – Redirect or remove ‘View Profile’ link

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #167870
    alexanderlyons
    Spectator
    In 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 Alex
    #167963
    LMSfriend
    Participant
    [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 CSS
    #168006
    alexanderlyons
    Spectator
    Thanks 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=sharing
    #168157
    Mark Morgan
    Spectator
      To 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;}
    1. 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
     
    #168167
    alexanderlyons
    Spectator
    Dear 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;}  
    #168301
    Mark Morgan
    Spectator
    This is working on my test setup, please share your admin credentials to replicate this. PS: Mark the reply as private while sharing the credentials.
    #168405
    alexanderlyons
    Spectator
    This reply has been marked as private.
    #168437
    Mark Morgan
    Spectator
    Hello, I checked your site and removed tabs from logged in menu and it is working fine. Please clear your cache and then check.
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.