Forum Replies Created
-
In reply to: Weird login error on this site
for example, after trying to log in for several times, and finally succeeded at it, I replied in this topic, but now I can’t post new messages except in this topic… what’s wrong? if I go to another forum or discussion in bbPress.org support forums, it will say I’m an anonymous user, but if I come to this thread I’m logged in correctly. If I try to log in from other pages it will redirect me to forums home. If I clear my browser cache and cookies I’ll have trouble logging in anyway.
In reply to: Weird login error on this siteHappens to me too.
Sometimes it logs me in after a while, but if I do searches or read replies the code is all messed up, I have parts of template files inside the reply or search loop. I think you have some serious bug.
In reply to: New Topic Form Shortcode Issue+1
I’m having the same issue, it only happens for non-admins on bbpress home archive, where I have latest topics and forum list shortcodes too (which work fine)has this issue been solved?
I managed to fix the issue in a strange way… Went to bbpress plugin settings, temporarily set default role to keymaster (was still showing there), updated options – from then on, I was able to see “keymaster” role also in edit users panel. I assigned “Keymaster” to my admin and problem was fixed.
ok found a solution
function my_custom_bbp_stylesheet(){ wp_deregister_style( 'bbp-default-bbpress' ); wp_enqueue_style( 'bbp-default-bbpress', get_stylesheet_directory_uri() . 'mystylesheet.css' ); } add_action( 'bbp_enqueue_scripts', 'my_custom_bbp_stylesheet' );
Any news?
Anyone?
Any updates on this?
Any news? I’m still stuck with this
I’ve made some progress here:
[bbpress 2 plugin] – How to change default avatar size? (to match Buddypress)
but I haven’t come with the right solution yet so far…
ps – avoid hacking bbp core template files, you should use filters
ach, just now I thought this would have fixed it
instead in the single-forum view under the freshness coulumn, I get some last poster pictures sized 14px (default) and some other at full size
I have no idea why this is happening, and looks very random…
sigh, I wish this whole thing was easier to accomplish…
I got this solution… which is probably not so clean but it works; previously I had already created a function to retrieve the full width bp avatar in wordpress, now I looked at the bbp code and filtered the function fetching the avatar in replies with that function I had previously created
function sg_author_avatar($size) {
global $post;
if ( function_exists('bp_core_fetch_avatar') ) {
echo apply_filters( 'bp_post_author_avatar', bp_core_fetch_avatar( array( 'item_id' => $post->post_author, 'type' => 'full', 'height' => $size, 'width' => $size ) ) );
}
elseif ( function_exists('get_avatar') ) {
echo get_avatar(get_the_author_meta('ID'), $size );
}
}
function sg_bp2bb_author_avatar() {
$author_avatar = sg_author_avatar('150');
}
add_filter('bbp_get_reply_author_avatar', 'sg_bp2bb_author_avatar')this function:
bbp_reply_author_link( array( ‘sep’ => ”, ‘size’ => ‘150’ ) );
actually resizes the avatar to the desired size
HOWEVER, it fetches the buddypress thumbnail avatar – in my case uses the 50px thumbnail and stretches it to 150px, which is ugly
I want to fetch the 150px (full width buddypress avatar ) and display as it is…
if I use that in bbpress templates I get:
Call to undefined function post_author_avatar_link()
no clues? is there any filter I can use to alter the default bbPress avatar size, just like in Buddypress? or replace the function calling the avatar in my template files to use avatars of a different size?
thank you
jaredatch,
since you say this might be a known bug could you please direct me to the issue in trac where this bug was originally traced? perhaps I can give some feedback there, being a rare one, and hopefully help somehow fixing it
thanks
I’m thinking… could this be due to the fact I did import all my forums from a previous 1.x standalone installation to a 2.x installation?
The import was fine, I got all my users, topics and replies back. As well as forums. However, there might have been something there, that doesn’t allow me now to set the forum order? Eventually could I force it by looking into the database?
any hint?
thanks
Done that too, anyway there’s nothing else being loaded on forums besides forums, as I said I haven’t touched yet the template files, just copypasted into my theme. Other than the forums themselves, in the forum pages, there are being loaded just wordpress menus. As I said it looks like they are ordered in the frontend based on their ID not on the page order. Which is the function listing all the forums in the template files? Can I try perhaps forcing the order or if I know which is the function responsible for that perhaps I can throw some PHP to reorder them manually – in this case may I know how it is stored the ordering variable?
thanks
exactly the same, I don’ think it’s a theme issue, because I haven’t touched the bbPress template files yet, as it is now it’s stock bbPress loading inside my theme – the same happens if I load another theme such as TwentyEleven
mmm it looks like forums are being ordered in the list by their ID and not page/number order
how to enforce set page/number order to list them appropriately in the forum front page?
thank you
To change BuddyPress avatars use_
define ( 'BP_AVATAR_THUMB_WIDTH', 50 );
define ( 'BP_AVATAR_THUMB_HEIGHT', 50 );
define ( 'BP_AVATAR_FULL_WIDTH', 150 );
define ( 'BP_AVATAR_FULL_HEIGHT', 150 );you can define custom sizes for your BP avatar, replace 50 or 150 with the size in pixel you want
I’m trying to replace the size of the default bbPress forums avatar from 80 to 150px to match my BP_AVATAR_FULL size… bbPress 2.1 plugin is using 80by80px avatars by default apparently, do you know where to change that value to match 150px?
I hope so
anyway as an alternative solution I wouldn’t mind know how to display the simple date of publishing, it’s fine