– Backup your site and all your databases often during all these steps in case any step along the way you can revert back to a working site
– Upgrade your bbPress 1.1alpha to the final 1.1 release https://bbpress.org/download/legacy/ https://codex.bbpress.org/legacy/updating/
– Install bbPress 2.2x plugin to WordPress https://wordpress.org/extend/plugins/bbpress/
– Run the bbPress 2.x Tool ‘Import Forums’ to import your old forums https://codex.bbpress.org/import-forums/
You wern’t using your wordpress.COM by any chance were you?
It should be the same as your user/pass for here at bbpress.org (Same as wordpress.org)
If no luck try resetting your password which might force everything to update for bbpress/wordpress.org sites.
Hi,
I’m upgrading my forum from a standalone installation to the newer wordpress plugin. The URL structure is a bit different:
Old bbPres (v1.03):
Main page: domain.com/forum
Forum pages: domain.com/forum/forum/{forum-name}
Subforum pages: domain.com/forum/forum/{forum-name}
Topic pages: domain.com/forum/topic/{topic-name}
New bbPress (v2.2.1)
Main page: domain.com/blog/forums
Forum page: domain.com/blog/forums/forum/{forum-name}
Sub-forum page: domain.com/blog/forums/forum/{parent-forum}/{forum-name}
Topic pages: domain.com/blog/forums/topic/{topic-name}
So the main issue I have is that the forum is now in the wordpress directory, whereas I’d rather it was outside. The other issue is that now sub-forums have the parent forum in the url.
I’d like to do two things:
-> Remove the /blog/ from the forums url
-> Redirect old sub-forums to the newer domains.
Does anyone know the htaccess/mod_rewrite to do this?
-
This topic was modified 13 years, 5 months ago by
spwestwood.
Sorry about that, about half of the forums are public now. We are using the site to promote our group and the forums side of it is being used with the private settings so only our members can read them and use them for event planning and group conversations.
Now I have just upgraded to bbPress 2.2.1
The interesting thing is when I switched some of the forums over to public so you can see them, the forums in question showed up again.
I’m going to keep posting and playing with them, but any help you can offer would be great.
Thanks for you time!
Ran the check you suggested spwestwood, my second and third columns match. No problems there.
I know I had a lot of problems with anonymous spammers where I had to shut down the forum. The anonymous posters would not aim to post publicly but just to fill my recently moderated section with website links and marketing talk. Even though I had long ago deleted the anonymous poster file, the anonymous posters were still a problem internally, creating havoc.
I’d like to have the forums base just be /, is that possible with bbpress?
For instance, say I have a forum category of ‘bears’ and the forums within it are ‘grizzly, brown, and polar’ and I’d like my URLs to be:
example.com/bears/grizzly
example.com/bears/brown
example.com/bears/polar
Similarly, another category might be ‘apes’, and I’d like URLs:
example.com/apes/gorillas
example.com/apes/bonobos
example.com/apes/chimpanzees
Right now the best I can do is:
example.com/forums/apes/gorillas, etc.
So I want to remove the ‘forums’ part completely.
Thanks for any help!
Hi Kannued,
There were 2 queries I posted. There needs to be 2 because previously in v1 bbPress had 2 seperate tables – one table for the initial topic post and then another table for the followup replies. All posts are now contained in wp_posts.
So the first query takes all the author ids from the forum topics and copies them across to the wp_posts table:
update wp_posts inner join bb_topics on wp_posts.post_title=bb_topics.topic_title set wp_posts.post_author = bb_topics.topic_poster
The second then does all the replies:
update wp_posts inner join bb_posts on bb_posts.post_time = wp_posts.post_date set wp_posts.post_author = bb_posts.poster_ id where wp_posts.post_author = ’1′
(This is a bit messier. The only way I found to match bb_posts to wp_posts was by the time the post was made. For some reason looking at the text of the actual post didn’t match. Perhaps there was an encoding difference or something.)
Before running either it might be a good idea to check you are getting the same error I have. If you run the following:
select topic_title,topic_poster,post_author from wp_posts inner join bb_topics on wp_posts.post_title=bb_topics.topic_title order by bb_topics.topic_id desc
This doesn’t make any changes. It shows you 3 columns: topic title / author in old bbpress / author in new bbpress.
For me the 3rd column was all 1s (which is my user id). So all I had to do was copy the second column across, which is what the 2 queries above do.
I agree John, it is a clever approach.
As John knows my problem is with Anonymous getting all the credit in posts. My wp_users are correct. The IP address link for each topic is correct. But the nickname assigned to the topics is incorrect. All plugins on bbpress 1.1 and wp 3.4.2 were deactivated before the migration/integration.
I think I need to try what spwestwood did. But my MySQL skills are limited. Do I use new query for each statement? Or do I run the first four statements in a new query?
Hi Lesego,
As a general rule, we strongly advise users not to modify core WordPress/bbPress files under any circumstances. There are a whole host of issues you could be causing.
I recommend taking a look at “Customizing the Login Form -> Make a Custom Login Page”
http://www.getarailroadjob.com/forum
http://www.getarailroadjob.com/
Not sure why original person who installed forum was not able to use original wp-admin for installing but they installed it on forum/bb-admin instead.
now i want to upgrade bbpress to latest version and The version I have is old and I think back then it was just a theme that was uploaded and NOT a plugin…. Now they have switched from a bbpress theme to a plugin
so how can i install and update new version
thanks
For anyone else who comes here trying to programmatically display the forum index list, you can call shortcodes like this:
echo( bbpress()->shortcodes->display_forum_index() );
For what it’s worth, I don’t know why a function called “list_forums” would display *sub* forums. I would think that would be a function named “list_sub_forums” but, oh well. At least there’s a work around. It’s also worth noting that this might not be the best way to do this. I haven’t done much testing (I’ve done none).
Cheers!
This.
Indeed, I have pimped it up a level… https://bbpress.org/about/examples/
I haven’t got a fix for you though hopefully @jjj can do some magic.
The issue relates to how your user profiles /users/admin/ are including ‘recent topics’ on that same page rather than the default bbPress /users/admin/topics/, thus if you go to /users/admin/topics/page/2/ everything is perfect.
In your custom template file user-details.php you have added lines 16-33 but this is causing bbPress to generate the pagination links for the current /user/admin/ URL.
I know I have found the problem, but a solution, nope, I’m stuck, my PHP skills are not quite there yet 😉
References: Changeset 4322 and /includes/topics/template-tags.php#242 bbp_is_single_user_topics pretty permalinks.
Your site is awesome to say the least and I see you have pimped it…
Very cool, thank you!!! That actually worked. 🙂
Now if I could only get my posts to show. Still having these problems as described here – https://bbpress.org/forums/topic/forum-broken-after-update/
Activate bbPress first, then follow Pagelines docs for their plugin <a href=”http://www.pagelines.com/wiki/How_to_Use_the_bbPress_for_PageLines_Plugin”>here, also make sure you have the latest version of their plugin for bbPress 2.2 compatibilty.
Many thanks Stephen, sorry I missed this. I have a Pagelines compatibility plugin for bbPress – does it matter which I activate first?
Can you please create a new ticket in the bug tracker detailing your request please.
The default bbPress breadcrumb behaviour is the same behaviour that you are looking for, that’s presuming you are using the default ‘forums’ as the forum prefix in bbPress settings.
I personally haven’t used Yoast breadcrumbs plugin but if you want to continue using it I’d suggest you head over to Yoast’s support for the plugin and ask what options you have.
Try creating a page and use the [bbp-register] shortcode or use a login widget in a sidebar.
The process is still the same, I just updated the page you mention and it was only a minor modification for the default template location in bbPress 2.2.
I cannot get user registration to work. I tried t ocreate a page and apply the bbPress – User Registration template, but there is not a single bbPress template in my drop-down menu. All there is is “Default” and “Contact Info”
Does anyone know what could be causing this? Or is there some other good way to create a user registration page/section/widget?
Thanks for any leads.
I just upgraded bbPress and now forum posts are no longer displayed. I can see the forums, but when I click on them the following page has no content. The source of the page shows me a
where the posts and page content should be.
I am also having the problem that no author profiles work. Clicking on them always takes me to the front page of my blog.
Here’s a link if anyone wants to take a look.
http://thorvalla.com/message-board-2/
I’ve been working on a MMORPG guild site with 3 distinct levels of Membership with posting rights:
– guests/potential members who can post on PUBLIC forums
– full member who can post of the guild’s PRIVATE forums
– officer/moderators who can post of HIDDEN forums.
I chose to use WordPress and bbPress instead of a dedicated guild-hosting solution to make the site different from most other guild sites, taking advantage of WordPress’s theming and bbPress’s simplicity.
bbPress 2.2.1 only seem to expect only 2 levels of membership – there is no option to have a “guest/registered” user who can post on public forums. However, I did manage to create 3 levels of member by making a small change to a core file, found here:
bbpress\includes\core\capabilities.php
Go to where the Spectator role is defined (lines 134 to 169) and change them to have the same capabilities as for the participant role (lines 225-260). Then change line 146 ‘read_private_forums’ back to ‘false’.
The problem with this approach: Your “spectator” role is now no longer merely a spectator. And, of course, this amendment would be overwritten by updating bbPress. Alternatively, you could create another role here (would be good addition for bbPress 2.3) but you need to edit other parts of the file to do so…
Another issue: I wanted custom titles to appear on topic posts beside member’s avatars. To do this, I had to create new WordPress roles using Justin Tadlock’s Member plugin. I copied the WordPress default permissions for the “Subscriber” role and gave it the name “Guest”. I did the same for the “Member” role, and I copied the default Editor roles for the guild “Officer” role – because I wanted them to be able to edit pages and posts too.
The solution seems to work although it is not ideal… I thought I’d pass it on in case there were other people in a similar position who wanted more flexibility in terms of roles. Please, please, please could making it possible to change forum roles and titles a priority update for the next major update to bbPress.
Thanks,
Andy