| [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()
|
| [2932]
|
johnjamesjacoby
|
Bump version to 1.0.3 in 1.0.3 tag
|
| [2931]
|
johnjamesjacoby
|
Add BackPress svn:external to 1.0.3 tag
|
| [2930]
|
johnjamesjacoby
|
Tag bbPress 1.0.3 from 1.0 branch
|
| [2929]
|
johnjamesjacoby
|
Add sanity checks to _forum_id and _topic_id functions in bbp-reply-template.php. Add filter to bbp_is_reply_trash().
|
| [2928]
|
johnjamesjacoby
|
Unset $args['post_parent'] to prevent '0' value conflict with topics widget.
|
| [2927]
|
johnjamesjacoby
|
Add missing @since phpdoc to bbp_body_class function
|
| [2926]
|
johnjamesjacoby
|
Add specific classes to body_class. Fixes #1478.
|
| [2925]
|
johnjamesjacoby
|
Change 'Forums' to 'Forum' in forums loop template file.
|
| [2924]
|
johnjamesjacoby
|
Switch $topic_id to $forum_id in bbp_update_reply_forum_id()
|
| [2923]
|
johnjamesjacoby
|
Add ancestor walkers to update_reply functions for topic and forum
|
| [2922]
|
johnjamesjacoby
|
Clean up @todo's
|
| [2921]
|
johnjamesjacoby
|
Fix nested span on bbp_reply_admin_links() in loop-bbp_replies.php. Fixes #1455.
|
| [2920]
|
johnjamesjacoby
|
Update a forums subforum count when the forum_update function is called. Also adjust the subforum count update function to use bbp_forum_query_subforum_ids()
|
| [2919]
|
johnjamesjacoby
|
Use correct _last_active_time function. Props @wonderboymusic via Twitter.
|
| [2918]
|
johnjamesjacoby
|
Add function for updating the anonymous reply count of a topic. Uncomment new topic redirection.
|
| [2917]
|
johnjamesjacoby
|
Fix issue where profiles of user_login's with spaces or periods could not be viewed. Fixes #1475. Props Nightgunner5.
|
| [2916]
|
johnjamesjacoby
|
Basic WordPress 3.0 compat in bbp_get_title for taxonomy
|
| [2915]
|
johnjamesjacoby
|
Prevent fatal error on WordPress 3.0 installs from $wp_query not being setup before this loop is created.
|
| [2914]
|
johnjamesjacoby
|
Decouple bbp_is_ functionality from bbp_get_{post_type}_id functionality, and use correctly through-out. Add ability to show all forums regardless of post_parent, and fix forums widget to use this functionality correctly.
|
| [2913]
|
johnjamesjacoby
|
Do not load forums-loop template part if there are no subforums to show.
|
| [2912]
|
johnjamesjacoby
|
Clarify subscription notification email text. Props designsimply, hanni, westi. Fixes #1472.
|
| [2911]
|
johnjamesjacoby
|
Change subscription checkbox text if the post is the current users or someone else's. Fixes #1462.
|
| [2910]
|
johnjamesjacoby
|
Default $meta_value to null in bb_delete_usermeta() to play nicely with BackPress WP_User::delete_meta(). Props mdawaffe.
|
| [2909]
|
johnjamesjacoby
|
Add _bbp_forums_per_page option to autoloaded settings resulting in 1 less query per page load.
|
| [2908]
|
johnjamesjacoby
|
Fix @since and @param or bbp_update_forum
|
| [2907]
|
johnjamesjacoby
|
Abstract forum updating code out of bbp_update_topic_walker and into bbp_update_forum. Use that new function in the new bbp_move_topic_handler function, which handles the moving of a topic from one forum to another and makes sure the forum counts stay accurate.
|
| [2906]
|
johnjamesjacoby
|
SVN add bbp-update.php from previous revision
|
| [2905]
|
johnjamesjacoby
|
Normalize all post_meta values by removing the _forum, _topic, and _reply prefixes off of them where appropriate. There is no point in having them be unique to the post type as it only duplicates the code needed to perform requests. Future trimming to follow.
Introduce bbp-update.php file, which is used to update existing installations to the new meta_key names from this revision.
|
| [2904]
|
johnjamesjacoby
|
Add _bbp_db_version to autoloaded options, as we will need a method for future database updates.
|
| [2903]
|
johnjamesjacoby
|
Add _bbp_super_sticky_topics to bbp_add_options so it is autoloaded, reducing query count by 1 on each page load.
|
| [2902]
|
johnjamesjacoby
|
Breathing room
|
| [2901]
|
johnjamesjacoby
|
Switch bbp_get_breadcrumb to use get_post_ancestors() potentially saving a few queries in certain situations.
|
| [2900]
|
johnjamesjacoby
|
Various style improvements to reply and topic table row padding and borders.
|
| [2899]
|
johnjamesjacoby
|
Grammar fixes in warning messages in bbp-twentyten. Props scribu.
|
| [2898]
|
johnjamesjacoby
|
Quick post_id sanity check in anonymous_metabox.
|