try to remove <?php wp_footer(); ?> from bbpress.php and view did work.
– this did not work and im not sure what you mean by this Maybe theme put styles in <?php wp_footer(); ?>
also im not using a default theme but everything else works the same as a default theme, in the basic bbpress theme.
try to remove <?php wp_footer(); ?> from bbpress.php and view did work.
– this did not work and im not sure what you mean by this Maybe theme put styles in <?php wp_footer(); ?>
also im not using a default theme but everything else works the same as a default theme, in the basic bbpress theme.
Hello –
I’ve created a copy of bbpress.css in my child theme’s folder, but edits to this file don’t seem to be taking precedence over the child theme’s css file. Possibly something to do with the enqueue function in the child theme’s functions file, but I don’t know enough about that to check that.
I’m using WP version 4.6.1, bbPress version 2.5.11 and a custom child theme. The site’s forum page is here: http://www.amersa.org/forums.
The child theme functions file includes this function:
if (!function_exists(‘inspiry_enqueue_child_styles’)) {
function inspiry_enqueue_child_styles(){
if ( !is_admin() ) {
// dequeue and deregister parent default css
wp_dequeue_style( ‘parent-default’ );
wp_deregister_style( ‘parent-default’ );
// dequeue parent custom css
wp_dequeue_style( ‘parent-custom’ );
// parent default css
wp_enqueue_style( ‘parent-default’, get_template_directory_uri().’/style.css’ );
// parent custom css
wp_enqueue_style( ‘parent-custom’ );
// child default css
wp_enqueue_style(‘child-default’, get_stylesheet_uri(), array(‘parent-default’), ‘1.1’, ‘all’ );
// child custom css
wp_enqueue_style(‘child-custom’, get_stylesheet_directory_uri() . ‘/child-custom.css’, array(‘child-default’), ‘1.1’, ‘all’ );
}
}
}
Is this what’s causing the issue? Thanks.
An easy way to find bbpress themes is looking for wordpress themes with their own bbpress template (theme).
To difficult find just a bbpress theme.
You can also use a WordPress default theme and customize your bbpress through child themes or a custom css plugin.
that pipe is from the admin links and seems to be an extra one.- not sure why this appears for you – 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.
That will hopefully tell you what is causing it
ok, untested but try
wp-content/plugins/bbpress\templates\default\bbpress\form-search.php
copy to your PC and
line 17
<input tabindex="<?php bbp_tab_index(); ?>" class="button" type="submit" id="bbp_search_submit" value="<?php esc_attr_e( 'Search', 'bbpress' ); ?>" />
change to
<input tabindex="<?php bbp_tab_index(); ?>" class="button" type="submit" id="search_submit" value" />
save this file to
ie wp-content/themes/%your-theme-name%/bbpress/form-search.php
where %your-theme-name% is the name of your theme
you could try uploading it to the main bbpress templates
wp-content/plugins/bbpress/templates/default/bbpress/loop-forums.php
But you will need to remember that any updates to bbpress will overwrite this, and you’ll need to repeat.
Otherwise suggest you search your site for loop-forums.php to see if any other instances are on it. If you overwrite them with the style pack version, then it must take effect at some point !
Whenever I try to update bbPress I keep getting this error:
The update process is starting. This process may take a while on some hosts, so please be patient.
Enabling Maintenance mode…
Updating Plugin bbPress (1/1)
Downloading update from https://downloads.wordpress.org/plugin/bbpress.2.5.11.zip…
Unpacking the update…
Installing the latest version…
Removing the old version of the plugin…
Plugin update failed.
An error occurred while updating bbPress: The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions. templates/default/bbpress/bbpress-templates
Disabling Maintenance mode…
All updates have been completed.
Wordpress Version 4.6.1
bbPress Version 2.5.10
Website URL: https://sopearly.com
Ok it was hanging for too long so here what i found out:
on the patch page (https://bbpress.trac.wordpress.org/attachment/ticket/3026/3026.patch) you made few mistakes:
1. Line 663 KEY meta_join (meta_key, meta_value) ) {$charset_collate};”;
should finish with ” , ” not ” ;”; ” otherwise it will crash error
2. Line 660 PRIMARY KEY (meta_id),
is duplicated so i guess 660 or 661 can be removed
3. when running import after those changes in wordpress, converter is giving error message:
WordPress database error: [Key column ‘meta_id’ doesn’t exist in table]
CREATE TABLE wp_bbp_converter_translator ( 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, meta_value) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
Btw… im not a coder. No clue about php im just applying some logic to what i see 😉
Hi @johnjamesjacoby
Thanks for the update. I have downloaded again the alpha and installed it fresh on my website. Unfortunately still the same error message:
Repair 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, meta_value) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
No data to cleanStarting Conversion
Thank you for the reply. I have downloaded and installed alpha.
When running import im getting error:
Repair 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, meta_value) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci
I tried to find this error and potential solution. I found someone recommending bbpress toolkit. I have installed it and system info is as follow:
WP version 4.6.1
Theme Twenty Sixteen 1.3
PHP version 5.4.19
bbPress version 2.6-alpha-6091
Active Plugins Name and Version
– p1 bbP Toolkit 1.0.6
– p2 bbPress 2.6-alpha
Any idea ?
Create yourself a test user with the default participant role and use your browser “incognito” mode.
Also try disabling all your plugins and see if that fixes the issue.
one best way.ive done with my forum. All other ways are not working
-Update phpbb to the latest version
-use the BBpress Alpha 2.6
-import the data from phpbb
-do the fixes down under in separatly ( run sql in 5 steps, begin with the first)
/* Get all posts with wrong author and correspondent right author from translator table */
create table TMP_ORPHANS as
select
wp_posts.ID,
wp_posts.post_author,
wp_bbp_converter_translator.value_id real_author,
IFNULL(wp_posts.post_date, NULL) post_date,
IFNULL(wp_posts.post_date_gmt, NULL) post_date_gmt,
wp_posts.post_content,
CASE
WHEN wp_posts.post_type = 'reply'
THEN (SELECT tmposts.post_title from wp_posts as tmposts where tmposts.id = wp_posts.post_parent)
ELSE wp_posts.post_title
END post_title,
wp_posts.post_excerpt,
wp_posts.post_status,
wp_posts.comment_status,
wp_posts.ping_status,
wp_posts.post_password,
wp_posts.post_name,
wp_posts.to_ping,
wp_posts.pinged,
IFNULL(wp_posts.post_modified, NULL) post_modified,
IFNULL(wp_posts.post_modified_gmt, NULL) post_modified_gmt,
wp_posts.post_content_filtered,
wp_posts.post_parent,
wp_posts.guid,
wp_posts.menu_order,
wp_posts.post_type,
wp_posts.post_mime_type,
wp_posts.comment_count,
( select wp_postmeta.meta_value
from wp_postmeta
where
wp_postmeta.meta_key = '_bbp_author_ip' and
wp_postmeta.post_id = wp_posts.id
) user_ip
from wp_posts
left join wp_users on wp_posts.post_author = wp_users.id
left join wp_bbp_converter_translator on wp_posts.post_author = wp_bbp_converter_translator.meta_value
where
wp_posts.post_type in ('forum', 'reply', 'topic') and
(wp_users.id is null or
wp_users.id = 1) and
wp_bbp_converter_translator.value_type = 'user' and
wp_bbp_converter_translator.meta_key = '_bbp_old_user_id';
/* Do this to be able to create indexes later – some may not work */
ALTER TABLE TMP_ORPHANS modify column post_date datetime default NULL;
ALTER TABLE TMP_ORPHANS modify column post_date_gmt datetime default NULL;
ALTER TABLE TMP_ORPHANS modify column post_modified datetime default NULL;
ALTER TABLE TMP_ORPHANS modify column post_modified_gmt datetime default NULL;
ALTER TABLE TMP_ORPHANS modify column user_ip varchar(40);
ALTER TABLE TMP_ORPHANS modify column post_title varchar(255);
/* we create indexes to speed up the update process */
ALTER TABLE TMP_ORPHANS ADD INDEX(post_date);
ALTER TABLE TMP_ORPHANS ADD INDEX(post_author);
ALTER TABLE TMP_ORPHANS ADD INDEX(real_author);
ALTER TABLE TMP_ORPHANS ADD INDEX(user_ip);
ALTER TABLE TMP_ORPHANS ADD INDEX(post_title);
/* Revert bad authors to good authors */
UPDATE
wp_posts INNER JOIN TMP_ORPHANS
ON wp_posts.id = TMP_ORPHANS.id
set wp_posts.post_author = TMP_ORPHANS.real_author
where wp_posts.post_type in ('reply', 'topic') ;
/* Drop TMP table */
DROP TABLE TMP_ORPHANS;
The result is a compleet database with the good relation between post and author
Hi,
By default, to override bbpress template in theme, you need to create a folder called name “bbpress” in root folder theme, like this /%your_theme%/bbpress.
I have a question, How can change the location of bbpress folder in theme ?
I want to move it like this: /%my_theme%/vendors/bbpress
WAMP or server installation ?
ok, suggest
You deactivate, delete and re-install bbpress
If that doesn’t work
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.
If those don’t then either maybe corrupt wordpress/server issue.
further to that. From the apache log. The script runs to start with, but next line, gives a 500 error
GET /wp-content/plugins/bbpress/templates/default/js/editor.js?ver=2.5.11-6121 HTTP/1.1″ 200 1399
GET /wp-admin/post-new.php?post_type=forum HTTP/1.1″ 500 3411
Hi,
I am using bbPress to create a forum for a customer. I use WordPress 4.6.1 and bbPress 2.5.11.
I downloaded the .mo and .po files in my language (Finnish) from this link, changed the file names into:
bbpress-fi_FI.mo and bbpress-fi_FI.po, and moved them to wp-content/languages/bbpress
Eventhough my wordpress site language is Finnish and I have those mo and po file in the folder, the bbpress forum is still in English.
I activated topic and reply subscriptions today, and the very first email I got was a bounce. I had written a response to someone else’s thread, and apparently, instead of sending it from my usual sending address (as specified in PostMAN SMTP: mail@domain.org) to my admin address (as specified in my profile: m@domain.org), it was sent from and to (!) this weird address: noreply@sudomain.domain.org (case is bbpress on one subdomain site of a MS network). Since I do not receive emails adressed to my subdomain, it was bounced to mail@domain.org.
Using this noreply@ does not make any sense to me, neither for sender, nor for recipient. Can anyone help? bbpress does not allow me to set a sending address, it just defined and used it. That is not good, since my SMTP plugin must have the last word in this. We all know that sending emails via PHPmailer/webserver (default WP behaviour) is unprofessional. And anyway, to send a notification to anywhere else than my profile email does not make sense. This looks very much like a bug, doesn’t it?
WP 4.6.1 (MS install w/subdomains), bbpress 2.5.11, PostMan SMTP 1.7.2, ~40 other plugins
Excerpt from PostMan SMTP’s log (with EDITS):
X-Mailer: Postman SMTP 1.7.2 for WordPress (https://wordpress.org/plugins/postman-smtp/)
From: SITE NAME <noreply@de.DOMAIN.org>
Sender: mail@DOMAIN.org
To: noreply@de.DOMAIN.org
Well, the default Topic Tag slug is topic-tag, so I assume a dash isn’t a problem, but I also tried one without a dash and no dice.
Can’t immediately see any issue.
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
There’s contradictory information inside these forums about whether it’s possible to have front-end editing for a forum in bbpress.
Within the code there’s obviously support (or once was). However, every attempt to access front-end editing using a /forum/sample-forum/edit url results in a 404.
Older posts here indicate this used to work. Yet, some more current posts state that front-end editing for forums is not yet(?) possible (only topics and replies).
What information is correct? Is front-end forum editing still possible in core as default or has it (for some reason) been deactivated? And if it is still an option what things could I check for why I’m getting a 404 instead of the form-forum.php template?
Thanks for any help,
Chad
suggest you go back to basics and try :
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.
I am using the default BP theme.
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.
No love for this post? I’m using WordPress version 4.6.1, and I’ve received this feedback from my hosting provider regarding this issue:
I navigated to templates/default/bbpress/bbpress-templates and the file ‘bbpress-templates’ is a symbolic link to bbpress-templates:
lrwxrwxrwx 1 sopearly_admin pg1217016 17 Jul 28 18:02 bbpress-templates -> bbpress-templates
I’m not exactly certain how the symbolic link is referring itself but I’m afraid you may have to inquire with bbpress support as to why the plugin is failing with permission errors due to the file, bbpress-templates.