Forums

Join
bbPress Support ForumsRequests and FeedbackHow to Get Rid of The Mysterious Brackets

Info

How to Get Rid of The Mysterious Brackets

  1. There is a pair of brackets around the move topic assembly at the bottom of the posts page...how do you get rid of them?

    http://img44.imageshack.us/img44/7571/brackets.jpg

    Thanks!

  2. I think Sam has a fix coming in 1.0.3?
    http://trac.bbpress.org/ticket/1164

  3. In the meantime you can pass new configuration settings to bb_topic_admin() to change the way this looks.

    Current configuration options default to:

    array(
        'id' => 0,
        'before' => '[',
        'after' => ']',
        'delete_text' => false,
        'undelete_text' => false,
        'redirect' => true
    );

    Change before to '' and after to ' - ' and instead of the brackets, you just have an extra dash floating around. Or you can edit bb_get_topic_move_dropdown() and just remove $before and $after from $r. ;)

  4. Or you can edit bb_get_topic_move_dropdown() and just remove $before and $after from $r. ;)

    Hi,

    Where do I find that file to edit?

    I think Sam has a fix coming in 1.0.3?
    http://trac.bbpress.org/ticket/1164

    You're right...those are the brackets I am talking about...looks so weird, when everything else looks great.

    Thanks for the help!

  5. http://trac.bbpress.org/changeset/2349
    That would explain why my trunk build fixed itself :)

  6. I may be going cross-eyed, but that changeset only looks like it combined three lines into one, and added a little css. The brackets will still be there, no?

    "Where do I find that file to edit?"

    bb-includes/functions.bb-template.php, in or around line 1502

  7. I may be going cross-eyed, but that changeset only looks like it combined three lines into one, and added a little css. The brackets will still be there, no?

    I am not a programmer, but I did try editing those 3 files and you're right the brackets were still there, but there wasn't a space between the topic move drop down box and the links above anymore.

    I am going to try your suggestion.

    Thanks!

  8. Hi delayedinsanity,

    Your edit worked!

    I removed those 2 phrases and the dots after them...and the brackets are history!

    Thanks for your help,

    Scott

  9. You must log in to post.