Hi dear support,
we have installed your plugin on our website and apparently it’s not working properly.
If we use the shortcodes to place it on some page:
Forum TEST
It shows list of forums but once you try accessing some forum it shows empty page:
Muske Carape
Also, the default forum page is not working:
http://jadran.paprikart.rs/forums/
We already tried disabling all the plugins to rest assured that plugin conflict is not making some conflict there and it’s still not working.
WP version 4.9.1.
Can you please take a look at it and advise?
Thanks in advance!
I have looked there but couldn’t find what I was after. I was looking at once bbPress plugin is installed what functionality will it give within the actual editor window to users of the forum. Some things are listed in quicktags ie strong tags that bold words. But what about all the other things not listed in quicktags, emoticons etc. Surely there has to be a complete cheat sheet of what code gives what result.
Thanks for your time.
Try adding this to your custom css:
#bbpress-forums ul.bbp-lead-topic li.bbp-body div.topic {
background-color: #ffe;
border: 1px solid #dd6;
}
and this to your functions.php:
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' );
Hi @johnjamesjacoby and team. Like everyone else, I’ve been waiting for the 2.6 release for a few years now. I can see that the last remaining ticket is for the “bump” functions that have been in there for a while.
I’m just curious, are bump functions uniquely challenging to code? Either way, is there anything that I (or anyone) can do to help get this task finished? I have somewhat arbitrarily been waiting for the 2.6 release to make some changes to my site. I’m contemplating updating to the RC5 release. By the way, where can I find the latest RC download link? I dug around but couldn’t find a copy. The RC5 link here (https://wordpress.org/plugins/bbpress/advanced/) is still broken.
Bump. Is there a list of available emoticons and other code options available to users of the bbPress forum?
Also, line 4 of the Vanilla file states:
* Implementation of Vanilla 2.0.18.1 Converter
So I wonder if maybe this importer doesn’t work with recent versions of Vanilla?
SMF to BBPress – error utf8mb4
SMF to BBPress – error utf8mb4
I am getting the same error as this post identifies:
WordPress database error: [Specified key was too long; max key length is 1000 bytes]
CREATE TABLE wp_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_ci;
But for Vanilla. It looks like an update to the importer is all that it took to fix this,
@netweb , @johnjamesjacoby
Thoughts?
Thanks for your time!!
— sdeeds
WP Version 4.9.1
Vanilla Version 2.3.1
bbPress Version 2.5.14
the shortcode goes in say page content.
so create a page and put
[bbp-single-topic id=$topic_id]
via css try
.has-sidebar:not(.error404) #primary {
width: 100% !important;
}
you can set it to more than 100% if you wish !
The source is available via browser at: https://bbpress.trac.wordpress.org/browser/trunk/src/includes/admin/converters
Or SVN: https://bbpress.svn.wordpress.org/trunk
Or Git: git://bbpress.git.wordpress.org/
try my style pack plugin, it has this + many other features and will save you having to maintain code
bbp style pack
Is there a git repository or something like this where I can checkout your importer? I have no local wordpress installation and only want to see the source code.
In general I (guess I) understood what needs to be inserted into the database comparing the pre- and post-topic-creation-dump, except the serialized array values for key “_bbp_akismet_as_submitted” in postmeta table. Are all the keys and information necessary? I don’t understand why the HOME key is needed related to an anonymous user or how I get the unique id for REDIRECT_REDIRECT_UNIQUE_ID,…
With “are they necessary” I mean, for automatically / imported entries.
Thanks and kind regards,
Dirk
ok, remove the whole line
<?php echo do_shortcode(‘[bbpress_recent_replies_by_topic show =5]’) ?>
then add this to your functions
add_action( 'bbp_template_before_forums_loop', 'call_bbpress_recent_replies_by_topic' );
function call_bbpress_recent_replies_by_topic () {
echo do_shortcode("[bbpress_recent_replies_by_topic show=5]") ;
}
This just hooks to the line after the one you’d added
<?php do_action( ‘bbp_template_before_forums_loop’ ); ?>
so saving you having to amend that template.
This works on my site.
bbpress just uses
posts
post_meta
and for its own settings
options
forums, topics and replies are all post types in wordpress.
go to
Import Forums
for more info including an example importer.
I documented my import from snitz access database when I very first started using bbpress, and you may want to read through that as well in this page
Custom Import
Hello,
I have a new bbpress site with buddypress integrated (bbpress was installed and set up first.) Admins can see all forums, Participants cannot see Hidden forums, unless it is associated with a buddypress group of which they are a member. The site is jingfangacademy.com
Fixes I have tried:
1. Deactivated all plugins one by one.
2. Tried other themes: 2013, 2015, 2016
3. Tools > Forums > ran all tools
4. Changed user role permissions with third-party plugins: User Role Editor, Members
5. WP and all plugins up to date.
I’ve added no CSS to the site. I’m a novice and I don’t own the hosting account, so I’m hoping to fix this without adding code. I’ve tried all the fixes I could find in related threads.
Thanks for any help!
I tried to do that now and update the file, but still no change.
<?php
/**
* Forums Loop
*
* @package bbPress
* @subpackage Theme
*/
?>
<?php echo do_shortcode(‘[bbpress_recent_replies_by_topic show =5]’) ?>
<?php do_action( ‘bbp_template_before_forums_loop’ ); ?>
<ul id=”forums-list-<?php bbp_forum_id(); ?>” class=”bbp-forums nk-forum”>
<?php while ( bbp_forums() ) : bbp_the_forum(); ?>
<?php bbp_get_template_part( ‘loop’, ‘single-forum’ ); ?>
<?php endwhile; ?>
<!– .forums-directory –>
<div class=”nk-gap-2″></div>
<?php do_action( ‘bbp_template_after_forums_loop’ ); ?>
@kdelsimone
If you want the link changed from the topic to the reply, I suggest copying loop-search-reply.php from /wp-content/plugins/bbpress/templates/default/bbpress to your child themes bbpress directory @ /wp-content/themes/theme-child/bbpress
From there you can edit it and change line 25 from this:
<a class="bbp-topic-permalink" href="<?php bbp_topic_permalink( bbp_get_reply_topic_id() ); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a></h3>
to this:
<a class="bbp-topic-permalink" href="<?php bbp_reply_url(); ?>"><?php bbp_topic_title( bbp_get_reply_topic_id() ); ?></a></h3>
not sure why, but adding show seems to fix
<?php echo do_shortcode(‘[bbpress_recent_replies_by_topic show =5]’) ?>
I’ve been thinking this over, and can’t see a simple way to achieve this.
To get something working would involve adding extra fields to a topics meta data, and then filtering the display to catch.
With the forum visible in effect the code for a forum or set of forums would need to (by default) make a topic private using an additional field, and then all the display parameters would need to hide it unless made public. That means closing every back door in search, profiles, displays, freshness all widgets and other areas so that no-one sees it unless set to public, which is one hell of a lot of work, and a large re-write of many bbpress functions.
I could modify my private groups plugin which makes forums (but not content) visible, so that certain topics are shown, but again it is a heap of code. Beyond free help I’m afraid, but if you want to look at that route contact me via my website http://www.rewweb.co.uk
Currently it looks like this:
<?php
/**
* Forums Loop
*
* @package bbPress
* @subpackage Theme
*/
?>
<?php echo do_shortcode(‘[bbpress_recent_replies_by_topic]’) ?>
<?php do_action( ‘bbp_template_before_forums_loop’ ); ?>
<ul id=”forums-list-<?php bbp_forum_id(); ?>” class=”bbp-forums nk-forum”>
<?php while ( bbp_forums() ) : bbp_the_forum(); ?>
<?php bbp_get_template_part( ‘loop’, ‘single-forum’ ); ?>
<?php endwhile; ?>
<!– .forums-directory –>
<div class=”nk-gap-2″></div>
<?php do_action( ‘bbp_template_after_forums_loop’ ); ?>`
Hi there!
I have been trying to following this guide to add a list of recent topics before the forum categories: https://www.daggerhart.com/bbpress-recent-replies-shortcode/
I have put the code in the functions.php file, and <?php echo do_shortcode(‘[bbpress_recent_replies_by_topic]’) ?> in loop-forums.php
After having done this the code isn’t visible, so I am wondering if I have made a mistake. Could anyone be so kind and shed some light on how to make this work?
My forum can be found on http://www.talanrien.com/forums
I am running WordPress 4.9.1 with Bbpress version 2.5.14
As a bonus question I was also wondering if anyone know if it’s possible to ad a shoutbox/chatbox at the bottom of the forum?
Thank you!
Best wishes,
Kasper
functions.php
add_filter( 'bbp_get_topic_freshness_link', 'rew_freshness_no_date_link' , 100, 5) ;
function rew_freshness_no_date_link($anchor, $topic_id, $time_since, $link_url, $title) {
if (!empty ($topic_id)) {
?>
<a href="<?php echo $link_url; ?>"><?php echo $title ;?></a> (<?php echo $time_since ; ?>)
<?php
}
else echo 'No topics' ;
}
It works perfectly when viewing the category page that lists all topics. When I click the topic however and view the post it displays the following in the breadcrumbs:
› Forums › General › Mobile General › hi Reply To: test (3 weeks, 2 days ago)
See how it adds the topic title with (the date) that has its link removed, to the end of the breadcrumb.
can you post the whole of your code – so I can copy/paste into my file and check what it does on mine
did you change the filter – I was calling the wrong one should be
add_filter( 'bbp_get_topic_freshness_link', 'rew_freshness_no_date_link' , 100, 5)