Search Results for 'bbpress'
-
AuthorSearch Results
-
February 22, 2014 at 5:17 pm #142813
Topic: different ways to get reply content?
in forum ThemesJosh
ParticipantWhat is the best way to get the content of a reply? Right now I’m using
bbp_get_reply_content()and it was working fine until I added the GD bbPress Attachments plugin. Somehow that plugin is adding text to the end of the reply content, which doesn’t show up in the forums itself but does show up in a custom forum loop I have on my homepage. E.g replies look like this: “Lorem ipsum etc. Attachments: [delete | detach] [delete | detach] [delete | detach].” FYI, I’m using wp_trim_words to only get the first 30 or so words of the reply, so this garbage text from the plugin only appears on very short replies.Is there a different way to get the reply text? Anybody else have this issue with the attachment plugin?
Thanks.
February 22, 2014 at 4:02 pm #142812WPDragon
ParticipantHi, I have the bbpress Login Widget on my homepage and throughout site — however, I noticed that if i click the “Log In” button with a wrong password, or if i leave it blank – that it redirects me to the generic wp-login.php wordpress page.
Is there a way to keep the user on the same page the widget is on, so that clicking “Log In” will not redirect a user…I would ideally prefer everything to stay within the widget…if a user types the wrong password, then it would alert them on the widget…or if the “Log In” is pressed with a blank username/password then rather nothing happen, than to redirect to the basic wordpress login page.
Hopefully, this makes sense….Any help would be greatly appreciated.
February 22, 2014 at 2:15 pm #142809In reply to: Forums Page Not Working
snapinmedia
ParticipantLooks like this is a theme issue with Genesis.
I installed bbPress Genesis Extend and it is now working.
February 22, 2014 at 8:21 am #142803Topic: bbpress sidebar at bottom of page
in forum Troubleshootingtom211221
ParticipantHello,
i have had a wordpress website designed for me which included bbpress, i have some knowledge of wordpress but im not a pro at it.
I have added a couple of widgets to the bbpress sidebar and they are displaying at the bottom of the page. is there a way to adjust the margins and width of the forum itself without changing the website widths???
i have left it at the bottom let me know what you can do to help.
February 22, 2014 at 12:14 am #142798In reply to: overwrite functions with theme's functions.php
Stephen Edgar
Keymaster@nicmare To remove the separator:
add_filter('bbp_before_list_forums_parse_args', 'nicmare_bbpress_list_forums' ); function nicmare_bbpress_list_forums() { $args['separator'] = ''; return $args; }A good explanation for
bbp_get_topic_admin_linksandbbp_get_reply_admin_linksis here:February 21, 2014 at 5:09 pm #142792In reply to: Conflict with qTranslate
exploder
ParticipantI have the same issue.
To solve this i have implemented the fix of barnabe in small plugin. This way I don’t have to edit the core of WordPress.
The plugin is available here:
http://www.exploder.org/bbpress-qtranslate-fix.tar.gzFebruary 21, 2014 at 4:50 pm #142791In reply to: overwrite functions with theme's functions.php
nicmare
Participantyea. such a solution would be awesome and keeps updates of bbpress more save!
because the separator value was annoying to me, i had to create such a big function just to overwrite this simple argument.February 21, 2014 at 4:37 pm #142790In reply to: How To Change PERMALINK?
tazogamer
ParticipantRobin W! Thanks so much! Your answers led me to the solution:
in functions.php , i have added(with add_filter) a modified “bbp_get_user_profile_url” function,which generates profile urls (original is in bbpress\includes\users\template.php):here is my code:
remove_filter( 'bbp_get_user_profile_url', 'bbp_get_user_profile_url'); add_filter('bbp_get_user_profile_url','my_replaced' , 10 ,4); function my_replaced ($url, $user_id, $user_nicename = '' ){ global $wp_rewrite; if ( empty( $user_id ) ) {return false;} $early_profile_url = apply_filters( 'bbp_pre_get_user_profile_url', (int) $user_id ); if ( is_string( $early_profile_url ) ) { return $early_profile_url; } if ( $wp_rewrite->using_permalinks() ) { // if pretty permalinks $url = $wp_rewrite->root . bbp_get_user_slug() . '/%' . bbp_get_user_rewrite_id() . '%'; if ( empty( $user_nicename ) ) { $user_nicename = bbp_get_user_nicename( $user_id );} $url = str_replace( '%' . bbp_get_user_rewrite_id() . '%', $user_id, $url ); $url = home_url( user_trailingslashit( $url ) ); } else { // Unpretty permalinks $url = add_query_arg( array( bbp_get_user_rewrite_id() => $user_id ), home_url( '/' ) ); } //return apply_filters( 'Replaced_bbp_get_user_profile_url', $url, $user_id, $user_nicename ); return $url; }February 21, 2014 at 12:29 pm #142783In reply to: [REQUEST] Quote, multi-quote, and signatures
Mycelus
ParticipantOk, the problem is, these features should be integrated into bbPress by default, all forum software has this, and the plugins for quoting for example don’t work like it should, and signature plugins are also outdated and not the best.
EDIT: Didn’t see two posts above, editing post…
February 21, 2014 at 11:10 am #142780In reply to: Login issue goes to blank screen
Robin W
ModeratorHas this always happened, or has it just started, and how long have you been using bbPress?
February 21, 2014 at 11:05 am #142779In reply to: Mirroring Forum Posts
Robin W
ModeratorSorry, totally misread this – thought you had posts mirroring and wasted to get rid of them.
I suspect that it would be very hard to get them to just replicate in the database, hits at core code.
But you could re-do your forum templates to show them twice.
Beyond my immediate knowledge, but start by looking at you forum page loop, and then the templates viz
wp-content/plugins/bbpress/templats/default/bbpress
February 21, 2014 at 10:41 am #142777In reply to: Login issue goes to blank screen
rlitts
Participant@robin-w Thank you for helping me out with this. I can go right to the http://mysite.com/wp-login.php page without any hangup. I also tried creating a new page and used the [bbpress-login] shortcode with the login widget disabled. Still no luck. I removed any custom jquery from the theme, same result. I removed the widgetized area from the functions.php to be sure the sidebar wasn’t registering anything. Still going to a blank page.
The last thing I tried is disabling all of the plugins except bbPress switching to Twenty Fourteen Theme. going to the http://mysite.com/my-new-page-name and still getting the same result.
These are the plugins that are installed…
Akismet: Version 2.5.9
Contact Form 7: Version 3.7.1
The Events Calendar: Version 3.4.1
WP User Avatar: Version 1.7.2February 21, 2014 at 9:46 am #142776In reply to: overwrite functions with theme's functions.php
Robin W
ModeratorMost bbp functions have simple variables. Yes, there must be a shorter way, but this is an array not a simple variable, and it builds an unordered list using the array and a loop.
It has an “apply filters” as part of the function, so they are expecting it to be able to be filtered, but hopefully not by having to do it all again !
I am writing some codex guide for filtering in bbPress, and by co0incidence was just using this oen as an example, and have been trying to crack it.
I can do it by amending the template –
https://codex.bbpress.org/layout-and-functionality-examples-you-can-use/ section 2, and save template into
wp-content/themes/yourthemename/bbpress
bbPress then uses that one.
I have posted a fresh query to Stephen Edgar or JJJ to pick up, but it’s gone into moderation as I posted a whole lot of code. Hopefully one of the two will pick it up and answer.
In the meantime yours is so far the best answer !
February 21, 2014 at 7:11 am #142772In reply to: Forum messed up
Robin W
ModeratorMore of a case that the Presswork theme doesn’t support bbPress!
Since this is a premium theme and therefore you have paid for support, suggest you go on their support site and ask for their help.
February 21, 2014 at 7:11 am #142771Stephen Edgar
KeymasterbbPress actually goes looking for various templates to ‘wrap’ our templates in:
In this order:
–plugin-bbpress.php
–bbpress.php
–forums.php
–forum.php
–generic.php
–page.php
–single.php
–index.phpbbPress will go through each of these from top to bottom and use the first one it finds to wrap the templates in from your current active theme.
February 21, 2014 at 7:04 am #142770In reply to: [REQUEST] Quote, multi-quote, and signatures
Stephen Edgar
KeymasterWe’ve started tracking some plugins we like here https://codex.bbpress.org/feature-plugins-tracking/
We have no specific plans to include any of these in bbPress at this stage but things can change 😉
February 21, 2014 at 6:49 am #142767In reply to: bbPress 2.5.3
kwellafrica
ParticipantHi,
is there anyone able to offer me some tips, I had bbpress 2.5.3 installed and it was working, then the FORUM tab disappear from admin dashboard after I installed buddypress, where did I do wrong? I don’t have buddypress tab under dashboard as well, very strange. I’ve explored around for solution, but I still can’t get right. 🙁Thanks
February 21, 2014 at 6:14 am #142766Topic: Forum messed up
in forum Pluginsheidione
ParticipantMy site is http://cnec-hhcc.org/wp/forums/forum/faith-qna/
My forum displayed messed up after I changed the new theme. Does bbPress forum not support for Presswork theme?
How can I solve my problem?February 21, 2014 at 5:37 am #142765Robin W
ModeratorBBpress uses your themes page.php file as default page template.
If you copy this (or any other page template) into the root of your theme and call it bbpress.php, it will be used instead.
ie
wp-content/themes/yourtheme/bbpress.php
If you are after individual templates, these are held in :
bbpress/templates/default/bbpress
If you want to alter these, create a bbpress folder under your theme
ie
wp-content/themes/yourtheme/bbpress
then any of these templates that you copy to this folder will be used instead, and you can modify them there.
February 21, 2014 at 5:25 am #142764tanvit
Participantplease tell me which post templates are used for bbpress forum so i can break it after first iteration.
February 21, 2014 at 4:18 am #142759Robin W
ModeratorDid they say which plugin was the issue, and how they knew it was a plugin issue?
I’d never rule anything out, but if there was an issue with bbpress and buddypress running on themes, then the whole world would be shouting about it, there are tens of thousands of these installations.
February 20, 2014 at 9:33 pm #142753In reply to: Last post date-time instead of Freshness
Stephen Edgar
KeymasterI’m not sure what the original motivation was for this decision but it has been this way now for over 7 years.
February 20, 2014 at 9:29 pm #142751In reply to: Last post date-time instead of Freshness
SK
ParticipantI don’t understand the reasoning behind showing Freshness instead of Last post in list of topics. bbPress is making an additional calculation, bending over backwards, just to calculate how many seconds, minutes or days have passed since last post.
In this sense, bbPress is breaking from convention that most forum users are familiar with without making performance gains (in fact making performance losses)
I don’t see the reason and I don’t like it this way. But since it is like this then I must assume that there are other bbPress users who do. Hence…perhaps this should be configurable.
February 20, 2014 at 8:45 pm #142748In reply to: bbPress 2.5.3
Stephen Edgar
Keymaster@sooskriszta It’s here and your same topic ~2 years ago is here. For some reason it had been marked as spam and is now fixed.
February 20, 2014 at 8:42 pm #142746In reply to: Last post date-time instead of Freshness
Stephen Edgar
KeymasterAs per your post ~2 years ago https://bbpress.org/forums/topic/last-post-date-time-instead-of-freshness/ and the Trac ticket you created:
https://bbpress.trac.wordpress.org/ticket/2031
Valid, though easily handled in a theme; there are functions to support this if you want this on your own site.
Closing as wontfix. If it turns into a popular request, we can reopen and revisit this then. -
AuthorSearch Results