Forum Replies Created
-
OK, since folks are tossing around pennies, I throw 2 of mine in.
I don’t care. That’s right. I don’t care. I just want something that works, will grow over time and is not so slow that I have to upgrade hardware to use it.
If someone wants to hack away at NextGen, great. If someone wants to take on a full script, that’s great too. What I would suggest is we think seriously about scalability. Once random users get to upload media (presumably video at some point), we need scalability. Before the decision to put BP on WP (non-MU), there was much gnashing of teeth about performance. Adding photos/videos stored locally will only make it worse.
One of my main competitors runs on Ning. Users upload photos and videos with no limit. To even approach this I need AWS or some other cloud solution. As Ning people look at BP, that will be a consideration. The DB structure issues seem real and need to be addressed whichever direction is taken.
Mentally, I separate upload, storage, linking, search and display of media. Maybe existing solutions are best for display, but searching, linking and storage in the BP context seems to need some custom work.
I’m watching this back and forth and wondering, what would be most successful long-term.
My answer: Standardization. Otherwise, I find it hard to believe someone will keep such an ambitious project going. This will likely happen through inclusion in core or just adoption rates.
Right now, I need a solution that works with BP, allows user-uploaded content and ties into third-party hosting. As WP moves more into CMS-mode, many of the “features” described in this post will be desirable for non-bloggers running large community sites. I think that for many nearly-free sites, creating large userbases is going to be a big problem in 6-12 months. I’m trying to plan around that problem.
I posted my ideas of extending the Cincopa plugin at https://buddypress.org/forums/topic/creating-a-cincopa-gallery-plugin-for-buddypress. I’d love thoughts on that, but I’d support a commercial solution for support that solved my third party hosting issue.
This should definitely be added to the FAQ:How to sticky post.
thekmen and I have done this with Hybrid as the parent theme and our own child theme built on a Hybrid Child theme and Buddypress. Have a look at http://themehybrid.com/community/topic/hybrid-and-buddypress for the functions that need to move over at least for Hybrid. It was actually quite easy. My post at http://themehybrid.com/community/topic/hybrid-and-buddypress#post-2506 is as close to a step by step as I’ve seen. However, there are still more CSS tweaks needed after following those steps.
Saw the screen captures. Couldn’t you do a widget and put it in the sidebar. There’s gotta be hooks and even widget logic for this? Just a thought.
get 2.9 and bp1.2beta, Substantial changes have occurred
Solved it, but the problem is weird.
- Tracked down ajax calls in global.js.
- Firebug showed global.js was not loading
- Search of theme files showed global.js only called from functions.php
- The wp_enqueue_script that calls global.js uses a defined constant “HYBRID_NEWS_URL”
- The definition of that constant read
define( HYBRID_NEWS_URL, get_stylesheet_directory_uri() ); - Changed it to
define( 'HYBRID_NEWS_URL', get_stylesheet_directory_uri() );where I added apostrophes.
Apparently, others have gotten it to work without the apostrophes, but I had no luck and stumbled on the solution by comparing other ‘define’ usages to my own. Hope it helps someone later.
With Firebug, not sure this would work anyhoo.
Jump in already. I’m not a programmer and the water is fine. Although BP’s Codex is a work in progress, things work the same as in wordpress which has a detailed (if disorganized) Codex. Learning Loops, hooks and php functions is enough to get started. Pick up Ajax/Jquery later.
I bought some books to help me, but you may not need them. There’s a BP book coming soon, which should help. You could probably develop something quickly, but it’ll take some time to understand how it actually works.
OK, that was way too simple. Thanks. Wouldn’t have found it unless I knew what I was looking for.
After searching around for this function (and a comment from Burt), I see there are a few others in bp-core.php. Is there any listing of functions that take user_id or group_id and return information? I searched the “Docs” to no avail.
I had a long post on my troubles dealing with the default image and header issues. I’m using BP1.2 beta with Hybrid as parent and Hybrid News as child. Added BP default folders to Hybrid News theme folder. Modified functions.php and ended up with the same/similar problem as you. I deleted
/* Set the defaults for the custom header image (http://ryan.boren.me/2007/01/07/custom-image-header-api/) */
define( 'HEADER_TEXTCOLOR', 'FFFFFF' );
define( 'HEADER_IMAGE', '%s/_inc/images/default_header.jpg' ); // %s is theme dir uri
define( 'HEADER_IMAGE_WIDTH', 1250 );
define( 'HEADER_IMAGE_HEIGHT', 125 );
function bp_dtheme_header_style() { ?>
<style type="text/css">
#header { background-image: url(<?php header_image() ?>); }
<?php if ( 'blank' == get_header_textcolor() ) { ?>
#header h1, #header #desc { display: none; }
<?php } else { ?>
#header h1 a, #desc { color:#<?php header_textcolor() ?>; }
<?php }
?></style>
}but that didn’t help.
Solved it for me by commenting out all the CSS in default.css under the heading “Header” since Hybrid News is taking care of all of this. Obviously, mileage may vary.
I’m looking to do something similar in having login/register on the same page. That should be simple, but not sure about the profile fields piece. I’m need to implement different registrations for different “types” of users. I can do this with different pages with hidden input fields. Not sure how to work this with different profile questions yet though. Keep us abreast of your progress.
It’s possible the wizzes behind BP haven’t responded because you haven’t given enough information to determine if this is user error, bug or random glitch. There should be instructions for posting questions and they should include what you need to let us know to help you.
Try GD star rating which also supports thumbs
I’ll ask in both places. What did you put in the child folder? Are you mixing a Hybrid Child with BP or just using BP default as the child? Where can I find Hybrid Black?
When I have issues like this I open Firebug for Firefox and I can usually track down the problem.
Thanks. I can probably figure out what you meant by this last post. I’ll look for a buddypress tag in the css header of the parent/child. I agree this will probably never be ideal as anytime there is a struggle between two ‘parents.’ Code mirroring life.
I sorta get this, but here’s my concern. I’m using Hybrid Framework which needs to be the parent. I will make a child theme based on it. Ideally, I’d like to put the BP “stuff” in the child so upgrading Hybrid won’t screw up anything (Andy said something about this being an acceptable approach in another thread). Also, if/when Justin adds BP capabilities to Hybrid, I can just delete the BP functionality in the child.
If I do this, I probably need to take the functions/templates from BP parent and put them with WP child. I’m fine with this too (although painful on upgrade). My question is about where BP is looking for things. If it’s looking in the plugin folder and I have the files/functions in the WP child theme folder, will that work???
Before I go ripping out BP parent files and inserting them into WP child folder, I’d like to know.
Good luck, I’m looking for the same answer. I appreciate all the work that went into the new BP theme, but I want to use the WP theme and add content from some of the components. I sorta learned how this was done pre-1.2, but not sure how the detection works if the theme files are in the plugin folder and you’re not using BP-parent as the parent theme.
Someone will hopefully help soon.
Thanks Andy, I installed BP beta last night and really needed this. Any tips on how to modify these instructions if I want to use a WP theme as my base and add BP functionality piece by piece? I know I will be in hell upgrading, but I’ve got too much invested in the WP theme.
Just looked at this in detail. Very helpful. Any testing done with 1.2 yet?
First, is it jjj or JJJ?
Second, is there some way to use the usermeta solution for groups?
Also, I want to change the display of everything (dropdowns, menus, labels, etc.) to account for the different user types (e.g. teachers, students, parents). That would also need to be the case for groups (e.g. classrooms, schools, departments). How would you suggest going about this?
Thanks
Please share. Others might have this challenge in the future.
I think I know what you’re after and my answer would be – not without customization.
You could have your WP theme as the parent and bp theme as the child. Even with this setup, you’d need to modify the BP theme so it didn’t interfere with the parent which is what you’d want folks to see most of the time.
I encourage you to take a look at the structure of Buddymatic where Ron took Thematic and added the key buddypress templates and functions to create a “unified” parent theme. You could do that or leave the WP stuff as the parent and put your BP stuff as the child. Remember the child “overwrites” the parent so where you don’t want the parent overriden (e.g. home page), you need to remove/rename that file in the child.
I know it’s a bit confusing, but take a look at thematic and the new parent/child structures.