Skip to:
Content

bbPress.org


Ignore:
Timestamp:
09/25/2012 06:57:46 AM (14 years ago)
Author:
johnjamesjacoby
Message:

First pass at improving user profiles:

  • Sections: topics created, replies created, favorites, subscriptions, and edit.
  • Include template-parts, template-tags, functions, rewrite rules/tags, and primitive API's for new profile sections.
  • Tweak CSS for new functionalities.
  • See: #1939
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bbp-includes/bbp-theme-compatibility.php

    r4217 r4228  
    522522
    523523        // Single Topic
    524         } elseif ( bbp_is_topic_edit() || bbp_is_topic_split() || bbp_is_topic_merge() || bbp_is_single_topic() ) {
     524        } elseif ( bbp_is_topic_edit() || bbp_is_single_topic() ) {
    525525
    526526                // Reset post
     
    663663
    664664        // Profile View
    665         if ( bbp_is_single_user() ) {
     665        if ( bbp_is_single_user_edit() || bbp_is_single_user() ) {
    666666                ob_start();
    667667
    668668                bbp_get_template_part( 'content', 'single-user' );
    669 
    670                 $new_content = ob_get_contents();
    671 
    672                 ob_end_clean();
    673 
    674         // Profile Edit
    675         } elseif ( bbp_is_single_user_edit() ) {
    676                 ob_start();
    677 
    678                 bbp_get_template_part( 'content', 'single-user-edit' );
    679669
    680670                $new_content = ob_get_contents();
Note: See TracChangeset for help on using the changeset viewer.