Search Results for 'bbpress'
-
AuthorSearch Results
-
February 21, 2014 at 4:50 pm #142791
In reply to: overwrite functions with theme's functions.php
Nic
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.February 20, 2014 at 8:37 pm #142745Topic: Login issue goes to blank screen
in forum Installationrlitts
ParticipantI am using WP version 3.8.1 and bbPress 2.5.3. This issue is when you login using the bbPress widget in the sidebar. The page gets stuck on http://mysite.com/wp-login.php and it is just a blank screen. I hit refresh and then it loads the normal WP admin login page. I looked and have seen some folks increased their memory on the PHP.ini file but mine is all ready set to 256M. I know that this was working fine and then out of no where it just stopped. I don’t recall any plugin updates or theme updates. Infact I turned them all off along with the and tried TwentyTwelve Theme with no luck. Any help would be much appreciated.
February 20, 2014 at 6:23 pm #142738Topic: [REQUEST] Quote, multi-quote, and signatures
in forum Requests & FeedbackMycelus
ParticipantI know there are plugins for these, but they don’t work well, and with any forum software, these features are a must.
I am requesting that quoting, multi-quotings, and signatures are added to bbPress.
Quotes and multi-quotes should be possible via the option bar next to Edit, Move, Split, etc.
Signature should be accessible via the profile settings for each user.
February 20, 2014 at 5:33 pm #142733Robin W
ModeratorPresuming you are using latest versions, these should work fine together.
What other plugins have you got? Deactivate all other plugins except buddy and bb, and see if they are then ok.
If not, then try switching to a default theme such as twentyeleven to see if it is theme related.
If it is ok with just theme and bbpress and buddypress, add back plugins one at a time to see which is casuing the conflict
February 20, 2014 at 5:29 pm #142732In reply to: Discussion list, compact with expand & collaspe
Robin W
ModeratorYes it can be done, but you’d need to have some coding skills.
You’d need to amend loop-single-reply.
Start by creating a directory called “bbpress” under you theme directory
ie
wp-content/themes/what-every-yourtheme-is/bbpress
and copy this file
wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
to it
This file is then used by a higher loop to display the topic and replies as you now see them, with avatars and all the content.
You can then amend this file to display as a single line items, presumably with a post link attached.
February 20, 2014 at 5:04 pm #142723Robin W
Moderatorhmm..
with bbPress you should have a login widget that takes them to the bbPress profile,I add the following code to it to make editing obvious
<p><a href="<?php bbp_user_profile_url( bbp_get_current_user_id() ); ?>edit" >Amend Profile/Change password</a></p>You should be able to use that in your widget, or use it to substitute
February 20, 2014 at 3:18 pm #142718In reply to: Form To Forum Post
jslom
ParticipantThanks for posting. I have actually already got the form I created to post as a forum post here..
The next step I need help with is getting multiple fields to post into post_content, like I ask in that thread.
In my form, if you change one of the input names to just “description”, then that will post into post_content. I would like more fields to post though
-
AuthorSearch Results