Search Results for '\"wordpress\'
-
Search Results
-
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?Topic: User Last Login
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 HerrmannWordPress version: 5.6
bbPress version: 2.6.6Topic: Change Forum Pages Width
Hello,
I am setting up the bbpress.
I want to expand the content area of forum to the right green part as in the image.
Please help me.WordPress version: Version 5.5.3
bbPress version: 2.6.6Thank you.
Hi Experts,
I could not find an answer to my question in other topics – correct me if I there was already an issue like that.
I’m using- WordPress 5.3.4
- BuddyPress 6.3.0
- bbPress 2.6.5
…with some other plugins I already deactivated (without solcing my problem). Please let me know if you need information about them as well.
Problem: The notification within the Webpage is always just “bbp_new_reply” “sometime ago”. It is not linked/ specified.
Do you have an idea where this comes from? Maybe someone else already had such an issue?Even when I click the notification I receive via email, it leads me to the main page only.
Thanks a lot!
Topic: Next page with posts 404
In my forum I have set bbPress to show 30 subjects on each page. When there are 32 subjects and I click on page 2 I get a 404-page. How do I get page 2 with another 30 subjects?
I have WordPress 5.2.2 and bbPress 2.6.6. The site is https://seniornet.se. The forum is only for members and needs login.Topic: how to change line break tag
Hi
I use
WordPress + BBPress and Advanced Editor Tools (previously TinyMCE Advanced)The classic editor is activated and in use
Now My site forum
——————
change the line by input the enter key, it operates as a p tag (paragraph)change the line by input the shift+enter key, it operates as a br (br /) tag
——————I would like to use a br tag like this forum.
my site(forum) is now the br tag only works with shift + enter
(if input the enter key, it operates as a p tag)I want to use the br tag at the line break when I type Enter.
how to it’s change?
Best Regards,
HyunhoTopic: Disable new topic emails
Hi,
I get a new email everytime someone posts a new topic in my forum. Is this possible to disable?
I have tried using the plugin https://wordpress.org/plugins/bnfw/ but no luck.
Thanks.
Topic: Style pack doesn’t work
Hello,
I’m very new to bbpress as well as wordpress. Trying to configure a BBS for my friends of exotic plants I have a lot of problems.
I’m using WP Version 5.6,bbPress Version 2.6.6, main theme ocean wp, and the bbp style pack Version 4.7.0 is installed. But no styling works. Nor the background color nor the text size.“No bbpress files have been changed in the theme” and
“This sentance should have a green background”are both green.
I wish to have Forum/Topic Headers/Footers within bars as shown as No 2 in the picture of the Forum index styling. But there are no bars.
The provisory URL of the site is
Hoping for help. Thank you.
Pflanzenoma
Topic: change forum post author
how do I change some admin forum posts to another user? I am both admin and keymaster.
WordPress version: 5.5.3–it_IT
bbPress version: 2.6.6
site: https://www.durecomemuri.it/forum/wp-admin/