Forum Replies Created
OK, I just set up a 100% fresh WordPress 3.2.1 install along with a 100% fresh bbPress install. Created a new forum, added 2 topics – each with different tags. I added a third topic with no tags.
When I go to view a single tag, it shows all 3 topics which is incorrect and would seem to be a bug.
Can anyone else confirm.
Thanks anointed, I might follow your approach as I want to keep the forums somewhat separated from the rest of the site. Am sure I will learn many things along the way also, as an added bonus
@anointed, did you ever find a good solution or plugin for this? I tried https://wordpress.org/extend/plugins/widget-context/ but putting forums/* doesn’t allow me to show/hide widgets.
I’m against the idea of using wp_register(); since it redirects you to wp-login.php to sign-up instead of using a registration page in the theme. Also, the idea with community sites like bbPress and BuddyPress, is usually to keep members out of the admin area. Promoting them to enter it seems counter intuitive.
Thanks, I missed the part where you mentioned integrating the register/login pages into bbP. Looking forward to more discussion and potential solutions on this.
Would wp_register() not actually display an admin link, since we’d only use it
if ( !is_user_logged_in() )?
Do you have a /forums physical directory on your server? If so, try renaming it.
Are you trying to install bbPress standalone (1.0.3) or bbPress Plugin (2.0 beta 2)?
Any opinions on the above? I personally think it would be good to include a “Register” link in the login widget. Curious to hear others’ opinions.
“This tag displays either the “Site Admin” link if the user is logged in or “Register” link if the user is not logged in.”In reply to: No forums found
Not sure if this would help, but have you tried a recount? Go to Tools > Recount.
@Chrisdfr – if you are using the bbPress plugin (i.e. NOT the standalone), I would just download it directly from the WordPress backend by going to mysite.com/wordpress/wp-admin. Then Plugins > Add New > Search for ‘bbPress’ and InstallIn reply to: wysiwyg reply form on bbPress 2
I was able to get Comment Form Quicktags showing on bbP’s reply form by adding
add_filter('bbp_get_reply_content', array(&$this, 'detect_start'));but not on the topic content form. I tried:
add_filter('bbp_topic_content', array(&$this, 'detect_start'));
add_filter('bbp_get_topic_content', array(&$this, 'detect_start'));
What am I doing wrong?
What do you guys think about adding
wp_register();to the login widget?
I was just looking into this topic a bit – I wonder if it’s useful to add a “Register” link at the bottom of the login widget inside /bbp-includes/bbp-core-widgets.php? This would bring a user directly to
/wp-login.php?action=registerand would only display if WP’s “Anyone can register” option was turned on.
I’ve also just installed the Register Plus Redux plugin (https://wordpress.org/extend/plugins/register-plus-redux/) which allows you to upload your own image for the registration page and gives other nice options.
Good to hear – just updated to 3254 and I see Home > Forums > Forum Name breadcrumb
In beta1, I remember seeing a “Forums” link in the breadcrumbs, such as Forums > Forum 1. In beta2, this is no longer the case: I see Home > Forum 1 whereas I would have expected it to show Home > Forums > Forum 1.
Anything of note in your server error logs when you get the 500 error?
Thanks John. That’s what I had expected the forums to look like by default.
Is the best way to get the ‘latest’ version downloading the zip from here? https://bbpress.trac.wordpress.org/browser/branches/plugin
Which template file controls this default /forums view? http://i54.tinypic.com/bwp6s.jpg
PS. Are there plans to include more information here such as number of posts in a forum, link the name to the forum, etc.?
@kai920 – Go to the tools/recount area of your stand alone installation, and run all of the recount functions there (just to be on the safe side.)
I wrote a quick script (took me a lot longer than it should have) to re-populate the
post_positioncolumn. If anyone needs it let me know. My ’empty first post’ problem is solved. Thanks everyone who helped!
Thanks JJJ, I tried the recount on the standalone again just to be safe but it does not appear to have affected the post_position column. Every row still says 0.
(I got “Removing deleted topics from user favorites… Failed!” but I assume this does not have anything to do with my issue.)
Do I need to write a simple script that looks at each topic_id, ordered by post_time, and then insert 1, 2, 3, 4… etc. into post_position? Or should the recount have taken care of this?
I guess at this point this is not bbpress 2.0 related (or is it?) so if I should create a new topic on this, please let me know.
Yes, that makes sense thanks
So, how do I make sure the first posts are ‘cached properly’? I ran another test import and on the screen, the feedback the plugin importer gave was:
Added topic #2559 (LG's iPhone - the KS20) as topic #1374 with 1 replies.
Is ‘1 reply’ same as ‘1 post’ (and no replies), or does it mean it had 1 reply to the original post?
edit: this line isn’t returning anything (i.e. $first_post is empty)
$first_post = bb_get_first_post( $topic->topic_id );
edit2: turns out, there IS something wrong with my bb_posts table… the
post_positioncolumn is all 0! Is there a way to repair this?
kai920: That probably means that the first posts weren’t cached properly by bbPress standalone (when it was asked to do by the importer). It might fix if you restore your backup and run the import again.
I should clarify: the topic’s first post does get imported but it’s imported as the SECOND post. There is just an empty, extra first post in every imported topic.
I’ve tried re-running the import but I get the same result.
Could something be wrong with my existing bb_ tables?
Here is a screencap: http://i55.tinypic.com/23r5kwo.jpg