Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to Get Rid of The Mysterious Brackets

Viewing 7 replies - 1 through 7 (of 7 total)
  • I think Sam has a fix coming in 1.0.3?

    https://trac.bbpress.org/ticket/1164


    Mark
    Member

    @delayedinsanity

    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. ;)


    honestscott
    Participant

    @honestscott

    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?

    https://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!

    https://trac.bbpress.org/changeset/2349

    That would explain why my trunk build fixed itself :)


    Mark
    Member

    @delayedinsanity

    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


    honestscott
    Participant

    @honestscott

    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!


    honestscott
    Participant

    @honestscott

    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

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