Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 11,176 through 11,200 (of 64,454 total)
  • Author
    Search Results
  • #175549
    Robkk
    Moderator

    Its probably some plugin hooking into the WordPress comment blacklist that is added a custom list of words to filter out. bbPress uses the WordPress comment blacklist too. Read this post I created awhile back to understand what could cause the issue on your site.

    https://bbpress.org/forums/topic/strange-problem-with-profanity/#post-174953

    #175547
    Robkk
    Moderator

    You can use this kind of custom CSS.

    #bbpress-forums .bbp-forums-list a {
      font-size: 14px;
    }
    
    #175544
    Pascal Casier
    Moderator

    Hi,
    I never checked the embedding, but for uploading files, the 3 products I know of are ‘GD bbpress Attachments’, ‘Image Upload for BBPress’ and ‘bbPress Multi Image Uploader’. Have a look if it would fit your needs. If you use BuddyPress as well, then there is also ‘BuddyPress Forum Editor’.

    For you second question, you could try my bbp-toolkit plugin that has this inside or check https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/#22-show%c2%a0only-1-revision-log-on-topics-and-replies

    Pascal.

    khunmax
    Participant

    I have my site configured with a login/out link in the primary menu (BAW login/logout menu) with the admin bar hidden using (hide admin bar from non admins). BBpress participants can click on there user name to visit their profile. The problem is that every level of user, including participants, can see and access the edit link in all other profiles including the Admin/keymaster.

    How can I remove a participants access to the edit page of other users profiles?

    Thanks very much for any assistance you can offer.

    Kind Regards

    Max

    #175524
    Robin W
    Moderator

    this topic describes the issue,

    http://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php

    but as it is pointing to a bbpress file, and we know that bbpress is not the issue (that code is working in many thousands of installations!

    which tends to suggest option 7 in the link, that some other error is causing this.

    Not sure I can help further !

    #175523
    lh800
    Participant

    I’ve tried that a few times without any success.

    Just noticed that I get another bbpress related error message when I post a new post:

    “Warning: in_array() expects parameter 2 to be array, null given in /home/salesage/public_html/wp-content/plugins/bbpress/includes/common/functions.php on line 1446

    Warning: Cannot modify header information – headers already sent by (output started at /home/salesage/public_html/wp-content/plugins/bbpress/includes/common/functions.php:1446) in /home/salesage/public_html/wp-admin/post.php on line 197

    Warning: Cannot modify header information – headers already sent by (output started at /home/salesage/public_html/wp-content/plugins/bbpress/includes/common/functions.php:1446) in /home/salesage/public_html/wp-includes/pluggable.php on line 1171”

    Does this message any clues on what might be wrong?

    Sorry for the back and forth – and thanks for your help so far.

    Best wishes
    Lars

    #175520
    123plm
    Participant

    Hi,
    In my topics pages, there are no header (like : Viewing 4 replies – 1 through 4 (of 4 total))
    And replies are not shown either, just one and then at the bottom there are a line for each reply with date, author and id, click on the id will not open the reply just go to answer’s form.
    I don’t understand how to change that to have usual topic page.
    I’m using WP 4.5.2 and BBPress 2.5.9, the theme is Newsmag from mythemeshop.
    Topic page : http://www.regroupementpplocal.com/topic/les-medias-parlent-de-nous/
    Thanks for your help
    P

    #175077
    Schoelje
    Participant

    [Warning]: DO NOT DO THIS ON A PRODUCTION DATABASE!
    My apologies for the caps, but this is really important 😉

    [Assumptions]: Debian/Ubuntu developmachine with phpMyAdmin.

    [Note]: Obviously I haven’t tested all Apache/MySql versions. This was done on SolydK (Debian Jessie). It is also not perfect. So, if somebody can improve on the code. Please, let me know.

    After you’ve setup a development machine, imported the phpBB data and checked that everything is working fine, you still need to convert the phpBB internal links like “viewtopic.php?p=####” or “viewtopic.php?t=####” to the slugs that are being used by bbPress.

    Let’s start!

    1) First you’ll need to install and compile lib_mysqludf_preg.
    Create a bash file install_preg.sh with this content:

    #!/bin/bash
    apt-get update
    apt-get install libpcre3-dev libmysqlclient-dev build-essential libmysqld-dev libpcre3-dev
    wget https://github.com/mysqludf/lib_mysqludf_preg/archive/testing.zip
    unzip testing.zip
    cd lib_mysqludf_preg-testing
    ./configure
    make  install
    make MYSQL="mysql -p" installdb
    service mysql restart

    Make it executable:
    chmod +x install_preg.sh

    And run it:
    ./install_preg.sh

    2) Install the stored procedures.
    In phpMyAdmin, select the database and the SQL tab.
    Paste the following codes separately, creating three stored procedures on your database:

    DELIMITER $$
    CREATE PROCEDURE sp_cleanup_replies()
    BEGIN
      -- declare cursor for reply url change
      DECLARE reply_cursor CURSOR FOR 
      SELECT DISTINCT old_post_id, REPLACE(<code>xkcom_posts</code>.<code>guid</code>, 'http://yoursite.com', '') AS new_url
      FROM (SELECT CAST(CONVERT(PREG_CAPTURE('/#p([0-9]+)/i', <code>post_content</code>, 1) USING UTF8) AS UNSIGNED) AS old_post_id FROM <code>xkcom_posts</code>) AS t1
      INNER JOIN <code>xkcom_postmeta</code> ON <code>xkcom_postmeta</code>.<code>meta_value</code> = old_post_id
      INNER JOIN <code>xkcom_posts</code> ON <code>xkcom_posts</code>.<code>ID</code> = <code>xkcom_postmeta</code>.<code>post_id</code>
      WHERE <code>xkcom_postmeta</code>.<code>meta_key</code> = '_bbp_old_reply_id'
      AND old_post_id IS NOT NULL
      ORDER BY old_post_id DESC;
      
      SELECT 'sp_cleanup_replies: START';
      
      -- Change posts
      OPEN reply_cursor;
      BEGIN
        DECLARE old_reply_id MEDIUMINT;
        DECLARE new_url VARCHAR(255);
        DECLARE search_string VARCHAR(255);
        DECLARE done INT DEFAULT FALSE;
        DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE;
    
        read_loop: LOOP
          FETCH reply_cursor INTO old_reply_id, new_url;
          IF done THEN
    	LEAVE read_loop;
          END IF;
          
          SET search_string = CONCAT('|[a-z0-9\.\-:\/&=\?\+]+#p', old_reply_id, '|i');
          SELECT CONCAT('sp_cleanup_replies: replace ', search_string, CONCAT(' with ', new_url));
          
          -- Uncomment the following line if you want to test the regexp
          -- SELECT CONVERT(PREG_REPLACE(search_string, new_url, <code>post_content</code>) USING UTF8) FROM <code>xkcom_posts</code> WHERE INSTR(<code>post_content</code>, CONCAT('#p', old_reply_id)) > 0; LEAVE read_loop;
          
          UPDATE <code>xkcom_posts</code> SET <code>post_content</code>= CONVERT(PREG_REPLACE(search_string, new_url, <code>post_content</code>) USING UTF8) WHERE INSTR(<code>post_content</code>, CONCAT('#p', old_reply_id)) > 0;
        
        END LOOP;
      END;
      CLOSE reply_cursor;
      
      SELECT 'sp_cleanup_replies: DONE';
      
    END$$
    DELIMITER ;
    DELIMITER $$
    CREATE PROCEDURE sp_cleanup_topics()
    BEGIN 
      -- declare cursor for topic url change
      DECLARE topic_cursor CURSOR FOR 
      SELECT DISTINCT old_topic_id, REPLACE(<code>xkcom_posts</code>.<code>guid</code>, 'http://yoursite.com', '') AS new_url
      FROM (SELECT CAST(CONVERT(PREG_CAPTURE('/t=([0-9]+)/i', <code>post_content</code>, 1) USING UTF8) AS UNSIGNED) AS old_topic_id FROM <code>xkcom_posts</code>) AS t1
      INNER JOIN <code>xkcom_postmeta</code> ON <code>xkcom_postmeta</code>.<code>meta_value</code> = old_topic_id
      INNER JOIN <code>xkcom_posts</code> ON <code>xkcom_posts</code>.<code>ID</code> = <code>xkcom_postmeta</code>.<code>post_id</code>
      WHERE <code>xkcom_postmeta</code>.<code>meta_key</code> = '_bbp_old_topic_id'
      AND old_topic_id IS NOT NULL
      ORDER BY old_topic_id DESC;
      
      SELECT 'sp_cleanup_topics: START';
      
      -- Change topics
      OPEN topic_cursor;
      BEGIN
        DECLARE old_topic_id MEDIUMINT;
        DECLARE new_url VARCHAR(255);
        DECLARE search_string VARCHAR(255);
        DECLARE done INT DEFAULT FALSE;
        DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE;
    
        read_loop: LOOP
          FETCH topic_cursor INTO old_topic_id, new_url;
          IF done THEN
    	LEAVE read_loop;
          END IF;
          
          SET search_string = CONCAT('|[a-z0-9\.\-:\/&=\?\+]+t=', old_topic_id, '|i');
          SELECT CONCAT('sp_cleanup_topics: replace ', search_string, CONCAT(' with ', new_url));
          
          -- Uncomment the following line if you want to test the regexp
          -- SELECT CONVERT(PREG_REPLACE(search_string, new_url, <code>post_content</code>) USING UTF8) FROM <code>xkcom_posts</code> WHERE INSTR(<code>post_content</code>, CONCAT('t=', old_topic_id)) > 0; LEAVE read_loop;
          
          UPDATE <code>xkcom_posts</code> SET <code>post_content</code>= CONVERT(PREG_REPLACE(search_string, new_url, <code>post_content</code>) USING UTF8) WHERE INSTR(<code>post_content</code>, CONCAT('t=', old_topic_id)) > 0;
    
        END LOOP;
      END;
      CLOSE topic_cursor;
      
      SELECT 'sp_cleanup_topics: DONE';
      
    END$$
    DELIMITER ;
    DELIMITER $$
    CREATE PROCEDURE sp_cleanup_missing()
    BEGIN
      -- declare cursor for reply url change
      DECLARE missing_cursor CURSOR FOR 
      SELECT DISTINCT old_post_id
      FROM (SELECT CAST(CONVERT(PREG_CAPTURE('|/&[a-z0-9=\+]+#p([0-9]+)|i', <code>post_content</code>, 1) USING UTF8) AS UNSIGNED) AS old_post_id FROM <code>xkcom_posts</code>) AS t1
      WHERE old_post_id IS NOT NULL
      ORDER BY old_post_id DESC;
      
      SELECT 'sp_cleanup_missing: START';
      
      -- Change posts
      OPEN missing_cursor;
      BEGIN
        DECLARE missing_reply_id MEDIUMINT;
        DECLARE search_string VARCHAR(255);
        DECLARE done INT DEFAULT FALSE;
        DECLARE CONTINUE HANDLER FOR NOT FOUND SET done = TRUE;
    
        read_loop: LOOP
          FETCH missing_cursor INTO missing_reply_id;
          IF done THEN
    	LEAVE read_loop;
          END IF;
          
          SET search_string = CONCAT('|[a-z0-9&=\+]+#p', missing_reply_id, '|i');
          SELECT CONCAT('sp_cleanup_missing: remove ', search_string);
          
          -- Uncomment the following line if you want to test the regexp
          -- SELECT CONVERT(PREG_REPLACE(search_string, '#', <code>post_content</code>) USING UTF8) FROM <code>xkcom_posts</code> WHERE INSTR(<code>post_content</code>, CONCAT('#p', missing_reply_id)) > 0; LEAVE read_loop;
          
          UPDATE <code>xkcom_posts</code> SET <code>post_content</code>= CONVERT(PREG_REPLACE(search_string, '#', <code>post_content</code>) USING UTF8) WHERE INSTR(<code>post_content</code>, CONCAT('#p', missing_reply_id)) > 0;
        
        END LOOP;
      END;
      CLOSE missing_cursor;
      
      SELECT 'sp_cleanup_missing: DONE';
      
    END$$
    DELIMITER ;

    3) Run the stored procedures from terminal.
    It is important that you check some example posts with links that need to change. First the post links like “viewtopic.php?some_parameters#p#####”, then topic links like “viewtopic.php?some_parameters&t=#####” and lastly the links to missing posts are removed.

    mysql -u root -p -e 'CALL sp_cleanup_replies()' my_database

    mysql -u root -p -e 'CALL sp_cleanup_topics()' my_database

    mysql -u root -p -e 'CALL sp_cleanup_missing()' my_database

    Now, check your posts and when you’re happy you can drop the stored procedures:

    DROP PROCEDURE IF EXISTS sp_cleanup_replies;
    DROP PROCEDURE IF EXISTS sp_cleanup_topics;
    DROP PROCEDURE IF EXISTS sp_cleanup_missing;

    Mod note: edited and changed dev site from contributer to yoursite.com

    #175468
    Robin W
    Moderator

    if it works with twentyfifteen and bbpress, but not your theme and bbpress, then it is a conflict between the two and down to your theme.

    do you get any other messages after this one?

    #175466
    Robkk
    Moderator

    The files from the bbpress folder can work in a theme folder called bbpress, and also could be at the root of the theme, its just recommended to keep things neat.

    It should be any bbP Default theme package template files in the “bbpress” folder that should also be in a “bbpress” folder, 1 css file should go in a css folder or 2 if you read right to left, and you can customize the javascript files in the js folder by putting it in a js folder in your child theme.

    The files in the extras folder (they are examples for other themes, but should work for some WordPress default theme, I think Twentytwelve?) and these should be in the root of your theme, with the bbpress.php file.

    #175464

    Topic: No Header

    in forum Troubleshooting
    123plm
    Participant

    HI,
    Sorry but I couldn’t find how to start a topic.
    I’ve got an error in my BBpress forum, when topic’s page shows, there is no header (with number of replies etc) and one can’t see or access to all replies, only the first 2.
    I don’t know how to set this up, could you help me ?
    Thanks
    the topic’s page : http://www.regroupementpplocal.com/topic/les-medias-parlent-de-nous/

    #175462
    Robin W
    Moderator

    ok, so with a site that has the twentyfifteen theme and bbpress as the only plugin, this happens?

    #175461
    mica123
    Participant

    Many thanks @robkk for your clear and detailed explanation as always. For now I won’t change the name of the file.
    Just a question which has been mentioned elsewhere but as far as I can tell not satisfactorily explained or resolved. The official instruction for modifying bbpress files is to create a bbpress folder in the child theme and put the files there. However that doesn’t work at all. I had to take the bbpress files out of that folder in my child theme and put them directly in the root of the child theme for them to work. Just thought I’d mention it here.

    #175460
    sasenzon
    Participant

    I deleted both CBOX and bbpress.
    Then I installed bbpress from the plugin page.
    The error is still happening.

    #175458
    sasenzon
    Participant

    Ok. I can deactivate it from the CBOX plugin dashboard but I can only delete it if I delete CBOX. Then bbpress shows up on the plugins dashboard of wp.

    #175456
    Robin W
    Moderator

    ok, I’d deactivate it, delete it (you won’t lose any data) and then upload 2.5.9 from the plugins site ie

    dashboard>plugins>install new and search for bbpress.

    then come back

    #175454
    sasenzon
    Participant

    I have posted your comments to their forum.
    I have been awaiting a reply from them for a few days.
    Feeling a bit desperate.

    This is the version they are using as per my reinstall:
    nstalling Plugin bbPress (1/1)

    Downloading install package from https://downloads.wordpress.org/plugin/bbpress.2.5.8.zip…
    Unpacking the package…
    Installing the plugin…
    Plugin installed successfully.

    #175453
    sasenzon
    Participant

    Hi @robin-w
    I deactivated and deleted CBOX.
    Then I reloaded it.
    It reloaded with the same settings so bbpress forum was initially deactivated.
    I could see the forum that was up before the error started.
    Then I updated and activated the bbpress forum and the error started again.
    All buddypress pages are not visible.
    Other pages on the site (non buddypress are fine).
    Please advise.
    Thanks.

    #175448
    Robin W
    Moderator

    suggest you reinstall bbpress, it may have errored on installing

    #175447
    sasenzon
    Participant

    Thank you. @robin-w
    I did all of this.
    The only plugin that causes it is bbpress forum.

    #175445
    randrcomputers
    Participant

    Interesting. I did disable all plugins and seems to be a bbpress issue?
    I do allow subscribe to topic and even installed AsynCRONous bbPress Subscriptions plugin
    oddly the only thing that seems to “help” is throttle posting every setting to “1” that seems to cut submitting down to around 6-12 seconds but that is still way to long.
    I have wordfence installed and don’t think that scans anything during a post?
    Also have wangaurd installed would need to check settings on that but don’t seem to be cause of issue

    #175444
    rblea24
    Participant

    I’m using MemberPress, BBPress and BuddyPress. I want the public to see all forums on this page: https://www.goalsarecool.com/forums/ However, when a non-member clicks on one of the Forums, I want them to see a message that says Sorry! This content is for members only. Please login or become a member to view this content.

    Can someone please help me understand how to do this?

    Thanks in advance!
    Blake

    #175441

    Topic: Permalinks Problemes

    in forum Showcase
    blinkix
    Participant

    Hello guys
    I work on a wp website with Avada themes and in a part a the website i using a forum with BBpress and BuddyPress.
    But i’m using category in a other part of the website and when i fix permalink in other things than default setting the categoy don’t work…
    What could i do ?

    Phil
    Participant

    I’m using bbpress plugin and when someone creates a topic, replies to a topic, tries to delete a topic we are redirected to /wp-admin.

    #175438
    Robin W
    Moderator

    hmmm…

    not really – normally this is caused by white space in a file – you haven’t edited any files have you?

    Suggest you deactivate, delete and re-install bbpress plugin. You will not lose any data or settings.

Viewing 25 results - 11,176 through 11,200 (of 64,454 total)
Skip to toolbar