Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable "Favorites"?


  • kevinator
    Member

    @kevinator

    We’ve got a little problem. We use WP as our CMS with Salesforce on the backend. Usernames = email address. bbPress “Favorites” display a user’s username (email) when you go to look at any user’s Favorites. This is bad. You get…

    First Last (usersemail@domain.com) favorites

    So since the “Favorites” function is not very popular on our site, I thought we could simply deactivate that functionality, rather than having to write a bunch of code to hide the email address from this page.

    Anyone?

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

  • johnhiler
    Member

    @johnhiler

    Favorites is baked into the bbPress core, so you can’t just turn off a plugin and deactivate it…

    But you should be able to remove it just by removing the favorite links from the template! This is the key template file, I believe:

    http://svn.automattic.com/bbpress/trunk/bb-templates/kakumei/topic.php


    kevinator
    Member

    @kevinator

    Very good. Thanks very much!

    That is not the only location you have to worry about. When you go to the user’s profile you can go to favorites from there. Removing it from topic.php does stop it from adding any favorites but it still shows under profile. I don’t know how to get rid of that one.

    maybe by some css coding display:none?

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

You must be logged in to reply to this topic.