Search Results for '+.+default+.+'
-
Search Results
-
Hello,
I try to import my phpBB 3.2.0 (latest stable version) to bbPress (latest version 2.5.12) using the default import tool in the WordPress 4.7.2 backend. The phpBB is clean, no mods / plugins or custom styles. I get this error:
Repair any missing information: Continue
WordPress database error: [Specified key was too long; max key length is 1000 bytes]
CREATE TABLE MNmAD_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_520_ci;No data to clean
Starting Conversion
I don’t know any MySQL so I don’t understand what to do. If relevant here the collations used: utf8_bin (phpBB) and utf8mb4_general_ci (WordPress).
Any suggestions?
TiiuHow may i change the default search box text “Search the Forum” to something else?
My client does not want a forum, however, i need to organisational structure of a forum to catalogue all of clients articles correctly…so forum is needed (but client must not see the obvious)
Topic: Emoticons not showing image
Hi.
I have imported a Drupal forum into BBPress which went fine except for all smileys that are broken and only shows the ‘image not found’ default picture. When I look at the path it states: smileys/smile.gif. As in http://www.domain.com/forum/topic/smileys/smile.gif
I guess if this is true each topic should have it’s own folder with emoticons, but I don’t think this is the case.What can I do to correct this?
Thanks,
MichaelHi,
BBPress uses by default, the answer-id for fragment-reference, like this:
However, I would like to use “post count” instead, so in this instance, “sdavis2702” made the second comment, OP being #0, and therefore I would like this fragment to be #2.
Are there any way to (easily) enable this behaviour in BBPress, without coding in a manual counter?
Topic: Czech translations
Hi,
at wordpress translation page https://translate.wordpress.org/locale/cs/default/wp-plugins/bbpress
There is a LOT of waiting translations.
Could you please look at it and confirm them as ‘current’?Thanks!
Topic: Font-Size
bbPress version: 2.5.11
My Site: http://figoocraft.de/forum-3/
Theme: SydneyHello everyone,
I am trying to change the size of my font in bbPress.I tried editing the bbpress.css file in: content/plugins/bbpress/templates/default/css
First I edited the Size of the bar that holds the topics, that worked perfectly.Then I tried to edit the overall size of all fonts, so I changed:
#bbpress-forums { font-size: 12px; }To:
#bbpress-forums { font-size: 16px; }That didn’t change anything, so I tried to copy the bbpress.css to my themes directory as that’s what’s mentioned in the documentation. That neither changed anything, so now Im wondering what am I doing wrong?
Can anyone help with correct code? I want complete user click edit profile will direct 100% go to custom page like normal without any issue
Issue 1:
First load edit page complete, after that 2 second, reload custom pageadd_action( ‘bbp_user_edit_before’, ‘pb_custom_bbpress_edit_profile’ );
function pb_custom_bbpress_edit_profile(){
echo ‘<meta http-equiv=”Refresh” content=”0;url=http://example.com” />’;
}Issue 2:
No workadd_filter( ‘bbp_pre_get_user_profile_url’, function() {
return get_bloginfo(‘example.com’).’/profile’;
});Issue 3:
Still load edit profile link without load custom like. But given blank page, no error no warning, just empty link pageadd_action( ‘bbp_user_edit_before’, ‘pb_custom_bbpress_edit_profile’ );
function pb_custom_bbpress_edit_profile(){
echo ‘‘;
}==============
Also change the default url for favorites and subscriptions by doing this:
How can i correct it?// Replace the default link for the favorites
add_filter( ‘bbp_get_favorites_permalink’, function() {
return get_bloginfo(‘example.com’).’/profile/forum-favorites’;
});// Replace the default link for subscriptions
add_filter( ‘bbp_get_subscriptions_permalink’, function() {
return get_bloginfo(‘example.com’).’/profile/forum-subscriptions’;
});=============
ThanksHi, i had a big problem with bbpress in the sense that it crashed (fatal error) every time i tried to administrate it by clicking the “forums” tab.
I found out that the below function was the problem, and in particular that i needed to change to:
$post_stati = bbp_get_public_status_id();
from
$post_stati[] = bbp_get_public_status_id();for some reason the straight brackets broke everything, i don’t understand why, so i wanted to flag this for future updates. i’m a complete newb so yeah 😀
error code:
Fatal error: Uncaught Error: [] operator not supported for strings in /customers/f/9/9/simzone.net/httpd.www/HQ/wp-content/plugins/bbpress/includes/forums/functions.php:1800 Stack trace: #0 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/class-wp-hook.php(298): bbp_pre_get_posts_normalize_forum_visibility(Object(WP_Query)) #1 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters('', Array) #2 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #3 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/class-wp-query.php(1681): do_action_ref_array('pre_get_posts', Array) #4 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/class-wp-query.php(3238): WP_Query->get_posts() #5 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/class-wp.php(617): WP_Query->query(Array) #6 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/class-wp.php(735): WP->query_posts() #7 /customers/f/9/9/simzone.net/httpd.www/HQ/wp-includes/functions in /customers/f/9/9/simzone.net/httpd.www/HQ/wp-content/plugins/bbpress/includes/forums/functions.php on line 1800' adjusted function:function bbp_pre_get_posts_normalize_forum_visibility( $posts_query = null ) {
// Bail if all forums are explicitly allowed
if ( true === apply_filters( ‘bbp_include_all_forums’, false, $posts_query ) ) {
return;
}// Bail if $posts_query is not an object or of incorrect class
if ( !is_object( $posts_query ) || !is_a( $posts_query, ‘WP_Query’ ) ) {
return;
}// Get query post types array .
$post_types = (array) $posts_query->get( ‘post_type’ );// Forums
if ( bbp_get_forum_post_type() === implode( ”, $post_types ) ) {// Prevent accidental wp-admin post_row override
if ( is_admin() && isset( $_REQUEST[‘post_status’] ) ) {
return;
}/** Default ***********************************************************/
// Get any existing post status
$post_stati = $posts_query->get( ‘post_status’ );// Default to public status
if ( empty( $post_stati ) ) {
$post_stati = bbp_get_public_status_id();
# $post_stati[] = bbp_get_public_status_id();// Split the status string
} elseif ( is_string( $post_stati ) ) {
$post_stati = explode( ‘,’, $post_stati );
}/** Private ***********************************************************/
// Remove bbp_get_private_status_id() if user is not capable
if ( ! current_user_can( ‘read_private_forums’ ) ) {
$key = array_search( bbp_get_private_status_id(), $post_stati );
if ( !empty( $key ) ) {
unset( $post_stati[$key] );
}// …or add it if they are
} else {
$post_stati = bbp_get_private_status_id();
#$post_stati[] = bbp_get_private_status_id();
}/** Hidden ************************************************************/
// Remove bbp_get_hidden_status_id() if user is not capable
if ( ! current_user_can( ‘read_hidden_forums’ ) ) {
$key = array_search( bbp_get_hidden_status_id(), $post_stati );
if ( !empty( $key ) ) {
unset( $post_stati[$key] );
}// …or add it if they are
} else {
$post_stati = bbp_get_hidden_status_id();
#$post_stati[] = bbp_get_hidden_status_id();
}// Add the statuses
$posts_query->set( ‘post_status’, array_unique( array_filter( $post_stati ) ) );
}// Topics Or Replies
if ( array_intersect( array( bbp_get_topic_post_type(), bbp_get_reply_post_type() ), $post_types ) ) {// Get forums to exclude
$forum_ids = bbp_exclude_forum_ids( ‘meta_query’ );// Bail if no forums to exclude
if ( ! array_filter( $forum_ids ) ) {
return;
}// Get any existing meta queries
$meta_query = $posts_query->get( ‘meta_query’ );// Add our meta query to existing
$meta_query[] = $forum_ids;// Set the meta_query var
$posts_query->set( ‘meta_query’, $meta_query );
}
}/**
* Returns the forum’s topic ids
*
* Only topics with published and closed statuses are returned
*
* @since bbPress (r2908)
*
* @param int $forum_id Forum id
* @uses bbp_get_topic_post_type() To get the topic post type
* @uses bbp_get_public_child_ids() To get the topic ids
* @uses apply_filters() Calls ‘bbp_forum_query_topic_ids’ with the topic ids
* and forum id
*/’