[5156]
|
johnjamesjacoby
|
Forum Subscriptions - Allow users to subscribe to new topics in specific forums.
* Code largely lifted from existing Topics Subscriptions, and is based largely on `forum-subscriptions.2.diff` from mordauk, with edits for code consistency across bbPress components.
* Refactor existing ambiguous function names into base functions for both forum and topic subscriptions.
* Include new functions for getting and outputting subscriptions.
* Modify `user-subscriptions.php` to show subscribed forums. This includes a modification to `content-single-forum.php` to include the "Unsubscribe" link if looking at a user profile page.
* Modify `templates/default/bbpress-functions.php` to enqueue new JS file to handle forum subscription ajax.
* Rename HTML element classes from `bbp-topic-action` to `bbp-row-actions` to better accommodate forum subscriptions (and any future actions.)
* BuddyPress tested, JJJ approved.
* See #2299. Props mordauk, netweb for the considerable effort.
* More to do here, largely from `forum-subscriptions.3.diff`
|
[5155]
|
johnjamesjacoby
|
Add support for new BuddyPress notifications component, alerting members when their topics have been replied to. Requires BuddyPress 1.9.
|
[5135]
|
johnjamesjacoby
|
Remove extraneous closing tag in custom walker start_el() method. Props netweb. Fixes #2455.
|
[5134]
|
johnjamesjacoby
|
Use rewrite ID helper functions instead of hardcoded strings.
|
[5133]
|
johnjamesjacoby
|
About Page:
* On activation, check that current user can access About page before redirecting to it.
* Once activated, only add About & Settings links if current user can access those pages.
* Before making the current user a Keymaster, make sure they do not have a previous forum role, preventing role escalation if the current user was previously demoted.
* Fixes #2443.
|
[5132]
|
johnjamesjacoby
|
Only filter the `bbpress` textdomain with the `bbpress_locale` filter.
Clean up surrounding phpdoc.
|
[5131]
|
johnjamesjacoby
|
Use wrapper functions introduced in r5130 for custom post-types and taxonomy.
|
[5130]
|
johnjamesjacoby
|
Introduce wrapper functions for custom post-type and taxonomy labels, rewrite settings, and supports options.
|
[5129]
|
johnjamesjacoby
|
Update readme.txt and version revision in trunk.
|
[5128]
|
johnjamesjacoby
|
Tag 2.4.1.
|
[5127]
|
johnjamesjacoby
|
Bump 2.4 branch version to 2.4.1. Also add 2.4.1 section to readme.txt.
|
[5126]
|
johnjamesjacoby
|
Remove hardcoded references to 'topics' and 'replies' in user profile URL's; use archive slug functions instead. Props imath. Fixes #2448. (2.5)
|
[5125]
|
johnjamesjacoby
|
Remove hardcoded references to 'topics' and 'replies' in user profile URL's; use archive slug functions instead. Props imath. Fixes #2448. (2.4.1)
|
[5124]
|
johnjamesjacoby
|
Revert part of r5060. Fixes issues with setting forum statuses. Props netweb. (2.4.1)
|
[5123]
|
johnjamesjacoby
|
In bbp_request_feed_trap(), check that post type being requested is a bbPress post type before proceeding. Improves compatibility with other custom feed handlers. Props alex-ye. Fixes #2308. (2.4.1)
|
[5122]
|
johnjamesjacoby
|
In bbp_request_feed_trap(), check that post type being requested is a bbPress post type before proceeding. Improves compatibility with other custom feed handlers. Props alex-ye. Fixes #2308. (2.5)
|
[5121]
|
johnjamesjacoby
|
Improve function locations introduced in r5120. Ensures template and helper functions are in template.php. See #2426.
|
[5120]
|
johnjamesjacoby
|
Fix bug where nested ternary comparisons in `form-anonymous.php` were causing duplicated, sometimes conflicting, output.
Introduce convenience template functions for better handling and output of anonymous user form field data. Wrap complex `form-anonymous.php` template-part access logic in a helper function (similar to other template parts.) Deprecate ambiguous `bbp_topic/reply_author()` functions, in favor of `author_display_name()` equivalents.
Fixes #2426.
|
[5119]
|
johnjamesjacoby
|
Replace user_trailingslashit() with trailingslashit() in bbp_get_search_results_url(). Fixes issues with search results pages missing a slash when the permalink structure does not include a trailing slash by default. Fixes #2441. (2.5)
|
[5118]
|
johnjamesjacoby
|
Replace user_trailingslashit() with trailingslashit() in bbp_get_search_results_url(). Fixes issues with search results pages missing a slash when the permalink structure does not include a trailing slash by default. Fixes #2441. (2.4.1)
|
[5117]
|
johnjamesjacoby
|
Update bbp_get_dropdown() so it always returns a form field (select tag) for more predictable usage. Fixes #2445.
|
[5116]
|
johnjamesjacoby
|
Remove 'none_found' from metaboxes. Will be deprecating as part of #2445.
|
[5115]
|
johnjamesjacoby
|
Remove 'none_found' strings from forms. Will be deprecating as part of #2445.
|
[5114]
|
johnjamesjacoby
|
Fix theme-side forum editing debug notices. See #2408. (2.5)
|
[5113]
|
johnjamesjacoby
|
Fix theme-side forum editing debug notices. See #2408. (2.4.1)
|
[5112]
|
johnjamesjacoby
|
Use empty() instead of strict 'on' comparison in topics widget. Props alex-ye. Fixes #2319. (2.4.1)
|
[5111]
|
johnjamesjacoby
|
Use empty() instead of strict 'on' comparison in topics widget. Props alex-ye. Fixes #2319. (2.5)
|
[5110]
|
johnjamesjacoby
|
In bbp_template_include_theme_compat(), bail out early when a root template has already been previously located. Fixes issues with recursive calls to the 'the_content' filter. Fixes #2429. (2.5)
|
[5109]
|
johnjamesjacoby
|
In bbp_template_include_theme_compat(), bail out early when a root template has already been previously located. Fixes issues with recursive calls to the 'the_content' filter. Fixes #2429. (2.4.1)
|
[5108]
|
johnjamesjacoby
|
Use correct '_bbp_post_id' meta_key in converter callback_reply_to. Fixes incorrect mapping of converted hierarchical replies. Props netweb. Fixes #2439. (2.4.1)
|
[5107]
|
johnjamesjacoby
|
Use correct '_bbp_post_id' meta_key in converter callback_reply_to. Fixes incorrect mapping of converted hierarchical replies. Props netweb. Fixes #2439. (2.5)
|
[5106]
|
johnjamesjacoby
|
Fix speeling error in settings.php. Props netweb. Fixes #2438.
|
[5105]
|
johnjamesjacoby
|
Improvements to bbp_title() to include user topics/replies/favorites/subscriptions. Fixes #2340.
|
[5104]
|
johnjamesjacoby
|
s/conerts/converts. Props netweb. Fixes #2406. (trunk)
|
[5103]
|
johnjamesjacoby
|
s/conerts/converts. Props netweb. Fixes #2406. (2.4 branch)
|
[5102]
|
johnjamesjacoby
|
Tweak bbp_title() to better integrate with other plugins that filter 'wp_title'. Fixes #2405. (2.4 branch)
|
[5101]
|
johnjamesjacoby
|
Tweak bbp_title() to better integrate with other plugins that filter 'wp_title'. Fixes #2405. (trunk)
|
[5100]
|
johnjamesjacoby
|
Bump trunk to 2.5-alpha.
|
[5099]
|
johnjamesjacoby
|
Tag 2.4.
|
[5098]
|
johnjamesjacoby
|
Create 2.4 branch from trunk.
|
[5097]
|
johnjamesjacoby
|
Bump readme.txt stable tag and version.
|
[5096]
|
johnjamesjacoby
|
Bump trunk to 2.4.
|
[5095]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5094]
|
johnjamesjacoby
|
Update badge image gradients.
|
[5093]
|
johnjamesjacoby
|
Add reply_to capability to main converter class. Props netweb. Fixes #2400.
|
[5092]
|
johnjamesjacoby
|
Update contributors and props list for 2.4 release.
|
[5091]
|
johnjamesjacoby
|
More updated "About" text for 2.4.
|
[5090]
|
johnjamesjacoby
|
Updated "About" text for 2.4.
|
[5089]
|
johnjamesjacoby
|
PHP 5.4+ E_STRICT improvement to BuddyPress Groups display_forums() method. See #BP5108.
|
[5088]
|
johnjamesjacoby
|
Remove incorrect @uses bbp_is_user_keymaster() phpdoc reference.
|
[5087]
|
johnjamesjacoby
|
In bbp_user_can_view_forum(), pass the $user_id into bbp_is_user_keymaster().
Fixes issue where bbp_user_can_view_forum() may return incorrect results for users with the Keymaster role.
Props alex-ye. Fixes #2393.
|
[5086]
|
johnjamesjacoby
|
When converting backticks to pre and code blocks, wrap pre's in new lines. Fixes inconsistent output between: the original posted content, formatted output, and editing content. See #2091.
|
[5085]
|
johnjamesjacoby
|
Update CSS for code and pre tags to reduce scrollbars. See #2091.
|
[5084]
|
johnjamesjacoby
|
Add 'show_none' to forum ID dropdown in form-topic.php template part. Fixes UX problem where a new-topic page would automatically select the first option in the list for topics to go in. Also escape output of 'show_none' in bbp_get_dropdown(). Fixes #2390.
|
[5083]
|
johnjamesjacoby
|
Clean up admin settings fields attribute order: name, ID, type, value, others... See #2388.
|
[5082]
|
johnjamesjacoby
|
Remove duplicate id attributes from some admin settings fields. Props alex-ye. Fixes #2388.
|
[5081]
|
johnjamesjacoby
|
Only allow topics to have an archive when the forums archive is showing forums (not topics). Fixes SEO concern where it was possible to have duplicate forum-archives at two different URL's.
|
[5080]
|
johnjamesjacoby
|
Separate content replacement from title replacement in forum and topic archives, allowing pages with matching slugs but empty post_content to replace the_content as expected. Fixes situation where a user creates a "Forums" page and leaves the content empty, expecting bbPress to replace it.
Also use the $page->ID to help "Edit" links to point to the correct post ID.
|
[5079]
|
johnjamesjacoby
|
Do not allow forum/topic/reply author to edit their own replies via wp-admin. Fixes #2389.
|
[5078]
|
johnjamesjacoby
|
Use bbp_get_topic_types() rather than compare to hardcoded array. Also switch from isset() to !empty() checks, and add an empty() check for 'sub_action' when toggling a topic.
|
[5077]
|
johnjamesjacoby
|
Check that 'bbp_topic_status' is set before comparing to available topic statuses. Also, use bbp_get_topic_statuses() instead of hardcoded array.
|
[5076]
|
johnjamesjacoby
|
Add is_admin() and $pagenow checks to bbp_is_deactivation() and bbp_is_activation(). Hat tip alex-ye. Fixes #2386.
|
[5075]
|
johnjamesjacoby
|
Use bbp_forum_content() instead of bbp_the_content() in loop-search-forum.php. Fixes missing forum description in search results. Props netweb. Fixes #2387.
|
[5074]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5073]
|
johnjamesjacoby
|
String match 'to front' from changes to #2090.
|
[5072]
|
johnjamesjacoby
|
Fix typo. See #2090.
|
[5071]
|
johnjamesjacoby
|
Rename link class to match function and output, and remove some duplicate escapings. See #2090.
|
[5070]
|
johnjamesjacoby
|
Add missing output escaping in admin edit links, and add unique classes to all admin links. See #2090.
|
[5069]
|
johnjamesjacoby
|
Shift output escaping around in admin links to allow for filtering and passing additional HTML into them. Hat tip mourdak. Fixes #2090.
|
[5068]
|
johnjamesjacoby
|
Bump trunk to RC1.
|
[5067]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5066]
|
johnjamesjacoby
|
Set max-width on .form-allowed-tags to 100%. Improves theme compat, and fixes issues with allowed tags breaking theme output. Props kobenland.
|
[5065]
|
johnjamesjacoby
|
Rename Walker class parameters to prevent PHP5.4 E_STRICT warnings.
|
[5064]
|
johnjamesjacoby
|
Introduce the bbp_get_blog_roles() helper function, to match bbp_get_dynamic_roles(). This function gets the roles of a blog with bbPress's dynamic roles filtered out (if they previously exist.)
Use bbp_get_blog_roles() where applicable to match bbp_get_dynamic_roles() usages.
Removes dependence on get_editable_roles() admin-only function.
|
[5063]
|
johnjamesjacoby
|
Revert accidental change to forum query 'orderby' args from r5060.
|
[5062]
|
johnjamesjacoby
|
Revert accidental change to bbp_remove_roles() from r5060.
|
[5061]
|
johnjamesjacoby
|
Revert accidental removal of threaded replies dropdown pre-option disabled check from r5060.
|
[5060]
|
johnjamesjacoby
|
Normalize forum, topic, and reply dropdown form fields and associated functions. Includes several new functions with _get_ equivalents to replace incorrectly named _select() functions.
First pass at adding custom topic status handling. Props jkudish. See #2187.
Also replaces $wpdb->update() calls with wp_update_post() in associated functions. Fixes #2351.
|
[5059]
|
johnjamesjacoby
|
If pre-option exists for threaded replies depth, make sure it's correctly disabled.
|
[5058]
|
johnjamesjacoby
|
Fallback to title sorting in bbp_has_forums() if no menu_order is present. Props netweb. Fixes #2373.
|
[5057]
|
johnjamesjacoby
|
De-deprecate bbp_remove_roles() so database role removal is still supported.
|
[5056]
|
johnjamesjacoby
|
Remove byref usage in BuddyPress Groups admin box method.
|
[5055]
|
johnjamesjacoby
|
Switch some wp_insert_post() usages to wp_update_post(). Use bbp_get_forum(), bbp_get_topic(), and bbp_get_reply() where appropriate, and use objects instead of arrays to avoid escaping issues with wp_update_post().
|
[5054]
|
johnjamesjacoby
|
Fallback to 'title' sorting in bbp_list_forums() for subforum sorting. Hat tip mordauk. Fixes #2373.
|
[5053]
|
johnjamesjacoby
|
Fix PHP 5.4 by reference E_STRICT warning in bbp_get_user_role(). See #2372.
|
[5052]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5051]
|
johnjamesjacoby
|
Update bbp_time_since() to allow for GMT comparisons. Update Akismet to use bbp_time_since(). See #1616.
|
[5050]
|
johnjamesjacoby
|
v1 of Akismet history metabox UI. Fixes #1616.
|
[5049]
|
johnjamesjacoby
|
Remove out of date wp_referer_field() phpdoc references.
|
[5048]
|
johnjamesjacoby
|
PHP 5.4 compat and related sanity checks and clean-up. Props boonebgorges. Fixes #2731.
|
[5047]
|
johnjamesjacoby
|
Switch main bbPress singleton pointer from a private static to a local static inside the instance() method, preventing recursive $instance references. Fixes #2370.
|
[5046]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5045]
|
johnjamesjacoby
|
Rename 'template-tags' files to 'template' to match core conventions. Also rename BuddyPress Groups extension from 'group' to 'groups'.
|
[5044]
|
johnjamesjacoby
|
Invert the explicit tinymce comparison in bbp_get_the_content() to look for !== false instead of === true. Fixes bug causing textarea output to be incorrectly escaped when using a custom tinymce stylesheet. Fixes #2369.
|
[5043]
|
johnjamesjacoby
|
New approach to content replacement for theme compatability. Rather than juggle the post global and post content around in two procedures, set post_content via bbp_theme_compat_reset_post().
This reduces some complexity, avoids nested shortcodes, and fixes shortcode and the_content filter conflicts. See #2343.
|
[5042]
|
johnjamesjacoby
|
Prevent nested shortcodes if used inside bbPress post_content. Reverts r4976. See #2343.
|
[5041]
|
johnjamesjacoby
|
Bump bbpress.pot.
|
[5040]
|
johnjamesjacoby
|
More esc_url() improvements, and practice late-escaping where we were otherwise passing around escaped URL variables. See #2367.
|
[5039]
|
johnjamesjacoby
|
Update tags and installation section of readme.txt.
|
[5038]
|
johnjamesjacoby
|
When posting to a BuddyPress Group Forum, update the group's last_activity. Props r-a-y. Fixes #2368.
|