[5233]
|
johnjamesjacoby
|
Introduce helper function for getting the BuddyPress component name, and filter new BuddyPress function to include it in registered components. Fixes #2495. Hat-tip imath. (2.5 branch)
|
[5027]
|
johnjamesjacoby
|
Introduce group_settings_hidden_field() method to prevent the settings page from accidentally disabling the group forum. Props r-a-y. Fixes #2339.
|
[2874]
|
johnjamesjacoby
|
Introduce general author avatar functions for use with last_active_id in forums and topics.
|
[2967]
|
johnjamesjacoby
|
Introduce functions, styling, and theme support for pagination links within individual topics while displaying the forum loop.
|
[3446]
|
johnjamesjacoby
|
Introduce functions to get the topic/reply author email address, and use on anonymous post form.
|
[5181]
|
johnjamesjacoby
|
Introduce functions to enqueue scripts and styles according to the template stack. See #2478.
|
[3572]
|
johnjamesjacoby
|
Introduce functions for topic/reply per-page settings, to prevent divide by zero errors if setting is saved as '0' string. See r3540. (2.1)
|
[3540]
|
johnjamesjacoby
|
Introduce functions for topic/reply per-page settings, to prevent divide by zero errors if setting is saved as '0' string.
|
[2544]
|
johnjamesjacoby
|
Introduce functions for handling time since
|
[3762]
|
johnjamesjacoby
|
Introduce functions for getting the unique rewrite ID's for user/view/edit.
* Use new functions where needed
* Clean up variable usages in bbPress class
* See #1760
|
[2729]
|
johnjamesjacoby
|
Introduce functions for getting and validating a user_id, and use them through-out project.
|
[4633]
|
johnjamesjacoby
|
Introduce functions for getting and caching the current users current group status. Use these new functions in the Group Forum extension, to remove dependency on $groups_template global. Fixes bugs where regular users could not create content in private/hidden groups. Hat-tip boonebgorges. Fixes #2119.
|
[3679]
|
johnjamesjacoby
|
Introduce functions and code to help create new forums from within the theme:
* Turn on forum-form shortcode
* Add supplemental actions for saving forum extras on new/edit
* bbp_save_forum_extras() function to handle forum metadata saving
* See #1669
|
[4572]
|
jmdodd
|
Introduce function bbp_is_forum_group_forum().
* Fixes #2100.
|
[2746]
|
johnjamesjacoby
|
Introduce forum type/status/visibility using post_meta. This hides the built in WordPress equivalents as a temporary hack until custom WP post statuses are more flexible. Props !GautamGupta via Google Code-in.
|
[2769]
|
johnjamesjacoby
|
Introduce forum statistics; fixes #1427. Introduce method to limit number of pages in topics query. Props !GautamGupta via Google Code-in
|
[2770]
|
johnjamesjacoby
|
Introduce forum statistics dashboard widget. Fixes #1438. Props !GautamGupta via Google Code-in
|
[5352]
|
netweb
|
Introduce e107 v1.x importer
Props netweb. Fixes #2421
|
[2763]
|
johnjamesjacoby
|
Introduce duplicate topic/reply detection. Props !GautamGupta via Google Code-in
|
[4579]
|
jmdodd
|
Introduce dedicated forum search.
* Search forums, topics, and replies.
* Add new search functions, including bbp_has_search_results().
* Provide templates for search results.
* Fixes #1575.
|
[3471]
|
johnjamesjacoby
|
Introduce convenience functions for global $wp_rewrite usage.
|
[2814]
|
johnjamesjacoby
|
Introduce bbp_user_register template part placeholder
|
[3605]
|
johnjamesjacoby
|
Introduce bbp_template_redirect() and use for checking various edit screens:
* Introduce bbp_check_topic_edit() to check for topic edit
* Introduce bbp_check_reply_edit() to check for reply edit
* Introduce bbp_check_topic_tag_edit() to check for topic tag edit
* Introduce bbp_check_user_edit() to check for user edit
* Remove these checks from bbp_pre_get_posts() and only use it to setup query vars
* See #1684
* For 2.0 branch
|
[3607]
|
johnjamesjacoby
|
Introduce bbp_template_redirect() and use for checking various edit screens:
* Introduce bbp_check_forum_edit() to check for forum edit
* Introduce bbp_check_topic_edit() to check for topic edit
* Introduce bbp_check_reply_edit() to check for reply edit
* Introduce bbp_check_topic_tag_edit() to check for topic tag edit
* Introduce bbp_check_user_edit() to check for user edit
* Remove these checks from bbp_pre_get_posts() and only use it to setup query vars
* Fixes #1684, r3605
* For 2.1 (plugin) branch
|
[2954]
|
johnjamesjacoby
|
Introduce bbp_show_lead_topic() function in bbp-general-functions.php, the purpose of which is to act as a switch between traditional and new single topic display layouts.
|
[3028]
|
johnjamesjacoby
|
Introduce bbp_setup_theme_compat() function and action, which provide skeletal theme support for themes that do not explicitly support bbPress.
|
[4928]
|
johnjamesjacoby
|
Introduce bbp_search_results_url(), bbp_get_search_results_url(), and bbp_search_template_redirect(), to handle the new search results page routing. See #2337.
|
[2984]
|
johnjamesjacoby
|
Introduce bbp_reply_position() functions to help calculate reply permalinks and topic freshness links. Fixes #1495.
|
[2552]
|
johnjamesjacoby
|
Introduce bbp_replies template part. Fill in bbp_topic template emptiness.
|
[5017]
|
johnjamesjacoby
|
Introduce bbp_repair_forum_visibility() and use it:
* when creating a new BuddyPress Group Forum
* in the bbp_admin_repair_forum_visibility() tool
Fixes issues with new group forums not bumping the private/hidden forum ID's. Props r-a-y. Fixes #2349.
|
[4181]
|
johnjamesjacoby
|
Introduce bbp_register subaction:
* Switch bbp_init priority to init 0.
* Hook bbp_register to bbp_init, prority 0.
* Hook _register_ actions onto bbp_register.
* Registers post types, taxonomies, post statuses, shortcodes, and topic views early, so they are available ahead of 'init' action.
* Fixes plugin dependency issue with bbPress objects not being registered when they are needed.
|
[2997]
|
johnjamesjacoby
|
Introduce bbp_query_post_parent__in() function for future use with private and hidden forums. Props nacin.
|
[4551]
|
johnjamesjacoby
|
Introduce bbp_post_request() and bbp_get_request() sub-actions:
* Update actions and sub-actions to use these new handlers.
* Update new/edit forum/topic/reply handlers to use these.
* Update phpdoc as needed.
* Remove duplicate 'bp_actions' request hooks from BuddyPress group forums.
* Does not include admin-side requests.
|
[3840]
|
johnjamesjacoby
|
Introduce bbp_parse_args() and pass filter keys into its usages.
* Parsed args to be passively or aggressively filtered
* Allows functions that normally require passing parsed $args to instead filter or override results
|
[3410]
|
johnjamesjacoby
|
Introduce bbp_make_spam_user() and bbp_make_ham_user() functions to loop through the sites of a user and spam/unspam their topics and replies as needed. (BuddyPress 1.5 compatible)
|
[4942]
|
johnjamesjacoby
|
Introduce bbp_make_clickable() and use it in place of make_clickable() filter. Fixes issues with making links clickable inside pre and code blocks. See #2335 (trunk)
|
[4943]
|
johnjamesjacoby
|
Introduce bbp_make_clickable() and use it in place of make_clickable() filter. Fixes issues with making links clickable inside pre and code blocks. Fixes #2335 (2.3 branch)
|
[3504]
|
johnjamesjacoby
|
Introduce bbp_is_user_active() and bbp_is_user_inactive() to help with spammed and deleted user checks. See #1630 and r3503.
|
[3398]
|
johnjamesjacoby
|
Introduce bbp_is_site_public() function, and use it to prevent BuddyPress activity stream additions for new topics and replies if entire site is private.
|
[4919]
|
johnjamesjacoby
|
Introduce bbp_is_search_results() and use it in is_bbpress() and bbp_body_class(). See #2337.
|
[2980]
|
johnjamesjacoby
|
Introduce bbp_is_query_name() function to make checking the '_bbp_query_name' query variable easier, and use this function through-out.
Fix bug where topic and reply widgets would selfishly listen to pagination query vars.
Fix bug when viewing a single topic, replies widget would only show replies from that topic.
|
[3585]
|
johnjamesjacoby
|
Introduce bbp_is_edit global posts_query var to indicate that bbPress editing is occurring.
|
[3380]
|
johnjamesjacoby
|
Introduce bbp_global_access_role_mask() to assign the default_role and meta-caps to the current user when viewing a global forum in a multisite installation. Say that three times fast.
|
[4655]
|
johnjamesjacoby
|
Introduce bbp_get_redirect_to() to handle getting the request variable. Use this new function where appropriate.
|
[3629]
|
johnjamesjacoby
|
Introduce bbp_get_query_template() function to handle the template assignment for the extra bbPress root level template files.
|
[4793]
|
johnjamesjacoby
|
Introduce bbp_get_dynamic_role_name() to handle getting a translated role name from the dynamic roles array. Use this to return a more accurate display role in bbp_get_user_display_role(). Hat tip alex-ye. Fixes #2248.
|
[3791]
|
johnjamesjacoby
|
Introduce bbp_get_config_location() function to look for previous BuddyPress integration. See #1669.
|
[4998]
|
johnjamesjacoby
|
Introduce bbp_find_mentions_pattern() function to make it easier to change the pattern to match usernames against. Helpful for non-latin characters. Also add additional filter to bbp_find_mentions() to allow for late filtering of results. Props aliso. Fixes #2226.
|
[4653]
|
johnjamesjacoby
|
Introduce bbp_deregister_template_stack(), to allow plugins to manipulate the template stack in real-time.
|
[3581]
|
johnjamesjacoby
|
Introduce bbp_check_for_moderation() to check moderation_keys and comment_max_links before publishing topics and replies. Also introduces function for getting the pending post status, and adds missing status vars to bbPress class. See #1672.
|
[2617]
|
johnjamesjacoby
|
Introduce bbp_allow_anonymous function
|
[5009]
|
johnjamesjacoby
|
Introduce additional forum/topic ID validation when posting new topics and replies. Prevents empty/negative/non-existent post_parent. Fixes #2363.
|
[5163]
|
johnjamesjacoby
|
Introduce `current_view_id` to bbPress class variables. Used when calling a topic view shortcode via `bbp-single-view` so subsequent calls to `bbp_view_query` are able to retrieve the `$view_id` via `bbp_get_view_id()` the same way `bbp_get_topic_id()` works. Fixes #2457.
|
[5823]
|
johnjamesjacoby
|
Introduce `core/abstraction.php` to provide a layer of protection against touching common WordPress global variables directly.
This commit introduces a few new helper functions to protect sensitive global variables, and also introduces the ability to filter and override them explicitly within the scope of the bbPress plugin. These functions will be used in place of existing global touches in future commits.
See #2786.
|
[5378]
|
johnjamesjacoby
|
Introduce `bbp_validate_reply_to()` function, used to:
* Validate a parent reply is actually a reply post_type.
* A reply is not accidentally assigning itself as its own parent.
* An integer is returned.
Fixes hiesenbug where calls to `bbp_get_reply_id()` were unexpectedly and occasionally returning the current reply ID rather than 0.
See #2588. (trunk)
|
[5377]
|
johnjamesjacoby
|
Introduce `bbp_validate_reply_to()` function, used to:
* Validate a parent reply is actually a reply post_type.
* A reply is not accidentally assigning itself as its own parent.
* An integer is returned.
Fixes hiesenbug where calls to `bbp_get_reply_id()` were unexpectedly and occasionally returning the current reply ID rather than 0.
See #2588. (2.5 branch)
|
[5365]
|
johnjamesjacoby
|
Introduce `bbp_sanitize_slug()` function for sanitizing permalink slugs, and use it as the callback for any slug settings. Props mazengamal. See #2496 (trunk).
|
[5366]
|
johnjamesjacoby
|
Introduce `bbp_sanitize_slug()` function for sanitizing permalink slugs, and use it as the callback for any slug settings. Props mazengamal. See #2496 (2.5 branch).
|
[5369]
|
johnjamesjacoby
|
Introduce `bbp_sanitize_displayed_user_field()` function to handle the sanitizing of displayed user data, and add it to the `bbp_get_displayed_user_field` filter. Props mazengamal. See #2610 (trunk).
|
[5370]
|
johnjamesjacoby
|
Introduce `bbp_sanitize_displayed_user_field()` function to handle the sanitizing of displayed user data, and add it to the `bbp_get_displayed_user_field` filter. Props mazengamal. See #2610 (2.5 branch).
|
[5390]
|
johnjamesjacoby
|
Introduce `bbp_get_reply_ancestors()` function to help with reply hierarchy dropdown. Also conveniently wraps logic incase we ever move to a real hierarchical post type. See #2617.
|
[6051]
|
netweb
|
Introduce `bbp_get_major_wp_version()` function to help checking against WordPress versions
See #2874
|
[5826]
|
johnjamesjacoby
|
Introduce `bbp_get_global_object()` to help with verifying & retrieving global variables before interacting with them. See #2786.
|
[5409]
|
johnjamesjacoby
|
Introduce `bbp_get_do_not_reply_address()` function, and use in subscription notification functions. Also add filters to make changing these values easier for advanced setups. Fixes #2618.
|
[5389]
|
johnjamesjacoby
|
Introduce `BBP_Walker_Reply_Dropdown` to help with reply hierarchy dropdown. Also update other Walker class extensions and associated documentation to be a bit more accurate and reliable. See #2617.
|
[2787]
|
johnjamesjacoby
|
Introduce _get_ functions for forums, topics, and replies. Fixes #1415. Props !GautamGupta via Google Code-in
|
[2780]
|
johnjamesjacoby
|
Introduce _content functions for topics and replies. Introduce our own allowed_tags for handling HTML. Add nofollow to links in content. Properly sanitize topic and reply slugs. Fixes #1426, #1389, #1411. Props !GautamGupta via Google Code-in
|
[5146]
|
netweb
|
Introduce XenForo bbPress importer. Props netweb. Fixes #2403
|
[5144]
|
netweb
|
Introduce XMB bbPress importer. Props netweb. Fixes #2404
|
[2514]
|
johnjamesjacoby
|
Introduce Walker class (from WP page Walker) plus main class cleanup
|
[4718]
|
johnjamesjacoby
|
Introduce Vanilla converter tool. Props netweb. Fixes #2179.
|
[3378]
|
johnjamesjacoby
|
Introduce UI for 'Allow Global Access' setting for multisite installations. Functionality to follow.
|
[4639]
|
johnjamesjacoby
|
Introduce SimplePress 5 importer. Props netweb. Fixes #2074.
|
[5191]
|
netweb
|
Introduce SMF v2.x bbPress importer. Props netweb. Fixes #2380
|
[5154]
|
netweb
|
Introduce PunBB v1.4.x bbPress importer. Props netweb. Fixes #2379
|
[5142]
|
netweb
|
Introduce Phorum bbPress importer. Props netweb. Fixes #2382
|
[5143]
|
netweb
|
Introduce PHPWind bbPress importer. Props netweb. Fixes #2395
|
[5147]
|
netweb
|
Introduce PHPFox bbPress importer. Props netweb. Fixes #2415
|
[5141]
|
netweb
|
Introduce MyBB bbPress importer. Props netweb. Fixes #2378
|
[4692]
|
johnjamesjacoby
|
Introduce Mingle converter. Props netweb. Fixes #2163.
|
[5145]
|
netweb
|
Introduce Kunena Forums for Joomla bbPress importers. Props netweb. Fixes #2402
* Kunena1.php for Kunena v1.x Forums
* Kunena2.php for Kunena v2.x Forums
* Kunena3.php for Kunena v3.x Forums
|
[3496]
|
johnjamesjacoby
|
Introduce Genesis theme framework compatibility class.
* Fixes error messages thrown by bbPress theme compatibility when using Genesis.
* Moves extension loading onto 'bbp_ready' action in bbp-core-hooks.php to ensure bbPress has initialized.
* Adds missing post data to bbp_theme_compat_reset_post() to prevent debug notices.
* Fixes table width when in theme compatibility mode.
See #1622. Props jaredatch for original patch.
|
[5139]
|
netweb
|
Introduce FluxBB bbPress importer. Props netweb. Fixes #2383
|
[5138]
|
netweb
|
Introduce Drupal v7.x bbPress importer. Props netweb. Fixes #2375
|
[3419]
|
johnjamesjacoby
|
Introduce BBP_Updater class to more accurately handle conditions where activation hooks might not fire on multisite installations, and to flush rewrite rules at the appropriate time on updates. Fixes #1569.
|
[2700]
|
johnjamesjacoby
|
Introduce BBP_Component class. Change alternate class to even/odd.
|
[5140]
|
netweb
|
Introduce Advanced Electron Forum v1.x bbPress importer. Props netweb. Fixes #2384
|
[4820]
|
johnjamesjacoby
|
Introduce 'bbp_locate_template' action to bbp_locate_template(), with inline documentation for intended usage. Fixes #2277.
|
[6803]
|
johnjamesjacoby
|
Intercept: updates to `bbp_maybe_intercept()`:
* Use `bbp_parse_args()` internally
* Compare against known default return value
* Use `call_user_func_array()` to avoid using `extract()`
This change allows the intercept API to work a bit more smoothly with filters that have multiple arguments passed into them. Previous to this, those filters may have dropped their arguments, or otherwise not passed the proper arguments into their filter call.
This fixes a regression related to BuddyPress profile URL overrides.
See #3814.
|
[6816]
|
johnjamesjacoby
|
Intercept: return default value if an invalid number of args is parsed.
Also pass a `$user_id` into favorites & subscriptions links functions.
These changes together will prevent notices & errors in certain intercept conditions.
|
[6752]
|
johnjamesjacoby
|
Intercept: invert comparison in `bbp_is_intercepted()`.
I was testing it to make sure it worked correctly, and forgot to switch it back before r6751.
See #3184.
|
[6751]
|
johnjamesjacoby
|
Intercept: first pass intercept API.
This change introduces 3 new functions for generating a default intercept value and comparing against it in specific places. If the return value differs from the default intercept value, we know that function call was intercepted by a filter, and that value will become the new return value without executing the remaining part of the function.
See #3184.
|
[5843]
|
johnjamesjacoby
|
Installation: When creating initial content, use the same `current_time( 'mysql' )` for all new posts.
This changeset prevents the related unit test from incorrectly failing by ensuring that no initial content is created 1 second after any other.
|
[5883]
|
netweb
|
Installation: When creating initial content, use different times for forum, topic, and reply post times.
This changeset builds on r5843 to allow improved tests in `test_bbp_create_initial_content()` of forum and topic last active times.
|
[5712]
|
netweb
|
Install/Update: Don't add reply titles in sample forum content `bbp_create_initial_content()`, reply title requirements were removed in r5177.
Props netweb. Fixes #2795
|
[5775]
|
johnjamesjacoby
|
Inserts: When inserting a forum/topic/reply, immediately update the new object so hierarchy is refreshed.
This commit addresses the last active post ID being incorrect after inserting topics and replies to a forum, and fixes a failing test (in `BBP_Tests_Core_Update::test_bbp_create_initial_content`).
See #2805.
|
[6477]
|
johnjamesjacoby
|
Inserts: Only prefix meta keys if not already prefixed when inserting forum/topic/reply.
|
[6756]
|
johnjamesjacoby
|
Inline documentation improvements from r6755.
|
[3309]
|
johnjamesjacoby
|
Inline doc fixes, whitespace clean-up.
|
[6115]
|
netweb
|
Indentation fixes, tabs, not spaces.
|