Skip to:
Content

Opened 9 years ago

Closed 8 years ago

#1346 closed task (fixed)

Topic Status (open/closed/spam/trashed)

Reported by: johnjamesjacoby Owned by:
Milestone: 2.0 Priority: normal
Severity: normal Version:
Component: Back-end Keywords: needs-patch, gcin
Cc: gautam.2011@…, anthonycole

Description (last modified by johnjamesjacoby)

Topics should have 4 major 'statuses' to start: Open, Closed, Spam, and Trashed.

(This should not be confused with a Topic Type, which would include: Normal, Sticky, Super Sticky, Announcement.)

Could use custom taxonomy, or something new.

Attachments (1)

topic-actions.3.diff (36.7 KB) - added by GautamGupta 8 years ago.
For trunk

Download all attachments as: .zip

Change History (9)

#1 @GautamGupta
9 years ago

  • Cc gautam.2011@… added

#2 in reply to: ↑ description @anthonycole
9 years ago

  • Cc anthonycole added
  • Owner set to anthonycole
  • Status changed from new to assigned

I think that using a taxonomy would probably be best practise here myself. I think that using a serialised array would be messy and unconventional.

What I'd probably opt for would be to put in a taxonomy for _bbp_status or bbp_status with a hidden UI (for now - when WP #14877 comes in, we could potentially release it into the wild here - ETA on that is a few weeks).

Anyway, I'll have a lunge at a a patch soon.

#3 @johnjamesjacoby
8 years ago

  • Type changed from defect to task

#4 @johnjamesjacoby
8 years ago

  • Keywords gcin added

#5 @johnjamesjacoby
8 years ago

  • Description modified (diff)
  • Summary changed from Topic Type Needed to Topic Status (open/closed/spam/trashed)

Ticket modified after giving it some thought. A new ticket will be made for Topic Types

Last edited 8 years ago by johnjamesjacoby (previous) (diff)

#6 @johnjamesjacoby
8 years ago

  • Owner anthonycole deleted
  • Status changed from assigned to new

Removing anthonycole as this ticket has had no action in 5 weeks, and is being considered as a Google Code In task. This isn't to discourange Anthony, but is meant to encourage others to take a stab at it.

@GautamGupta
8 years ago

For trunk

#7 @GautamGupta
8 years ago

[2727]

Some more work needs to be done - show spammed/trashed topics to admins/mods.

#8 @johnjamesjacoby
8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2744]) Clean up post type registration code. Allow capable users to view trashed/spammed topics. Fixes #1346. Props GautamGupta via Google Code-in.

Note: See TracTickets for help on using tickets.