No I did not update the permalinks
is that necessary?
I have never done this before
Hello is anyone able to help? My Forum is down.
I am still on WordPress 3.4.2 and I do not want to upgrade to 3.5 until this problem is fixed with bbPress.
did you updated the permalinks?
I upgraded to the new bbPress version and now my Forum returns a 404 Page!
Please help.
Anonymous UserInactive
Hi castresna,
i’ve the same problem you describe above. After importing from bbPress 1.2 the replys and topics are mixed up. I’ve tried it a ten times – but no results.
How have you solved this problem for your forum?
I appreciate any advice. 🙂
Thanks.
Hi,
I saw somwhere a topic about Forums, Topics and Replies somwhere in the forum and want to confirm that it exists even in just releases 2.2.3. In admin and on frontend bbpess post types labels don’t get translated (tested on 2 different sites, translated in 2 different tools, my language uses extended latin chars).
Another issue is with the User profile rules (permalinks, line 873 in bbpress.php). It’s possible to filter rewrite rules for user favorites and subscriptions but topics and replies (and it’s pagination) are hardcoded, even if there are functions available to use instead (and filter if needed)
I think that now bbPress is more popular than BuddyPress.
Some fixes in bbPress 2.2.3:
- Improve compatibility with some themes.
- Fix integration with BuddyPress Group Forums.
- Fix BuddyPress Activity Stream integration.
It’s also fully compatible with WordPress 3.5.
Indeed this awesome plugin does exist by @jmdodd
bbPress Topic to Post Converter
Add “Convert to Post” action for forum moderators.
https://github.com/jmdodd/bbpress-topic-post-converter
I want to change the output of the “Code” editor button of the bbpress plugin to use my custom shortcode for posting code in the forums. How can I do this? I’m unable to find any reference to the buttons in any of the templates.
This is my first time trying bbpress. Installation went without a hitch, but I noticed a weird behaviour. After installing bbpress and setting my forum base to ‘forums’ and my forum slug to ‘forum’, going to mydomain.com/forums shows me my blog page instead. And, going to mydomain.com/forum gives me a Not Found error. Any ideas of what I am missing?
Ideally, I’d like my readers to access the root of the Forums by going to mydomain.com/forums.
Ah in that case, I think thats great. Since the author is the primary content creator of the thread, all things considering, I think it will work well.
You should considering polishing up that code and releasing it as a bbPress plugin on the WordPress.org plugin repository 🙂 You’d have to dynamically hook into the user edit page and maybe a few other changes, but the base of the work there is probably done.
So here is how I would do it (I think) if I wanted something easy yet half way elegant.
I’d create a /login page in WordPress that has a custom page template (page-login.php) that contains some custom stuff. It still breaks the process up into two parts, which is not ideal, but its the easiest way without putting in some time to get around that.
Essentially, it would be something like this. First ask for the customer ID. They enter that in and submit it. If it’s valid then reload the page and show the bbPress login.
if ( isset( $_GET['cid'] ) && !empty( $_GET['cid'] ) ) {
// cid (customer ID) is present, show the bbPress login form
echo 'Please enter your username and password to complete the login process';
echo do_shortcode('bbp-login');
} elseif ( $_GET['error'] == true ) {
// cid entered was not valid
echo 'The customer ID you entered is not valid.';
} else {
// cid is absent so show the form to validate it
// do your custom form here that asks for the customer ID. Then if the customer ID
// is correct/valid reload this page like /login?cid=123456 which will show
// the bbPress login form.
}
Another option would be on the first form to ask for the username. Then you could take that and have it auto fill in on the login form using the WordPress login form function (wouldn’t be able to use the bbPress shortcode for this).
Jared, thanks for the feedback. The more I thought about it, about a thousand different ways to do it popped into my head as well (spun my brain into a scrambled egg). At this point, I’ve basically started to write the custom login from the ground up. I’m going to create a shortcode out of it at the end.
I just started it but so far I just have the basic connection and query going:
function restrictForum(){
$db_name = 'dbname';
$con = mysql_connect("URL","username","password*");
mysql_select_db("$db_name")or die("cannot select DB");
$cust_no = $_POST['custno'];
$sql = "SELECT * FROM customer_data WHERE customer_number = $cust_no";
echo('Customer #');
}
I previously had this small bit into a shortcode that just checked if the user was logged in then provided the bbpress login form if they weren’t:
function restrictForum(){
if(!is_user_logged_in()){
echo('You must login to access the forum');
echo do_shortcode('[bbp-login]');
}
}
add_shortcode('forum-login-restrict','restrictForum');
i am having trouble in changing text color in bbpress.
my wordpress version is Version 3.4.2 and bbpress version is : 2.2.2
I am no expert in Css but have a little knowledge about css,after installing bbpress every thing was working perfect until i realised i am not able to view what i have written in the subject of a topic because my text color matches background color,resulting in a white screen.I went through some similar related topic but sadly was unable to fix the problem.If some one can guide me step by step what should be done to erase this problem i would be grateful.I use a custom theme on my website named PrestigeDarkVol 1.4.Below is a screen shot of the problem faced by me.
Do let me know which Css to edit and which lines and the location of the css file in file transfer protocol.Any help related to this topic is much appreciated. thank you very much in advanced.looking forward for a solution.
link to image : http://i1057.photobucket.com/albums/t388/p7ayboy/Untitled-1.png
Of course the user has to add his G+ profile URL manually (so that the rel=”me” link points to his/her profile) for his picture to show up in SERPs, but having a rel=author in the links from topics or replies to his/her profile still makes sence.
If future versions of bbpress would start using more HTML5 each reply could be an <article/> element which would be more semantic for Google authorship.
But for now only one author for a page counts ( the first one ). Thats why I suggested using lead topics so that the topic creator get the authorship on paged topics.
The thing that makes inline images tough is non-admin users cannot use the tag and shortcodes are not an option.
Currently there is an issue on trac (#1916) that would make it where img tags do not get filtered out. Once that’s done it would open the gate for plugins to handle inline images pretty easily.
Hmm, there could be numerous things causing this to not work. Likely user accounts via the FBC are missing some user metadata that bbPress is expecting or are otherwise not formatted correctly.
At this time I don’t think we are planning on officially supporting that plugin, though I do think having limited compatibility at some point in the future could great.
I got it to work in firefox by adding this when I had the same problem at appglobe.com:
#bbpress-forums .bbp-user-section ul.bbp-topics {
float: left !important;
width:100% !important; /*forgot this one on my last post @mamasaywhat */
}
Try that or the code above by Jared Atcihison and it should work in firefox.
the bad tweak :
function bbp_filter_blog_editable_roles( $all_roles = array() ) {
// Loop through bbPress roles
foreach ( array_keys( bbp_get_dynamic_roles() ) as $bbp_role ) {
// Loop through WordPress roles
foreach ( array_keys( $all_roles ) as $wp_role ) {
// If keys match, unset
if ( $wp_role == $bbp_role ) {
//unset( $all_roles[$wp_role] );
}
}
}
return $all_roles;
}
bbpress/core/capabilities/
And then Moderators are back……. I’m sure i missed something but plugins like “members” don’t do the trick. And i just want basic forum moderation works now.
I will never understand why endusers have to put their hands in the mess of bbpress and hack/tweak it just to use this plugin >:( I can’t trust in your plugin every updates are hell.
Then, don’t work as a dirty pig, and update the doc when you change such important things like roles! It just a little more repectfull for end users.
@RaphaelJeger I want to know!! 🙂
https://wordpress.org/extend/plugins/gd-bbpress-attachments/ works but doesn’t help with inline attachments, and the regular WordPress tinyMCE settings are not applied to the bbPress editor.
Oh, I see I forgot a “{” in my first code….it should be:
#bbpress-forums .bbp-user-section ul.bbp-topics {float: left !important;}
Thats strange, I checked out your profile topics page in firebug and added a float left at this section:
#bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-replies {
border:Â 1px solid #EEEEEE;
clear:Â both;
float:Â left; // Added this
font-size:Â 12px;
margin-bottom:Â 20px;
overflow:Â hidden;
}
and when I did so it got visible.
Try this instead at the bottom of your style.css:
#bbpress-forums ul.bbp-topics { float: left !important; }
Try this at the bottom of your  CSS file:
#bbpress-forums .bbp-user-section ul.bbp-topics
float: left !important;
}
The following is what I use at AppGlobe:
/* Add Google+ profile URL as profile contact method  */
function appglobe_add_google_profile( $contactmethods ) {
$contactmethods['google_profile_url'] = 'Google Profile URL';
return $contactmethods;
}
add_filter( 'user_contactmethods', 'appglobe_add_google_profile', 10, 1);
/* Remove nofollow, and ad author to the profile link */
function appglobe_switch_nofollow_for_author($str) {
$str = preg_replace(
'~<a ([^>]*)\s*(["|\']{1}\w*)\s*nofollow([^>]*)>~U',
'<a ${1}${2}${3}>', $str);
return str_replace(array(' rel=""', " rel=''"), 'rel=author', $str);
}
add_filter( 'bbp_get_topic_author_link', 'appglobe_switch_nofollow_for_author' );
And then in your user-profile.php (create a bbpress folder in your theme root, and copy it over) you can add this:
<?php if( bbp_get_displayed_user_field( 'google_profile_url' ) ) : ?>
<h2 class="author-subtitle">Google Profile</h2>
<?php if( bbp_get_user_role(bbp_get_displayed_user_id()) == 'bbp_keymaster' || bbp_get_user_role(bbp_get_displayed_user_id()) == 'bbp_moderator') : ?>
<a rel="me" class="bbp-user-url" href="<?php esc_url(bbp_displayed_user_field( 'google_profile_url' )); ?>"><?php bbp_displayed_user_field( 'google_profile_url' ); ?>
</a>
<?php else : ?>
<a rel="me nofollow" class="bbp-user-url" href="<?php esc_url(bbp_displayed_user_field( 'google_profile_url')); ?>"><?php bbp_displayed_user_field( 'google_profile_url'); ?>
</a>
<?php endif; ?>
Since I beleave only the first rel=me link on a page counts there would be best to use topic lead:
add_filter( 'bbp_show_lead_topic', '__return_true' );
…by doing so each page will be considered authored by the topic creator even if its paged.