Forum Replies Created
-
In reply to: How to contribute to Buddypress code development
You will find that currently as things stand all themes for BP are in effect child themes, themeing for BP is not quite the same as themeing for WP. I am presently working through a new theme or at least framework it replaces all theme files , referencing only the JS files in essence, yet many of the files will remain structurally pretty similar, but that is the framework for then tweaking the UX and UI to something that one prefers, then you start to have to get involved in filtering actions and playing around with template tags where you are able.
This is as different as one is able to take a BP theme I tend not to think of it as a child theme or a re-skining but in truth it is technically a child theme if one was to be accurate about it.
The bp default theme is probably past it’s sell by date somewhat and there has been vague talk about setting to and developing the next generation theme so give it a go.
In reply to: How to contribute to Buddypress code developmentDo it then but not the default theme, create a child theme which is essentially re-modeling the default. Themes are in short supply so if you have the ability then I’m sure many will be grateful for an addition to the theme library for BP.
In reply to: How to contribute to Buddypress code developmentAnyone is able to create a trac ticket for bug notifications or enhancements once created it will await review by one of the three core commiters (those three + 1 are the only ones with commit access on the project), if approved or passed as valid others that actively run trunk/bleeding edge test sites might look at and if necessary feedback and/or test patches as required.
If you have enhancements / code changes then submit them as patch files that can be tested out on installs.
In reply to: Multisite with directory domainsHave a flick through the codex documentation it should explain how to activate it on a blog other than the primary one but that also it isn’t possible to have it on more than one blog.
In reply to: Create group only by adminGonna be a problem though potentially when 1.3 hits as all Rich’s plugins are marked as not being further updated so will need someone to look them over as Rich did create some really useful plugins and it would be a shame for them to fall by the wayside.
In reply to: Child copy of Child copy?You can never do damage if you just follow a simple principle: make a copy of the file you intend working on, then when you mess up and can’t unravel things, simply revert the copied file to the original filename and you are back where you started.
In reply to: CSS help: Ask A Question ButtonWhat are you trying to do with ‘activity-inner’ ?
`#activity-stream .activity-content .activity-inner {background: red;}` should work
At the moment I can see no styles applied for your ‘activity-inner’ element.
In reply to: CSS container v. bp_containerHow do you mean ‘prefix’? prefixed to each selector or the body/html tags? BP tokenises itself on the body tag already so you can use that.
What you are really having an issue with is specificity and the weight of selectors and that just has to be understood and allowed for also understanding the cascade is important.
While it’s true that where you have plugins or modules – not just in WP land – it is often essential, if they supply required styles, that those are prefixed with a unique name as the author will not be able to account for what other rules might be in play and using the same element names so adding their own unique prefix ensures that clashes can’t occur – ThickBox is a good example where all selectors carry a unique name – adding prefixes to BP rules could just start getting messy and adding file weight, this notion of taking existing themes and attempting to make them BP compatible is a bit of a hack and is often going to produce not hugely favorable code the correct approach tbh would be to start styling from the ground up rather than attempting to mix major stylesheets.
In reply to: Add a new Tab<li id="forums-newttab no-ajax"><a href="YOUR LINK">Another Forum Loop</a></li>Not allowed to have two tokens to an ID should be ID and a class for the ‘no-ajax’ token if required?
In reply to: BuddyPress with PageLines Free TemplateIt’s alright mercime was just having one of those moments :p
the @ import was automagically converted to an ‘at mention’ link (this forum really needs a proper code display ) I’ve edited the post and added a space between @ i
If you look at the main style file in bp-default you will see how it imports the various stylesheets required you need to do this but using directory notation to navigate back up the directory tree to find the bp-default file
In reply to: New theme – Buddypress UXyep they are one and the same and is familiar – obviously – with BP themes.
In reply to: Webspace or ServerSounds like poor server config or just crowded shared hosting , you can optomise WP/BP but you aren’t really stretching it with those sorts of figures for activity.
If you can run to a VPS all the better then you can configure that to suit you and your site and have all it’s resources available.
Simple enough to try but you don’t overwrite these types of files ever always change it’s file name i.e turn it into a backup then upload another version, it’s a basic *nix principle.
In reply to: New theme – Buddypress UXI agree and I attempted to limit the sub pages displayed when we restyled the bp-default dropdowns so one couldn’t nest a series of pages 20 deep as that is in a similar vein to too many top links, trouble is with a theme one can’t really dictate these matters that’s up to the user to manage, but my puzzlement was that this reviewer didn’t understand that and passed the comment that they did, really it wasn’t something that ought to be commented on.
In reply to: New theme – Buddypress UX*puzzled* what does he mean??!! and he also pointed out that having a crap load of menus will kinda break the theme point out to him that a crap load of menus is the result of users adding pages and the way BP-default is coded, horizontal links are never wise with dynamic sites where you can not account for links generated. Using the new WP menus the user can control this aspect I thought @modemlooper was reviewing BP submissions?
In reply to: How to change the layout of a certain groupYes but it will be a little trickier than that as you’ll need to look at the various files that make up a page and what parts you want to allow to show and what new bits you want to write so you’ll likely need an else: in there somewhere to allow the normal page elements to display if this group is not ‘support’. Just a matter of playing around a little, and of course work in a child theme copy of the files.
In reply to: How to change the layout of a certain groupYou can use if/else checks for group name using this:
`if( bp_is_groups_component() && ‘my-group-name’ == bp_current_item() ):`
Use it to wrap all your new markup in /groups/single/ group-header.php and various template files
In reply to: Admin Profile pageYou could always edit the template files for /members/single/ (in a child theme) and wrap default actions in something like :
`if( ‘1’ == bp_displayed_user_id() )`
As a check for the displayed user being ‘1’ or primary network super_admin then you’ll do stuff based on that such as unique markup for that user alone or use in a ‘if not’ manner to hide certain profile display elements.
That’s a basic approach you could extend that to be more flexible by checking a users role bp_displayed_user() checked against WP roles and capabilities for that user.
glad it’s working I was getting worried *happy days*In reply to: buddypress support for thumbnail?It’s a feature that went trough a name change or two, the option is on your create or edit Post view named as ‘Featured Image’ other than that what do you mean ‘is not showing up’
You are going to need to supply a little more detail on the events as there is too little to formulate much of an opinion on what is happening.
Simply deactivating BP should not produce a server error- what server error? they are generally given error codes to narrow down what issue the server is happening. What do your server logs say? these are the first port of call when encountering issues with servers as they will provide detail as to what was happening or instruction attempted to complete but failed for whatever reason.
In reply to: Has anyone actually gotten BP to work ok?‘stupid question’ is a little harsh!
In reply to: Blank page after install Buddypress 1.1.2Sarcasm ? “sorry if I am messing up your cute little system here“
Just to emphasise what mercime has already covered this is a voluntary support forum this is an OS project if people choose to use the app then that is their choice there is absolutely no obligation on the part of anyone to provide support or help, yet an amazing amount of help is given to newbies trying to get sites up and running and often by people working professionally in this industry so it pays not to upset them or put them off offering that help.
A useful reference on how to post in general to boards is covered here:
http://www.catb.org/~esr/faqs/smart-questions.htmland no this isn’t an attempt to condescend or patronise.
There IS NO generic problem with BP but it’s a complicated extension to WP and thus there are many issues that can arise, often these might manifest in a similar way but more often than not have a variety of actual causes, which is why detail on the issue is imperative in order to be able to help.
In reply to: Hmm, does anyone know how to get this view?Thought it had already been done?
In reply to: Has anyone actually gotten BP to work ok?BP is not really an out of the box solution to create a successful community in functionality and look you have to put some work in, there are some grat examples of what can be done but they have had time spent on them and require a certain amount of skills with PHP and frontend coding CSS ? HTML.
Not sure what you really mean by a consistent website? bp-default isn’t a bad theme at all for an ‘out of the box’ better than most I’ve experienced but even with that theme you are meant to take it and make it your own.
What are these ‘Sample sites’ you refer to?