Sorry for the confusion. I did mean that I had no access to the old database but I got the sql.gz file of the old database backup that I transferred to a new phpmyadmin that the service provider had made with a wordpress site install. I’m not sure where to continue this anymore. Should I just whipe everything and start over or try to work it out. Again sorry for the confusion. So to put it simply so there is not confusion as I know I’m not the most clear when trying to explain something. I’m making a forum site for father-in-law. He has a old forum still on that is running phpBB. I need to transfer the forum posts etc from sql.gz file to the new site. I don’t know how the transfer tool works and couldn’t find a tutorial. Also if I did get it right I have no idea how to make it show up in bbPress.
Ok yes, starting with I’m completely new to this and I need to redesign my Father in laws, forum website. This would be my first time doing this and he said that there is no hurry as he heard from my wife that I know how to code but the thing is I’m only at the basics of C# so not sure if any use here but on to the point.
So he is not able to connect to the old website host site because I dont think it really exists anymore and/or was transferred to another host service. But he has a backup from the old database that used phpBB and he is not really willing to part with everything that was stored in that forum as it contains over 10 years of garthered info on the matter which is central to the forum. So I don’t feel that copying every post would be really a good way as there are around 200k posts on it.
So I have a wordpress site setup with BBpress and have the basics and the serviceprovider has the database on phpmyadmin. I’m looking to use the backup to somehow have the posts etc showup without messing with the actual site but im ok even if it wipes the new design.
I have tried using bbPress import tool but to no avail. I have not found any info considering this. So the old site is still active but I have no access to the old database but I have the old backup. The import tool did not make much sense to me but I tried.For example I am not sure do I use the root name when typing in the database name in the import tool so I have tried to look for a deeper explanation.Also I dont know how the old posts would show up in bbPress.
you can use ‘gettext’ if you haven’t too many
gettext – The Most Useful Filter in WordPress
hmm… suggest you read the documentation and also look at
bbp style pack
do you really mean WordPress role subscriber or bbpress role participant ?
:)Side question – do the bbPress authors actively view these forums etc.? It all seems rather quiet. Apart from your grateful efforts. I raised one of those trac tickets:
https://bbpress.trac.wordpress.org/ticket/3266#ticket
It was suggested:
https://codex.wordpress.org/Plugin_API/Filter_Reference/registration_redirect
But I tried:
add_filter( ‘registration_redirect’, ‘my_redirect_home’ );
function my_redirect_home( $registration_redirect ) {
return ‘https://www.publictalksoftware.co.uk/registration-complete’;
}
I used the “Snippets” plugin and it did not seem to work.
This code will change the WordPress profile to bbpress profile
add_action('wp_before_admin_bar_render', 'rew_admin_bar_remove_wp_profile', 0);
function rew_admin_bar_remove_wp_profile() {
global $wp_admin_bar;
/* **edit-profile is the ID** */
$wp_admin_bar->remove_menu('edit-profile');
}
add_action('admin_bar_menu', 'rew_add_bbp_profile', 999);
function rew_add_bbp_profile($wp_admin_bar) {
$current_user = wp_get_current_user();
$user=$current_user->user_nicename ;
$user_slug = get_option( '_bbp_user_slug' ) ;
if (get_option( '_bbp_include_root' ) == true ) {
$forum_slug = get_option( '_bbp_root_slug' ) ;
$slug = $forum_slug.'/'.$user_slug.'/' ;
}
else {
$slug=$user_slug . '/' ;
}
$profilelink = '/' .$slug. $user . '/edit' ;
$wp_admin_bar->add_node( array(
'parent' => 'user-actions',
'id' => 'bbp-edit-profile',
'title' => 'Edit Profile',
'href' => $profilelink,
) );
}
Put this in your child theme’s function file – or use
Code Snippets
So we have the login/register widget.
– User clicks Register
– It then shows the custom Register page
– Fill in details
When a user clicks the “Register” button it then takes you to the default wordpress login page with a small message in the middle saying the registration is complete and to check email.
This is confusing to the user and provides an inconsistent experience. Is it possible in any way to either redirect them to another custom page with the “results” or display it on our page own register page?
In your notes above it states:
“Posts with 3 or more links will be manually approved by our forum moderators.”
In my WordPress site my settings are also to a max of 2.
I created a topic with 3 links but the post did not go to moderation. Is this because I am an admin and the moderation does not apply?
This code (untested) should subscribe all current users to forum ID 3
$list = get_users();
if (empty (get_option ('rew_done')) {
foreach ($list as $user) {
$user_id = $user=>ID ;
$forum_id = 3 ;
bbp_add_user_forum_subscription( $user_id, $forum_id ) ;
}
update_option ('rew_done' , 'done' ) ;
}
Put this in your child theme’s function file – or use
https://en-gb.wordpress.org/plugins/code-snippets/ and load a page, then remove it
Yeah, that is understandable.
In bbp style pack it lists a few other plugins. I wonder if we could indicate any that won’t work with the latest bbp build.
Also, if it is not maintained I guess there is no where to ask for help.
I understand people getting overwhelmed.
But I tend not to install plugins that say they are not supported.
Was thinking of:
bbPress Advanced Statistics
Andrew
bbp style pack
lets you add an ‘edit profile’ to the menu see
dashboard>settings>bbp style pack>login
and also has a shortcode that you can put into a text widget in the sidebar
[bsp-profile’ label=’Edit Profile’ edit=’y’]
see
dashboard>settings>bbp style pack>shortcodes
I think this has what you need
bbPress Toolkit
It is not being maintained, but I presume it still works?
Wordpress removes plugins that are not maintained, but most continue to work and are based on stable code.
or is this one now not working ?
I’m not sure what bbP Manage Subscriptions did, so hard to say what will replace
try
bbPress Toolkit
that has some subscription management stuff
Thanks for trying.
The important thing is to know how it works after we adapt. But it’s true that the WordPress team could take this into consideration which would allow for many creative alternatives. A bit like when you create a child theme without touching the original.
bV
great – not an issue that WordPress seems to have considered – I did try and see if there was an easy way to bypass, but could not find one 🙂
I am using bbpress in conjunction with buddypress and I noticed that the forums have different avatars for users than their profile avatar. Is there a way to use the avatars from buddypress and not from bbpress?
I found this topic and its exactly what I’m referring too, but it was never marked as resolved and the answer was only for replies. The code snippet in this post works for me, but I need it to go further and apply to all avatars. I tried adding a filter to ‘bbp_get_current_user_avatar’ but I can’t get it to work.
Wordpress, buddypress, and bbpress are all up-to-date – I also have the Youzer plugin installed
Thanks in advance!
hmmm… quite a puzzle
so you could try putting your customised file here
wp-content/languages/plugins/bbpress-fr_FR.mo
plugins load code from only two places, but no idea which loads first, but looks like that location loads last, so it might work. but again might be overwritten by WordPress updates
So in the forums page I have changed to a different sidebar to reflect options for the forums, works. However, when you click on an action forum topic, I.E. General, the sidebar reverts to the default one. I have no clue where to find where these pages are being made, nor I have no clue as to why these would not be considered child pages since they are being created off the forums page.
the date format is usually the one set in WordPress, so would be common to your site
bashboard>settings>general