@vadim77
You are correct! When you change the + symbol in between the words to %20, everything works as it’s supposed to.
@Robkk
Considering the change from the + symbol to %20 works, what would our next steps be in order to get this working properly? If we can get the search to return the %20 as the separator, everything should be fine.
I have tried this within the 2015 / 2016 default wordpress themes with the same issue. Plugins running are Ultimate Member, bbpress & WP SMTP
Wow very nice! The bbpress-fix actually did it! I guess it’s solved it now, thanks!!
Hi. I am in the U.S. on Central Time…
This is the only thing I have added… I ran WP Optimize yesterday to see if my database was the issue… but doesn’t seem to be.
/* —————————————————————————-
* bbPress
*/
// change avatar size to 40px
function td_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
$author_avatar = ”;
if ($size == 14) {
$size = 40;
}
$topic_id = bbp_get_topic_id( $topic_id );
if ( !empty( $topic_id ) ) {
if ( !bbp_is_topic_anonymous( $topic_id ) ) {
$author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
} else {
$author_avatar = get_avatar( get_post_meta( $topic_id, ‘_bbp_anonymous_email’, true ), $size );
}
}
return $author_avatar;
}
add_filter(‘bbp_get_topic_author_avatar’, ‘td_bbp_change_avatar_size’, 20, 3);
add_filter(‘bbp_get_reply_author_avatar’, ‘td_bbp_change_avatar_size’, 20, 3);
add_filter(‘bbp_get_current_user_avatar’, ‘td_bbp_change_avatar_size’, 20, 3);
Hi, i want to ask, if is possible anywhere download official theme of wordpress page – Rosetta.
This theme is use here https://wordpress.org/
Second question si, i cant found full supported theme for bbpress, everytime if i download any theme, last simpler, i cant use bbpress on fullwidth, because if i open a topic from forum, I’m always on the right side widgets,
thanks
This is not from the search, though I wouldn’t be surprised if it does the same thing there as well. It does it for the pagination for a list of topics, yes, but also for the list of replies when viewing a topic (and when listing pages of a topic beneath the topic title when viewing a forum).
I am using child theme files. However, I see the pagination functions defined in:
/wp-content/plugins/bbpress/includes/topics/template.php
/wp-content/plugins/bbpress/includes/replies/template.php
etc… and those files, of course, are not among my child theme files.
I tried your function, and it did add a space after each page number (though inside the anchor tag, not after it). It didn’t, however, removed the <br> tags. I tried plain as well as list, as commented.
Thanks for your help so far.
This is the pagination for a list of topics, right ? (and not for the search).
EDIT: and you did NOT copy a bbPress template into your own (child) theme but use the standard php files ?
Hi,
For sure NEVER edit files under bbPress, otherwise you loose it when there is an upgrade.
If you could give me an example of what you get now and what you would need to get, I could maybe help you further. Or a link to your site and then what would need to be changed.
Thanks, Pascal.
@abiliocaetano, thanks for this, I added it to our codex article here.
Hello. I’ve noticed throughout all of my bbpress pages there are a lot of <br> and <p> tags inserted, such as those by wpautop, but in places where they should not be.
I’ve gone and changed a lot of elements manually to get rid of as many of these as possible, but I’m kind of stumped on pagination. Each of the anchors in my bbpress pagination has a <br> between them, placing the pages in a vertical line rather than a horizontal one.
Any idea on this — is there anything I can do to get rid of these extra <br> tags?
Thank you. I’m having a little bit of trouble.
I found the original function I need to edit in bbpress/includes/topics/template.php:
function bbp_get_topic_reply_link( $args = array() ) {
// Parse arguments against default values
$r = bbp_parse_args( $args, array(
'id' => 0,
'link_before' => '',
'link_after' => '',
'reply_text' => esc_html__( 'Reply', 'bbpress' ),
), 'get_topic_reply_link' );
// Get the reply to use it's ID and post_parent
$topic = bbp_get_topic( bbp_get_topic_id( (int) $r['id'] ) );
// Bail if no reply or user cannot reply
if ( empty( $topic ) || ! bbp_current_user_can_access_create_reply_form() )
return;
$uri = '#new-post';
// Add $uri to the array, to be passed through the filter
$r['uri'] = $uri;
$retval = $r['link_before'] . '<a href="' . esc_url( $r['uri'] ) . '" class="bbp-topic-reply-link">' . $r['reply_text'] . '</a>' . $r['link_after'];
return apply_filters( 'bbp_get_topic_reply_link', $retval, $r, $args );
}
The only line I need to modify is:
$retval = $r['link_before'] . '<a href="' . esc_url( $r['uri'] ) . '" class="bbp-topic-reply-link">' . $r['reply_text'] . '</a>' . $r['link_after'];
Is there an easier way to phrase my new function to modify just this variable?
Hello,
I could not figure out how to edit posts, but I just had this ticket made public so you all can see what we have tried with WPMU DEV.
https://premium.wpmudev.org/forums/topic/move-last-edit-time-below-bbpress-signature#post-1047054
Thanks again.
Hello,
URL: http://yourtechadvisors.com/forums/topic/testing-safe-to-ignore/
I am using this plugin to add signatures: https://wordpress.org/plugins/gd-bbpress-tools/
I would like the Revision information to align under the Signiture. I am currently using this CSS.
.topic.type-topic.status-publish > .bbp-reply-content,
.reply.type-reply.status-publish > .bbp-reply-content{
display: -webkit-box;
display: -moz-box;
display: box;
-webkit-box-orient: vertical;
-moz-box-orient: vertical;
box-orient: vertical;
}
.topic.type-topic.status-publish > .bbp-reply-content > .bbp-topic-revision-log,
.reply.type-reply.status-publish > .bbp-reply-content > .bbp-reply-revision-log{
-webkit-box-ordinal-group: 2;
-moz-box-ordinal-group: 2;
box-ordinal-group: 2;
}
.topic.type-topic.status-publish > .bbp-reply-content > .bbp-signature,
.reply.type-reply.status-publish > .bbp-reply-content > .bbp-signature{
-webkit-box-ordinal-group: 1;
-moz-box-ordinal-group: 1;
box-ordinal-group: 1;
}
It is working fine in Firefox, but not in Internet Explorer and Safari on apple devices such as IPhones. Can you please take a look for me?
Thanks.
Admin Custom Login
AdRotate Pro
amr shortcode any widget
bbpress
Duplicate Post (already tried disabling)
Easy WP SMTP (already tried disabling)
Envato WordPress toolkit
EventON
Fast Secure Contact Form
Foo Gallery
FooBox Free Image lightbox
Meta Box
Multi Feed Reader
Page Links To (tried disabling)
Revolution Slider
Rotating Tweets – Twitter widget & shortcode
Shortcoder
Sidebar Login
Widget Logic
WP All Import Pro
WP User Avatar
WPBakery Visual Composer
Afternoon,
I am looking to create a new template with an entirely new look and feel from what the basic / generic bbpress forums look like. Templates are not my issue but more along the lines of displaying the right content via 3 block rows.
I am looking for a starting point (at least) to achieve the following index layout – 3 block rows (using bootstrap):
FORUM NAME
Topics | Posts | Freshness
List of Sub Forums
FORUM NAME
Topics | Posts | Freshness
List of Sub Forums
FORUM NAME
Topics | Posts | Freshness
List of Sub Forums
Note: These will be in a 3-col format, not full width. Any help would be helpful! You can see a visual here: http://postimg.org/image/894k4fp47/
Loading seems to work fine.
For submitting I remember having helped somebody else with that, it was a plugin that blocked for sending out the emails. What bbPress or email related plugins do you have ?
Pascal.
@robin-w,
I feel like I am hitting a brick wall. I have tried to reach out to the theme author (Karma) and can’t get anywhere. Since our theme was purchased many years ago via persons that aren’t currently involved I don’t have the purchase info. I think in fact it was a development company that later turned it over to my company. Anyhow, in trying to get access to a Karma forum via Themeforest/envatomarket it tells me I can’t set up a technical support/request account because I am not a customer (I guess because my email address doesn’t match something). I know this is not a bbPress issue, but just a synopsis of where I am. I am stuck!
My forum is pretty well buttoned up and ready to launch EXCEPT with this new topic issue. I apologize for asking this here but I can’t see a PM option on this site, but is it appropriate of me to ask if you can offer support for a fee if you think you can help me resolve this with a little coding?
? I am open for suggestions…I just hate to have gotten to this point and be hung on this issue right at the end.
Thanks in advance!
@casiepa – yeah I’ve ran the plugin and completely reset all user roles to default install settings.
The bbPress role doesn’t show up as a selectable role to assign the user, it just appears at the very bottom of their profile in the backend. Just like in the pic the original poster published.
I have no idea where it is being pulled in from. I’ll do a search in my DB and report back.
Yup I have literally copied all the code from ‘loop-topics.php’ in custom theme to the wordpress theme twenty fifteen, where it correctly does return true and topics are shown correctly.
I must have done something wrong in my custom theme, I just have no idea what the possible causes could be tho.
It just came to my mind that it might be template php file that bbpress uses, I’ll go check that now.
I use bbpress in combination with buddypress maybe it can be something with that also.
thank you sir,
below link helped me to solve this issue,
editing the look of closed topics
Hi, to test what boolean came out I tested bbp_has_topics() in: custom_theme/bbpress/loop-topics.php.
In my custom theme it returns false and in wp twenty fifteen theme it returns true. Maybe using buddypress has something to do with it?
ok, so
AS A TEST ONLY –
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
Thank you.
I checked both points. I received the test email successfully. So it is bbpress.
lots of things !
Start with
1. You should be aware that many spam filters strip messages that do not come from the correct address. So if your site is mysite.com and your email address in wordpress settings>general is fred@gmail.com then it is likely that messages will be dumped in transit. You need to set up email to come from your site eg fred@mysite.com, your hosting provider can help if needed.
2. Just bbpress?
Then you need to see if this is wordpress wide or just bbpress.
Try https://wordpress.org/plugins/check-email/
Then come back