Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 1,676 through 1,700 (of 6,788 total)
  • Author
    Search Results
  • #175870
    Robkk
    Moderator

    @scootsafe

    Since you enabled threaded replies, which has an issue with some mobile responsive styles because how they are by default. Try this custom CSS, or disable threaded replies and see if your forums have a better layout, though I am not sure how the mycred badges will react.

    #bbpress-forums div.bbp-reply-author a.bbp-author-name {
      display: block !important;
    }
    #175866
    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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

    #175823
    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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

    #175822
    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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

    #175818
    Blaze Miskulin
    Participant

    Fresh install of WordPress 4.5.2
    Fresh install of bbPress 2.5.9-6017
    Only other plugin: WP Spamshield
    Theme: Moon
    Site: GeekNiche.com
    All settings left at default.

    As Admin/Keymaster, I am unable to create new topics or reply to topics already posted, when in the forums. I can post a new topic from the dashboard.

    The error (when trying to post from the forums) reads:
    ERROR: You do not have permission to reply.

    To test, I created a new user with the “participant” role. That user can create new topics and reply to topics. It’s only the Keymaster who is forbidden from posting.

    This would appear to be a problem. 🙂

    #175786
    Robkk
    Moderator

    The last three items are probably added by some plugin that hooks into the registration form. bbPress’ registration form template uses the same hook as the WordPress default registration form, so any plugin that hooks into one will hook into the other.

    khunmax
    Participant

    The problem here is that, using the display widgets plugin, I can set content for all of the forum related pages in my site. However if a user visits their profile page, because the sidebar is empty, it displays the default search and archives insertion from WP.

    #175765
    Robkk
    Moderator

    Or another possible pinch point is the Tool’s kits option to remove css from non bbpress pages

    the bbp toolkit plugin just dequeues the bbPress default stylesheet if the page is not a bbPress one. Here is the function for that feature.

    function bbptoolkit_unqueue_bbp_scripts() {
    	if( ! is_bbpress() ) {
    		$bbptoolkit_rem_defstyle = get_option('bbptoolkit-rem-defstyle', false);
    		if ($bbptoolkit_rem_defstyle) {
    			wp_dequeue_style('bbp-default');
    			wp_dequeue_style('bbp-default-rtl');
    		}
    	}
    }
    add_action( 'bbp_enqueue_scripts', 'bbptoolkit_unqueue_bbp_scripts', 15 );

    This may not be the conflict as I think robins plugin doesn’t mess with the default stylesheet in bbPress. So it might be something else.

    #175755
    Themezly
    Participant

    I am working on a theme and need to deque all bbpress scripts and enque my own if I am on forum pages. This is what I used to start with

    	if( !is_admin() ){ 
    		/**
    		 *	Replace bbpress style with our own
    		 *  @internal
    		 */
    		function _thz_action_bbpress_style() {
    			
    			wp_dequeue_style( 'bbp-default' );
    			
    			if (is_bbpress()){
    				
    				wp_enqueue_style( THEME_NAME. '-bbpress' );	
    		
    			}
    			
    	
    		}
    		
    		if (function_exists('is_bbpress')){
    			add_action( 'wp_enqueue_scripts', '_thz_action_bbpress_style' );
    		}
    		
    		
    	
    	}

    issue with this is that is_bbpress() is not recognized on pages that use any bbpress shortcodes like

    [bbp-forum-index]

    Can someone please provide a working conditional that runs only on forum pages and not throughout the whole site. Thnx!

    fpradmin
    Participant

    I didn’t fix it, it’s just the page I created(using the short code), that I thought would hold the Forums. But apparently it just holds the first page, then once you click something it redirects to the injected instance of the Forums inside of the default Page, with the standard sidebar formatting. This is indicative of the way Hueman theme allows the bbpress forums to work. It works within the Global framework only, and won’t let me keep it on a Page I create. At least that’s the way it appears to be working, and I have seen other posts with the exact same issue, but it seemed everybody eventually had a different way to resolve it. I can’t seem to get anything to work.

    fpradmin
    Participant

    I’ve been lurking for a week now, and have tried multiple things, to force the Forums to show in Full Width, within the Hueman theme page template.

    I have created a bbpress.php page, and this allowed me to get rid of the sidebars, and shows the First Page of the Forums at full width(the way I want it), but when you click one of the Topics, it goes back to the default page template, and the space where the sidebars were, still exists, so the Forums are squished between two blank sidebars. How can I make the Forums/Topics pages spread across the full width of the page? I don’t want to see the sidebars while using the Forums.

    Also, I would like to increase the Font size in the Forums to make it more legible to Readers.

    I realize all of this is harder to do within the Hueman Theme because the Forums are injected into the default site template, with exception of the First Page(I created), and it may take some css to make it work. I’ve tried a few snippets of css I found in other posts, to no avail. I need some css help specifically with this Hueman theme. I’m not a developer, nor do I really understand child themes, and I’m currently not using any. I would prefer to edit custom css only, rather than my style.css, to avoid breaking things.

    Thanks for any help you can offer. FrustratedPaulRevere.com (Link to Forums is at the Top of the Page)

    #175672

    In reply to: smiley emoticons

    Robkk
    Moderator

    @khunmax WordPress has smilies and emoji included in it, but if you need a plugin to customize the images used for each text smiley :) or full text output :smile: , then use WP-MonaLisa. So as long as you just use custom images for the default full text and smiley text to output some custom smilies and images, it will fallback to the normal WP emoji, any custom ones will not fall back.

    https://codex.wordpress.org/Using_Smilies
    https://codex.wordpress.org/Emoji

    In the future you might need to use a search and replace plugin to revsolve any custom smiley outputs that might just output something like :custom_smiley:

    :) 🙂

    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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

    #175651
    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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.

    #175630
    akkuakku
    Participant

    Hi Robin,

    I am getting the following message while trying to access loop-forums.php from the mentioned link

    Fatal error: Call to undefined function do_action() in /home1/solarwind/public_html/wp-content/plugins/bbpress/templates/default/bbpress/loop-forums.php on line 12

    and when I went to the address mentioned in the error message, it says

    Oops! That page can’t be found.

    What is it that I may be doing wrong. The following is the website under question http://solarwindconsultants.com/

    #175613
    Robin W
    Moderator

    you should look at how this is working.

    The users are sent a link, which goes to a age with a strong password shown as default, but they are not asked to make a note of it, and if they just click reset, then this becomes their password, but then takes then to a login screen which asks for it again.

    This is not a bbpress issue, but how you have got wordpress set up.

    I registered fine, but I knew what to look for.

    #175554

    Topic: feeds bug

    in forum Troubleshooting
    DAM
    Participant

    Hello,
    I’ve just noticed that if current wp is using a language thats isn’t english, bbpress it translates his feeds pubdate into current wp language.
    for example: <pubDate>mer, 08 Giu 2016 13:21:23 +0000</pubDate>
    should be: <pubDate>Wed, 08 Jun 2016 13:21:23 +0000</pubDate>
    by default pubDate should be always in english, as default wp feeds
    Thank You

    Robin W
    Moderator

    ok, suspect it is a 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.

    #175534
    tian94
    Participant

    Hi guys my website has a forum called. “Characters and creatures”, at the moment when I post the short code to display the forum the default is “Forum” how can I get it to grab what the forum category is use that as the name instead. Thanks!

    http://postimg.org/image/xa5mh7z9d/

    #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

    #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.

    #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 ?

    #175433
    Robkk
    Moderator

    THe edit link goes away for participants after the alotted time in Settings > Forums.

    Other than that, there might be a php function that could filter the admin links for it to not appear at all, maybe check your theme for that if possible, by switching to a default theme temporarily.

    #175425

    In reply to: bbPress 2.5.9

    Robkk
    Moderator

    @mica123

    I already replied to your topic here about the bbpress.php file in your theme. As for the bbP Default theme package template files in bbPress, there were no changes from 2.5.8 to 2.5.9, 2.5.9 was mainly an update to a security issue involving at-mention functionality.

    In the future when the release of 2.6 happens, you would have to edit some files. It would be quite easy to

    1. compare the new 2.6 templates and compare them to your modified files
    2. make those changes to a copy of the 2.6 templates
    3. test them to see if everything is in working order in a testing environment
    4. update to bbPress 2.6 on your main production site (after taking a backup of course)
    5. and then push the template files to your child theme using FTP

    As for the text editor issue above from the other user, I think they just modified their footer.php file in their theme and accidentally removed <?php wp_footer(); ?>, and then that screwed up all the scripts and styles hooked into the footer.

Viewing 25 results - 1,676 through 1,700 (of 6,788 total)
Skip to toolbar