| [3032]
|
johnjamesjacoby
|
Commit bomb, round 2. Similar to r3031, this includes a host of new functions for handling theme compatability for themes that do not explicitly support bbPress. Also introduces BBP_Shortcode class as handler for all shortcodes going forward.
|
| [3031]
|
johnjamesjacoby
|
Commit bomb of changes to bbp-twentyten to further abstract out template parts for improved shortcode usage and theme_compat for themes that do not explicitly support bbPress.
|
| [3030]
|
johnjamesjacoby
|
Update @since for bbp_setup_theme_compat()
|
| [3029]
|
johnjamesjacoby
|
Add theme_compat() function to main $bbp object to load the topic.js and bbpress.css from bbp-twentyten if the currently active theme does not explicitly add theme support for bbPress.
|
| [3028]
|
johnjamesjacoby
|
Introduce bbp_setup_theme_compat() function and action, which provide skeletal theme support for themes that do not explicitly support bbPress.
|
| [3027]
|
johnjamesjacoby
|
Fix activation notice to use current_theme_supports() and include a method to bypass the theme nag.
|
| [3026]
|
johnjamesjacoby
|
Clean up _includes() and add 'shortcodes' to the list of included files.
|
| [3025]
|
johnjamesjacoby
|
Fix bug where switching visibilities could cause a misalignment of hidden/private site values.
|
| [3024]
|
johnjamesjacoby
|
Add !is_user_logged_in() check to bbp_allow_anonymous() check in form-topic.php
|
| [3023]
|
johnjamesjacoby
|
Add theme support for bbPress in bbp-twentyten
|
| [3022]
|
johnjamesjacoby
|
Adjust capability checks on forum queries to show private forums but still prevent non-capable users from posting to them.
|
| [3021]
|
johnjamesjacoby
|
Update @since's in views widget. Fixes #1449.
|
| [3020]
|
johnjamesjacoby
|
Introduce views widget to show list of registered views in sidebar. Props !GautamGupta.
|
| [3019]
|
johnjamesjacoby
|
Whitespace fix in admin _setup_actions()
|
| [3018]
|
johnjamesjacoby
|
Add 'orphan' post status. See #1469.
|
| [3017]
|
johnjamesjacoby
|
When merging two topics together, the destination topic post_date cannot be after the source topic or any merged replies. Fixes #1502. Props !GautamGupta for original patch.
|
| [3016]
|
johnjamesjacoby
|
Tweak the forum, topic, and reply template loops to support hidden forums. This uses advanced meta_query's to restrict results based on the expected context, user capabilities, and forum visibility. Fixes #1470.
|
| [3015]
|
johnjamesjacoby
|
Add meta_query's to bbp_get_user_topics_started() to exclude hidden forums. See #1470.
|
| [3014]
|
johnjamesjacoby
|
Add meta_query's to topic and reply widget queries. See #1470.
|
| [3013]
|
johnjamesjacoby
|
Update forum visibility updater functions to add/remove forum_id from site meta arrays when appropriate.
|
| [3012]
|
johnjamesjacoby
|
Move 'bbp_register_textdomain' to priority 2 on 'bbp_init' action. Fixes #1497. Props !GautamGupta for original patch.
|
| [3011]
|
johnjamesjacoby
|
Pass the forums current visibility through to the functions responsible for changing them. This prevents querying post_meta and object cache for current visibility state, helpful for removing from private and hidden forum site meta.
|
| [3010]
|
johnjamesjacoby
|
Replace underscores in admin dashboard widget ID with hyphens. Move clearing br outside of update_plugins cap check to prevent display issues for normal users.
|
| [3009]
|
johnjamesjacoby
|
Add hooks to page-forum-statistics.php to allow it to be extended. Fixes #1499. Props !Nightgunner5 for original patch.
|
| [3008]
|
johnjamesjacoby
|
Improvements to forum visibility checking, template tags, and ensuring that template tag filters also pass the $forum_id for proper enhancement.
|
| [3007]
|
johnjamesjacoby
|
Better private forum support in single-forum.php and single-topic.php.
|
| [3006]
|
johnjamesjacoby
|
Fix duplicate referer field in topic/reply fieldsets if user has unfiltered_html capability.
|
| [3005]
|
johnjamesjacoby
|
Add missing <tbody> close tag to loop-forums.php
|
| [3004]
|
johnjamesjacoby
|
Add '_bbp_private_forums' and '_bbp_hidden_forums' to list of autoloaded site metas. These will be used later to assist in visibility based topic and reply queries.
|
| [3003]
|
johnjamesjacoby
|
Adjust forum visibility dropdown to work with new 'hidden' option. Pass $post->ID through metabox do_actions. Remove CSS comments in bbp-admin.php to prevent syntax highlighting errors in certain IDE's and web based syntax highlighting scripts.
|
| [3002]
|
johnjamesjacoby
|
Remove get_pages() usage from bbp_get_dropdown() and stick to using get_posts() regardless of post_type.
|
| [3001]
|
johnjamesjacoby
|
Suppress super stickies from no-replies template page.
|
| [3000]
|
johnjamesjacoby
|
Fix topic pagination on non single-forum and non-user pages by setting post_parent back to 0 after being set to 'any'.
|
| [2999]
|
johnjamesjacoby
|
In bp_has_topics(), check that $sticky_posts exist before attempting to loop through them.
|
| [2998]
|
johnjamesjacoby
|
Clean up forum visibility template tags. Include functions for checking each visibility state, as well as retrieving the raw value.
|
| [2997]
|
johnjamesjacoby
|
Introduce bbp_query_post_parent__in() function for future use with private and hidden forums. Props nacin.
|
| [2996]
|
johnjamesjacoby
|
Clean up forum type setting functions. Add function to support hidden forum visibility type. Remove unneeded $bbp global references. Fix incorrect variable name in bbp_update_forum_last_active_id().
|
| [2995]
|
johnjamesjacoby
|
Remove thumbnail and excerpt from custom post type supports arrays, and add revisions to forums. Topic/reply thumbnails and excerpts will make great plugins for themes that support this in the future.
|
| [2994]
|
johnjamesjacoby
|
Abstracts the add/remove capability functions to remove duplication. Removes 'edit_users' capability from Forum Moderator role as it's reserved for admin/super admin respectively. Fixes #1488. Props !GautamGupta for initial patch.
|
| [2993]
|
johnjamesjacoby
|
Fixes #1496. Documentation clean-up. Fix incorrect references to split/merge. Fix incorrect post_field usage where post_parent was used rather than post_type. Fix incorrect function usage for querying topic id's from a forum. Props !GautamGupta
|
| [2992]
|
johnjamesjacoby
|
Improve inline documentation in bbp_update_forum_last_reply_id() and remove unneeded empty variable check. Also cast some variables as integers when comparing their values to be safe.
|
| [2991]
|
johnjamesjacoby
|
Add ability to filter topics and replies on a per forum basis to match stand alone functionality.
|
| [2990]
|
johnjamesjacoby
|
Update '#topic-' ID hash to '#post-' for improved backwards compatibility with stand alone bbPress.
|
| [2989]
|
johnjamesjacoby
|
When splitting or merging topics, update the forum/topic meta values for each individual reply being moved. Fixes issue where reply meta values would fall out of sync when splitting or merging topics.
|
| [2988]
|
johnjamesjacoby
|
Fix incorrect variable used in bbp_update_reply_forum_id() causing _bbp_forum_id meta value to be set to incorrect value in certain conditions.
|
| [2987]
|
johnjamesjacoby
|
Limit single forum topic pagination end_size to 3, and add inline comment to $total bump.
|
| [2986]
|
johnjamesjacoby
|
Center vertical alignment of revision logs in topics and replies.
|
| [2985]
|
johnjamesjacoby
|
Clean up bbp_get_reply_url() and fix issue where trashed replies and view=all would cause malformed URLs.
|
| [2984]
|
johnjamesjacoby
|
Introduce bbp_reply_position() functions to help calculate reply permalinks and topic freshness links. Fixes #1495.
|
| [2983]
|
johnjamesjacoby
|
Fix issue where new replies were not updating '_bbp_last_reply_id' meta under certain circumstances.
|
| [2982]
|
johnjamesjacoby
|
Rename "#reply" ID to "#post' for easy backwards compatibility with stand-alone permalinks.
|
| [2981]
|
johnjamesjacoby
|
Remove existing references to forum_voice_count functions. Fixes #1494.
|
| [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.
|
| [2979]
|
johnjamesjacoby
|
Fix incorrect variable returned in bbp_has_topics() filter, and improve inline documentation.
|
| [2978]
|
johnjamesjacoby
|
Bail out of bbp_pre_get_posts if suppress_filters argument is set.
|
| [2977]
|
johnjamesjacoby
|
Rename $wp_query param in bbp_pre_get_posts to $posts_query to avoid conflict with $wp_query global.
Use $posts_query->get() in place of get_query_arg() to prevent errors in rare cases where $wp_query global is not set.
Fixes #1493 again.
|
| [2976]
|
johnjamesjacoby
|
Fix issue where post form values would disappear when editing or creating a new topic. Addresses topic portion of #1466.
|
| [2975]
|
johnjamesjacoby
|
Remove incomplete bbp_insert_topic() function
|
| [2974]
|
johnjamesjacoby
|
Full audit of user/topic/reply/view permalinks. Use $wp_rewrite->using_permalinks() method in place of $wp_rewrite->permalink_structure. See r2973
|
| [2973]
|
johnjamesjacoby
|
Do not include $wp_rewrite->front in user profile url. Fixes #1489.
|
| [2972]
|
johnjamesjacoby
|
Improve logic behind setting the current_forum/topic/reply_id global variables
|
| [2971]
|
johnjamesjacoby
|
More clean-up to bbp_pre_get_posts. Fixes #1450.
|
| [2970]
|
johnjamesjacoby
|
Adjustments to login and register forms to improve behavior and functionality.
Various documentation fixes.
Rename _bbp_topic_status meta to _bbp_status, and add migration routine to updater.
Sanity checks on $wp_query in bbp_pre_get_posts.
Fixes #1476, #1493. Props !GautamGupta for original diff.
|
| [2969]
|
johnjamesjacoby
|
Check for bbp_show_lead_topic() and adjust verbiage from "Replies" to "Posts" and show favorites/subscription links if set to false
|
| [2968]
|
johnjamesjacoby
|
Add support for bbp_show_load_topic() in bbp_get_topic_pagination() and adjust mid_size and end_size default values
|
| [2967]
|
johnjamesjacoby
|
Introduce functions, styling, and theme support for pagination links within individual topics while displaying the forum loop.
|
| [2966]
|
johnjamesjacoby
|
Fix hard coded post_type in bbp_admin_menu_order, and prepate separator skip routine for possible multiple separators.
|
| [2965]
|
johnjamesjacoby
|
Fix bug where sub forums would not be visible when created, as they lack the required postmeta values for topics/replies, and parent forums would not have updated subforum counts.
|
| [2964]
|
johnjamesjacoby
|
Take extra precautions to ensure admin menus are positions directly above 'Appearance' and set the menu_position of each post_type
|
| [2963]
|
johnjamesjacoby
|
Add has_archive and show_in_nav_menus support for post types in bbpress.php. Also adjust the menu_position to include proper numeric values rather than ineffective strings.
|
| [2962]
|
johnjamesjacoby
|
Fix bug where closed topics and replies were excluded from queries. Also add grey color to text of closed topics in forum view.
|
| [2961]
|
johnjamesjacoby
|
Revert previous admin menu separator sanity checks until it can be researched further.
|
| [2960]
|
johnjamesjacoby
|
Check the previous item for separation rather than the current item
|
| [2959]
|
johnjamesjacoby
|
Prevent double separators in certain conditions where other plugins may also be attempting to add them.
|
| [2958]
|
johnjamesjacoby
|
Update the admin-separator routines to play friendly with BuddyPress, Jetpack, and other plugins that directly modify the amin area menu order.
|
| [2957]
|
johnjamesjacoby
|
Carry over the view=all query arguments into other appropriate forum/topic/reply links on the forum pages. This eliminates the inconsistent user experience of asking to view trashed/spammed topics or replies, and being taken to pages where you cannot see those topics/replies.
|
| [2956]
|
johnjamesjacoby
|
Add some flair to the .form-allowed-tags in new topic and new reply forms.
|
| [2955]
|
johnjamesjacoby
|
Introduce supporting topic and reply functions for new bbp_show_lead_topic() functionality. Also use this new functionality in the bbp-twentyten theme.
|
| [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.
|
| [2953]
|
johnjamesjacoby
|
Fix incorrect inline documentation in bbp_new_reply_admin_handler()
|
| [2952]
|
johnjamesjacoby
|
Move revision log updaters from -template files to -function files with other updaters. Update phpDoc in functions that previously ran sanity updates if fields did not exist. Mark @todo's in places where sanity meta updates still exist, and mark for investigation for eventual removal.
|
| [2951]
|
johnjamesjacoby
|
Fix bug in bbp_update_forum_hidden_topic_count() where trashed topics would not update the hidden topic count.
|
| [2950]
|
johnjamesjacoby
|
Clean up bbp_topic_notices() and add ability for custom notices to be filtered.
|
| [2949]
|
johnjamesjacoby
|
Clean up some @todo's and add some missing inline documentation to bbp-topic-functions.php.
|
| [2948]
|
johnjamesjacoby
|
Limit topic drop down to most recent 50 topics when attempting to post a reply from within wp-admin, as this will not be the primary method of replying and loading all topics will very quickly lead to memory issues.
|
| [2947]
|
johnjamesjacoby
|
First pass at allowing topics and replies to be created via their respective "New" screens in wp-admin.
@todo - metaboxes to match new core functionalities
|
| [2946]
|
johnjamesjacoby
|
Make the updater check for version numbers greater than what is set in the DB. Alligator open to the left John; to the left.
|
| [2945]
|
johnjamesjacoby
|
Rejig the updater
|
| [2944]
|
johnjamesjacoby
|
Add filter to 'allowed_themes' to force the 'bbp-twentyten' theme to appear, even if not explicitly enabled via the network theme interface.
|
| [2943]
|
johnjamesjacoby
|
Change 'bbp-twentyten' theme from child to parent and include all of the standard twentyten theme files. Also wrap function_exists() checks around all functions in bbp-twentyten to allow them to be overloaded.
Remove the 'bbp_' prefix form/topic/reply post types and include a routine in the database updater to handle this. The new post_type's are 'forum', 'topic', and 'reply' respectively.
Rename 'bbp_topic_tag' taxonomy ID to 'topic-tag' and include a routine in the database updater to handle this.
Change underscores in theme files to hyphens and remove 'bbp' prefix where applicable to comply with WordPress file standards.
Update possible template file location options in bbp-general-functions.php for all standard template files. Include option for 'bbpress' or 'forums' subfolders inside the theme directory. This takes advantage of a known anomaly in the get_template_part() function that allows a subfolder to be passed.
|
| [2942]
|
johnjamesjacoby
|
Lighten the mood when editing a user, and use the light-blue .info styling instead of the yellow .message styling.
|
| [2941]
|
johnjamesjacoby
|
Revert part of r2940 and instead use bbp_is_forum() to check if 'any' or bbp_get_forum_id() should be used in default post_parent in bbp_has_topics()
|
| [2940]
|
johnjamesjacoby
|
Use get_posts() in bbp_has_topics() so stickies can try to hit the DB object cache. Also rejig the post_parent to use 'any' instead of '0' to avoid query conflicts, and set default $post_parent variable ahead of time.
|
| [2939]
|
johnjamesjacoby
|
Use 'any' for post_parent in bbp-widgets.php to avoid conflict with '0' value.
|
| [2938]
|
johnjamesjacoby
|
Set query names on forums and replies widgets to prevent conflicts with user profile pages.
|
| [2937]
|
johnjamesjacoby
|
Fix issue where topics widget would only show topics created by the author when viewing that users profile.
|
| [2936]
|
johnjamesjacoby
|
Fix incorrect field name in form-bbp_user_register.php in bbp-twentyten. Props Nightgunner5.
|
| [2935]
|
johnjamesjacoby
|
Rename the 'ignore_sticky_topics' flag to 'show_stickies' and reverse logic to default to true instead of false. This is more natural behavior in the logic that we are turning something off with the word 'false' rather than ignoring stickies with the word 'true'
|
| [2934]
|
johnjamesjacoby
|
Clean up the default topic status code in bbp_has_topics()
|
| [2933]
|
johnjamesjacoby
|
Add checks to supplemental topic and reply actions to make sure those actions are only called on those kinds of objects. Also perform sanity check on $args['post_parent'] before attempting to unset it in bbp_has_topics()
|