Hi,
I am moving an old site to WP and bbPress and need to convert my old forums. I understand I need to use the example.php in the converter folder and write a converter for each old forum – there are 3 I am gong to convert.
And wouldn’t you know it, the 3 different forums use 3 different date formats!
Here they are
1415922411
2004-09-13 19:25:59
20080407181855
From looking around in all of the converter files I see that forum dates are done 2 ways
In example converter – I am guessing that I would use this format to convert the date like 20080407181855 ?
// Forum dates.
$this->field_map[] = array(
'to_type' => 'forum',
'to_fieldname' => 'post_date',
'default' => date('Y-m-d H:i:s')
);
In vanilla converter – I am guessing I would use this format to convert the date like 2004-09-13 19:25:59 ?
// Forum dates.
$this->field_map[] = array(
'from_tablename' => 'Category',
'from_fieldname' => 'DateInserted',
'to_type' => 'forum',
'to_fieldname' => 'post_date',
);
Anyone know how I can convert a date such as 1415922411 to the correct date format – which I am guessing is Y-m-d H:i:s?
Thank you for your time.
Hi, Robin. I only have 3 pages of topics. If I change “Blog pages show at most” to read 1, then I can view all 3 pages. If I change it to 2, I can only view pages 1 and 2. If I change it to 3 or higher, I can only view the first page. All other pages return a 404 error. Interestingly enough, if I simply remove the “/” in the URL manually in the address bar, the correct page pulls up with additional topics listed. For instance, http://cathollowcondos.com/forums/page3/ works, but http://cathollowcondos.com/forums/page/3/ does not work.
I would like to show more than one blog post at a time on the Blog page (for instance, the default value of 10). But, right now I am limited to showing only 1 so that the Forums pages navigation will work. This is certainly odd behavior that does not appear to be tied to a theme problem or plugin conflict. That is why I am posting here. I do not have the knowledge to troubleshoot further, but will help in any way that I can.
Thank you!
Hi, I have this error message
“There was a problem cropping your profile photo.”
when I try to upload an avatar image with a width of 450px and above. Starting to 451px it works (even with an height of 150px). I get a warning message only if I try to upload an image under 150x150px :
“You have selected an image that is smaller than recommended. For best results, upload a picture larger than 150 x 150 pixels.”
So, I suppose this problem doesn’t come from a setting option somewhere.
The problem is the same when I switch to the default theme Twenty Fifteen and I have no other plugin activated (except HideMySite). Cover image works without problem.
Config:
Wordpress (new install) v4.9
Buddypress 2.9.2
php 5.6
GD enabled
Thanks.
I keep running into the following error when trying to import my Vanilla 2.x forum database. I’m using WordPress 4.9 and bbpress 2.5.14.
Repair any missing information: Continue
WordPress database error: [Specified key was too long; max key length is 1000 bytes]
CREATE TABLE GcuHRqrGbbp_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 Conversion
Any ideas on what I need to do to get this error resolved?
WP 4.9 – bbpress 2.5.14 – no link because private site
Hello,
By default, bbpress does not send any message to the user when he creates a topic or a reply, which is a malfunction, because if the message must wait moderation it does not appear right away and the user sometimes repost it many time.
I am not talking about email notification to the user but a message directly on the site announcing that the message has been taken into account and that it is pending moderation.
I have tried the various existing plugins (bbpress moderation, bbpress notify, etc) but none do that.
I also modified the form-topic and form-reply files of bbpress for a redirection to an information page, but unfortunately only the modification of the form-topic works.
Is not a flaw on bbpress that should be fixed in future versions (but I’m surprised that this minimum has not been expected since!) Or someone has a solution?
Thank you for your comeback !
most likely your theme or another plugin is expecting bbpress to be there.
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.
Hi team. These are my three most pressing questions. Thanks.
Problem on My website is at homepage: https://www.teamakoka.com
1. I really want to change only the default bbpress topic colour in the topic index to black (which was set navy blue by the theme because of it’s default link colour)
2. How can I change background colour of the first post in a topic content as it is on your support forum.
3. How can I add the login fields to the topic content for users that are not logged in (as it is on your support forum)
Thank You đ
users get the ‘participant’ role when they first log in (if that is the default role set for them)
so if you set them up, then you will only see subscriber until they have logged in for the first time.
I just registered on your site and got access to the forum fine
Just installed BBPress, and see that the editor is barebones html.
I’ve learned from this codex page that the visual editor is disabled by default â so I added the code snippet to my functions file, but no effect at all. Added TinyMCE Advance plugin, no effect at all.
What could be wrong?
(note: I see all sorts of references to “enable fancy WP editor” in older posts here, but can’t find that setting)
WP 4.8.3
BBpress: 2.5.14
Hi folks, after accidently creating a log an struggeling to get it out of the database again, i wondered, how i can make the checkbox for the revision log unchecked by default.
Thanks in advance
Dominik
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.
Otherwise/additionally talk to your hosting provider
you don’t; move, you duplicate and then change
so the original file sits in
/yorkregiontutoring/wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.php
and you copy this to
wp-content/themes/[your-theme]/bbpress/content-archive-forum.php
and then make changes
bbpress will look at this new file as being the active one
Hello,
Is this still a valid solution? I noticed that the location of this file has since moved
from: wp-content/plugins/bbpress/templates/default/content-archive-forum.php
to: /yorkregiontutoring/wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.php
Where would I move the file now? And is it a permanent move and not just a copy?
Thank you.
Make a child theme for your wordpress theme, copy the folder content\plugins\bbpress\templates\default\bbpress into your child theme, edit the contents of that file as much as you need without affecting the actual plugin files.
it’s not a plugin, it becomes part of your actual theme, making your changes immune to updates for the most part.
I think I almost have this working on my site but I cannot get the form value for some reason:
$username = $_GET['bbp_search_by_user'];
If I type the value into the URL (/?bbp_search_by_user=someuser), then it works 100%… should be something silly, right?
I also added a member drop-down so when someone is searching they can choose from a listing of members that have already created at least one reply:
global $wpdb;
$sql = "SELECT DISTINCT
$wpdb->posts.post_author as id,
$wpdb->users.display_name as name
FROM
$wpdb->posts
INNER JOIN $wpdb->users ON $wpdb->posts.post_author = $wpdb->users.ID
WHERE
$wpdb->posts.post_type = 'reply' AND $wpdb->users.display_name <> ''
ORDER BY
$wpdb->users.display_name ASC";
$result = $wpdb->get_results($sql, OBJECT);
echo "<select name=\"bbp_search_by_user\">";
echo "<option value='ALL'>All Users</option>";
echo "<option value='ALL'></option>";
foreach ($result as $key => $value) {
echo "<option value='" . $value->id . "'>" . $value->name . "</option>";
}
echo "</select>";
Anyone know how to get the $_GET[‘bbp_search_by_user’]; to work?
Here’s the code in my functions.php:
/* ADD SEARCH BY USER FUNCTION */
add_filter ( 'bbp_before_has_search_results_parse_args', 'ha_custom_search_by_username' );
function ha_custom_search_by_username() {
//Get username from input on search page
$username = $_GET['bbp_search_by_user'];
$default_post_type = array( bbp_get_forum_post_type(), bbp_get_topic_post_type(), bbp_get_reply_post_type() );
//check if empty
if(!empty($username) && $username != "ALL"){
//Make ID from username
$user = get_user_by('slug', $username);
$user_id = $user->ID;
$args['author'] = $user_id;
}
$args['post_type'] = $default_post_type;
$args['orderby'] = 'date';
$args['posts_per_page'] = '5';
$args['ignore_sticky_posts'] = 'true';
$args['order'] = 'DESC';
return $args;
}
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
Hi Guys,
Anyone knows how to modify the content-archive-forum.php located in wp-content\plugins\bbpress\templates\default\bbpress using a custom plugin(not in the theme)? Is it possible?
Hi can someone help me a have custom login in my forum page a want create custom pages for register and lost password a don’t want redirect user to default wordpress register page.
Hi
I have a weird problem with bbpress
most of the words in bbpress is not translated but some is
like: Freshness is in english but the no topics is translated to arabic
i have the latest version of bbpress
i have configured wp_config.php to arabic
and my default wordpress language is arabic
also i double checked all the translation files in this directory
â/wp-content/languages/bbpress
and
â/wp-content/languages/plugins/bbpress
and still a lot of sentences is completely in english even though when i use the loco translation plugin and search for this words they show up translated just fine
Hi
I have a weird problem with bbpress
most of the words in bbpress is not translated but some is
like: Freshness is in english but the no topics is translated to arabic
i have the latest version of bbpress
i have configured wp_config.php to arabic
and my default wordpress language is arabic
also i double checked all the translation files in this directory
–/wp-content/languages/bbpress
and
—/wp-content/languages/plugins/bbpress
and still a lot of sentences is completely in english even though when i use the loco translation plugin and search for this words they show up translated just fine
This is not very difficult to achieve, and does not require any plugins. A similar look is possible with modifying the bbPress template files, and some custom CSS styling. Although it depends on your experience with HTML,CSS and a bit of knowledge about PHP and how WordPress templates work.
To find the location of the bbPress template files navigate to:
âwp-content/plugins/bbpress/templates/default/bppress/â
Here you will find various template files which serve various purposes.
for eg. loop-topics.php is the template file for the topics ( like in the kleo theme ).
You should not modify the original files.
Instead create a folder named bbPress in your theme root folder (or child theme root folder)
ie. âwp-content/themes/YOUR-THEME/bbpress/â
Any changes you make in this newly created folder will be given priority over the originals.
Copy any files you wish to modify from the original location into this folder.
This way updates to bbPress wont overwrite any files you have modified and your changes wont be lost.
The avatars you see, can be selected as an option in the WordPress dashboard.
Navigate to Dashboard> Settings > Discussion –> Default Avatar
Here you will have the option to choose from:
- Mystery Person
- Blank
- Gravatar Logo
- Identicon (Generated)
- Wavatar (Generated)
- MonsterID (Generated)
- Retro (Generated)
The (Generated) avatars are the ones to choose from.
If you are willing to invest some time ( since without fluency in the aforementioned skills, it could take a little bit of trial and error), I could help you in achieving this.
It is a little late in the night at the moment(in my country), ill post back tomorrow to get the gears rolling with some examples.
If you could provide more information regarding which WordPress theme you are using and any more specific areas in detail that are causing issues I could try my best to help out.
Many themes include there own styling which can interfere with bbPress styling, so it is best to take that into consideration before modifying the CSS.
As far as my experience goes, bbPress provides bare minimal styling, Personally I find this to be advantageous, in the case of adding your own styles to match your theme, one does not have to override too many complex styling rules. yet, I agree there is still room for improvement with default bbPress responsive styling.
Sounds like permalink issues. Have you tried to refresh permalinks? Are you using apache or a microsoft IIS web server on your hosting? I have noticed other people with similar problem are on IIS servers.I would look into htaccess if apache or web.config if on IIS or ‘URL Rewrite’ module settings in IIS.
In wordpress Dashboard>settings>permalinks try setting to default. And click save changes.
In Dashboard>tools>forums have you tried to repair forums?
I am not familiar with IIS but the htaccess file should be writable with correct permissions.
In the WordPress dashboard under settings>forums –> under the Forum User Settings, you will see the option:
Disallow editing after x number of minutes
You could try increasing the limit, however it does not explain why the keymaster or administrator can not edit a reply or topic.
It might help in finding the problem by changing the theme to the default wordpress themes and disabling all plugins except bbPress.
If you could provide more information, regarding the bbPress/wordpress version, themes and plugins, I could try my best to help.
To find the location of the template files navigate to:
‘wp-content/plugins/bbpress/templates/default/bppress/’
You will find all the template parts in this folder. It is recommended to not modify the files directly, instead create a folder named bbPress in the ‘generatepress’ theme root folder. ie. ‘wp-content/themes/generatepress/bbpress/’ copy any files you wish to modify into this folder. This way updates to bbPress wont overwrite any files you have modified and your changes wont be lost.
Test this by copying the content-archive-forum.php to the newly created bbpress folder and begin to modify the file.
a simple php echo command will confirm it is working by printing a message at the top of the content-forum-archive template.
<?php echo "Hello world!"; ?>
The Example provided in the previous reply can be pasted on top, or wherever you would like to display the topics. Some formatting is required, by adding appropriate div classes and styling with css as necessary. Would be happy to help with any of the html, php or wordpress functions if there is any difficulty.
*my apologies if this a duplicate reply, previous reply did not get submitted properly,spam protection may have blocked it, since it included links to screenshots on imgur.