Info
- 8 posts
- 4 voices
- Started 2 years ago by honestscott
- Latest reply from honestscott
How to Get Rid of The Mysterious Brackets
-
- Posted 2 years ago #
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!
-
- Posted 2 years ago #
I think Sam has a fix coming in 1.0.3?
http://trac.bbpress.org/ticket/1164 -
- Posted 2 years ago #
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$beforeand$afterfrom$r. ;) -
- Posted 2 years ago #
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/1164You're right...those are the brackets I am talking about...looks so weird, when everything else looks great.
Thanks for the help!
-
- Posted 2 years ago #
http://trac.bbpress.org/changeset/2349
That would explain why my trunk build fixed itself :) -
- Posted 2 years ago #
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
-
- Posted 2 years ago #
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!
-
- Posted 2 years ago #
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
-
You must log in to post.