I changed my WordPress database password and when I try to login I get the following error on wp-login.php
{"success":false,"data":[{"code":"bbp_converter_db_connection_failed","message":"Database connection failed."}]}
and on error.log
[14-Dec-2020 08:43:29 UTC] PHP Warning: register_shutdown_function(): Invalid shutdown callback 'BBP_Converter_DB::__destruct' passed in /public_html/wp-content/plugins/bbpress/includes/admin/classes/class-bbp-converter-db.php on line 33
I tried to delete and reinstall bbpress plugin, but it didn’t help.
Any idea what is going on?
Hello Robin,
the unread/read Icon is not displayed, neither the default ones of bbp Style Pack nor the pictures I defined with complete URL.
How can I switch them on?
Site: exoten-forum.de/site
greetings
Pflanzenoma
Hi everybody!
My users have a problem, they receive messy emails when somebody paste text from external program to forums. They receive html-format descriptions in their mails.
Sample:
<p class=”p1″><span class=”s1″>***</span></p>
<p class=”p1″><span class=”s1″>1)</span></p>
<p class=”p1″><span class=”s1″>Opel Astra: User manual 2020</span></p>
Any idea how to remove format or allowing send format in a way that users could read the mails as they should.
Thank you in advance 🙂
Best regards, Alpo
Hi, since I used BBPRESS, we shared links and post from facebook, instagram or youtube and bbpress used to preview them, very nice.
But since a few weeks ago that stopped working and now only shows the link…
Any idea?
Hello there!
I was trying to integrate a code, so other users can see the last login of any user. The integration in the admin panel worked out with a snippet, which I found in the internet, but still, I couldn’t figure it out how to show it in the profile page.
The snippet, which I used is shown underneath (can be found here: https://www.wpbeginner.com/plugins/how-to-show-users-last-login-date-in-wordpress/). I did some changes in the function wpb_lastlogin:
<?php
/**
* Capture user login and add it as timestamp in user meta data
*
*/
function user_last_login( $user_login, $user ) {
update_user_meta( $user->ID, 'last_login', time() );
}
add_action( 'wp_login', 'user_last_login', 10, 2 );
/**
* Display last login time
*
*/
function wpb_lastlogin() {
$last_login = get_the_author_meta('last_login');
(also tried: get_user_meta( $user_id 'last_login', true );
$the_login_date = human_time_diff($last_login); - changed to: date_i18n(get_option('date_format'), $last_login);
return $the_login_date;
}
/**
* Add Shortcode lastlogin
*
*/
add_shortcode('lastlogin','wpb_lastlogin');
?>
This code above I have in my function.php file in my child theme. Till here everything works fine. Besides BBPress I use a forum theme (Disputo), where I want to integrate the last login in the profile page of the user. Therefore I was trying to figure out a code to do so. The page (as an example, my own user page) is: https://www.denkerecke.de/benutzer/lukas/. For that I was using the user-profile.php , which is also used by the theme. I also used the code from the website, which I mentioned before:
<?php echo 'Last seen: '. do_shortcode('[lastlogin]') .' ago'; ?>
Still, it didn’t work out. The problem is that on every user page only the last login of myself (the admin) is shown. I think its because somewhere in the code is a mistake, so not the user id of the user profile page is filtered, rather the user id of the current logged in user or the admin.
Does anyone have an idea to fix it? I would appreciate your help.
Greetings,
Lukas Herrmann
WordPress version: 5.6
bbPress version: 2.6.6
@robin-w
How are you, man?
Do you know of any ways to display the forum in the recent replies widget and the recent topics widget?
The recent topics widget would look like this:
– Topic
– Author of the topic
– Date
– Forum
And the recent replies would look likes this:
– Author of the reply
– Topic
– Date
– Forum
Thanks in advance.
On a smaller device the “Forum Headings” are one above the other. How can I declare the size in
em’s instead of px ?
Greetings
Pflanzenoma
We plan to use anonymous topic creation with topics requiring approval by moderator. We would like to disable replies. Is this possible? I looked at custom roles but don’t see how I would remove the ability to reply when an anonymous person can create a topic.
We plan to create a public, moderated bulletin board that needs to display author contact information. Is there a PHP function that could be used to display the author’s email address with their topic? Note, authors will not be logged into the website, but a modertor will approve a topic before it is displayed to the public.
Good day to you,
I am using BBpress on mywebsite, and I will have a couple of moderators who I want to be able to create forums from the admin system, I have used ‘User Role Editor’ and created a new user role (Moderator) and give them access to the forums, topics and replies.
The ‘topics’ and ‘replies’ show up in the admin back end system for them but not the ‘forums’ so they are unable to create new forums or sub forums.
Have I missed something from the user editor?
Thanks