Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 7,151 through 7,175 (of 64,430 total)
  • Author
    Search Results
  • #192978
    emgb_520
    Participant

    We have a few forums using bbPress on our site and I think there may be a bug.

    When you click on the time stamp under “Latest” for a particular forum, it is supposed to take you to that post, but sometimes it doesn’t. And sometimes when admin is logged out, the post doesn’t even show up when trying to go to it (even on the non-premium, unrestricted forums).

    Also, we have 2 of the 4 forums restricted because they are premium. When on the forum list page, clicking on the forum title of a premium forum goes to a restricted page. BUT when clicking on the timestamp of the latest post for that premium forum, it lets you see the thread. This isn’t supposed to happen because the forum is restricted.

    Please help! Thanks in advance!

    #192973
    injeqt
    Participant

    I’m using moderation tools for bbpress. Does anyone know how to allow users to “reply” before topics are made public? It looks like the topic has to be approved by an administrator before the reply box will appear. I’d like to allow them to reply before so they can add more content to the thread until our moderator has a chance to reply.

    #192971
    blackriverinc
    Participant

    After activating bbPress plugin:

    – no “Welcome” page appears
    – No “Forums” menu appears in admin bar
    – No “Forums” appears in Settings sub-menu
    – Any “Forum” activity from Dashboard, results in error: “Sorry, you are not allowed to edit posts in this post type.”
    – Administrator” accounts are given new role: Keymaster, but Keymaster role appears to have no Forums capabilities; adding capabilities does not change behavior described above.

    WordPress 4.9.5
    bbPress: 2.5.14-6684

    willallen83
    Participant

    Hi!

    I am trying to make any topics and replies submitted on the front end have a default category (I have extended the custom post type of bbPress to support categories). This works for everything submitted on the back end, but not everything submitted on the front end. I have played around with this a lot, and have not made any progress.

    I am using WordPress 4.9.5, bbPress 2.5.14 and the site I am working on (locked so this link probably won’t do any good) is https://gateway.aishasalem.com

        // adding possibilities to have categories for custom post types
        public function gt_custom_post_type_categories() {
          register_taxonomy_for_object_type( 'category', 'topic' );
          register_taxonomy_for_object_type( 'category', 'reply' );
        }
        add_action( 'init', 'gt_custom_post_type_categories', 11 );

    And this code to assign the categories as default when a post is saved / published. It works on the back end, but only partially on the front end.

        // setting default post catagory when saving
        public function gt_set_default_category( $post_id, $post, $update ) {
    
            // Slugs of the custom post types
            $slugs = array('topic', 'reply');
            // current post type
            $current_post_type = $post->post_type;
    
            // If this post isn't a custom posty type, don't update
            if ( !in_array($current_post_type, $slugs) ) {
              return;
            }
    
            // Sets the default category depending on the current post type
            switch ($current_post_type) {
              case 'topic':
                $default_category = 'livingroom-topics';
                break;
              case 'reply':
                $default_category = 'livingroom-replies';   // does not hook in on the fron end
                break;
              default:
                return;
            }
    
            // sets the default category
            $default_term = get_term_by('slug', $default_category, 'category');
            wp_set_object_terms(get_the_ID(), $default_term->term_id, 'category');
        }
        add_action( 'save_post', 'gt_set_default_category', 9, 3 );

    I have tried hooking into ‘bbp_new_reply’ but this doesn’t seem to help (maybe I am doing it wrong). Do you have any advice of how to do this? Where to hook into? If it should be a filter and a function of a different form (if so, please give as much info as possible, I am new to php wordpress and especially filters)?

    Thank you so much!!

    #192967

    Topic: New to bbPress

    in forum Installation
    kkmixs
    Participant

    Hi Friends

    I had recently started a blog on WordPress. Now I want to start a discussion froum that is fully compatiable with the installed wordpress. Right now, the option available with me is SMF forum ( this is because I am already using it for other website). But in this case, forum and website will work seprately.

    So, I have decided to drop the plan of SMF forum and look something similar to it and related to WordPress.

    To simply, I am looking for the forum which will get easily intergrated with my blog

    Of course, it should get fully integrated with the wordpress.

    Will bbpress with suffice my purpose. Please guide me in installing it on my wordpress. Sorry for the bad english. English is not my first language.

    #192965
    scare31125
    Participant

    Hello,
    I have a bbPress site. I want to change some role permission.
    1. Participant Role will be able to delete their post and topic.
    2. Annonymous user can delete their post and reply.
    For number 1. I tried to follow this post but i am very confused. I added this code to theme child function.php

    add_filter ('bbp_get_topic_trash_link', 'topic_dont_delete');
    add_filter ('bbp_get_reply_trash_link', 'reply_dont_delete');
    
    function topic_dont_delete( $args = '') {
    
    		// Parse arguments against default values
    		$r = bbp_parse_args( $args, array(
    			'id'           => 0,
    			'link_before'  => '',
    			'link_after'   => '',
    			'sep'          => ' | ',
    			'trash_text'   => esc_html__( 'Trash',   'bbpress' ),
    			'restore_text' => esc_html__( 'Restore', 'bbpress' ),
    			'delete_text'  => esc_html__( 'Delete',  'bbpress' )
    		), 'get_topic_trash_link' );
    
    		$actions = array();
    		$topic   = bbp_get_topic( bbp_get_topic_id( (int) $r['id'] ) );
    
    		if ( empty( $topic ) || !current_user_can( 'delete_topic', $topic->ID ) ) {
    			return;
    		}
    
    		if ( bbp_is_topic_trash( $topic->ID ) ) {
    			$actions['untrash'] = '<a title="' . esc_attr__( 'Restore this item from the Trash', 'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_topic_trash', 'sub_action' => 'untrash', 'topic_id' => $topic->ID ) ), 'untrash-' . $topic->post_type . '_' . $topic->ID ) ) . '" class="bbp-topic-restore-link">' . $r['restore_text'] . '</a>';
    		} elseif ( EMPTY_TRASH_DAYS ) {
    			$actions['trash']   = '<a title="' . esc_attr__( 'Move this item to the Trash',      'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_topic_trash', 'sub_action' => 'trash',   'topic_id' => $topic->ID ) ), 'trash-'   . $topic->post_type . '_' . $topic->ID ) ) . '" class="bbp-topic-trash-link">'   . $r['trash_text']   . '</a>';
    		}
    		
    		if ( bbp_is_topic_trash( $topic->ID ) || !EMPTY_TRASH_DAYS ) {
    		if ( bbp_is_user_keymaster()) {
    		$actions['delete']  = '<a title="' . esc_attr__( 'Delete this item permanently',     'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_topic_trash', 'sub_action' => 'delete',  'topic_id' => $topic->ID ) ), 'delete-'  . $topic->post_type . '_' . $topic->ID ) ) . '" onclick="return confirm(\'' . esc_js( __( 'Are you sure you want to delete that permanently?', 'bbpress' ) ) . '\' );" class="bbp-topic-delete-link">' . $r['delete_text'] . '</a>';
    		}
    		}
    
    				// Process the admin links
    		$retval = $r['link_before'] . implode( $r['sep'], $actions ) . $r['link_after'];
    
    		return $retval ;
    	}
    	
    	function reply_dont_delete( $args = '' ) {
    
    		// Parse arguments against default values
    		$r = bbp_parse_args( $args, array(
    			'id'           => 0,
    			'link_before'  => '',
    			'link_after'   => '',
    			'sep'          => ' | ',
    			'trash_text'   => esc_html__( 'Trash',   'bbpress' ),
    			'restore_text' => esc_html__( 'Restore', 'bbpress' ),
    			'delete_text'  => esc_html__( 'Delete',  'bbpress' )
    		), 'get_reply_trash_link' );
    
    		$actions = array();
    		$reply   = bbp_get_reply( bbp_get_reply_id( (int) $r['id'] ) );
    
    		if ( empty( $reply ) || !current_user_can( 'delete_reply', $reply->ID ) ) {
    			return;
    		}
    
    		if ( bbp_is_reply_trash( $reply->ID ) ) {
    			$actions['untrash'] = '<a title="' . esc_attr__( 'Restore this item from the Trash', 'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_reply_trash', 'sub_action' => 'untrash', 'reply_id' => $reply->ID ) ), 'untrash-' . $reply->post_type . '_' . $reply->ID ) ) . '" class="bbp-reply-restore-link">' . $r['restore_text'] . '</a>';
    		} elseif ( EMPTY_TRASH_DAYS ) {
    			$actions['trash']   = '<a title="' . esc_attr__( 'Move this item to the Trash',      'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_reply_trash', 'sub_action' => 'trash',   'reply_id' => $reply->ID ) ), 'trash-'   . $reply->post_type . '_' . $reply->ID ) ) . '" class="bbp-reply-trash-link">'   . $r['trash_text']   . '</a>';
    		}
    
    		if ( bbp_is_reply_trash( $reply->ID ) || !EMPTY_TRASH_DAYS ) {
    		if ( bbp_is_user_keymaster()) {
    		$actions['delete']  = '<a title="' . esc_attr__( 'Delete this item permanently',     'bbpress' ) . '" href="' . esc_url( wp_nonce_url( add_query_arg( array( 'action' => 'bbp_toggle_reply_trash', 'sub_action' => 'delete',  'reply_id' => $reply->ID ) ), 'delete-'  . $reply->post_type . '_' . $reply->ID ) ) . '" onclick="return confirm(\'' . esc_js( __( 'Are you sure you want to delete that permanently?', 'bbpress' ) ) . '\' );" class="bbp-reply-delete-link">' . $r['delete_text'] . '</a>';
    		}
    		}
    
    		// Process the admin links
    		$retval = $r['link_before'] . implode( $r['sep'], $actions ) . $r['link_after'];
    
    		return $retval ;
    	}

    But as I understood that, it was trashing post not deleting them. What I have missed? This code didnot worked for me. May be I have missed some steps.

    And for 2, I don’t know if its possible or not. Searched a lot but haven’t found any solution yet. My understanding is annonymous is not a role, nore a user. So how we can achieve that?

    Thank You

    #192954
    basico123
    Participant

    Hi,
    what I am looking is a button to put “like” or “dislike” in the post in bbpress forums as it would be a facebook publication with “Likes”. I understand that Jetpack not help in that sense.
    Thanks

    #192953
    iprg
    Participant

    Hello,

    I am building a BBpress forum for my clients using LearnDash Learning system… It is well integrated, but there is one big issue: I use WooCommerce, so their usernames are auto-generated from email during purchase. So then, they logins (and often names) are visible in forums, sometimes with the Avatar photos…
    So my question is: Is there a trick to fix this and anonymise, or simply to hide the user names in the forum to protect their privacy? Thanks a lot for any help! Jan

    #192950
    Brandon – Bsaweb
    Participant

    PHP Fatal error: Access level to vBulletin3::setup_globals() must be public (as in class BBP_Converter_Base) in /xxxxxxxxxxx/wp-content/plugins/bbpress/includes/admin/converters/vBulletin3.php on line 0, referer: http://xxxxxx/wp-admin/tools.php?page=bbp-converter

    #192946
    yusareba
    Participant

    I’m probably not the only one who experienced this.

    When using buddypress along with bbpress, users can create groups and have group forums. This is awesome, however In the forum index, it’s starting to get long as more and more buddypress group forums are being created.

    Is there anyway to set a max for visible # of groups in the index?

    Perhaps show the latest active ones?

    #192944
    Robin W
    Moderator

    This can be done, but requires you to be able to use FTP and edit a file

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/content-statistics.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/content-statistics.php
    bbPress will now use this template instead of the original
    and you can amend this.

    so open the file and you will see starting at line 17

    <dt><?php _e( 'Registered Users', 'bbpress' ); ?></dt>
    	<dd>
    		<strong><?php echo esc_html( $stats['user_count'] ); ?></strong>
    	</dd>

    remove this and save the file back to wp-content/themes/%your-theme-name%/bbpress/content-statistics.php

    #192943
    blreed89
    Participant

    I am using WP Courseware to sell courses and I want course participants to get access to a course forum for each course they take. When they sign up they should get access to the forums for the classes they paid for. Any ideas on how to do this?

    #192934
    yusareba
    Participant

    In reference to the widget, “(bbpress) Forums List: Forums”..

    Is there anyway to show all of the forums in a forum?

    By this I mean, show all forums in a parent forum?

    The widget asks for a Parent Forum ID: “0” to show only root – “any” to show all”

    I’ve been trying to find out how to get this to work, but I’m having no luck.

    #192931
    basico123
    Participant

    Hi,
    I am looking for a “Like button” or something similar for forums of bbpress. Would you recommend a plugin for it?
    Thanks

    #192929
    Alex Luft
    Participant

    Wow, looks like Automattic has really let bbPress become a stagnant piece of software and community. Perhaps it’s time to look for another forum.

    #192928
    dionadk
    Participant

    Robin, I installed the bbp-style-pack plugin. But there is not option to edit a single forum link. I saw options to change home link and forums link.

    I created a Single forum page with short code: [bbp-single-forum id=12]. I disabled the forums slug on the bread crumbs
    step 1: Home Page › Student Forum
    step 2: Home Page › Student Forum › Features of Site Wide Forum

    From here when I click on the student forum it redirects me to the student forum and not the page I created with the student forum short code in it.

    wordpress version: WordPress 4.9.5
    bbpress version: Version 2.5.14

    dionadk
    Participant

    I created a Single forum page with short code: [bbp-single-forum id=12]

    from the single forum page I navigate to one of the topics. when I click on the single forum page link it redirects me to the single forum but not to the page I created. I disabled the forums links in the bread crumbs. Is there a way to edit the link for the single forum so that I could point it the page I created.

    step 1: Home Page › Student Forum
    step 2: Home Page › Student Forum › Features of Site Wide Forum

    From here when I click on the student forum it redirects me to the student forum and not the page I created with the student forum short code in it.

    wordpress version: WordPress 4.9.5
    bbpress version: Version 2.5.14

    piccart
    Participant

    hello!

    I am having a problem with the oembed content cards when I try to link a forum topic. The preview fails and the oembed url pulls the entire page within the iframe rather than the preview..

    I thought it could have been a conflict with a plugin, but then I tried to link a post from this forum and the embed url didn’t work either…
    by instance this is a random post from this forum:

    Copy Link in Forum. WP logo inside

    and as you can see the embed endpoint is failing to serve the preview and serves the page itself within the iframe: https://bbpress.org/forums/topic/copy-link-in-forum-wp-logo-inside/embed/#?secret=haTqetxPLX

    We have the latest version of wp and bbpress, and I’ve been told that in the past the card was rendering correctly for forum topics too..

    Any help would be really appreciated!
    thanks in advance!

    #192922
    Brandon – Bsaweb
    Participant

    Hello everyone 🙂
    I am currently trying to migrate a vBulletin 3.8.1 to a BBpress.
    The import this goes well via the vBulletin 3 import tools but from a certain moment after about 20h of import that if no more progress?

    He’s always mooching to “Answer Conversion (363500 – 363599)”
    No error message or other:(

    Do you have any idea?
    Info about my vBulletin table // https://ibb.co/mJunoy

    #192920
    Robin W
    Moderator

    need a link to your site and an example, but

    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 twentyfifteen, and see if this fixes.

    Then come back

    #192918
    ashley41088
    Participant

    Hi Everyone, I am super frustrated with BBPress… I have been working on my forum and whenever anyone replies, the reply goes to the top of the page in a white box. And, whenever a new reply comes in, it replaces the previous reply at the top of the page with the new reply. I have the threading section of WordPress already enabled so I am confused on why the reply is even going there at all. PLEASE HELP ME!! I cant find any information on any previous questions on the blog here and nobody from wordpress has successfully been able to help me.

    here is a link as to what I am talking about.
    2018-05-09_1934

    #192914
    Galador
    Participant

    I set my forum and went to reorder them, I used 0, 5, 10, 15, etc to make sure I had enough spacing if I ever added more forums/categories. They all saved and show this updated order, but when I look in the frontend of the site, they still show up in the old order. I deleted bbPress, reinstalled and it was still showing. Cleared my cache, checked with other browsers and devices, still there. I deleted the forums so they don’t exist at all and they are still showing up…

    any ideas why I can’t reorder or edit them at all? I checked with the base 2017 theme as well.

    #192911
    Alex Luft
    Participant

    Hi folks,

    Our forum is getting spammed by bots pretty bad, to the tune of 200-300 new spam topics per day. It’s a battle to clean it every hour.

    We have Akismet enabled and it’s picking up some of the spam topics on the bbPress forum. I feel like if I mark more of the spam topics as spam, Akismet will do a better job. But here’s the catch.

    The bbPress moderation page doesn’t give me the ability to mark topics as spam in bulk. I can only mark new topics as spam one-by-one, which makes moderation extremely more tedious and time-consuming.

    Is there a way to mark topics as spam in bulk (selecting multiple topics, and using the moderation drop-down)? I currently my only options in the drop-down are “Move to Trash” and “Edit”. I can mark bulk spam comments on our WordPress blog as spam, but not with bbPress.

    bbPress Version: 2.5.8
    WordPress Version: 4.4

    Thanks so much for any and all help!

    #192910
    htchow
    Participant

    Hi there,

    I just installed bbPress on my site and I created a bbpress.php template based on a full width page template from my theme (thrivethemes).

    However, there is some weird CSS bugs on my forum place. How do I fix them?

    forum screenshot

    Really appreciate the help from this friendly community!

    Cheers.

    #192901
    atomicfilm
    Participant

    I solved it, well, someone far smarter than I has and I’ve found their answer.

    So, I didn’t realise, but you EITHER have nested replies OR thread pages, for BB Press.

    With my limited understanding, I’ve simply turned off nested replies (sadly).

    But, it does look like it’s possible for people to do both, if they’re a bit more advanced than me!

    https://wpup.co/bbpress-threaded-nested-replies-with-paging/

    Andy

Viewing 25 results - 7,151 through 7,175 (of 64,430 total)
Skip to toolbar