It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
if it looks like a theme issue then try
bbpress wp4 fix
or
bbpress wp4 fix2
yes it will get your admin back.
Then :
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
Any one? Please…
How do I create a custom index page that is actually a bbpress-page and NOT an ordinary wordpress page that happens to have bbpress-content in it?
The problem with the suggestion that Robin offers is that his own plugin (bbp style pack) won’t recognize the custom page as a bbpress page.
If I’m being stupid and missing something obvious please let me know.
Cheers!
Thanks Robin, If I do that, how will I get bbpress working again? Won’t that just deactivate the plugin?
Url link ‘Insert/edit’ dialogue box is cropped too small/close – link entry boxes are too small and the submit buttons etc, are cropped off edge of dialogue box. doing F12 inspect items, I can find settings that correct this, but I can’t get them to stick! I’ve copied/pasted into Child-Theme CSS and bbpress CSS to no avail.
4.7.2 Multisite – forum in sub-dir site.
Would be very grateful for any advice.
it is a right sidebar widget. I’m using both buddypress and bbpress.
Thank you for your interest @hardeepasrani
Hi Robin,
Don’t know where your’re in the progress of your tests, but I noticed that the “What the file” plugin I couldn’t see for more than a day just turned up today but on another profile I’ve created for my friend that will take care of the site once all the issues with the forum part are solved!
Really weird!?
Yet it doesn’t display in my admin profile !!!
Anyway, I could find out thanks to this plugin that this is the “page.php” template which is being used on the page listing all the forums and the “bbpress.php” for each forum !
Yet, when I select it through this plugin, changes I made on the model in the theme child I had created are present :
<div class=”wrap page-full-width“>
<div id=”primary” class=”content-area-wide“>
<main id=”main” class=”site-main” role=”main”>
<?php
But I guess this has more to do with Twenty seventeen subtleties or the CSS!!??
FYI, here’s the site I followed step by step in order to get this fuc… full width page to work properly and the closest to the theme Twenty seventeen :
– http://www.designbombs.com/master-twenty-seventeen-wordpress-theme/
Regards,
Philippe
Hi Wiisonca,
I used to have a lot of registration spammers, this plugin solved it for me:
https://da.wordpress.org/plugins/wp-spamshield/
I haven’t had an occurence in over 6 months.
You can also go for the paid option, which also worked for me a couple of months before using wp-spamshield: https://da.wordpress.org/plugins/cleantalk-spam-protect/
As a side note, deactivating bbpress does not remove data.
what the? Doesnt bbpress come with a default moderation tools?
Hi @fuskeren!
I don’t use bbPress style pack plugin.
The theme use that code for call the last active topic display:
<a rel="internal" href="<?php bbp_forum_last_reply_url(); ?>" title="Legutóbbi aktív téma: <?php bbp_forum_last_topic_title(); ?>"><?php bbp_forum_last_topic_title(); ?></a>
and under that: (the second line, the time and user)
<?php do_action( 'bbp_theme_before_forum_freshness_link' ); ?>
<?php bbp_forum_freshness_link(); ?>
<?php do_action( 'bbp_theme_after_forum_freshness_link' ); ?>
I’m tried add that code:
<?php
$forum_id = bbp_get_forum_id( $forum_id );
$active_id = bbp_get_forum_last_active_id( $forum_id );
?>
<?php echo bbp_get_forum_last_reply_url( $forum_id ); ?><br />
<?php echo bbp_get_forum_last_reply_title( $forum_id ); ?>
But that add “Comment:” or “Reply:” because that is the reply title, not the last active topic.
Yes, I’m using akismet but it doesn’t do any good for bbPress, unless there is a way to link it to the plugin that i don’t know about.
Hi Aduronia,
I can advise you to follow this thread: https://bbpress.org/forums/topic/last-activity-linktopic-name-error/
Might be the same problem, if you don’t think so. Please write back
-Fuske
Hi –
I’m having a problem on a site I help maintain where, in the forums that are part of the groups, the only topic that will display is the first topic. However, the URL still reads as if it’s the correct topic – it’s just displaying the content of the first one on the page.
Example here: http://cgdating.staging.wpengine.com/groups/the-living-room/forum/
When you click on the top post about the “emotional UHaul cycle”, you get that thread. Great.
When you click on the next post, “I have an idea…”, you get the same UHaul thread, but the URL reads as if you should be in the correct thread.
We tried installing the beta for 3.6, that didn’t work.
Any ideas?
WP Version: 4.7.2
bbPress version: 2.5.12
Link to site: http://cgdating.staging.wpengine.com
http://pastebin.com/raw/An3NR6Tt
file form-anonymous.php in bbpress folder in my theme
Hi RotiSoft,
Could you provide me with a description of how you’re displaying the titles?
I’ve just recently had a longer correspondence with RobW, about what i think is the same issue.
He told me as follows:
Basically a category holds the last active ID of its sub forums, and each sub forum also holds its last active ID. But deleting a sub forum topic seems to get the category last active ID wrong.
I see that he just updated he’s bbpress style pack plugin, with a hotfix for this issue,
while he gave me the snippet of the code used for the fix, it does not work if your tweak is done if you’re using code as in this: https://bbpress.org/forums/topic/freshness-link/
I don’t think Robin would mind me sharing the code snippet, as he implemented it in he’s free plugin, but as requested i would like to know how you’re displaying it.
-Fuske
lots of shortcodes available for putting into pages and posts
Shortcodes
and I have additional shortcodes in my style pack plugin
https://wordpress.org/plugins/bbp-style-pack/
ok, it’s not a released version, so suggest you post a trac ticket for the error
https://bbpress.trac.wordpress.org/newticket
this – it has some parts changed !!
add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ;
function rew_filter_anonymous_post_data( $retval, $r ) {
// Filter variables and add errors if necessary
$r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name', $r['bbp_anonymous_name'] );
if ( empty( $r['bbp_anonymous_name'] ) )
bbp_add_error( 'bbp_anonymous_name', __( '<strong>ERROR</strong>: Invalid author name submitted!', 'bbpress' ) );
// Website is optional
$r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] );
// Return false if we have any errors
$retval = bbp_has_errors() ? false : $r;
// Finally, return sanitized data or false
return apply_filters( 'rew_filter_anonymous_post_data', $retval, $r );
}
i insert code on functions.php on my team
add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ;
function rew_filter_anonymous_post_data( $retval, $r ) {
// Filter variables and add errors if necessary
$r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name', $r['bbp_anonymous_name'] );
if ( empty( $r['bbp_anonymous_name'] ) )
bbp_add_error( 'bbp_anonymous_name', __( '<strong>ERROR</strong>: Invalid author name submitted!', 'bbpress' ) );
// Website is optional
$r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] );
// Return false if we have any errors
$retval = bbp_has_errors() ? false : $r;
// Finally, return sanitized data or false
return apply_filters( 'bbp_filter_anonymous_post_data', $retval, $r );
upload file functions.php on server. open site error.
not sure what you mean, but corrected code here
add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ;
function rew_filter_anonymous_post_data( $retval, $r ) {
// Filter variables and add errors if necessary
$r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name', $r['bbp_anonymous_name'] );
if ( empty( $r['bbp_anonymous_name'] ) )
bbp_add_error( 'bbp_anonymous_name', __( '<strong>ERROR</strong>: Invalid author name submitted!', 'bbpress' ) );
// Website is optional
$r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] );
// Return false if we have any errors
$retval = bbp_has_errors() ? false : $r;
// Finally, return sanitized data or false
return apply_filters( 'rew_filter_anonymous_post_data', $retval, $r );
}
if you know ftp then rename the bbpress folder.
what version of bbpress are you using?
“Warning: A non-numeric value encountered in . . . /wp-content/plugins/bbpress/includes/forums/template.php on line 1441”
Here is line 1441 $retval = $replies + $topics;
http://www.sndg.org/2017/forums/
This kind of thing is out of my knowledge base. Is it something I did, or a bad line in the install?
no insert code on fuctions file. on site error
add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ;
function rew_filter_anonymous_post_data( $retval, $r ) {
// Filter variables and add errors if necessary
$r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name', $r['bbp_anonymous_name'] );
if ( empty( $r['bbp_anonymous_name'] ) )
bbp_add_error( 'bbp_anonymous_name', __( '<strong>ERROR</strong>: Invalid author name submitted!', 'bbpress' ) );
// Website is optional
$r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] );
// Return false if we have any errors
$retval = bbp_has_errors() ? false : $r;
// Finally, return sanitized data or false
return apply_filters( 'bbp_filter_anonymous_post_data', $retval, $r );
}