Search Results for 'bbpress'
- 
		AuthorSearch Results
- 
		
			
February 16, 2009 at 6:56 am #38051In reply to: Announcing BuddyPress Group Forums for bbPressJohn James Jacoby KeymasterYeah haha I noticed that too, thanks! Fixed.  Thanks for giving me a direction, I’ll totally check that out and report back what I figure out. February 16, 2009 at 6:07 am #38049John James Jacoby KeymasterI would maybe think a good utility would be to hook into the visibility of the forum in buddypress, and simply hide the forum on disable, and show it on enable. Then again, since that is a core BP function, it wouldn’t really know how to do that without your plugin. Hmm… About the ‘original admin user,’ when you first install wpmu, the user with the name ‘admin’ is created. Then when you integrate bbPress into it, you typically use that same ‘admin’ as your key master user. Is there an easy way to follow the path that creating a group forum topic takes? For some reason right now they’re not communicating because even if I create a topic in bbPress, BuddyPress doesn’t load it. February 16, 2009 at 5:57 am #38047Burt Adsit ParticipantIf bp group forums posts aren’t showing then ya gotta take a look at why. If you just ‘disable’ the forum then all you are doing is hiding the forum interface in the group from group members. No, it doesn’t do anything on the bbpress side either. The forum is still there. I’m not sure what the utility is for having the enable/disable ability. The buddypress user in Site Admin > bbPress Forums area is talking about the user that you create for bp/bbpress integration. The purpose of that user is to have a valid user on the bbpress side that has ‘forum creation’ rights. So it has to be an administrator role in bbpress. I’m not sure who the ‘original admin user’ you are talking about is. February 16, 2009 at 5:25 am #38043John James Jacoby KeymasterYes, it is certainly not working correctly for me then. Crud. Yeah even when I try to post in the group forum through buddy press, it doesn’t work… Hmms… I’m going to need to retrace my steps this evening and see what is amiss… I understand what you’re saying about non-group forums, and that makes perfect sense. I may eventually migrate all of my forums to be group forums, but we’ll see how things go… Question. If I edit the group and disable the forum all together, what should happen? Currently, it seems to do nothing. It doesn’t delete the forum, and it doesn’t hide it from the view of bbPress. It just hides it from the BP group forum area. This may be a silly question to ask at this point in the game but in the bbPress forums area of the site admin where it says “The username for the user (with admin rights) that you created for BuddyPress integration” is it safe to assume that this is the original admin user? February 16, 2009 at 5:16 am #38042In reply to: Announcing BuddyPress Group Forums for bbPressBurt Adsit ParticipantI see your problem with the avs and names. Only suggestion I have is to write a little script that stuffs default names and avs for your users. bp just uses the gravatar’esqe identicons, wavatars and such for non uploaded avs. This function here might help you out: bp_core_get_avatar() in /bp-core/bp-core-avatars.php These lines in that fn do the default av for a user: $ud = get_userdata($user);
 $grav_option = get_site_option('user-avatar-default');
 
 if ( empty( $grav_option ) ) {
 $default_grav = 'wavatar';
 } else if ( 'mystery' == $grav_option ) {
 $default_grav = site_url( MUPLUGINDIR . '/bp-core/images/mystery-man.jpg');
 } else {
 $default_grav = $grav_option;
 }
 
 $gravatar = 'https://secure.gravatar.com/avatar/' . md5( $ud->user_email ) . '?d=' . $default_grav . '&s=';One little thing I noticed on your site. I have some debug info in the forum list that appends the forum_id. It’s still in there.  My Favorite Forum (9) Where (9) is the forum_id. It’s in line 110 of oci_bb_custom.php <?php forum_name(); echo ' (' . $forum->forum_id . ')'; ?></a><br />You can take out the echo ‘ (‘. $forum->forum_id . ‘) ‘; stuff if you want. February 16, 2009 at 5:10 am #38041Burt Adsit ParticipantOne thing. The new post info and event only gets sent over to bp if the group forum is a ‘public’ group forum. Non group forum activity is ignored as is private and hidden group forums. Sitewide activity doesn’t get updated for the private and hidden stuff in bp. Can’t send over the ‘open’/’community’ forum posts because the sitewide activity has to be associated with a group. February 16, 2009 at 4:49 am #38040Burt Adsit ParticipantJohn, the posts in bbpress should show in sitewide activity. If they are not then something isn’t working right. I did hook the bbpress topic and post creation and send them over to bp and stuff them in activity. I see such things showing in my sitewide activity. So should you. Lemme know. February 16, 2009 at 4:26 am #38039In reply to: BP admin bar on bbpress front pageJohn James Jacoby Keymaster@terry, thanks that actually worked perfectly, and it also cleared up another problem I was having too.. I was still including wp-load.php instead of the header only. This is a perfect work around until a plugin is made. Much obliged! February 16, 2009 at 3:48 am #38038In reply to: BP admin bar on bbpress front pagefishbowl81 ParticipantI have spent a long time and created a general forums plugin. I will not be releasing it, as it requires additional modifications to the core of buddypress, but you cen see it working at: http://gorgeousgamers.com/beta/forums There is a modification request which I submitted, to remove the error in the core, but I don’t believe it has been resolved yet. Brad February 16, 2009 at 3:08 am #38036In reply to: BP admin bar on bbpress front pageterryjsmith Participant@johnjamesjacoby I know what you mean. If you really want to hack it, here are the directions: 1. Comment out this, in bp-core/bp-core-adminbar.php, line 14: do_action( ‘bp-adminbar-logo’ ); 2. Add this on the following line: bp_adminbar_logo(); 3. Comment out this, in bp-core/bp-core-adminbar.php, line 19: do_action( ‘bp-adminbar-menus’ ); 4. Add underneath it: bp_adminbar_login_menu(); bp_adminbar_account_menu(); bp_adminbar_blogs_menu(); bp_adminbar_notifications_menu(); bp_adminbar_authors_menu(); bp_adminbar_random_menu(); 5. Add the following scripts to your template’s header.php file: mu-plugins/bp-core/js/jquery/jquery.livequery.pack.js?ver=2.7 mu-plugins/bp-core/js/general.js?ver=2.7 mu-plugins/bp-core/bp-core-ajax-handler.php mu-plugins/bp-core/css/admin-bar.css?ver=2.7 6. Finally, add the following to your template’s footer.php: include(‘../../../wp-content/mu-plugins/bp-core/bp-core-adminbar.php’); bp_core_admin_bar(); 7. If you’re not already, include wp-blog-header.php into bb-config.php: require_once(‘../wp-blog-header.php’); Note: I do not recommend this solution as upgrades, patches, etc. will break this functionality. With that in mind, I’ll be releasing a much sexier solution in the form of a plugin soon as stated above. Hope this helps, Terry February 16, 2009 at 2:54 am #38034In reply to: Announcing BuddyPress Group Forums for bbPressJohn James Jacoby KeymasterSorry for the confusion. I’m juggling a few ideas so I’m probably not communicating in a straight line right now. Check out http://delsolownersclub.com/discussions/topic/great-job-john for an example… Basically some of the people logged in and posting in my forums were converted over from a wordpress.org install, and they have yet to update their buddypress profiles with real name info, so using this plugin, their names don’t show up at all, and neither do their avatars as they haven’t uploaded one yet either. Make sense? And yes about your template… If you look at the front-page.php or forum.php files, you’ll see that the usernames still fall back on the bbPress username of ‘admin’ instead of your name as ‘Site Admin’ if that makes sense? Striving for uniformity, I’d like to get all of the names displayed the same. February 16, 2009 at 2:49 am #38033In reply to: Announcing BuddyPress Group Forums for bbPressBurt Adsit ParticipantHi John. Glad it’s working for you. I’m kinda confused. You’re talking about bbGroups plugin, the bbpress template that runs on my forums now or bp? We’ve got several things you are mentioning: username, nicename and full name avatars If you are talking about my template for bbpress then what you see is what I got at the moment. Nothing held back. That bbpress template was really just a toy to get some bp goodies showing in bbpress. Just an experiment. I was and still am using it to test code and ideas. February 16, 2009 at 2:00 am #38025In reply to: Announcing BuddyPress Group Forums for bbPressJohn James Jacoby KeymasterInstalled and working. Yay!  Since I converted my db from a wordpress.org install, not all of my users have converted their information, i.e. real names, etc… Is there any way to have a fall back and use the nicename in the event no real name exists? Also, if there is no avatar uploaded, it doesn’t seem to use the generated avatar for me. The idea would be to have everyone use an avatar eventually, but alas my user base can be slow to adapt… Do you have a way to do the user names in forum.php, functions that are usually topic_last_poster() and $topic->topic_poster_name? I suppose if the user->ID of those people is within $topic then it’s pretty straight forward eh… February 16, 2009 at 12:38 am #38019In reply to: BP admin bar on bbpress front pageJohn James Jacoby KeymasterI just wish I knew how to get bbPress to stop wiping out all the BuddyPress/WPMU filters and hooks. Incorporating them together is so easy, but making them play nice together isn’t…  February 15, 2009 at 11:00 pm #38018 February 15, 2009 at 11:00 pm #38018In reply to: BP admin bar on bbpress front pageErwin Gerrits ParticipantSounds great, thanks! February 15, 2009 at 8:53 pm #38012In reply to: bbpress, buddypress & wpmumark235 ParticipantAndy, I deleted the 9 bb_ rows from the database, reinstalled skipping the integration step and that worked. Thank you! February 15, 2009 at 8:28 pm #38011In reply to: bbpress, buddypress & wpmumark235 ParticipantMartin, thanks for the tip, but there was no “Auth Salt” value in my wp-config.php file. Andy, even if I try to skip the cookie integration it still seeks out the salt values and says “Forum could not be created!” Maybe I need to delete all the bb_ tables in the database? February 15, 2009 at 8:12 pm #38009In reply to: bbpress, buddypress & wpmuAndy Peatling Keymasteryou don’t need the cookie integration for forums to work. Check the new readme file. February 15, 2009 at 7:55 pm #38006In reply to: bbpress, buddypress & wpmuMartinNr5 ParticipantRead the sticky by Trent on how to do this but read the entire thread as the first post hsan’t got all the answers. I manually opened the wp-config.php file and copied the salts to the bb-config.php file, changing the names of the variables in the process. February 15, 2009 at 7:34 pm #38002In reply to: bbpress, buddypress & wpmumark235 ParticipantI’ve been trying for two weeks to figure out how to install the Forums and can’t even get BBpress to install, much less integrate it. No help on their forums, so I’m hoping someone might have a hint here. None of the salt values appear in the WPMU 2.7 admin options menu I have the exact same issues at marcbrzeau and get these errors at end of install: >>> WordPress “auth” cookie salt not set. >>>>>> Could not fetch “auth” cookie salt from the WordPress options table. >>>>>> You will need to manually define the “auth” cookie salt in your database. >>> WordPress “logged in” cookie salt not set. >>>>>> Could not fetch “logged in” cookie salt from the WordPress options table. >>>>>> You will need to manually define the “logged in” cookie salt in your database. Forum could not be created! February 15, 2009 at 6:48 pm #37997In reply to: BP admin bar on bbpress front pageKevin Ryman ParticipantHope to hear news about this soon! Thanks! February 15, 2009 at 7:44 am #37959In reply to: Theme not showing correct template fileJohn James Jacoby KeymasterYes sir, this is exactly how I have mine. It is from the latest RC1 functions.php file it appears. (Side note: what does it do about archives, etc…?) Back on topic (mostly)… Here’s a question, and maybe this is the culprit. I’ve asked over on the WPMU forums and so far no one has bitten so maybe I’ll theorize here. I have two domains, testdomain.com, and testdomain2.com. testdomain.com originally had wordpress.org 2.7 installed on it, integrated with bbpress.org 1.0a6. I backed up my database and started my conversion process. When I installed WPMU and BuddyPress, I did so at testdomain2.com and I am confident I used the subdirectory option. Then when it was working and I had the test database all restored from my afore mentioned backup, and working with all the integration and everything, I moved all of the files from testdomain2.com, to testdomain1.com. With a few hours tweaking, everything appears to be working, but this and the fact that it is now installed as a subdomain install instead of subdirectory. Now, I can’t tell what the difference is between the two installs (subdirectory and subdomain.) The .htaccess files are the same, the database is the same, and the files all appear to be the same as well. What the heck does WPMU do where to have it know the difference? Could that be part of my problem? Ah! February 15, 2009 at 5:39 am #37952In reply to: Announcing BuddyPress Group Forums for bbPressBurt Adsit ParticipantDoes nothing to remove it. It’s kinda like a mattress tag.  I complained about that and Andy put a filter in there for group creation. We can override the forum name that gets created and the description I think.
February 15, 2009 at 5:24 am #37951 I complained about that and Andy put a filter in there for group creation. We can override the forum name that gets created and the description I think.
February 15, 2009 at 5:24 am #37951In reply to: Announcing BuddyPress Group Forums for bbPressJohn James Jacoby KeymasterAwesome thank you very much. Curious if removing the “- Forum” from the forum name of a group forum has any ill effects on it? I hate the redundancy but am afraid to break it.  February 15, 2009 at 5:18 am #37950 February 15, 2009 at 5:18 am #37950In reply to: Announcing BuddyPress Group Forums for bbPressBurt Adsit Participant@john, I included some template tags in the bbGroups package that demonstrates some of that theme’s use of bp centric features. I didn’t include the forums feature because it was specific to the theme. I’ll just zip up that theme and post it on my blog for you to look at the code. Gimme a few. OK. It’s here: http://ourcommoninterest.org/downloads/oci.zip You should just be able to unzip that in my-templates. One thing though. bbPress doesn’t seem to have a functions.php file that gets run in each theme/template as wp does. So I had all the template specific code being launched from my oci_bb_group_forums.php plugin. I’ve got all the template code living in oci_bb_custom.php so it get loaded up automatically. I included my oci_bb_custom.php file in the template zip. Just drop that in my-plugins and it’ll be loaded by the bbGroups plugin in bbpress. If you look at the front-page.php file you’ll see how the forum list is generated. <?php oci_forum_list('open', 'Community Forums', false); ?>
 <?php oci_forum_list('readonly', 'Group Forums', true); ?>
 <?php oci_forum_list('hidden', 'Private Forums', true); ?>That fn is a little out of date. I used to have an option in there to generate identicon avatars for all forums. Even the forums that weren’t bp related. I took that capability out. What it does do now is display avs for the currently logged in user’s groups only. 
- 
		AuthorSearch Results