Skip to:
Content

bbPress.org

Opened 12 years ago

Last modified 11 years ago

#2275 new enhancement

Quick access the parent topic from the reply edit screen in the admin

Reported by: mzaweb's profile MZAWeb Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: trunk
Component: General - Administration Keywords: has-patch
Cc: wordpress@…, jared@…

Description

Two options:

1) Add a 3rd button in the permalink row: http://screenshots.mzaweb.com/kXVU

It's a bit hacky to get that button placed there with the current available filters in core.

2) http://screenshots.mzaweb.com/kXW8

Attachments (3)

2275-reply-panel.png (6.7 KB) - added by netweb 12 years ago.
metaboxes.php.patch (2.4 KB) - added by MZAWeb 12 years ago.
2275.patch (2.6 KB) - added by MZAWeb 11 years ago.

Download all attachments as: .zip

Change History (20)

#1 @MZAWeb
12 years ago

  • Cc wordpress@… added

#2 @netweb
12 years ago

Without looking at what is needed... Either... 1 is nice... But 2 is also fine...

If/when this patch is worked on this to...


#3 @johnjamesjacoby
12 years ago

  • Component changed from General to Administration
  • Keywords needs-patch added; 2nd-opinion removed
  • Milestone changed from Awaiting Review to 2.4
  • Version changed from 2.1 to trunk

Neat. Patch these up and let's get them into 2.4.

#4 @MZAWeb
12 years ago

Option 1 is neat but too hacky:

add_filter( 'get_sample_permalink_html', 'add_button_test' );

function add_button_test( $content ) {
	$content = rtrim( $content, '</span>\n' );
	$content = $content . "<a href='test' class='button button-small'>View Topic</a></span>\n";
	return $content;
}

I'll patch tonight for option 2 and netweb's idea.

#5 @MZAWeb
12 years ago

  • Keywords has-patch added; needs-patch removed

Actually netweb, the behavior of the "View" link is very much that. It takes you to the parent topic (with the # for this particular reply)

Adding patch for the links in the edit screen, both for topics and replies.

#6 @jaredatch
12 years ago

  • Cc jared@… added

#7 follow-ups: @alex-ye
11 years ago

hmmm.. Why we not make the Topic\Forum title in the Topics\Replies table click-able ?!

#8 in reply to: ↑ 7 ; follow-up: @johnjamesjacoby
11 years ago

  • Milestone changed from 2.4 to 2.5

Replying to alex-ye:

hmmm.. Why we not make the Topic\Forum title in the Topics\Replies table click-able ?!

I originally had this in the rows for bbPress 2.0, but it starts to look a little cluttered. Open to bringing it back though, as I always kind of liked it.

Moving to 2.5.

#9 in reply to: ↑ 7 ; follow-up: @MZAWeb
11 years ago

Replying to alex-ye:

hmmm.. Why we not make the Topic\Forum title in the Topics\Replies table click-able ?!

I like it but... should that link take you to the front end or the admin edit screen?

@MZAWeb
11 years ago

#10 in reply to: ↑ 9 @MZAWeb
11 years ago

Replying to MZAWeb:

I like it but... should that link take you to the front end or the admin edit screen?

Replying to myself: Front-end doesn't make *that* much sense, it's handier to point to the edit screen. Patch 2275.patch​ adds those links and also added _linkified_ the counts in the forum list. Those links take you to the filtered list, like core's taxonomies do it. http://files.mzaweb.com/image/3h2p2o060J2W


#11 follow-up: @mordauk
11 years ago

I disagree. I think front end makes more sense, simply because that's the view users are going to use the most when it comes to reading a topic.

#12 in reply to: ↑ 11 @alex-ye
11 years ago

Replying to mordauk:

I disagree. I think front end makes more sense, simply because that's the view users are going to use the most when it comes to reading a topic.

But the back-end isn't for users!? it is for admins so it should take you to the admin edit screen since it's more powerful!

I think we should just follow the WordPress way in this context, so we don't make the admins confuse about the differences.

#13 follow-up: @MZAWeb
11 years ago

+1. And if you want to go to the front end, is just one extra click (Go to admin screen -> Click VIEW)

#14 @mordauk
11 years ago

But the backend really isn't more powerful. One of the most important parts of viewing a topic is seeing the replies to that topic, and those aren't listed in the backend. The only time I (as a hypothetical user) care about viewing a topic in the backend is if I'm editing the status or perhaps editing some of the content. All of which I can do from the front end as well.

#15 in reply to: ↑ 13 @alex-ye
11 years ago

Replying to MZAWeb:

+1. And if you want to go to the front end, is just one extra click (Go to admin screen -> Click VIEW)

1+

@mordauk The quick access links we are talk about are in the back-end so it should open the edit-screens in the back-end as a natural beehive. if you are really love editing from the front-end you wouldn't open the back-end topics list at the first place!

I understand that we use the bbPress in different ways and this is good :) , In my forums there are many moderators and admins so this how I define the back-end and front-end edit screens.:

Front-end edit screen: it should be simple and content the basic options like the title,content,forum,status...etc

This is important because the moderators and supervisors need to edit some basic contents only in the most cases and not all of them have the access rights to the back-end edit screen.

Back-end edit screen: It content all the options to control the topic/reply like the custom fields and custom meta-boxes and many other hidden options! never said about the auto save, revisions and other cool features we have in the back-end!

We shouldn't ignore any use case, so what about if we add a button in back-end edit screen and let's called it "Front-end Editing" ?

#16 @mordauk
11 years ago

My argument comes purely from my own use case (I rarely use the backend), but that's fine, I don't mind being the exception :)

#17 in reply to: ↑ 8 @johnjamesjacoby
11 years ago

  • Milestone changed from 2.5 to Future Release

Replying to johnjamesjacoby:

Replying to alex-ye:

hmmm.. Why we not make the Topic\Forum title in the Topics\Replies table click-able ?!

I originally had this in the rows for bbPress 2.0, but it starts to look a little cluttered. Open to bringing it back though, as I always kind of liked it.

Moving to 2.5.

Moving to Future Release, to give this more thought. I think I like the uncluttered look more. If there's no filter on these links, maybe this could be a plugin to start?

Note: See TracTickets for help on using tickets.