Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 20,251 through 20,275 (of 64,729 total)
  • Author
    Search Results
  • #147616
    quaffapint
    Participant

    Well – I did what I should have done at the beginning I disabled all plugins (related or not) and enabled them 1-by-1. It turns out it was indeed a plugin – PaidMembershipsPro.

    In the Advanced Settings of that plugin there’s a couple of settings that sound like they have nothing to do with bbpress, but after removing the ‘Filter searches and archives’ for members only setting the anonymous posts now show to anonymous users. I’ll have to determine the ramifications (if any) of that for other areas of the site.

    Hope this helps any future searchers.

    Sudar Muthu
    Participant

    With the recent bbPress update, the way notification is sent is changed. Earlier individual emails are sent to each people, but now only one email is sent with all the email address in bcc. I guess this is done to prevent email bottleneck. But this seems to have caused a issue in my setup.

    I use wpmandrill to send emails through the mandrill service. With the new change, the to and from address is changed to a default “do not reply” email address that is calculated using the current domain name. The code is present in the bbpress/includes/common/functions.php


    $do_not_reply = '<noreply@' . ltrim( get_home_url(), '^(http|https)://' ) . '>';

    So it becomes <nobody@domain.com>

    When this address is used as “to” address, the mandrill service thinks that it is an invalid email address because of the angle brackets.

    I went through the code, but there is no filter to change the $do_not_reply variable.

    #147614
    quaffapint
    Participant

    Hi,

    Odd indeed – it’s driving me batty trying to go through all the code and determine what function could be doing this.

    I’ve turned off any other bbpress related plugin I had, switched to standard Twenty Fourteen theme. I then go in as anonymous on a different browser, create a new topic and then I can’t even see the topic I just created (nor any other anonymous person’s topics).

    The topic gets created, looks fine and I can see it. It’s just anonymous users can’t see any anonymous posts.

    #147609
    Robkk
    Moderator

    solved my own problem

    found this

    Add “Resolved” to Closed Topics in bbPress

    instead of using function.php

    i threw this into loop-single-topic ,
    the way i have my topics arranged it shows below the title

    for closed label

    <?php
       $topic_id = bbp_get_topic_id();
       if ( get_post_type( $topic_id ) == bbp_get_topic_post_type() && bbp_is_topic_closed( $topic_id ) )
          echo '<span class="closed">[CLOSED]</span>';
    ?>

    for sticky label

    <?php
       $topic_id = bbp_get_topic_id();
       if ( get_post_type( $topic_id ) == bbp_get_topic_post_type() && bbp_is_topic_sticky( $topic_id ) )
          echo '<span class="sticky">[STICKY]</span>';
    ?>
    #147608
    quaffapint
    Participant

    Hi,
    I have the latest bbpress and have it set to allow anonymous users to post/reply. While they can post and they can see my replies to a thread (as admin), they can’t see their own replies.

    Anyway to allow anonymous users to see all posts, replies, and create new topics in a forum?

    Thanks.

    #147604
    Kaluh
    Participant

    Hi There,

    I’m working on my forum and i’m customizing my profile page(the one you can see other people’s reccords and number of posts)

    the only thing i get to see are:

    Forum Role
    Topics Started
    Replies Created

    the fields in the code look like:
    <p class="bbp-user-forum-role"><?php printf( __( 'Forum Role: %s', 'bbpress' ), bbp_get_user_display_role() ); ?></p>

    i’m just wondering how to show first/lastname or only lastname.

    hope you can help,

    Best regards,

    Kaluh

    #147603
    edgarpoe
    Participant

    Tried applying the code and give me warning after activating the plugin

    /* Plugin Name: BBPress Close Old Posts Description: Close BBPress 2.0+ posts that haven’t been updated in X days. Author: Raygun Version: 0.1 Author URI: http://madebyraygun.com Originally found here: https://wordpress.org/support/topic/plugin-bbpress-new-topic-notifications-new-reply-notications-too?replies=13 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ register_activation_hook(__FILE__, ‘bbpress_topic_scheduler’); add_action(‘bbpress_daily_event’, ‘bbpress_close_old_topics’); function bbpress_topic_scheduler() { wp_schedule_event(time(), ‘daily’, ‘bbpress_daily_event’); } function bbpress_close_old_topics() { // Auto close old topics $topics_query = array( ‘author’ => 0, ‘show_stickies’ => false, ‘parent_forum’ => ‘any’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => -1 ); if ( bbp_has_topics( $topics_query ) ) while( bbp_topics() ) { bbp_the_topic(); $topic_id = bbp_get_topic_id(); $last_active = strtotime( get_post_meta( $topic_id, ‘_bbp_last_active_time’, true ) ); if ($last_active < strtotime( ‘-60 days’) bbp_close_topic( $topic_id ); } } ?>

    #147602
    Robkk
    Moderator

    using most of the code structure that robin gave me from

    Display Topic Starter label around topic authors avatar in topic replies

    how do i do the same for topic status like sticky, supersticky , closed

    all i probably need to change from the code from the link is

    if (bbp_get_reply_author_id() == bbp_get_topic_author_id() ) {

    to something like

    if topic status = sticky

    i just dont know how to write that line correctly with the right code

    Any help?

    #147596
    Mareva
    Participant

    Hi!

    I’m just begining with Private Groups plugin (and even with wordpress!), that seems to be a great plugin to manage users permissions to access to bbpress forums.

    Just let me introduce my “configuration” in few words : I’m working with
    – 2 forums (A and B)
    – 2 groups (1 & 2)
    – Group 1 is authorised to work with both forum A and B.
    – Group 2 is only able to work with forum B.

    I have 2 questions about Private Groups behaviors :
    – SEARCH FUNCIONALITY : bpress search form or widget deal with all topics of all forums. I mean that the search functionnality does not take into account groups that are defined with Private Groups when displaying the results list. That’s true that a non authorised user can’t access to the detail of a topic (nor reply to it), but he can see all topics and even their content. Is there any solution to force the search functionnality to only deal with authorised combination forum/groups defined with Private Groups?

    – PARENT FORUM : maybe I’m wrong but the only way I’ve found to work with Private Groups is to define one parent forum (the father of all) and subforums. The point is I have no need of any parent forum. Is there anyway to keep all forums at the same level without define any parent forum?

    Thank you for any help or idea…

    mareva

    #147595
    Momo63zzz
    Participant

    Hi everyone
    I’m using bbpress 2.5.4 with buddypress 2.0.1 and theme Oblivion.

    Hi have problems with the bbpress extention.

    When i want to create a forum or a topic from the website, it need validation on the dashboard by saving the forum to see the new content…

    How can I resolve it?

    Thank you

    #147594
    sigwinstonwolf
    Participant

    Hi, i have reset the forum, and run import again.

    These are my selections:

    source platform: vbulletin3
    –database connections data–
    row limit: 100 row
    delay time: 1 minute
    convert users: checked
    restart: checked
    clean previous installation: checked

    log:

    – start conversion
    – no data to clean
    – user conversion (0-99)
    – user conversion (100-199)
    – cuser conversion ….
    – Delete the default password of WordPress users (1200 – 1299)
    – forum conversion (0-99)
    – calculation forum hierarchy (0-99)
    – conversion threads (0-99)
    – conversion threads (100-199)
    – conversion threads (…)
    – conversion threads (12600-12699)
    – No stickies to stick
    – No super stickies to stick
    – No tag to convert

    Repair any missing information: Continue (<- this is a link to /wp-admin/tools.php?page=bbp-repair)

    WordPress database error: [Table ‘vbulletincopy.tagthread’ doesn’t exist]
    SELECT convert(tagthread.threadid USING “utf8”) AS threadid,convert(tagthread.tagid USING “utf8”) AS tagid,convert(tag.tagtext USING “utf8”) AS tagtext FROM tagthread AS tagthread INNER JOIN tag AS tag USING (tagid) LIMIT 0, 100

    After this message i click “Continue” and run the “repair page” one at a time.
    All operations are successful except “Count the number of threads in which each user” has replied … Failed!

    No replies on forum. Only one replies for each thread.

    I have wordpress 3.9.1 and BBpress 2.5.3

    #147589
    stevendaily
    Participant

    I was able to get a custom taxonomy associated with topics only partially working with bbPress 2.6a and WP 3.8, but the performance of queries was terrible compared to using postmeta. A query using a custom taxonomy that took 3.8 seconds took only 0.01 seconds with the same information stored in postmeta. So performance needs to be taken into account.

    #147588
    BackpackersUnion
    Participant

    Two ideas.

    1. If using a multi-site, start a subdomain for bbPress and activate it on that site alone.

    2. Using a plugin called – https://wordpress.org/plugins/plugin-organizer/ As Diphda mentioned, bbPress loads on every page. This plugin can block any plugin from loading on pages where it is not required (for bbPress where there are no short codes or forums).

    The only draw back is your Admin panel will still be sluggish for those who are experiencing a similar lag, but visitors will experience faster load times.

    Hope this helps.

    #147587
    Robin W
    Moderator

    I found this code in my files, try this

    /*
    Plugin Name: BBPress Close Old Posts
    Description: Close BBPress 2.0+ posts that haven't been updated in X days. 
    Author: Raygun
    Version: 0.1
    Author URI: http://madebyraygun.com
    
    Originally found here: https://wordpress.org/support/topic/plugin-bbpress-new-topic-notifications-new-reply-notications-too?replies=13
    
    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
    You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    */ 
    
    register_activation_hook(__FILE__, 'bbpress_topic_scheduler');
    
    add_action('bbpress_daily_event', 'bbpress_close_old_topics');
    
    function bbpress_topic_scheduler() {
     wp_schedule_event(time(), 'daily', 'bbpress_daily_event');
    }
    
    function bbpress_close_old_topics() {
    	// Auto close old topics
    	$topics_query = array(
    		'author' => 0,
    		'show_stickies' => false,
    		'parent_forum' => 'any',
    		'post_status' => 'publish',
    		'posts_per_page' => -1
    	);
    	if ( bbp_has_topics( $topics_query ) )
    		while( bbp_topics() ) {
    			bbp_the_topic();
    			$topic_id = bbp_get_topic_id();
    			$last_active = strtotime( get_post_meta( $topic_id, '_bbp_last_active_time', true ) );
    			if ($last_active < strtotime( '-10 days') )
    				bbp_close_topic( $topic_id );
    		}
    }
    ?>

    change the -10 days to whatever you want

    Basically just create a file called say ‘close.php’ and put this code in it. Create a directory in your site

    wp-content/plugins/close

    and put the file in there

    then go into

    dashboard>plugins>installed plugins and activate it

    I haven’t tested this.

    #147579
    edgarpoe
    Participant

    Hi, I’m looking for any solution with regards to removing of forum posts to expire after 60 days?

    I tried applying the solution found in this thread

    expired topics


    But this code is untested, any insights?

    Any help would be appreciated!

    #147572

    In reply to: change forum sidebar

    Robin W
    Moderator

    this is a widget logic problem, but try

    !is_page(‘page_name’) || (is_single() && !is_bbpress())

    if not, then try the support page, but is not well responded to

    https://wordpress.org/support/plugin/widget-logic

    #147571
    metalzade
    Participant

    Hi,

    I’m trying to display the topics that the user created (the logged in user), The lack of bbPress documentation leaved me no choice than creating a topic on how to do it. Any thoughts on how to do this?

    #147570

    In reply to: change forum sidebar

    Mareva
    Participant

    Hi!
    Thank you for the !is_bbpress() code, that works perfectly with Widget Logic plugin.
    My trouble is: I’d like to specify more that one condition, e.g :
    !is_page(‘page_name’) || !is_bbpress()

    Unfortunatly, !is_bbpress code is not interpreted anymore when using this condition (the widget appears in the sidebar of all pages of the forum).
    Any idea about what I should do to make it work?

    dryan1144
    Participant

    Getting an error when posting a new topic, but only when debug mode is true in wp-config. Just want to make sure this isn’t an issue going forward. The topic does post when I revisit the forum, but the user is greeted with the following white screen error message:

    Notice: Undefined variable: user_id in /home/myuser/mydomain.com/wp-content/plugins/bbpress/includes/common/functions.php on line 1225
    
    

    Notice: Undefined variable: user_id in /home/myuser/mydomain.com/wp-content/plugins/bbpress/includes/common/functions.php on line 1231

    `Warning: Cannot modify header information – headers already sent by (output started at /home/myuser/mydomain.com/dev/wp-content/plugins/bbpress/includes/common/functions.php:1225) in /home/myuser/mydomain.com/dev/wp-includes/pluggable.php on line 1121

    This is on a clean installation with a fresh copy of bbpress 2.5.4. Zero plugins, zero bbpress template modifications.

    Ideas? Can anyone else duplicate?

    #147562
    Stephen Edgar
    Keymaster

    Most likely you need to make a copy of your themes page.php and rename it to bbpress.php and that should stop the featured image displaying.

    If that does not work I’d suggest submitting a support request to theme authors.

    #147560
    Stephen Edgar
    Keymaster

    Pedro,

    Sorry, I havn’t used WPML, I just see this issue constantly come up for those who use WPML.

    The following is on GitHub but I have no idea if it works, is up to date or works with the latest WPML.

    https://github.com/potsky/bbPress-Multilingual

    #147558

    In reply to: bbPress 2.5.4

    When a plugin is updated via WordPress’s Admin Interface

    • It is deactivated
    • New files are pulled down
    • It is reactivated

    Problem is, the bbPress Notify Spam plugin isn’t coded in such a way to fail gracefully when bbPress is not active. Thus when WordPress tries to reactivate bbPress, a fatal error occurs. Not because of bbPress, but because bbPress is temporarily not there, and bbPress Notify Spam tries to call bbPress functions.

    The fix is for that plugin author to use bbPress’s sub-actions and filters to include its files and execute code, and not call bbPress core functions without confirming bbPress is active previously in its call stack.

    Sorry y’all for the inconvenience, but there’s little we can do in bbPress core to prevent this type of thing.

    #147557
    Stephen Edgar
    Keymaster

    Take a look at @peterwsterling polls plugin:

    Best bbpress polls plugin

    #147556
    debi_c
    Participant

    HI,

    new to this plugin.. .so far so good!! Great actually!! but I’m having trouble
    1) understanding how to get the bbPress sidebar to show on my page without it showing on all the pages.

    2) I tried setting up a bbpress.php page but I’m seeing where to choose that… the dropdown for the templates isn’t showing it. I renamed one of the existing templates to bbpress.php …but it’s not available to choose.

    Not sure a link to the site would help since I have it set to maintenance mode…

    TIA for the help.

    Debi

    ps…theme is Mantra, latest versions of both WP and bbpress

    #147555
    Stephen Edgar
    Keymaster

    Thanks, that is a good thing, basically as your wp_posts table contains 12,878 records it looks like the importer didn’t import any replies, if it had your wp_posts table would be ~350,000.

    Presuming you are doing this on a test site I would suggest you reset bbPress (Tools-> Forums-> Reset bbPress) and delete the imported users along with all the previous imported forums, topics and replies and run the import again.

Viewing 25 results - 20,251 through 20,275 (of 64,729 total)
Skip to toolbar