I am using bbpress in conjunction with buddypress and I noticed that the forums have different avatars for users than their profile avatar. Is there a way to use the avatars from buddypress and not from bbpress?
I found this topic and its exactly what I’m referring too, but it was never marked as resolved and the answer was only for replies. The code snippet in this post works for me, but I need it to go further and apply to all avatars. I tried adding a filter to ‘bbp_get_current_user_avatar’ but I can’t get it to work.
Wordpress, buddypress, and bbpress are all up-to-date – I also have the Youzer plugin installed
Thanks in advance!
hmmm… quite a puzzle
so you could try putting your customised file here
wp-content/languages/plugins/bbpress-fr_FR.mo
plugins load code from only two places, but no idea which loads first, but looks like that location loads last, so it might work. but again might be overwritten by WordPress updates
Hi everyone,
I change some translated strings in my bbprress-XX-po/mo files located in the wp/language dir. to suit my non-geek audience.
How can these files not be overwritten during bbPress next updates?
Thank you.
bV
wp 2.5.4 / bpp 2.5.14
Hi everyone,
does someone have an idea how to fix this ?
the search bar is displayed correctly but the search button is not displayed at all.
The more strange thing is that for testing purpose, I installed the 2.6RC7 version on the exact same config (exept bbpress of course) and here the button appears.
Thank you for your advices.
bV
P.S.: now WP 5.2.4 and bbPress 2.5.14
Exactly I think this code:
function my_custom_display_topic_index_query () {
global $_GET;
if($_GET[‘myOrderBy’])$myOrderBy=$_GET[‘myOrderBy’];else $myOrderBy=’last_edited’;
if($_GET[‘myOrder’])$myOrder=$_GET[‘myOrder’];else $myOrder=’DESC’;
$args[‘orderby’] = $myOrderBy;
$args[‘order’] = $myOrder;
return $args;
}
add_filter(‘bbp_before_has_topics_parse_args’, ‘my_custom_display_topic_index_query’ );
function printSelections(){
global $_SERVER;
return ‘<div class=”queries”><form action=”https://’ . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’].'”><table class=”querytable”><tr><td><select name=”myOrderBy”><option value=”post_modified”>Viimeisin muutos</option><option value=”post_date”>Luontipäivä</option><option value=”post_title”>Nimi/option><option value=”post_author”>Tekijä/option></select></td><td><input name=”myOrder” type=”radio” value=”DESC” />Laskeva</td><td><input name=”myOrder” type=”radio” value=”ASC” />Nouseva</td></tr></table></form>’;
}
add_shortcode( ‘printSelections’, ‘printSelections’ );
// Add do_shortcode(‘printSelections’); to loop-forums.php
<li class=”bbp-header”>
<ul class=”forum-titles”>
<li class=”bbp-forum-info”><?php _e( ‘Forum’, ‘bbpress’ ); ?><?php topPostLinksEcho(); ?>
<li class=”bbp-forum-topic-count”><?php _e( ‘Topics’, ‘bbpress’ ); ?>
<li class=”bbp-forum-reply-count”><?php bbp_show_lead_topic() ? _e( ‘Replies’, ‘bbpress’ ) : _e( ‘Posts’, ‘bbpress’ ); ?>
<li class=”bbp-forum-freshness”><?php _e( ‘Freshness’, ‘bbpress’ ); ?>
<?php do_shortcode(‘[printSelections]’); ?>
In single-loop-forum.php I want to style my first forum differently to the rest by removing the voices/topics/freshness columns. As it happens this forum is only visible to non-logged in users by using this code:
.logged-in #bbp-forum-40250 {
display: none;
}
I found this code here:
/*Different divs for all topics of specific forums*/
function add_different_div() {
$topic_id = bbp_get_topic_forum_id();
if (( $topic_id == 123) or ( $topic_id == 456)){
?>
<div> this is some custom div text </div>
<?php
}
elseif ( $topic_id == 789){?>
<div> this is some OTHER custom div text </div>
<?php
}}
add_action( 'different_div', 'add_different_div' );
… but creating a function seems overkill. I think I just need an if() statement that says ‘if this forum ID then style it this way; else…’.
Any pointers?
Thanks.
I have read your article about importing from phpBB. I would like to know how much control we have over importing. I have already created a new forum structure with bbPress and I would like to selectively import just certain forums into these new formats in bbpress.
Just a note to everyone who might find this. It’s been more than 4 years, and this code still works great.
For anyone looking to add signatures on BuddyBoss Platform instead of bbPress/BuddyPress, this works too.
How do I get bbPress to return to the same page when someone presses Favorite from within the Bbpress single topic shortcode?
I want to avoid the redirect to the topic page after pressing the Favorite link.
yes users can subscribe to both topics and forums in bbpress
Hi Robin,
I did get your response emailed to me, thank you. Question though. Can bbPress be configured so that one can then reply to that received email and add then that reply would be added to the thread and also re-emailed out to the subscribers (without needing to log back in to the forum site)?
Hi @lylatylor,
I went ahead and purchased the bbPress Notify (No-Spam) Digests add-on to the bbPress Notify (No-Spam) plugin by Vinny Alves. Didn’t want to pay for a plugin whilst I’m just testing my yet-to-be-launched community but since email updates are a central part of its function I wanted a plugin that was actively supported.
Hi,
I’m looking for an email digest plugin for bbpress that allows me control over when the email is sent (daily/weekly). On another website I manage I have the bbPress Digest plugin installed and it works fine, but it’s not been updated in the last six years.
Are there any other email plugins worth considering?
Thanks in advance.
Are the records for bbpress only in the wp_posts and wp_postmeta or are other tables involved? I have the users but the problem is I can’t import in the forum topics and replies because I have 500 authors and it times out so I may have to take the tables from the old database.
Hi All !!
I have upgraded phpBB 3.0.4 to 3.2.8 recently following steps on Upgrading from 3.0 to 3.2
When trying to import to bbpress 2.5.4 on a WP 5.2.3 I get this message:
Error en la base de datos de WordPress: [Unknown column 'forums.forum_topics' in 'field list']
SELECT convert(forums.forum_id USING "utf8mb4") AS forum_id,convert(forums.parent_id USING "utf8mb4") AS parent_id,convert(forums.forum_topics USING "utf8mb4") AS forum_topics,convert(forums.forum_posts USING "utf8mb4") AS forum_posts,convert(forums.forum_topics_real USING "utf8mb4") AS forum_topics_real,convert(forums.forum_name USING "utf8mb4") AS forum_name,convert(forums.forum_desc USING "utf8mb4") AS forum_desc,convert(forums.left_id USING "utf8mb4") AS left_id,convert(forums.forum_type USING "utf8mb4") AS forum_type,convert(forums.forum_status USING "utf8mb4") AS forum_status FROM phpbb_forums AS forums LIMIT 0, 100
No hay foros que convertir
No hay datos que limpiar
Effectively column forum_topics was on table forum in phpbb version 3.0.4 but it is not anymore on phpbb version 3.2.8.
Script to import from phpbb must have a bug or expect a different database structure for phpbb.
Any suggestions?
Thanks in advance
This is a little old topic @jonathansulo, I’m running a forum with similar stats as yours in a OVH $10/mo VPS without CDN and loading extremely fast.
Can’t believe you are paying $80/mo for such a little forum.
Definitely I’m worried that bbPress is so resource intense then. I’m using SMF.
Hmmm, it seems that Thomas Zhu’s plugin, bbpress Member’s Only Pro plugin might do what I’m asking.
# Restricts your bbPress topics to Logged in/Registered members only.
# Restricts your bbPress replies to Logged in/Registered members only.
# Restricts your bbPress forums based on user roles.
# Restricts your bbPress topics based on user roles.
It also allows different levels of access based on different bbpress user roles, which is something I am also after. I’ll report back on whether this does what I want it to do, in case there is anyone else out there who has the same issues as me.
Hi,
I’m struggling here . It’s a crucial part of my forum structure to be able to allow non-logged in users to click into a forum and view the list of topics, but not be allowed to click into a topic to read them. This is because the content of those topics are for subscribed members only, but allowing that top-level view of the topic titles is a way of teasing non-logged in viewers to sign up.
I’d like to be able to do the same for logged in users of specific forums.
I’m still not understanding why bbpress does not allow this breakdown of different levels of viewing. Is it a structural thing where topics and replies are actually WP posts and can’t be differentiated? I’m interested to know what the coding implications are of allowing topic title view but blocking topic content view.
Perhaps another way of asking this is this:
How do I make all top level forums (i.e. the forum list) public, make all forums clickable to anyone so that the topic lists can be viewed, then restrict what topics are clickable depending on whether they are logged in as well as their logged-in capabilities?
Hi, I couldn’t find this using search but I am sure someone has done this before.
We have our own web-based software that users register/login to. We would like them to seamlessly be able to also go to forums to get support using bbpress (we are on version 2.5.14).
Is there an API that I can call when a user registers on our product website?
If they are logged in to our product and click on SUPPORT/Forums, how do I go about having them automatically logged in?
And my last question is if I can create new topics and replies to them with custom dates/times? For example, I want to create a new post with a date of a week ago, and then reply with a date from 6 days ago?
If that’s not possible, perhaps there is an ability to import posts from excel where I could have different date/times?
Your help is much appreciated.
ok, the problem is that bbpress stores topic and reply authors as their WordPress ID, so unless the new sites WordPress ID’s match the old site’s then they won’t match.
are the old authors all on the new site ?
Rainmaker is a platform that is built on wordpress. It uses bbpress that is modified.
I’ve been using SMF for a while and I’m trying to transition to bbpress. One of the plugins I liked to use in SMF simply helped to hide outgoing links by replacing the URL with something like:
“To check this link, please register or login first”
Has anyone found anything that can do a similar function in bbpress?
This thing made 10 years ago, is the most approximate thing I’ve found so far
Hide Links
Maybe I can capitalize on that and rewrite something more adequate. Or maybe have build something more advanced in the past decade.