[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.
|
[2897]
|
johnjamesjacoby
|
Remove selected code from bbp_get_dropdown as it's no longer needed.
|
[2896]
|
johnjamesjacoby
|
Update topic labels to be more descriptive
|
[2895]
|
johnjamesjacoby
|
First pass at forum, topic, and reply count routines. In this first iteration, counts are purposely overly sensitive resulting in more hits to the database than ultimately will be necessary in the final iteration. The process of recounting and realigning last_active_id and last_active_time is made difficult by being restricted to using the post_parent column for post relationships. Future versions may use syncopated taxonomies, mptt, or some other method to lighten this load. This first pass also relies heavily on the WordPress API wherever possible, and only uses custom queries in an attempt to limit memory usage. There me additional benefits from sub-queries and/or self joins. Would love to have more eyes on this specifically.
|
[2894]
|
johnjamesjacoby
|
Change @sinces on bbp_author_link functions, and include additional code to support getting the author link and avatar when the post_type is unknown.
|
[2893]
|
johnjamesjacoby
|
Add bbp_is_topic_trash function. Clean up sticky sql query in bbp_has_topics.
|
[2892]
|
johnjamesjacoby
|
Add bbp_is_reply_trash function. Use bbp_is_topic_trash function in bbp_get_reply_admin_links to prevent manipulating replies from within a trashed topic, which greatly increases the risk of skewing topic and reply counts.
|
[2891]
|
johnjamesjacoby
|
Add bbp_get_public_child_ids function to retrieve an array of post_id's from any other post_id. Add 'bbpress' cache group to wp_cache_get calls so that cached values are actually returned.
|
[2890]
|
johnjamesjacoby
|
Fix issue where subforums were limited to 5
|
[2889]
|
johnjamesjacoby
|
Introduce hidden topic functions for viewing trashed topics inside the current forum. Add this ability to the forum description area.
|
[2888]
|
johnjamesjacoby
|
Show the forum of super sticky topics when outside of the forum the sticky belongs in.
|
[2887]
|
johnjamesjacoby
|
Fix verbiage in comment from r2886
|
[2886]
|
johnjamesjacoby
|
Add wp_cache_add_global_groups() to _setup_globals action to cache future custom queries.
|
[2885]
|
johnjamesjacoby
|
More renaming of last_active to last_active_time, this time in bbp-admin.php
|
[2884]
|
johnjamesjacoby
|
Remove reply and voice count from single-bbp_topic.php. It will be moved into the topic description.
|
[2883]
|
johnjamesjacoby
|
Some adjustments to bbp-topic-template.php. Allow capable users to view trashed or private topics on request. Use new author_link function in topic revisions. Do not return a no-break space in bbp_get_topic_admin_links.
|
[2882]
|
johnjamesjacoby
|
Switch position of template_notices in user-edit.php in bbp-twentyten theme
|
[2881]
|
johnjamesjacoby
|
Add avatar styling to topic revision log
|
[2880]
|
johnjamesjacoby
|
Validate forum and topic ID's in bbp_get_reply_topic_id and bbp_get_reply_forum_id functions
|
[2879]
|
johnjamesjacoby
|
More renaming of last_active to last_active_time, this time in bbp-wdigets. Also use enhanced bbp_reply_author_link function to include user gravatar.
|
[2878]
|
johnjamesjacoby
|
Adjustments to bbp-twentyten to use new functions and include updated styling for them.
|
[2877]
|
johnjamesjacoby
|
Adjust order by and direction of bbp_get_public_child_last_id
|
[2876]
|
johnjamesjacoby
|
Use more strict post_type check in bbp_get_forum_id. More renaming of last_active functions to last_active_time in bbp-forum-template.php. Introduce last_active_id functions. Introduce single forum description function.
|
[2875]
|
johnjamesjacoby
|
Use new bbp_author_link function in loop-bbp_forums.php, to show username and avatar of last forum post_id
|
[2874]
|
johnjamesjacoby
|
Introduce general author avatar functions for use with last_active_id in forums and topics.
|
[2873]
|
johnjamesjacoby
|
Swap voices and replies columns in loop-bbp_topics.php. Add more fancy author links with avatars and names, and use new bbp_author_link function
|
[2872]
|
johnjamesjacoby
|
Add more strict post_type check to bbp_get_topic_id. Add avatar to revision log. Add more fancy topic_author_link function to include avatar and/or name. Add single topic description function. More renames from last_active to last_active_time, and introduction of last_active_id functions
|
[2871]
|
johnjamesjacoby
|
Add more strict post_type check to bbp_get_reply_id. Add avatar to revision log. Add more fancy reply_author_link function to include avatar and/or name.
|
[2870]
|
johnjamesjacoby
|
Update forum functions with normalized counts and return values. Begin rename of last_active functions to last_active_time, and introduce last_active_id functions
|
[2869]
|
johnjamesjacoby
|
Use correct $parent_id variable name in bbp_get_public functions
|
[2868]
|
johnjamesjacoby
|
Add squiggly brackets around variables in query in bbp_check_for_duplicate. Add query functions for getting child count and last_id from any parent_id.
|
[2867]
|
johnjamesjacoby
|
Add $post_id param to bbp_is_ checks in bbp-general-template.php
|
[2866]
|
johnjamesjacoby
|
Capital P... Dangit! Props westi.
|
[2865]
|
johnjamesjacoby
|
Speeling fixes
|
[2864]
|
johnjamesjacoby
|
Add Retro Gravatar option. Fixes #1468. Props !JohnConners.
|
[2863]
|
johnjamesjacoby
|
Normalize tag management files. Use bb_die() where applicable. Swap out destroy_tag verbiage to comply with boolean delete_term results.
|
[2862]
|
johnjamesjacoby
|
When editing a topic/post, check for author_id() in bb_is_user_subscribed instead of the current_user. Fixes #1462.
|
[2861]
|
johnjamesjacoby
|
When editing a topic/post, hide subscription container for anonymous users.
|
[2860]
|
johnjamesjacoby
|
Add ability for capable users to edit anonymous topic/post user data. Fixes #1463.
|
[2859]
|
johnjamesjacoby
|
Fix some find/replace errors from r2858
|
[2858]
|
johnjamesjacoby
|
Rename topic_id, forum_id, and reply_id global vars to _post_type to more accurately describe what they are. Include template functions to retrieve those values, and use them through-out the project. Normalize component updater functions and remove surplus calculations from them. Temporarily unhook filters from split/join/deletion actions until new routines can be created to handle forum and topic recounts.
|
[2857]
|
johnjamesjacoby
|
Fix phpDoc in bbp_get_forum_voice_count
|
[2856]
|
johnjamesjacoby
|
Use correct author name function in replies widget
|
[2854]
|
johnjamesjacoby
|
Use correct _topic_ function to check user subscription status in form-bbp_reply.php in bbp-twentyten
|
[2853]
|
johnjamesjacoby
|
Check for valid topic and reply ID's on topic_author functions.
|
[2852]
|
johnjamesjacoby
|
Remove needless (int) cast in bbp_get_forum_subforum_count
|
[2851]
|
johnjamesjacoby
|
Cast return values as (int) where appropriate. Adjust _last_ functions to be more friendly with anonymous user data. Test some logic with _last_ forum/topic/reply where if reply_id does not exist, fall back to topic_id. Remove various strict empty string checks as they should no longer be needed.
|
[2850]
|
johnjamesjacoby
|
White noise in bbp_get_user_subscriptions
|
[2849]
|
johnjamesjacoby
|
Fix incorrect filter name on bbp_get_subscriptions_permalink
|
[2848]
|
johnjamesjacoby
|
Use API functions for forum topic/reply recounts. By doing this we're sacrificing performance to get more accurate counts specifically for subforum situations. This will probably need to be revisited in the future when a proper Walker can be used.
|
[2847]
|
johnjamesjacoby
|
Adjust the horizontal padding of numeric table cells.
|
[2846]
|
johnjamesjacoby
|
Fix spelling error in loop-bbp_topics. s/replie/reply
|
[2845]
|
johnjamesjacoby
|
No follow on all user links, and follow up with stripslashes for good measure.
|
[2844]
|
johnjamesjacoby
|
Let there be life! Show avatars for 'started by' post meta, and show last poster avatar and profile link in freshness columns. Swap out is_int checks for is_numeric in places where the value passed is numeric, but may be cast as a string from previous routines. Also introduce admin.dev.css file for further development of the green admin style.
|
[2843]
|
johnjamesjacoby
|
Update login widget to use correct url and link functions.
|