Making WordPress.org

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#1575 closed task (blessed) (fixed)

Ratings

Reported by: obenland's profile obenland Owned by: obenland's profile obenland
Milestone: Priority: high
Component: Plugin Directory Keywords:
Cc:

Description

Create a widget to rate the currently viewed plugin. See how Themes handles reviews and figure out a way to make it work for both from one plugin.

Change History (20)

#1 @obenland
8 years ago

  • Milestone set to Plugin Directory v3 - M2

#2 @dd32
8 years ago

Worth noting we have the WordPress.org Ratings System plugin activated on the site, I believe the Themes Repo uses it too.

The underlying data from bbPress will have to be migrated over to WordPress though at switch-over (we can do it before then as well, but we'll just have to do it again)

#3 @dd32
8 years ago

  • Owner set to dd32
  • Status changed from new to accepted

#4 @Otto42
8 years ago

For ratings, the data is not in bbPress. It's in the custom ratings table, shared by both themes and plugins. The plugin that the themes directory is using can be reused, most likely.

#5 @dd32
8 years ago

Yeah, I got confused as WordPress.org has two ratings plugins installed, the global one which stores data centrally and WP-Postratings which I believe is by the showcase.

The global ratings system currently keys everything by bbPress topic id's, I'm going to look at adding/replacing a object_slug field to ease the transition for the plugin directory. It looks like for the theme directory we did an ID switch-a-roo for bbPress topic_id's to WordPress post_id's during the migration phase.

#6 @dd32
8 years ago

In 2998:

Plugin Directory: Add ratings count postmeta display to admin and plugin cards.
Still to come is a Widget to allow rating & reviewing a plugin.

See #1575

#7 @dd32
8 years ago

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

In 3009:

Plugin Directory: Add a Review Widget to the theme, and all the other required things for Widgets.
This adds a namespace to the theme and begins to reduce the duplication of template functionality between wp-admin and the theme.

See #1584.
Fixes #1575.

#8 @dd32
8 years ago

In 3012:

Plugin Directory: Remove extra </div> from the ratings widget.

See #1575

#9 @obenland
8 years ago

In 3039:

Plugin Directory: Make ratings widget compatible with meta env.

Accounts for cases where ratings post meta and wporg_get_user_rating()
are not available.

See #1575.

#10 @dd32
8 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Type changed from enhancement to task

This is not yet fixed.

  • Ratings still require a bbPress object_id in the database, we need to remove that requirement.
  • Ratings in the support forums still references the bbPress database for the plugin details (and object_id)

This ticket was mentioned in Slack in #meta by obenland. View the logs.


8 years ago

This ticket was mentioned in Slack in #meta by obenland. View the logs.


8 years ago

#13 @obenland
8 years ago

  • Priority changed from normal to high

#14 @obenland
8 years ago

  • Owner changed from dd32 to obenland
  • Status changed from reopened to accepted

#15 @obenland
8 years ago

  • Milestone changed from Plugin Directory v3 - M2 to Plugin Directory v3 - M4

This ticket was mentioned in Slack in #meta by obenland. View the logs.


8 years ago

#17 @obenland
8 years ago

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

Fixed in [dotorg12026].

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

#18 @dd32
8 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

reopening for tracking as the above commit was reverted.

#19 @dd32
8 years ago

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

The above commit was re-added.

The only remaining change is that at launch, the Support Forums needs to be toggled to fetch plugin data from WordPress tables rather than from bbPress tables.

#20 @samuelsidler
7 years ago

  • Milestone Plugin Directory v3 - M4 deleted

Milestone Plugin Directory v3 - M4 deleted

Note: See TracTickets for help on using tickets.