I am having trouble importing from SimplePress to bbpress. I’m not sure what the table prefix is supposed to be. I tried wp_ and that didn’t import anything. I tried wp_sf (I think that is the beginning of tables for SimplePress but get this error
Repair any missing information: Continue
WordPress database error: [Specified key was too long; max key length is 1000 bytes]
CREATE TABLE wpzu_bbp_converter_translator ( meta_id mediumint(8) unsigned not null auto_increment, value_type varchar(25) null, value_id bigint(20) unsigned not null default ‘0’, meta_key varchar(255) null, meta_value varchar(255) null, PRIMARY KEY (meta_id), KEY value_id (value_id), KEY meta_join (meta_key(191), meta_value(191)) ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;
Is there anything I can do to get this import done?
it is your theme doing this
it sets a css rule
.entry-content {
width: 71.4286%;
}
and considers bbpress to be entry content.
you could try setting this to 100% – it will work for the forums page, but you’d need to check that it doesn’t upset another part of the site
it looks like you have child theme configurator that will let you have custom css, so put this in it
.entry-content {
width: 100%;
}
if that doesn’t work try
.entry-content {
width: 100% !important;
}
come back and let us know
bbp_get_reply_id()
is the function you are looking for.
your theme is doing this
it doesn’t recognise this as a page, so is allowing for a sidebar.
go to
Step by step guide to setting up a bbPress forum – Part 1
and look at item 3, and tell me what method you are using. If not Method 2, then try this
The nofollow is added on output rather than save, so if you use inspection tools you will see that the actual code sent to browser (and hence seen by robots) has nofollow
eg
<div class="bbp-reply-content">
<p>
<a href="http://www.rewweb.co.uk" rel="nofollow">link to my site</a>
</p>
Hello:
I have created a log in page but I tested it myself and I logged out. But though I set up the recommended bbPress code for log in, there is no option to log in. When I logged out, I still got this message: “You are already logged in.”
I can’t create a registration form, in spite of creating one with the recommended bbPress shortcode.
Without being able to log in our log out, or register, I can’t invite anyone to my forum.
Sigh.
set your root to ‘xxyy’ – whatever you want to call it
create a page called ‘xxyy’
in the content on that page put
[bbp-forum-index]
[bbp-topic-index]
In the forum settings, it gives the option “Forum root should show” with the choices of “Forum Index” or “topics By Freshness”. How can I have the root show both – the listing of forums, and below it the latest topics?
I know there is a shortcode [bbp-topic-index] which will show the latest topics, but I don’t know where I can put that to have it show on the forum root.
Thanks
I am developing an android app for my wordpress forum. Please is there any way I can create new users and login old ones programmatically? Maybe a rest API or something.
Please you can show the code in php or any language of your choice.
add_action ('bbp_theme_after_reply_content', 'rew_hr', 10) ;
function rew_hr () {
echo '<hr>' ;
}
Two to be precise.
#1. Registration: I take it you need to set up a page and to add a shortcode.
#2. Lost Password. Again I understand you need to set up a page and add a shortcode.
You need to tell people, instead of acting as though they automatically knew this. And in these instructions to the page on installation. In addition, make sure to include the softcodes needed.
Don’t make setting up the plugin any more frustrating than it has to be.
Is the bug still present? I am using 2.5.12, released on December 9, 2016.
And still facing the same problem.
Theme: Avada 5.0.4
Wordpress: 4.7
BBpress: 2.5.7
try
add_action ('bbp_theme_after_reply_content', rew_hr', 10) ;
function rew_hr () {
echo '<hr>' ;
}
i get an syntax error in dreamweaver with this code
this will be hit or miss, as it is xmas eve, and this code is entirely untried
add_action ('bbp_theme_after_reply_content', rew_hr', 10) ;
function rew_hr () {
echo '<hr>'
}
do you know how to add code to your function file?
there is no shortcode for logout – users normally just leave the site
you can add login/logout to the menu.
This plugin will help you do that
https://wordpress.org/plugins/bbp-style-pack/
Thank you. What is your shortode for logging out? I can’t find anything in your Documentation. I tred to create a shortcode and it shows up as code.
This [bbp-login]
to this:
[bbp-logout]
Does the free model offer shortcodes ?
Could I make a simple form or Send pm button which i could add to the sidebar ?
I TAKE NO RESPONSIBILITY FOR WHAT FOLLOWS !!!
BACKUP YOUR DATABASE FIRST !!
see
Remove post_status Spam Posts from WordPress
but this should do it
DELETE FROM wp_posts WHERE post_status = "spam"
It will not get rid of post meta for these.
@invoke_media_group – This forum topic does not have anything to do with your issue/problem. So please create a new forum topic for your different issue/problem. Also you should do standard troubleshooting steps first before posting your new forum topic: deactivate all other plugins to see if another plugin is causing the problem, comment out any custom functions you have created in your theme functions.php file, switch your current theme to a WordPress theme: 2017, 2016… When you post a bbPress forum topic you need to include these things: what WordPress version you have installed, bbPress version you have installed and what troubleshooting steps you have already performed.
You should also probably include the relevant code in file: /bbpress/includes/core/template-function.php on line 316 (shown below) and that this function: bbp_get_template_stack() uses this filter: bbp_get_template_stack to Call the functions added to the ‘bbp_template_stack’ filter hook, and return an array of the template locations. There is also a related bug here that appears to have already been fixed: https://bbpress.trac.wordpress.org/ticket/2871
// Sort.
if ( class_exists( 'WP_Hook' ) ) {
$filter = $wp_filter[ $tag ]->callbacks;
} else {
$filter = &$wp_filter[ $tag ];
if ( ! isset( $merged_filters[ $tag ] ) ) {
ksort( $filter );
$merged_filters[ $tag ] = true;
}
}
bbpress is starting to KILL all my sites that have it. I am thinking it is time to REMOVE this from my sites. Now I cannot even access my sites. This is the error code:
Warning: ksort() expects parameter 1 to be array, object given in /home/content/p3pnexwpnas06_data03/07/2899307/html/wp-content/plugins/bbpress/includes/core/template-functions.php on line 316
Can anyone help?
WordPress 4.7
bbPress 2.5.12
Site: https://forum.ait-pro.com/
Custom bbPress/BuddyPress Theme & tested switching to WP Twenty Seventeen Theme
Tried creating a bug ticket on trac, but was not allowed to login and do so.
Issue: In previous versions of bbPress this code below worked fine in my Theme functions.php file. As of bbPress 2.5.12 this code is no longer working in my Theme functions.php file. I checked output and bbPress Core code and did not see anything obvious. Output was good. ie $role and $caps, but it appeared that the filter was not being processed in time when the Activity template loaded. So I moved this code to the BuddyPress /plugins/bp-custom.php file and this code works fine. So obviously this some kind of init or loading order type of issue. ie the filter is being processed too late.
// bbPress Disable Topic Tags for Participants
function aitpro_get_caps_for_role_filter( $caps, $role ) {
if ( $role == 'bbp_participant' )
$caps = aitpro_get_caps_for_role( $role );
return $caps;
}
add_filter( 'bbp_get_caps_for_role', 'aitpro_get_caps_for_role_filter', 10, 2 );
function aitpro_get_caps_for_role( $role ) {
switch ( $role ) {
/* Disable Topic Tags for Participants */
case 'bbp_participant':
return array(
// Primary caps
'spectate' => true,
'participate' => true,
// Forum caps
'read_private_forums' => true,
// Topic caps
'publish_topics' => true,
'edit_topics' => true,
// Reply caps
'publish_replies' => true,
'edit_replies' => true,
// Topic tag caps
'assign_topic_tags' => false, // Using false disables allowing Participants to create Topic Tags
);
break;
default :
return $role;
}
}
1.5 years ago, nothing’s changed. finish the stupid plugin already. What’s up with the incomplete code???