Search Results for 'bbpress'
-
AuthorSearch Results
-
June 15, 2009 at 11:39 am #47501
In reply to: bbpress, 2 quick questions…
Arturo
Participanthave you download the 1.0 version or 0.9.0.5? for BP is required only the 1.0 version.
June 15, 2009 at 11:28 am #47500In reply to: bbpress, 2 quick questions…
mikem1986
ParticipantHave the proper install working and up now but my can anyone still answer my original post regarding the logo and forum header
cheers
June 15, 2009 at 11:07 am #47499In reply to: bbpress, 2 quick questions…
mikem1986
ParticipantIm also not seeing the
Enable XML-RPC and Allow Pingback options and i dont have a buddypress plugin either like in the installation notes, i downloaded the latest version from bbpress, have i clicked the wrong link?
June 15, 2009 at 2:56 am #47484In reply to: Starting Buddypress/WordPress MU site
John James Jacoby
KeymasterRegarding installing bbPress, you will probably need to create a page in your primary blog with the slug of “forums” before WordPress will allow access to it.
June 15, 2009 at 2:52 am #47482In reply to: Starting Buddypress/WordPress MU site
prguy85
ParticipantSorry for the continuous posts. I just tried to add the bbpress into the site. I unzipped it on the server, renamed folder to /forums and when I type it in, it says site doesn’t exist…something that didn’t occur before WordPress Mu/Buddypress.
June 15, 2009 at 1:20 am #47475In reply to: Problems Installing BBPress
Kieran
ParticipantThanks a lot Jeff and John James!
I went with alpha in the end because I don’t think my ftp was deleting all the files
This step-by-step guide from Chris is perfect for anyone struggling like me.
http://theeasybutton.com/blog/2009/04/30/integrating-buddypress-10-wpmu-and-bbpress/
thanks guys
June 14, 2009 at 3:44 am #47419In reply to: BP Avatars (and nothing else!) in bbpress… possible?
Greg
ParticipantJohn, FWIW, I tried just creating a functions.php and the function wasn’t found.
June 14, 2009 at 2:06 am #47413In reply to: BP Avatars (and nothing else!) in bbpress… possible?
Burt Adsit
ParticipantReally? Well that would be useful. I took a quick look in Kakumei and didn’t see such an animal so I figured it didn’t exist.
June 14, 2009 at 2:00 am #47412In reply to: BP Avatars (and nothing else!) in bbpress… possible?
John James Jacoby
KeymasterBurt, I am fairly certain that bbPress allows for functions.php the exact same way that WordPress does. Including it in the header shouldn’t be necessary. Unless this changed recently and I wasn’t paying attention?
June 14, 2009 at 1:57 am #47411In reply to: BP Avatars (and nothing else!) in bbpress… possible?
Burt Adsit
ParticipantCool. Anyway you get your function into the mix is a ‘reasonable way’ of adding it. Unfortunately bbpress doesn’t have the concept of a functions.php like wp does in it’s themes. The only other alternative you have is a plugin. The plugin makes it available no matter what theme the user has selected. That’s the big difference.
June 14, 2009 at 1:19 am #47410In reply to: BP Avatars (and nothing else!) in bbpress… possible?
Greg
ParticipantHere is a quick & dirty stab at the method Burt suggests above. I have modified “bp_core_get_avatar()” (from “bp-core-avatars.php”) for use bbPress. Like the bp function it uses an uploaded avatar or a gravatar. You need to ensure that there is a “mystery-man.gif” file in the images folder of your theme. Note that I haven’t enabled the fancy automatically generated avatars.
It works for me. Here are the steps:
Create the new function “_get_avatar()”. I put it in “functions.php” in my theme folder and added “<?php require_once( ‘functions.php’ ); ?>” just before the <body> tag in “header.php” to ensure that it was loaded.
You need the following in your “post.php” to call the function:
<?php echo _get_avatar( get_post_author_id() ); ?>Here is the code for “_get_avatar()”:
function _get_avatar( $id ) {
$avatar_file = bb_get_usermeta( get_post_author_id(), ‘bp_core_avatar_v1’ );
$url = BB_PATH . $avatar_file;
if ( strlen( $avatar_file ) ) {
return ‘<img src=”‘ . attribute_escape( $url ) . ‘” alt=”” class=”avatar photo” width=”50″ height=”50″ />’;
} else {
$default_grav = bb_get_active_theme_uri() . ‘images/mystery-man.gif’;
$user_email = bb_get_user_email( $id );
$gravatar = ‘https://secure.gravatar.com/avatar/’ . md5( $user_email ) . ‘?d=’ . $default_grav . ‘&s=50’;
return ‘<img src=”‘ . attribute_escape( $gravatar ) . ‘” alt=”” class=”avatar photo” width=”50″ height=”50″ />’;
}
return;
}
One question I have for the experts… Is this a reasonable way of adding a new function? Or would it be better to create a plugin. I didn’t do the latter because I didn’t need to use any of the hooks.
June 13, 2009 at 10:35 am #47366In reply to: Group forums not working
Florian
ParticipantI just noticed that every attempt to post something in any (non-group) forum leads to a screen filled with the following error message:
Warning: cannot yet handle MBCS in html_entity_decode()! in /[path to bbpress]/my-plugins/buddypress-enable.php on line 53
June 12, 2009 at 8:38 pm #47318In reply to: Problems Installing BBPress
John James Jacoby
KeymasterRC2 is basically the public release, but it’s missing some admin panel styling. Functionally speaking though, it’s complete pending any new bugs, etc.
@cozzie, also, try deleting any of your site cookies before you install bbPress. It’s possible that it’s seeing something left over from a previous attempt and seeing you as logged in when you’re not, or seeing you logged in as a non-admin.
June 12, 2009 at 8:24 pm #47317In reply to: Problems Installing BBPress
Jeff Sayre
ParticipantActually RC2 works just fine
That’s good to know. I’m working on the premise of “If it ain’t broke, don’t fix it!” I’m waiting to upgrade until the public release.
June 12, 2009 at 7:34 pm #47308In reply to: Problems Installing BBPress
John James Jacoby
KeymasterActually RC2 works just fine, but Cozzie I encountered a similar problem when installing it as well, although I could not trace back for the life of me what caused it.
Cozzie, uninstall bbPress from your server (delete the files and remove the database tables starting with “bb_” and try the install again.
Remember to upload your bbPress files from your harddrive, and not from inside the zip file directly. I’ve had some issues doing that in the past with various FTP programs not uploading some files correctly.
June 12, 2009 at 4:56 pm #47297In reply to: Group forums not working
Paul Wong-Gibbs
KeymasterCould check to see if XMLRPC is working on your server. Download http://ourcommoninterest.org/downloads/xmlrpc-sayhello.zip which Burtadsit wrote.
And to steal some words from Lance Willett:
The test consists of two files. The first file is a bbPress plugin that you activate in the bbPress plugins area that acts as a XML-RPC server and responds to a simple “say hello” type call. The second file goes in the root of your MU setup.
This test bypasses all the “bbpress_live/discover_pingback_server_uri()” stuff that might be giving you problems. If this works then the issue is most likely in that area and could be a host/server problem.
To load the test, first install the “oci-bb-sayhello.php” file to your bbPress install root in a folder called “my-plugins” (create the folder if it doesn’t exist). Then log into bbPress and activate the plugin. Next, drop the “oci-bp-sayhello.php” file into the root of our MU install so that you can navigate to it easily. Then load “your-site/oci-bp-sayhello.php” in a browser and see what the output is.
June 12, 2009 at 4:21 pm #47293In reply to: Problems Installing BBPress
Jeff Sayre
Participant@cozzie-
I’m using 1.0-rc-2 – sorry to be dumb but is this the same as 1.0 alpha 6?
No. They are different. RC2 is the 2nd release candidate of version 1.0. It is a newer release. But, I believe it is still recommended to use the alpha6 release at this time.
You can find it in the repository here: http://svn.automattic.com/bbpress/tags/1.0-alpha-6/
June 12, 2009 at 12:19 pm #47285In reply to: Custom Loops for Forum Topics
Burt Adsit
ParticipantThere sure is. Kinda.
$forums = bp_forums_get_forum();
if ($forums){
foreach ($forums as $f){
.. do something with each forum like..
$topics = bp_forums_get_topics($f['forum_id'], 5);
.. do something with each topic ..
}
}bp_forums_get_forum() returns bbpress forum records. Same info as in the bb_forums table.
See:
/bbpress/xmlrpc.php
/buddypress/bp-forums.php
/buddypress/bp-forums/bp-forums-bbpress-live.php
/buddypress/bp-forums/bp-forums-templatetags.php
The BP_Forums_Template_Forum template loop class iterates over one specific forum.
June 12, 2009 at 10:41 am #47283In reply to: Problems Installing BBPress
Kieran
ParticipantHi guys,
Yeh, I’ve got this problem as well – can’t register the bbpress key-master as admin because it says i already have a user named admin (in buddypress)
I’m using 1.0-rc-2 – sorry to be dumb but is this the same as 1.0 alpha 6? If it isn’t where can i find the alpha one? I can’t find it on the bbpress site.
(Btw, I’m using buddypress 1.0.1 and WPMU 2.7.1).
Thanks if anyone can let me know. This integration is proving a challenge!!!
June 12, 2009 at 8:27 am #47281In reply to: Custom Loops for Forum Topics
Milan Kaneria
ParticipantOh i see, I wont be using that widget then.
Is there a way to get all forum IDs from BBPress so as to fetch posts from forums and sub-forums using bp_has_topics() function.
June 12, 2009 at 5:35 am #47271In reply to: Custom Loops for Forum Topics
Burt Adsit
ParticipantNothing like that built into bp that I’m aware of. Somebody else wanted to do this also. They tried using Sam’s bbPress Live widget. The problem is that bp uses the bbpress live widget underneath for communications with bbpress. Conflicts ensued. I don’t have any easy solutions for you.
June 12, 2009 at 3:56 am #47267In reply to: Generating the WPMU logout URL for a bbPress page
Greg
ParticipantResolved – Andy confirmed that this bbPress forum calls wp_create_nonce() using deep integration with WPMU.
June 11, 2009 at 9:22 pm #47249In reply to: Correct usage of the sidewide.css
John James Jacoby
KeymasterIf you want your bpmember and bphome theme header.php and footer.php files to always be in sync, this is what I do. It’s a little tricky, but it works really well at keeping multiple theme files totally in sync.
Copy the code below into a file called hf-sync.php and put it in your wp-content/plugins directory. Then in your WordPress Site Admin, goto your plugins area and activate the plugin called “BuddyPress Synchronized Header/Footer”
<?php
/*
Plugin Name: BuddyPress Synchronized Header/Footer
Plugin URI: http://buddypress.org
Description: Header/Footer Synchonization Functions
Version: 1.0
Author: John James Jacoby
Author URI: http://johnjamesjacoby.com
Tags: BuddyPress, Header, Footer
Site Wide Only: true
*/
// Call this in your header.php file.
// Rename the function to match your theme name.
function theme_name_header() {
?>
<!-- PUT YOUR HEADER HTML CODE IN HERE -->
<?php
}
?>
// Call this in your footer.php file.
// Rename the function to match your theme name.
function theme_name_footer() {
?>
<!-- PUT YOUR FOOTER HTML CODE IN HERE -->
<?php
}
?>Then, in whatever header.php and footer.php files that you want to use your universal header/footer code, all you’ll need to do is call the functions above.
This lets you make edits to both of your header/footer files for both/any/all themes that use this code, in one central location.
My guess, is that this would/should work very well in keeping bbPress themes in sync also, provided that you insert HTML code to include what bbPress needs also, and make sure not to include that code if bbPress isn’t loaded.
June 11, 2009 at 10:18 am #47211In reply to: Alignment in profile
carpconnect
ParticipantThe themes are the default BBpress ones, the plugins i am running are
BuddyPress
BPContents
Support
Signup TOS
Additional Privacy
All in one SEO
Simple Site maps
Upgrades
Invite
I would not have thought these would have affected user profile layout?
Will upgrade to new version and see how that goes.
June 11, 2009 at 6:49 am #47202In reply to: Administration from the forum BuddyPress
Paul Wong-Gibbs
KeymasterOnly from BBPress at the moment.
-
AuthorSearch Results