davelester / WPBadger

A lightweight badge issuing platform built using WordPress
Other
43 stars 13 forks source link

update page text for badges and awards #23

Closed davelester closed 12 years ago

davelester commented 12 years ago

Both badge and award pages don't have text that is user-friendly as they should.

Badge Page Include badge title, version, description, and the badge image.

Award Page When an award has been accepted, this page currently reads "Your award has been successfully accepted and added to your backpack" -- what should it stay instead?

davelester commented 12 years ago

Greg via email regarding the award page: "is there any way to distinguish the recipient's first visit to the page from all subsequent visits by other people? Hm... OK, that won't work, will it? If someone else visits the page first, there's no way to know"

davelester commented 12 years ago

I could create a new route for the successful acceptance of an award, like url/awards/id/success/ that a user would be redirected to, instead of url/awards/id/ which is where a user is currently redirected.

Note: The likelihood of someone stumbling upon any of these pages is incredibly slim since they are randomly generated slugs.

davelester commented 12 years ago

For badge page: the page is created for the badge post type and not with a template, so possibly filter the_content in order to display custom data on this page that is not already in the badge description. http://codex.wordpress.org/Plugin_API/Filter_Reference/the_content

Would have to wrap the filter in a check to see that it's a badge post type: if (get_post_type() == 'badge') {

davelester commented 12 years ago

After a badge has been accepted, the award page should include the evidence text. A url to this page is included in the badge assertion file, and its possible that people may return to this page to learn why a badge was awarded.

davelester commented 12 years ago

Completed in commit 694338e.