Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to disable Favorites TAB ?

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

  • kevinjohngallagher
    Member

    @kevinjohngallagher

    Comment it out form your theme.

    Sadly there is no backend function to turn it off

    Do not prompt where?

    p.s I already everywhere searched find a code could not…


    johnhiler
    Member

    @johnhiler

    Yah unfortunately it’s not a plugin… so you can’t easily turn it off. You can just rip references to favorites out of your themes:

    http://www.google.com/search?q=favorites+site:http://svn.automattic.com/bbpress/trunk/bb-templates/kakumei/

    It is necessary to remove a bookmark in a profile. For example in a theme kakumei. As where to delete?

    you can start with:

    add to your style.css

    #favorite-toggle{display:none;}

    The three tabs will still show up but the option to add to favorites option won’t show up on the posts.

    open profile.php

    line #25 that starts with

    <?php if (bb_current_user_can( 'edit_favorites_of', $user->ID )) : ?>

    add BEFORE

    <!--

    line #27

    <?php endif; ?>

    add AFTER

    -->

    I don’t know how to edit the three tabs.. sorry

    all < are LESS THAN SIGNS (the keyboard key next to M) all the > are GREATER THAN SIGNS (the keyboard key next to ?)

    Has not helped… There are still variants? I everywhere have practically cleaned this function… It is necessary to clean a bookmark in a profile.


    mr_pelle
    Participant

    @mr_pelle

    Prepend this code to line 233 of functions.bb-template.php:

    if ( 'favorites' != $item[4] )

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

You must be logged in to reply to this topic.