Hello, I’m building a website with forums at . However, I’m having trouble understanding why it looks the way it does? I thought it would look like you know, an actual forum with the various forums and sub-forums in a “tree-like” format etc. I’m confused as to how to make it look an operate that way instead of the way it is currently with this weird “archive” format. Any help would be greatly appreciated!
Btw, I just created the page with the default “forums” slug and I’ve tried the shortcode too with same results – I just have no idea why it looks the way it does.
It just appeared when the plugin was activated and nowhere else. It doesnt seem to affect anything as the ad codes i have added are appearing in the forums and in the correct locations specified.
Edit: I dont know what this notification message means.
I just installed this plugin in wordpress 3.6, when i enabled the plugin i got the following message:
The plugin generated 50 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
This doesnt seem to have had any effect on the plugin though as it still inserts ads correctly into the forums.
Im in need of this code as well, however when i add it to functions in my wordpress theme folder it crashes my website. I tried adding to bbpress functions as well but same problem. Any advice? :/
The SimplePress converter is already included in bbPress and is the latest version available, you should not need to download and upload it to your server.
The settings are critical to getting the importer working correctly, sadly at this stage there is very little error messages displayed if you get any of these settings wrong and this is the most common issue with importing.
Ensure your settings are correct for the fields noted in the docs here:
https://codex.bbpress.org/import-forums/#configuring-the-importer
You may have to check with your webhost to ensure you are using the correct values.
Ive had a search through the forums here and cant find an answer to my question, i have just installed bbpress and it integrates perfectly into my current wordpress installation. I notice whenever a post is made in bbpress the authors ip address is logged and is visible to the administrator. I would like to disable this and set it so that no ip addresses are stored at all.
From what i can tell the ip’s seem to be stored in the following db field:
wp_postmeta/meta_value
I have a function i found online for wordpress which prevents the ip from being logged:
add_filter('pre_comment_user_ip', 'no_ips');
function no_ips($comment_author_ip){
return '';
}
Can the above be converted for use with bbpress?
Any advice would be appreciated 🙂
Any examples as to where? It’s most likely a problem of it being hardcoded somewhere or the polish file not being 100% completely translated.
bbpress != wordpress
If your a programmer, you should read up on the codex, if not I do not recommend to do this yourself. I would recommend rehiring the designer/programmer (if he has the necessary knowledge).
I changed things and removed the page with the short code and just linked to a higher catagory called “forum”
It still shows the sub forums on seperate pages and with the (0,0) on the main page
I would really like the forum to look similar to a phpbb style forum
Watracing.com
Hello,
I am having issues getting the BBpress forum to display in any sensible manner
At one point i made a category and used it as a page, this at least looked reasonable but didn’t allow for sections to be created. I am currently using the shortcode “[bbp-forum-index]” and now the catagoriess seems to show the sub forums. but they are all bunched together with a (0,0) next to each of them
Is there a way to split this up or create a proper forum layout?
my forum page: http://watracing.com/?page_id=132
I am new to BBpress
I get this issue because the BBP Threaded Replies plugin automatically de-activates the Fancy Editor.
bbPress Threaded Replies is incompatible with the Fancy Editor; enabling threading will automatically disable the Fancy Editor.
I’m not sure why they did that, but I was able to get around it by adding remove_filter('bbp_use_wp_editor', '__return_false'); to my theme’s functions.php file.
I just put this filter inside bbpress-functions.php, but it seems not to be executing the function… could you please help me? I’m stuck…
add_filter('bbp_plugin_dir_url', '_bbp_plugin_dir_url');
function _bbp_plugin_dir_url($plugin_dir_url) {
return str_replace("/home/content/12345/html/content/plugins", "", $plugin_dir_url);
}
Thank you!
I am currently using Simple:press and want to convert to bbPress. I have both installed on my WP, and I downloaded simplepress.php and uploaded it onto my server in the file/directory suggested from this site (wpcontent/etc)
I followed these instructions: http://codex.bbpress.org/import-forums/
And when I hit “start’, I get this:
“Repair any missing information: Continue
Conversion Complete
No replies to convert
No tags to convert
No topics to convert
No forum parents to convert
No forums to convert
No passwords to clear
No users to convert
Starting Conversion”
(Obviously in reverse order).
WHat am I doing wrong? I have the updated versions of both forums and of WP (3.6).
http://www.jazzdrummersresource.com
How can you change the background of posts and the table containing the forum titles? The background of my core wordpress site is okay (I have Responsive theme installed), but the forum area should have a different color, especially the posts. Where can I find the apporpiate code sctions for this in the CSS?
I solved this after a quick search of the code. I updated the following file:
/bbpress/includes/forums/template-tags.php
updating the line:
‘posts_per_page’ => get_option( ‘_bbp_forums_per_page’, 50 ),
to:
‘posts_per_page’ => get_option( ‘_bbp_forums_per_page’, 64 ),
I tried to upgrade my bbPress forum from version 1.0.2 to 1.2, following the method described on this topic: http://bbpress.org/forums/topic/upgrade-bbpress-1-0-2-to-2-1-2/page/2/#post-127780. But when I get in my control panel and try to upgrade my database clicking on the indicated button i get a 500 Internal Sever Error Message, given by the following error on my error log:
[Mon Aug 12 21:23:48 2013] [warn] [client 127.0.0.1] mod_fcgid: read data timeout in 71 seconds, referer: http://XXXXXX/forum/bb-admin/upgrade.php
[Mon Aug 12 21:23:48 2013] [error] [client 127.0.0.1] Premature end of script headers: upgrade.php, referer: http://XXXXXX/forum/bb-admin/upgrade.php
I really need a little help.
I have a phpBB (3.0.11) forum since many years. After a good clean up, I am down at these stats
1 200 members
18 000 subjects
52 000 answers
My urls looks like this
http://www.mysite.com/forum/viewtopic.php?f=8&t=27944
In Google i get 280 000 results if I type this
“mysite.com/forum/viewtopic.php”
I am feeling this forum software (thanks for all these nice years!) gets behind the actual social life these years so I am looking to change for another forum (hopefully with Facebook login!)
What will happen if I decide to switch to installing bbPress into my actual WordPress ? I have read the codex, but doest my urls and so my results in google would all be lost (as I can’t see how a rewrite redirect url could work here anyway) ?
Latest Attachment PunBB.php
Fixed:
- Topics
- Replies
- User Nice Name ‘user_nicename’ & Display Name ‘user_displayname’ import fields
- User PunBB MSN
Outstanding:
- Forum/Category? hierarchy (currently parent forums/categories are imported ‘flat’)
- User Passwords
- – Custom BBCode for Topic & Reply Content
NOTE: If you are importing ‘users’ during the import you will see multiple instances of the following error message:-
– Notice: Undefined variable: user_pass in /home/webhost/public_html/wp-includes/user.php on line 1305
This can be ignored and only relates to the current non-working state of converting user passwords. If you need to login (or users login) they will just need to reset their WordPress password to be able to login.
Latest Attachment MyBB.php
Fixed:
- User Nice Name ‘user_nicename’ & Display Name ‘user_displayname’ import fields
Outstanding:
- User Passwords
- – Custom BBCode for Topic & Reply Content
NOTE: If you are importing ‘users’ during the import you will see multiple instances of the following error message:-
– Notice: Undefined variable: user_pass in /home/webhost/public_html/wp-includes/user.php on line 1305
This can be ignored and only relates to the current non-working state of converting user passwords. If you need to login (or users login) they will just need to reset their WordPress password to be able to login.
@ricov4 Thanks, to help out if you can download the importer and setup a test environment to see how well it works that would be great.
@koawinter I have not tried SMF 1.1.16 and only downloaded the latest version of SMF. Are you able to update your SMF to v2.0.4? You could also try the importer and see if it does or does not work and we can go from there.
@NeilJ Thanks a bunch for testing it out… The previous versions of the counts would have been off as the original reply query was adding the original topic as its own reply, I have now fixed this and from my testing the counts are now correct for topics and replies.
As far as I can tell it is now only the user passwords and some custom regex strings to fix some converted BBCode and ‘Smilies’ and we will have a perfect SMF importer 🙂
I have updated the SMF Importer and you can download the latest again via the same links in my original post above.
Fixed:
- Forum parent hierarchy
- Imported Replies now import correctly
- User Display Name
Outstanding:
- User Passwords
- Custom BBCode for Topic & Reply Content
NOTE: If you are importing ‘users’ during the import you will see multiple instances of the following two error messages:-
- Notice: Undefined variable: user_pass in /home/webhost/public_html/wp-includes/user.php on line 1305
- Notice: Undefined index: salt in /home/webhost/public_html/wp-content/plugins/bbpress/includes/admin/converters/SMF.php on line 566
These can both be ignored and only relates to the current non-working state of converting user passwords. If you need to login (or users login) they will just need to reset their WordPress password to be able to login.
Hmmm something odd going on and I beginning to think it is to do with the number rows being processed for the replies. Running a test where I have set processing of 100 rows at a time it is showing in the status box as the following:
Converting replies (1500 - 1599)
Looking at the number of wp_posts where the post_type is equal to reply it shows 1652:
mysql> select count(*) from wp_posts where post_type = "reply";
+----------+
| count(*) |
+----------+
| 1652 |
+----------+
1 row in set (0.00 sec)
I was checking the processlist whilst the import was running and the inserts just completely stopped with no errors.
Been giving this a try today and yeah there seems to be a problem with importing replies (which we know is not working yet). So to help out the OP I give an example of replies not importing. For instance, this is the total number of SMF messages on SMF database I wish to convert to BBPress:
mysql> select count(*) from smf_messages;
+----------+
| count(*) |
+----------+
| 2663 |
+----------+
1 row in set (0.00 sec)
Running the importer it seems to get stuck and stops importing:
mysql> select count(*) from wp_posts where post_type = "reply";
+----------+
| count(*) |
+----------+
| 2252 |
+----------+
1 row in set (0.00 sec)
I am doing this on my own machine and looking at the apache logs I don’t see any errors related to the import. I also checked if there was a query stuck so I checked the process list and it was empty.
Going to debug the relevant scripts and see what I can find.
Probably best directed at @johnjamesjacoby, any suggestions welcome!
Already read your post here (love the concept, makes sense) and have a question : http://bbpress.org/forums/topic/roles-and-capabilities-in-bbpress-2-2/
I’m the developer of Events Manager and in this plugin you can assign custom capabilities to existing roles. Unfortunately your recent update regarding caps is preventing our plugin from adding custom caps to your roles.
I’ve figured out a way around this, but this requires at least 1 extra database query each instance since I can’t load wp_user_roles via get_option due to your hooks.
function em_bbp_get_caps_for_role( $caps, $role ){
global $em_capabilities_array, $wpdb;
//get the non-dynamic role from the wp_options table
$roles = maybe_unserialize($wpdb->get_var("SELECT option_value FROM {$wpdb->options} WHERE option_name='wp_user_roles'"));
//loop through the original role if it exists and add our em caps to the bp role
if( !empty($roles[$role]) ){
foreach($roles[$role]['capabilities'] as $cap_name => $has_cap ){
if( array_key_exists($cap_name, $em_capabilities_array) ){
$caps[$cap_name] = $has_cap;
}
}
}
return $caps;
}
add_filter('bbp_get_caps_for_role', 'em_bbp_get_caps_for_role', 10, 2);
What it does is load our caps into your caps by referencing the original wp_user_roles array
So, my questions are:
- Is there a better way to do this, preferably avoiding extra DB queries?
- Since you seem to be assigning a second role to the user, would an alternative solution be to prevent EM from assigning caps to bbpress user roles and let the primary/secondary role inherit the relevant caps?
thanks for reading!
Hi,
I would like to make the forum name part of the topic dynamic.
I like to have
forum/name-of-forum/topic-title
where the “name-of-forum” should relflect the name of the forum the topic is in
but I get:
forum/topic/topic-title
where the “topic” part is fixed.
Is there a plugin? Do I have to code?
Any help is appreciated 🙂