Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Can ”View” be removed from the Members page?


  • mattriggins
    Participant

    @mattriggins

    First, thank you to ALL the BuddyPress team! You ROCK!

    Second, as title says, trying to figure out if the “View” link on the Members page can be removed. Looked around in the members index.php and the members loop but could not locate it there. The link typically goes to domain/activity/p/X/

    Thank you again!!!!

Viewing 5 replies - 1 through 5 (of 5 total)

  • mattriggins
    Participant

    @mattriggins

    Thanks! :)

    I also just happen to find the hard code lol… ‘view_link’ => false in bp-members-template.php :)


    mattriggins
    Participant

    @mattriggins

    Think I spoke too soon. That hard code didn’t do it.

    I like the plugin! Thank you for recommending that! I’ve told it to remove the activity tab from the profile and that seems to have worked. The site still shows the users “last” post and “view” on the members page, and I’d like to remove that from there as well as their profile. Is that possible?

    Thanks!!


    9087877
    Inactive

    If you can target that element using a development tool like firefox’s firebug then you could use css trickery to make it disappear. Example:
    #a_div {
    display: none;
    }
    That is probably the least destructive way to get rid of it in a child themes style.css If you wanna change the label then use a language file. Its super easy and also is not destructive:
    https://codex.buddypress.org/extending-buddypress/customizing-labels-messages-and-urls/


    mattriggins
    Participant

    @mattriggins

    Yeah i see what you are saying re: css. I have the development features turned on in Safari so can target that exact section.

    interesting enough, the ‘view_link’ => false parameter I set earlier DOES make it disappear, but for logged in users. Not for logged out (non member) users heh.


    9087877
    Inactive

    cool :-)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Can ”View” be removed from the Members page?’ is closed to new replies.
Skip to toolbar