Search Results for 'bbpress'
-
AuthorSearch Results
-
April 2, 2012 at 8:01 pm #112856
John James Jacoby
KeymasterCorrect, but you’ll need to be creative, since you’ll want to unset or override existing rules.
April 2, 2012 at 7:27 pm #112855eleram
MemberThanks John
so I need to use “Rewrite API/add rewrite rule” in wordpress, isn’t?!
April 2, 2012 at 7:19 pm #112854John James Jacoby
KeymasterUnfortunately not easily. WordPress handles the rewrite rules for bbPress’s content types. It’s possible to overload them, but you’ll need to do so on your own.
April 2, 2012 at 7:17 pm #112802In reply to: Make new messages more obvious
John James Jacoby
KeymasterbbPress 1.x does not have unread posts or topic icons without third party plugins.
April 2, 2012 at 6:30 pm #112835Laughing Cat
Participantach, 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…
April 2, 2012 at 6:11 pm #112834Laughing Cat
ParticipantI 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')April 2, 2012 at 6:08 pm #43881eleram
MemberHow can I do this?!
http://127.0.0.1/wp/ %Topic_slug% /%topic_name%
to :
http://127.0.0.1/wp/ %Topic_slug% / %topic_ID%
Example:
h ttp://127.0.0.1/wp/topic/test-topic
to
h ttp://127.0.0.1/wp/topic/1234
April 2, 2012 at 5:16 pm #112833Laughing Cat
Participantthis 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…
April 2, 2012 at 5:16 pm #111918In reply to: From BuddyPress to BBpress
LabSecrets
ParticipantMy pleasure. There is, unfortunately, no easy way to move data from the group forums to the sitewide bbPress forums, other than copy/paste or some involved database manipulation.
My suggestion, based on years of working with customers, is that you simply obfuscate the old forums from plain view in your navigation menus and pages, but then refer to them in a link or button at the top of your new forums pages for anyone who may with to refer back to them. This “human engineering” trick will likely satisfy those who seek to find the old content (like a dusty old book), but will force all new content to be added to the new sitewide forums.
This usually works like a charm, as the old content is always available (directly or in wayback machine or google cache), but people don’t add to it anymore.
Cheers!
Spence
April 2, 2012 at 4:46 pm #112832Laughing Cat
Participantif I use that in bbpress templates I get:
Call to undefined function post_author_avatar_link()April 2, 2012 at 4:14 pm #43870Topic: forum on wordpress main page
in forum InstallationApril 2, 2012 at 4:00 pm #112831engin1984
Participant<?php post_author_avatar_link(32); ?>
April 2, 2012 at 3:48 pm #112851In reply to: Why most plugin download links give me 404 error?
Jared Atchison
MemberAre you on bbPress 2.x or 1.x?
If you are on 2.x do not use the plugins on bbPress.org, instead use WordPress.org
April 2, 2012 at 3:43 pm #112839In reply to: Safari and Chrome messed up layout
Jared Atchison
MemberPut this in your theme’s style.css
.bbPress #content {
width: 67%;
}April 2, 2012 at 7:38 am #112830Laughing Cat
Participantno 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
April 2, 2012 at 7:37 am #112764Laughing Cat
Participantjaredatch,
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
April 2, 2012 at 7:35 am #112826Laughing Cat
ParticipantI’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
April 2, 2012 at 6:07 am #43875Topic: “start new” link
in forum InstallationDave
MemberAt the top of the forums here you have a “start new” link. The link destination seems to be:
http://mywebsite.com/forums/?new=1
But when I use the link, in my case, href=”http://theatremusicdirectors.org/forums/?new=1″ it doesn’t work.
I want to put a “Create New Discussion” button in my sidebar – how do I do this?
I’m using bbpress 2.
April 2, 2012 at 4:27 am #112825Laughing Cat
ParticipantDone 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
April 2, 2012 at 4:23 am #112837In reply to: Safari and Chrome messed up layout
Jared Atchison
MemberYou need to look at the CSS being applied to the #content. This looks more like a theme issue, not with bbPress.
I’d use Firebug or Chrome inspector to poke around. Specifically try changing the max-width to a set width.
April 2, 2012 at 4:20 am #112820In reply to: Split bbpress plugin and standalone into 2 forums
Jared Atchison
MemberAs time passes everything is moving in the direction of bbPress 2.x, so this site will slowly progress to that as well.
April 2, 2012 at 4:15 am #112824Jared Atchison
MemberHmm weird. Next I would deactivate all plugins except bbPress to make sure one isnt screwing with the loop or query vars.
April 2, 2012 at 3:45 am #112823Laughing Cat
Participantexactly 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
April 1, 2012 at 9:18 pm #112819In reply to: Split bbpress plugin and standalone into 2 forums
The800
MemberNo. I am talking about this forum (bbpress.org). I think this forum is hard to navigate due to the mix of standalone and plugin topics. It should be sorted into seperate forums, so when i am browsing for topics regarding the standalone version, i dont have to browse through a bunch of topics regarding the plugin version.
April 1, 2012 at 8:11 pm #112800In reply to: BBPress database problem
Jared Atchison
MemberThanks for the report back
-
AuthorSearch Results
Hi all. I’ve read that there is no way that the main page of wordpress can be the forum itself, but i wonder if I can take the code of the bbpress that hanlde all the forums and insert it as an include into the wordpress index.php. if that is posible an some one help me telling me which part of the code is the one I can copy to call the forum and topics in to the very front page.
I’ve seen i can show all that in the sidebar, but i would like to make it the main page like the forum page with the latest topics, most comented and most visited.
Thank you