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
Hi All !!
I have upgraded phpBB 3.0.4 to 3.2.8 recently following steps on Upgrading from 3.0 to 3.2
When trying to import to bbpress 2.5.4 on a WP 5.2.3 I get this message:
Error en la base de datos de WordPress: [Unknown column 'forums.forum_topics' in 'field list']
SELECT convert(forums.forum_id USING "utf8mb4") AS forum_id,convert(forums.parent_id USING "utf8mb4") AS parent_id,convert(forums.forum_topics USING "utf8mb4") AS forum_topics,convert(forums.forum_posts USING "utf8mb4") AS forum_posts,convert(forums.forum_topics_real USING "utf8mb4") AS forum_topics_real,convert(forums.forum_name USING "utf8mb4") AS forum_name,convert(forums.forum_desc USING "utf8mb4") AS forum_desc,convert(forums.left_id USING "utf8mb4") AS left_id,convert(forums.forum_type USING "utf8mb4") AS forum_type,convert(forums.forum_status USING "utf8mb4") AS forum_status FROM phpbb_forums AS forums LIMIT 0, 100
No hay foros que convertir
No hay datos que limpiar
Effectively column forum_topics was on table forum in phpbb version 3.0.4 but it is not anymore on phpbb version 3.2.8.
Script to import from phpbb must have a bug or expect a different database structure for phpbb.
Any suggestions?
Thanks in advance
Is there an API that I can call when a user registers on our product website?
Users
If they are logged in to our product and click on SUPPORT/Forums, how do I go about having them automatically logged in?
mzybe
WordPress REST API – OAuth 1.0a Server
And my last question is if I can create new topics and replies to them with custom dates/times? For example, I want to create a new post with a date of a week ago, and then reply with a date from 6 days ago?
Just add/edit the topics and replies from the back end – there you can changed then publish date
ok, the problem is that bbpress stores topic and reply authors as their WordPress ID, so unless the new sites WordPress ID’s match the old site’s then they won’t match.
are the old authors all on the new site ?