Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 1,401 through 1,425 (of 6,788 total)
  • Author
    Search Results
  • #183503
    vikefans
    Participant

    Hello I am interested in setting up bbpress but I already have a forum software that is using the page named Forums. Is this going to cause problems or can I set the default page to use as a different page? Say Forum instead?

    #183298

    In reply to: Language

    Roman Matovsky
    Participant

    I use last version. And I downloaded from here https://translate.wordpress.org/projects/wp-plugins/bbpress/stable/ru/default
    But problem is: files shouldn’t be here /wp-content/languages/bbpress/ , files should be here /wp-content/languages/plugins/
    Change instruction please https://codex.bbpress.org/getting-started/bbpress-in-your-language/

    #183295

    Topic: Query error

    in forum Plugins
    kbaldac
    Participant

    We are running WordPress 4.7.3 with bbpress 2.5.12 at http://one-name.org. This mysql error started appearing last night when accessing any forum, topic or reply. I believe it relates to the ‘AND ((()))’ clause:

    Apr 06, 13:03:46
    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘))) AND ggx_posts.post_type IN (‘topic’, ‘reply’) AND (ggx_posts.post_status = ‘ at line 1 for query SELECT ggx_posts.* FROM ggx_posts FORCE INDEX (PRIMARY, post_parent) WHERE 1=1 AND (ggx_posts.ID = 29822 OR ggx_posts.post_parent = 29822) AND ((())) AND ggx_posts.post_type IN (‘topic’, ‘reply’) AND (ggx_posts.post_status = ‘publish’ OR ggx_posts.post_status = ‘closed’ OR ggx_posts.post_status = ‘retained’ OR ggx_posts.post_author = 5528 AND ggx_posts.post_status = ‘private’ OR ggx_posts.post_author = 5528 AND ggx_posts.post_status = ‘hidden’) ORDER BY ggx_posts.post_date ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), apply_filters(‘template_include’), WP_Hook->apply_filters, call_user_func_array, bbp_template_include, apply_filters(‘bbp_template_include’), WP_Hook->apply_filters, call_user_func_array, bbp_template_include_theme_compat, BBP_Shortcodes->display_topic, bbp_get_template_part, bbp_locate_template, load_template, require(‘/plugins/bbpress/templates/default/bbpress/content-single-topic.php’), bbp_has_replies, WP_Query->__construct, WP_Query->query, WP_Query->get_posts

    #183292

    In reply to: Language

    Roman Matovsky
    Participant

    Didn’t work 🙁
    I have /wp-content/languages/ So, I created /wp-content/languages/bbpress/
    I dowloaded .PO from here https://translate.wordpress.org/projects/bbpress/2.4.x/ru/default
    Changed what I need. Saved as bbpress-ru_RU.po Compilated to .MO and put both (PO and MO) to /wp-content/languages/bbpress/ (bbpress-ru_RU.po and bbpress-ru_RU.mo)
    I even clean cash. But nothing.
    Help me please.

    angrywarrior
    Blocked

    1.) I have tested and deactived all plugins, but there is no difference. BBpress just throws 404 on all child forums.

    2.) i have tested with permalinks. Nothing works except for “default”, then it finds the sub forums and displays them all other permalink modes/options fails.

    3.) I have checked .htaccess and cannot find anything special that could make a difference. I haven’t changed anything for sometime. It (bbpress) has worked fine until now.

    4.) I’m using the latest version of wordpress, bbpress & buddypress.

    Any idea what could be worng here? I would appreciate anything that would point me in the right direction!

    Thanks!

    #183267

    In reply to: Language

    Pascal Casier
    Moderator

    Hi,
    bbPress translation is centralized here: https://translate.wordpress.org/projects/wp-plugins/bbpress/stable/ru/default

    If you want to propose a new translation so everybody in the world that uses it in Russian gets your update (when it gets approved), then you can do that using the above link.

    If you only want to change it on your local installation, you can read the codex on https://codex.bbpress.org/getting-started/bbpress-in-your-language/

    expectancy
    Participant

    Sharing this here in case anyone else has this issue. It’s a combination of using bbPress with either the bbPress Toolkit or the code snippet to use the TinyMCE editor in place of the standard editor.

    When using the TinyMCE editor, clicking “Reply” to a thread (using nested threads) would move the reply box to be under the thread, but the box itself loses the text area so you can’t type anything in.

    The workaround is to remove and reenable the TinyMCE instance. In the bbpress/templates/default/js/reply.js file, add these two lines to the “try” block (line 38):

    tinymce.get(‘bbp_reply_content’).remove();
    tinymce.execCommand(‘mceAddEditor’, false, ‘bbp_reply_content’);

    HW
    Participant

    Hi There,

    My client had reported a strange issue that started recently. If I navigate to the forum page, then login to WP, the WP admin bar displays at the top as normal. When I navigate back to the forum page after logging in, the admin bar does not show up on this page only until I refresh the page. At first I thought it was a caching issue with a Autoptimize cache plugin but it still occurs after I deactivate.

    There is an error logging for bbPress repeatedly:
    [04-Apr-2017 17:56:26 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘))) AND hn09m16p3_posts.post_type IN (‘topic’, ‘reply’) AND (hn09m16p3_posts.po’ at line 1 for query SELECT hn09m16p3_posts.* FROM hn09m16p3_posts FORCE INDEX (PRIMARY, post_parent) WHERE 1=1 AND (hn09m16p3_posts.ID = 8481 OR hn09m16p3_posts.post_parent = 8481) AND ((())) AND hn09m16p3_posts.post_type IN (‘topic’, ‘reply’) AND (hn09m16p3_posts.post_status = ‘publish’ OR hn09m16p3_posts.post_status = ‘closed’ OR hn09m16p3_posts.post_status = ‘reported’ OR hn09m16p3_posts.post_status = ‘acf-disabled’ OR hn09m16p3_posts.post_author = 217 AND hn09m16p3_posts.post_status = ‘private’ OR hn09m16p3_posts.post_author = 217 AND hn09m16p3_posts.post_status = ‘hidden’) ORDER BY hn09m16p3_posts.post_date ASC made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), apply_filters(‘template_include’), WP_Hook->apply_filters, call_user_func_array, bbp_template_include, apply_filters(‘bbp_template_include’), WP_Hook->apply_filters, call_user_func_array, bbp_template_include_theme_compat, BBP_Shortcodes->display_topic, bbp_get_template_part, bbp_locate_template, load_template, require(‘/plugins/bbpress/templates/default/bbpress/content-single-topic.php’), bbp_has_replies, WP_Query->__construct, WP_Query->query, WP_Query->get_posts

    I used the repair forums tools one by one and now all the forums/topic/replies content is not displaying but the count is correct for each forum/topic, when I go into any of the forums/topics it says “Oh bother! No topics found here”.

    I’m currently setting up a test site to strip it down and see if I can find the cause but I wanted to post this to make sure it isn’t a general bbPress issue with the SQL statement. Any help would be appreciated.

    Wordpress version: 4.7.3
    bbPress version: 2.5.12

    Thanks!

    #183139
    akira010203
    Participant

    wp-config and .htaccess no. It’s the default one generated by wordpress.

    About php.ini and php-config, I don’t have these files and I’m on a shared hosting.

    #183133

    In reply to: Text output error

    Pascal Casier
    Moderator

    Hi,
    I tried several CSS hacks but did not manage. I suspect something in your theme is causing this. As a test could you switch to a default theme (like twenty sixteen) ? If it then works fine, you will have to get support from the theme author.

    #183126
    guybrushpixelwood
    Participant

    If somebody stumble upon the same problem here is a solution to get Wp PostRatings Plugin Stars into bbpress topics:

    wp-content/plugins/bbress/templates/default/bbpress/loop-single-reply.php <–

    Search for the line

    <?php bbp_reply_admin_links(); ?>

    and place this under it:

    <span class="bbp-admin-links">
    		<?php if(function_exists('the_ratings')) { the_ratings(); } ?>
     </span>

    😀

    #183110
    gpdesign93
    Participant

    I am also anxious to learn how to do this. I’d settle for learning how to customize the default bbpress pages, if it’s not possible to redirect. This seems extremely fundamental, but I can’t find any answers.

    #183075

    In reply to: bbp_reply_admin_links

    theredeclipse
    Participant

    Tho still trying to figure out how to replace default classes.

    Code in BBpress:

    			// Link class
    			$link_class = ' class="bbp-author-' . esc_attr( $r['type'] ) . '"';
    
    			// Add links if not anonymous and existing user
    			if ( empty( $anonymous ) && bbp_user_has_profile( bbp_get_reply_author_id( $reply_id ) ) ) {
    
    				// Assemble the links
    				foreach ( $author_links as $link => $link_text ) {
    					$link_class = ' class="bbp-author-' . $link . '"';
    					$author_link[] = sprintf( '<a href="%1$s"%2$s%3$s>%4$s</a>', esc_url( $author_url ), $link_title, $link_class, $link_text );
    				}

    Hook:

    function hw_get_reply_author_link($link_class) {  
      $link_class = preg_replace('/ class="bbp-author-"/','/ class="myclass" /',$link_class);  
      return $link_class;  
    }  
    add_filter('bbp_get_reply_author_link','hw_get_reply_author_link'); 

    Cant make this work. Well output itself works as should, but it doesn’t replace bbp-author- to myclass. Can you tell me what’s wrong with it?

    #183064
    cocreationcoaching
    Participant

    In BBPress if no role is found, it defaults to Member. I found that much in the code.

    I solved it though. It wasn’t working as long as my code was in my theme’s functions.php. I had to actually add it to a custom plugin for it to work. Not sure why this was.

    #182997
    Saravanan
    Participant

    One Month. Still i did not get solution. Any MyBB Intelligent is there ? Help me Please

    Repair any missing information: ContinueConversion CompleteNo threaded replies to convertNo anonymous reply authors to convertNo replies to convertNo favorites to convertNo topic subscriptions to convertNo topic tags to convertNo closed topics to closeNo super stickies to stickNo stickies to stickNo anonymous topic authors to convertNo topics to convertNo forum subscriptions to convertNo forum parents to convertNo forums to convertNo passwords to clearNo users to convertStarting ConversionRepair any missing information: Continue
    WordPress database error: [Specified key was too long; max key length is 1000 bytes]
    CREATE TABLE wp_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default ‘0’, meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join (meta_key(191), meta_value(191)) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
    No data to cleanStarting ConversionRepair any missing information: Continue
    WordPress database error: [Specified key was too long; max key length is 1000 bytes]
    CREATE TABLE wp_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default ‘0’, meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join (meta_key(191), meta_value(191)) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
    No data to cleanStarting ConversionRepair any missing information: ContinueConversion CompleteNo threaded replies to convertNo anonymous reply authors to convertNo replies to convertNo favorites to convertNo topic subscriptions to convertNo topic tags to convertNo closed topics to closeNo super stickies to stickNo stickies to stickNo anonymous topic authors to convertNo topics to convertNo forum subscriptions to convertNo forum parents to convertNo forums to convertStarting Conversio

    #182989

    Topic: 502 Error

    in forum Troubleshooting
    la818
    Participant

    Hello, I’m on WordPress 4.7.3 and BBPress Version 2.5.12. Site is still in development and not yet live.

    I have a large number of forums (around 35k). Some of the forums work fine to post topics to, others are throwing a 502 error. The topics still post to the forum regardless of the error, but the page does not load upon clicking the “Submit” button. If I stop the page load almost immediately after posting a topic and re-navigate to the specific forum where I was posting the topic, or wait for the page load to throw the 502 error and then re-navigate, the topic always successfully posts regardless of the error.

    I have spent hours with WP Engine support and after thorough investigation, disabling all plugins, switching the theme to a default theme, the server is still responding with a 502 and I’ve been told it’s an issue with BBPress. They told me to mention my database contains the following number of rows as it may be helpful:

    Table rows | Table
    465283 | wp_postmeta
    34858 | wp_posts

    Any help would be immensely appreciated!

    #182834
    Stefan Sebechlebsky
    Participant

    I am experiencing exactly the same problem. BP Group Moderators do have capabilities like edit, close, merge, split topics or replies in the Group Forum but they do not see the textbox to assign or edit tags. I tried to show the box by hacking the files
    /wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
    and
    /wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php
    by removing the condition “&& ( current_user_can( ‘assign_topic_tags’ )”
    but then the tags assigned in the box have not been saved, anyway.
    There must be a bug in the capabilities mapping from BP group moderator to bbP forum moderator. The capabilities like ‘assign_topic_tags’, ‘edit_topic_tags’, etc. are missing there.
    For BP group admins and ordinary members it works well, they can assign and edit topic tags in their group forum.
    But where is the code of this mapping? I cannot find it.

    #182819
    PrancingHorse
    Participant

    Hello,

    My website: http://www.yorkregiontutoring.com is showing the WordPress Dashboard on the top left when a participant is logged in. And when you do click on the wordpress graphic on the top left for example, it asks you to create a page..etc. How do you disable this?

    Does everyone just have this turned on by default on their websites?

    Furthermore, I don’t want to just disable the top bar as I want people to be able to see their user icon and click on the it and access shortcuts within the top bar if needed.

    Thank you
    Diana

    repyourhood619
    Participant

    Hey Robin and Kajzh, did you ever get this to work? I am having the exact same problem. the custom made role is showing up under the forum role dropdown on the user profile but when the profile is saved after selecting the new role it does the default message when no role is assigned “No Role For These Forums”. Robin I did what you suggested by deactivating plugins and changing the theme but to no avail. Please see the function below.

    
    function np_add_custom_role( $bbp_roles ) {
     
    	$bbp_roles['beta_tester'] = array(
    			'name' => 'Beta Tester', 'bbpress',
                'capabilities' => bbp_get_caps_for_role( bbp_get_participant_role() )
    	);
    	return $bbp_roles;
    }
    add_filter( 'bbp_get_dynamic_roles', 'np_add_custom_role', 10 , 2 );

    Thanks in advanced!

    #182794
    denjoseph
    Participant

    A common error after installation of BuddyPress from within the WordPress admin panel is to not set pretty permalinks. If you fail to do this then all of the links in the header will return 404 errors.

    To fix this problem, enter the WordPress admin panel > Settings > Permalinks – set to any configuration other than the default configuration. The mod_rewrite must be enabled on your server for pretty permalinks to work.

    #182791
    wpweaver
    Participant

    Sorry – I misread the topic as being related only to that plugin. Now it makes more sense to me. I thought you’d made a more general question. I guess I would have expected questions about a plugin to be in the general WP plugin forum, but it makes sense to be here too.

    My plugin should be posted in a week or so – depends on the approval queue for plugins.

    It is intended to be sort of a turn-key solution to starting a bbPress forum. Major difference from any other plugin I’ve found is that it has a bunch of pre-defined subThemes for bbPress – look a lot better than the default, will match most themes.

    #182735
    Pascal Casier
    Moderator

    In the current bbPress there is nothing by default that I know of.

    For the moment my ‘bbP Manage Subscriptions’ plugin is only dealing with subscriptions to forums (I have been busy this weekend to improve it, new version should arrive soon), but let’s see if maybe later I can add something there.

    #182718
    Amelia
    Participant

    Hi, I am trying to translate the frontend section of my forum, but I can only translate parts of it. Here’s a screenshot : Problem to translate

    As you can see, I can translate the top sentence, but I cannot translate the form part. I even tried to manually edit the php files without success (reverted to default files after).

    I am using Loco Translate for editing my translations and my wordpress language is correctly set because I can translate some parts. I also can see the sentences in the Loco Editor but event after changing them, they do not change in the frontend.

    I hope I have given enough informations.

    Thanks

    #182698
    russ8523
    Participant

    OK! After much random searching I found the location. If anyones interested it’s: wp-content/plugins/bbpress/templates/default/bbpress/form-user-edit.php.

    #182663

    In reply to: bbp_reply_admin_links

    Robin W
    Moderator

    hmmm … if you want each link to be a button, I can point you to some code, but you’ll need to figure it out.

    so

    so for replies, the function is in

    bbpress/includes/replies/template.php

    which I think you found.

    function bbp_get_reply_admin_links( $args = array() ) {
    
    		// Parse arguments against default values
    		$r = bbp_parse_args( $args, array(
    			'id'     => 0,
    			'before' => '<span class="bbp-admin-links">',
    			'after'  => '</span>',
    			'sep'    => ' | ',
    			'links'  => array()
    		), 'get_reply_admin_links' );
    
    		$r['id'] = bbp_get_reply_id( (int) $r['id'] );
    
    		// If post is a topic, return the topic admin links instead
    		if ( bbp_is_topic( $r['id'] ) ) {
    			return bbp_get_topic_admin_links( $args );
    		}
    
    		// If post is not a reply, return
    		if ( !bbp_is_reply( $r['id'] ) ) {
    			return;
    		}
    
    		// If topic is trashed, do not show admin links
    		if ( bbp_is_topic_trash( bbp_get_reply_topic_id( $r['id'] ) ) ) {
    			return;
    		}
    
    		// If no links were passed, default to the standard
    		if ( empty( $r['links'] ) ) {
    			$r['links'] = apply_filters( 'bbp_reply_admin_links', array(
    				'edit'  => bbp_get_reply_edit_link ( $r ),
    				'move'  => bbp_get_reply_move_link ( $r ),
    				'split' => bbp_get_topic_split_link( $r ),
    				'trash' => bbp_get_reply_trash_link( $r ),
    				'spam'  => bbp_get_reply_spam_link ( $r ),
    				'reply' => bbp_get_reply_to_link   ( $r )
    			), $r['id'] );
    		}
    
    		// See if links need to be unset
    		$reply_status = bbp_get_reply_status( $r['id'] );
    		if ( in_array( $reply_status, array( bbp_get_spam_status_id(), bbp_get_trash_status_id() ) ) ) {
    
    			// Spam link shouldn't be visible on trashed topics
    			if ( bbp_get_trash_status_id() === $reply_status ) {
    				unset( $r['links']['spam'] );
    
    			// Trash link shouldn't be visible on spam topics
    			} elseif ( bbp_get_spam_status_id() === $reply_status ) {
    				unset( $r['links']['trash'] );
    			}
    		}
    
    		// Process the admin links
    		$links  = implode( $r['sep'], array_filter( $r['links'] ) );
    		$retval = $r['before'] . $links . $r['after'];
    
    		return apply_filters( 'bbp_get_reply_admin_links', $retval, $r, $args );
    	}

    which you can filter at the end, but how would depend on your skills.

    the span part can be simply changed by putting a filter into your child theme’s function file

    eg

    add_filter ('bbp_before_get_reply_admin_links_parse_args', 'theredeclipse_change' ) ;
    
    function theredeclipse_change ($args) {
    	$args['before'] = '<span class="bbp-admin-links">' ;
    	$args['after']   = '</span>' ;
    return $args ;
    }

    and just change whatever you want the span part to look like, or just remove it.

    if you want to style each link, then you’ll see that there is a call to each separate function

    'edit'  => bbp_get_reply_edit_link ( $r ),
    				'move'  => bbp_get_reply_move_link ( $r ),
    				'split' => bbp_get_topic_split_link( $r ),
    				'trash' => bbp_get_reply_trash_link( $r ),
    				'spam'  => bbp_get_reply_spam_link ( $r ),
    				'reply' => bbp_get_reply_to_link   ( $r )
    

    so to do it in functions, you’d need to go to each one.

    you’ll find these in the same file above

    since the class is hard coded, you could add a final filter with a preg_replace

    eg

    add_filter( 'bbp_get_reply_move_link' , 'theredeclipse_move', 10 , 2 ) ;
    
    function theredeclipse_move ($retval, $r) {
    $retval =  preg_replace(whatever args you need, with, $retval);
    return $retval ;
    }

    so $retval will hold the line of code including the class.

    so google preg-replace and see if you can get it working !!

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