Skip to:
Content
Pages
Categories
Search
Top
Bottom

Removing Favorites Feature

  • @assbear

    Member

    How do I remove the option ‘Add this topic to you favorites’ from the topic.php page?

    I’ve been digging through the bbPress scripts for two days now –

    but I just can’t seem to locate the code creating the html for this feature.

    Please help, the bbPress Forum is awesome, but I really need to disable this feature.

    regards the AssBear

Viewing 1 replies (of 1 total)
  • @ipstenu

    Moderator

    It’s in a couple places

    In the profile.php, obviously, there’s the bit for managing them. Also in topic.php there’s a lot of code checking to see it a topic is your favorite.

    I suspect on topic.php you could comment out this:

    <li<?php echo $class;?> id="favorite-toggle"><?php user_favorites_link(); ?></li>

    And then on profile.php comment out this:

    <p><?php printf(__('You can also <a href="%1$s">manage your favorites</a> and subscribe to your favorites’ <a href="%2$s"><abbr title="Really Simple Syndication">RSS</abbr> feed</a>.'), attribute_escape( get_favorites_link() ), attribute_escape( get_favorites_rss_link() )); ?></p>

    That’s all theory, mind.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar