Search Results for 'code'
-
Search Results
-
Hi – I’m trying to change the title of my forum index page. I tried item 3 method 2 at:
— saving my index page as /members (not /forums) as per WP settings, and then tried to give members page in wordpress the title “Private Forums” (instead of title Members). It displays as “Private Forums” (not “Members”) in the breadcrumb. But still on main index page, it displays only the title “Forums.”I’m using the shortcode [bbp-forum-index] on /members page as I have text above and below it.
What can I add to functions.php that will force that index page to display the title “Private Forums”?
Thank you!
Topic: MySQL Syntax Error
Hi,
A MySQL syntax error has started cropping up recently, even though I have made no changes that might be related to this (same MySQL version, same PHP version, same bbPress version, same WordPress version). Can anyone enlighten me on what might be causing this?
Once again, this only started happening recently despite the lack of any significant related changes – I have been doing forum repairs for years without any errors.
[09-Mar-2023 05:01:55 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘312810’)’ at line 2 for query INSERT INTO
as_usermeta
(user_id
,meta_key
,meta_value
) VALUES
(‘4185’, ‘as__bbp_favorites, ‘312810’); made by require_once(‘wp-admin/admin.php’), do_action(‘load-tools_page_bbp-repair’), call_user_func_array, bbp_admin_repair_handler, call_user_func, bbp_admin_repair_user_favoritesi use this code for differentiate lead topic :
function custom_bbp_show_lead_topic( $show_lead ) {
$show_lead[] = ‘true’;
return $show_lead;
}add_filter(‘bbp_show_lead_topic’, ‘custom_bbp_show_lead_topic’ );
now I want to display @mentionname too on lead topic, basically it’s like bbpress forum, however I can’t do it, anyone can help ?
Topic: Style pack breaking theme
Hi Robin, your bbpstyle plugin is very nice but unfortunately it’s breaking my theme. (Jannah premium) So I couldn’t use. On the other hand Ian Stanley’s moderation plugin very nice. I’m using it for test site but last updating 9 years ago. I’m confused to use in real site. No code for function file? I want to approve for replies and topics not registered users.