Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 17,226 through 17,250 (of 64,532 total)
  • Author
    Search Results
  • #156346
    Robkk
    Moderator

    @siddardha , @arpitg

    i think the plugin author should just incorporate this type of thing into their plugin.

    just tell them that you want more bbPress plugin integration to show topics/replies created on the user profile.

    they can probably add the little fancy dropdown/menu item and everything too.

    #156345
    Robkk
    Moderator

    @j0n4h

    I am using the loop-forums.php that’s provided on github for the hierarchicalloop-forums.php forum layout, if maybe that’s it?

    that file is not causing the issue.

    the file only affects the forum archive section , not the post count in the replies loop.

    the post count below the avatar is rendered because of the theme, you can see it on there bbPress forum demo on their site.

    http://theme-fusion.com/avada/forums/topic/hello-avada-users/

    contact your theme author and maybe tell them that there is a bug , or ask them how to remove their function for their post count so that you can just use Robin’s plugin.

    #156339

    In reply to: v2.5.2 for download?

    Robin W
    Moderator
    #156327
    Robin W
    Moderator

    ok, the post count is being out in by something called the bbps ranking system

    the line in the browser comes out as

    <div class=”bbps-post-count”>Post count: 0</div>

    The only reference I can find to this is in this topic

    (CSS Review Needed) Switching poster picture and link to UserPro

    where the plugin author talks about adding different bbpress templates, which add this line – in the example in the link above it shows as

    <div class="bbps-post-count"><?php printf( __( 'Post count: %s', 'Avada' ), bbp_get_user_reply_count_raw(bbp_get_reply_author_id()) ); ?></div>
    
    

    which of course references the avada theme !!!

    If Avada hasn’t asked you to change bbpress files, then I suspect that they might be using the same hook I use to make this appear – suggest you refer Avada back to this post, and ask then if they have a hook to

    do_action (‘bbp_theme_after_reply_author_details’) or can explain why that line appears

    #156325
    j0n4h
    Participant

    I originally deactivated all the plugins, but I have:

      bbPress – Private Replies
      bbPress – Report Content
      bbPress Enable TinyMCE Visual Tab
      bbPress Pencil Unread
      BuddyPress (would that affect it?)
      GD bbPress Attachments
      GD bbPress Tools

    They’re active again, however. I also have Fusion Core (the theme’s plugin, which they claim is not the problem). I reactivated Akismet, but deleted entirely the cache plugins.

    #156323
    j0n4h
    Participant

    @robin-w

    I am using the loop-forums.php that’s provided on github for the hierarchicalloop-forums.php forum layout, if maybe that’s it?

    https://github.com/robkk/bbPress-Hierarchical-Forum-and-Category-Layout

    #156322
    allyson9
    Participant

    Anyone else who might be able to help? It’s so strange… no links to the Forum anymore in the WP admin. Where can I see what path bbPress thinks it’s using?

    #156321
    j0n4h
    Participant

    Is it not a default feature? When I installed bbpress, it was already a feature from the start. I’ve contacted my Theme dev and they said:

    Hey Jonah,

    I’m not aware of Avada touching the post count code at all. I can see you have a thread open over at the bbPress forum:

    Post Count Incorrect, Repair Tools Don't Fix the Problem.

    I think it would be best to see what they have to say. Hopefully we can use the information they provide to find where the issue is coming from.

    Thanks!

    Ryan

    #156314
    arpitg
    Participant

    </div>
    <?php } ?>
    <p class=”bbp-user-topic-count”><?php printf( __( ‘Topics Started: %s’, ‘bbpress’ ), bbp_get_user_topic_count_raw($user_id) ); ?></p>
    <p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw($user_id) ); ?></p>
    </form>

    </div>

    #156312
    arpitg
    Participant

    hello Robin,

    When I copied this code above </form> tag
    <p class=”bbp-user-topic-count”><?php printf( __( ‘Topics Started: %s’, ‘bbpress’ ), bbp_get_user_topic_count_raw($user_id) ); ?></p>
    <p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw($user_id) ); ?></p>

    then find a syntax error
    Parse error: syntax error, unexpected ‘Started’ (T_STRING) in /home/cahiveco/public_html/wp-content/plugins/userpro/templates/view.php on line 110

    #156309
    Robin W
    Moderator
    #156308
    Robin W
    Moderator

    ok, I’d do two things

    1. move the code to above </form> line
    2. Try it with the following to force bbpress to take the id

    <p class=”bbp-user-topic-count”><?php printf( __( ‘Topics Started: %s’, ‘bbpress’ ), bbp_get_user_topic_count_raw($user_id) ); ?></p>
     <p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw($user_id) ); ?></p>

    `

    #156306
    siddardha
    Participant

    hey robin, here is the entire code:

    <div class=”userpro userpro-<?php echo $i; ?> userpro-id-<?php echo $user_id; ?> userpro-<?php echo $layout; ?>” <?php userpro_args_to_data( $args ); ?>>

    <?php _e(‘Close’,’userpro’); ?>

    <div class=”userpro-centered <?php if (isset($header_only)) { echo ‘userpro-centered-header-only’; } ?>”>

    <?php if ( userpro_get_option(‘lightbox’) && userpro_get_option(‘profile_lightbox’) ) { ?>
    <div class=”userpro-profile-img” data-key=”profilepicture”>profile_photo_url($user_id); ?>” class=”userpro-tip-fade lightview” data-lightview-caption=”<?php echo $userpro->profile_photo_title( $user_id ); ?>” title=”<?php _e(‘View member photo’,’userpro’); ?>”><?php echo get_avatar( $user_id, $profile_thumb_size ); ?></div>
    <?php } else { ?>
    <div class=”userpro-profile-img” data-key=”profilepicture”>permalink($user_id); ?>” title=”<?php _e(‘View Profile’,’userpro’); ?>”><?php echo get_avatar( $user_id, $profile_thumb_size ); ?></div>
    <?php } ?>
    <div class=”userpro-profile-img-after”>
    <div class=”userpro-profile-name”>
    permalink($user_id); ?>”><?php echo userpro_profile_data(‘display_name’, $user_id); ?><?php echo userpro_show_badges( $user_id ); ?>
    </div>
    <?php do_action(‘userpro_after_profile_img’ , $user_id); ?>
    <?php if ( userpro_can_edit_user( $user_id ) ) { ?>
    <div class=”userpro-profile-img-btn”>
    <?php if (isset($header_only)){ ?>
    permalink($user_id, ‘edit’); ?>” class=”userpro-button secondary”><?php _e(‘Edit Profile’,’userpro’) ?>
    <?php } else { ?>
    id_to_member($user_id); ?>” data-template=”edit” class=”userpro-button secondary”><?php _e(‘Edit Profile’,’userpro’); ?>
    <?php } ?>
    skin_url(); ?>loading.gif” alt=”” class=”userpro-loading” />
    </div>
    <?php } ?>
    </div>

    <div class=”userpro-profile-icons top”>
    <?php if (isset($args[‘permalink’])) {
    userpro_logout_link( $user_id, $args[‘permalink’], $args[‘logout_redirect’] );
    } else {
    userpro_logout_link( $user_id );
    } ?>
    </div>

    <?php echo $userpro->show_social_bar( $args, $user_id, ‘userpro-centered-icons’ ); ?>

    <div class=”userpro-clear”></div>

    </div>

    <?php if (!isset($header_only)) { ?>

    <?php
    // action hook after user header
    if (!isset($args[‘disable_head_hooks’])){
    if (!isset($user_id)) $user_id = 0;
    $hook_args = array_merge($args, array(‘user_id’ => $user_id, ‘unique_id’ => $i));
    do_action(‘userpro_after_profile_head’, $hook_args);
    }
    ?>

    <div class=”userpro-body”>

    <?php do_action(‘userpro_pre_form_message’); ?>

    <form action=”” method=”post” data-action=”<?php echo $template; ?>”>

    <input type=”hidden” name=”user_id-<?php echo $i; ?>” id=”user_id-<?php echo $i; ?>” value=”<?php echo $user_id; ?>” />

    <?php // Hook into fields $args, $user_id
    if (!isset($user_id)) $user_id = 0;
    $hook_args = array_merge($args, array(‘user_id’ => $user_id, ‘unique_id’ => $i));
    do_action(‘userpro_before_fields’, $hook_args);
    ?>

    <?php foreach( userpro_fields_group_by_template( $template, $args[“{$template}_group”] ) as $key => $array ) { ?>

    <?php if ($array) echo userpro_show_field( $key, $array, $i, $args, $user_id ) ?>

    <?php } ?>

    <?php // Hook into fields $args, $user_id
    if (!isset($user_id)) $user_id = 0;
    $hook_args = array_merge($args, array(‘user_id’ => $user_id, ‘unique_id’ => $i));
    do_action(‘userpro_after_fields’, $hook_args);
    ?>

    <?php // Hook into fields $args, $user_id
    if (!isset($user_id)) $user_id = 0;
    $hook_args = array_merge($args, array(‘user_id’ => $user_id, ‘unique_id’ => $i));
    do_action(‘userpro_before_form_submit’, $hook_args);
    ?>

    <?php if ( userpro_can_delete_user($user_id) || $userpro->request_verification($user_id) || isset( $args[“{$template}_button_primary”] ) || isset( $args[“{$template}_button_secondary”] ) ) { ?>
    <div class=”userpro-field userpro-submit userpro-column”>

    <?php if ( $userpro->request_verification($user_id) ) { ?>
    <input type=”button” value=”<?php _e(‘Request Verification’,’userpro’); ?>” class=”popup-request_verify userpro-button secondary” data-up_username=”<?php echo $userpro->id_to_member($user_id); ?>” />
    <?php } ?>

    <?php if ( userpro_can_delete_user($user_id) ) { ?>
    <input type=”button” value=”<?php _e(‘Delete Profile’,’userpro’); ?>” class=”userpro-button red” data-template=”delete” data-up_username=”<?php echo $userpro->id_to_member($user_id); ?>” />
    <?php } ?>

    <?php if (isset($args[“{$template}_button_primary”]) ) { ?>
    <input type=”submit” value=”<?php echo $args[“{$template}_button_primary”]; ?>” class=”userpro-button” />
    <?php } ?>

    <?php if (isset( $args[“{$template}_button_secondary”] )) { ?>
    <input type=”button” value=”<?php echo $args[“{$template}_button_secondary”]; ?>” class=”userpro-button secondary” data-template=”<?php echo $args[“{$template}_button_action”]; ?>” />
    <?php } ?>

    skin_url(); ?>loading.gif” alt=”” class=”userpro-loading” />
    <div class=”userpro-clear”></div>

    </div>
    <?php } ?>

    </form>

    </div>

    <?php } ?>

    </div>
    <p class=”bbp-user-topic-count”><?php printf( __( ‘Topics Started: %s’, ‘bbpress’ ), bbp_get_user_topic_count_raw() ); ?></p>
    <p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw() ); ?></p>

    #156304

    In reply to: How to start?

    Toni
    Participant

    Because of the intructions I got from the forum – I knew what to look for and found this:

    Step by step guide to setting up a bbPress forum – Part 1


    So I have now The Shortcode. I don’t want to even read the “other” method in detail.
    My opinion: I don’t understand why this set-up must be so laborious.

    #156303
    Toni
    Participant

    Somehow the menu is in order this time. And…

    I found what you were explaining to me, and the shortcode (what I was searching for):

    Step by step guide to setting up a bbPress forum – Part 1

    Thanks again, I knew exactly what to look for this time.

    #156302
    Toni
    Participant

    Oh, I have reinstalled bbPress to try again. Now my set-up is different. I will start a new thread.

    #156300
    2cats
    Participant

    I am using WP 4.0.1 and bbPress 2.5.4; forums are for members only so I can’t send you a link. I have topics and replies set to show 20; this limitation is also applying to my search results, even if there are more than 20 results for a search term, when I search I am told I’m viewing 20 of 20 found, with no option to see anything more. Is there a way around this? Have I missed a setting, or is there a code snippet I can slip in somewhere? Ideally I’d get 20 results per page, with pagination and the total number of results found. Any help would be greatly appreciated!

    #156297
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    then come back

    #156293
    relishstudio
    Participant

    Maybe this will help someone else who is having problems with forum pagination not working right and/or replies that don’t seem to show up…

    A client was reporting that some forum replies were taking hours to a day or more to appear in some topics on the website. I was able to confirm this by mirroring the site to my localhost; I could see the replies in the administrative section but they weren’t showing up on the front end of the site, and would only show up if I posted a bunch of additional replies to trigger a new page. It only happened on topics that reached the point of needing additional pages, and whatever value I set for replies-per-page in the settings had no effect. After debugging the BBPress query object, I noticed that the “posts_per_page” values were different from the settings I had configured for BBPress.

    I did a site-wide file search for the string “posts_per_page” and saw that the theme (Salient from Themeforest) had a function in functions.php that had added a filter for “pre_get_posts” and was hardcoding the “posts_per_page” variable to 12, which is the value I saw when dumping the BBPress query object. Once I set the BBPress replies-per-page setting to that value (12), pagination seemed to work and posts were showing up.

    Anyway… maybe this will help someone else with the same issue with their debugging.

    #156291

    In reply to: How to start?

    Toni
    Participant

    https://codex.bbpress.org/getting-started-with-bbpress/

    Odd that it takes a couple of links to get there.

    #156289
    Endo Sister
    Participant

    Hi,

    Yes today I am still seeing
    Warning: require(/home2/e559246/public_html/wp-content/plugins/bbpress/includes/forums/template.php) [function.require]: failed to open stream: No such file or directory in /home2/e559246/public_html/wp-content/plugins/bbpress/bbpress.php on line 310

    Fatal error: require() [function.require]: Failed opening required ‘/home2/e559246/public_html/wp-content/plugins/bbpress/includes/forums/template.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home2/e559246/public_html/wp-content/plugins/bbpress/bbpress.php on line 310

    When I try to activate the Plugin.

    #156288
    Robin W
    Moderator

    ok, many try and get links here by posing questions !

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    then come back

    #156284
    kmallahi
    Participant

    Hello,

    I hope i have successfully installed bbpress into wp .

    I can see the title page of the forums at http://dev.mysite.com/forums,

    but when i try to go to a particular forum or a topic, i get “Paged not found” error.

    I suspect there might be a problem with the templates. Or might this be something else. I didnt change any bbpress settings.

    I can see every forum or topic i create, but i cannot access their pages. Please help

    #156282

    In reply to: BBPress

    Robin W
    Moderator

    ok, it is just a warning – see https://bbpress.trac.wordpress.org/ticket/2309

    #156281
    siddardha
    Participant

    in userpro plugin templates/view.php file

    this has already been discused in the userpro forum, please take a look here

Viewing 25 results - 17,226 through 17,250 (of 64,532 total)
Skip to toolbar