Search Results for 'buddypress'
-
AuthorSearch Results
-
January 19, 2014 at 9:35 pm #177227
In reply to: Font colour on Buddypress pages
HoundLounge
ParticipantOK, I’ve managed to change all of my text. For those that need to solve the same problem I did, you have to go to Plugins -> Buddypress -> bp-template -> legacy and then find the main css file. Oh and as per Hugo’s advice, Firebug is worth its weight in gold for finding the relevant div id! In my case, most of the text that needed changing was grey which was codes #555 and #aaa. It is worth opening up Find to locate all occurrences.
January 19, 2014 at 9:16 pm #177225In reply to: Possible BUG FIX (Needs Trac?)
Paul Wong-Gibbs
KeymasterNow fixed in trunk for BP 2.0. Thanks for the report and the fix, @glyndavidson
January 19, 2014 at 7:23 pm #177222In reply to: BuddyPress Activity Privacy
Scott Seitz
ParticipantHi @megainfo. I really appreciate all the work you’ve put into this much needed plugin! I found one easily rectifiable problem with the snippet of code in the bp_visibility_activity_filter() function you added for the re-inclusion of @mentions.
// mentioned members can always see the acitivity whatever the privacy level if ( $visibility != 'mentionedonly' ){ $usernames = bp_activity_find_mentions( $activity->content ); $is_mentioned = array_key_exists( $bp_loggedin_user_id, (array)$usernames ); if( $is_mentioned ) $remove_from_stream = false; }When there are no @mentions in the content and $usernames returns blank, you cast $usernames as an array in order to keep array_key_exists from complaining. An unfortunate side effect of this turns out to be that (array)$usernames is an array with a single key-value pair of [0] -> ” and $bp_loggedin_user_id is 0 for a non-logged in user, thereby allowing a non-logged in user to see things they shouldn’t.
It took me a little while to figure all of this out, so please accept my patch as thanks for all your hard work!! I’ve modified my version of your code to the following:
// mentioned members can always see the acitivity whatever the privacy level if ( $visibility != 'mentionedonly' && $remove_from_stream ){ $is_mentioned = false; $usernames = bp_activity_find_mentions( $activity->content ); if ( is_array($usernames) ) $is_mentioned = array_key_exists( $bp_loggedin_user_id, $usernames ); if( $is_mentioned ) $remove_from_stream = false; }I also added the && $remove_from_stream to the if statement, because there is no reason to run the additional code if the activity can already be seen.
I wonder if this is the reason @burakbirer says that Buddypress Activity Privacy 1.2.1 doesn’t work with BuddyPress 1.9.1? Everything else seems to work fine for me in that environment.
Many thanks,
ScottJanuary 19, 2014 at 6:32 pm #177221In reply to: Possible BUG FIX (Needs Trac?)
glyndavidson
ParticipantJanuary 19, 2014 at 6:30 pm #177220In reply to: 1.9.1 Member page not displaying correctly
meg@info
ParticipantHi @jayjaym,
Remove “buddypress” tag from wp-content/themes/platfrom/style.css
Tags: buddypress, rtl-language-support, editor-style, theme-options, one-column, two-columns, three-columns, left-sidebar, right-sidebar, flexible-width, custom-menu, fixed-width, threaded-comments, custom-background, custom-header, custom-colors, custom-menu, photoblogging, translation-ready, white, silver, light, blue, green, yellowlet us now if it’s work !
January 19, 2014 at 5:48 pm #177219In reply to: BuddyPress 2014 Survey
Paul Wong-Gibbs
KeymasterYep, likewise. Not sure when we’re going to close the survey — maybe the end of the month, but we should have some preliminary data available to help plan BuddyPress 2.0 at next week’s dev chat.
January 19, 2014 at 5:40 pm #177215In reply to: Pagination on buddypress.org
January 19, 2014 at 5:39 pm #177214Paul Wong-Gibbs
KeymasterPlease report this as a bug on buddypress.trac.wordpress.org. Thanks.
January 19, 2014 at 5:22 pm #177213In reply to: Pagination on buddypress.org
Paul Wong-Gibbs
KeymasterBug reports for BuddyPress.org itself should also be reported on buddypress.trac.wordpress.org, please.
January 19, 2014 at 1:53 pm #177206In reply to: Forcing incompatible theme to work with Buddypress
meg@info
Participant1 – edit your style.css of your theme, and remove buddypress from tags :
Tags: buddypress,white,one-column,two-columns,three-columns,right-sidebar,fixed-width,editor-style,custom-menu,custom-header,featured-images,full-width-template,theme-options,threaded-comments2 – remove all this directories if they exisit on your theme :
‘activity’, ‘members’, ‘groups’, ‘bbpress’,’blogs’, ‘forums’, , ‘_inc’, ‘registration’.
(mybe you will find these directories on others sub dir like ‘lib’ or ‘buddypress’.Hope this can help you!
January 19, 2014 at 11:49 am #177201In reply to: Font colour on Buddypress pages
Hugo Ashmore
ParticipantBP experts seem to know (or are willing to share) the answer
Firstly it isn’t really something that requires BP expertise nor is it some secret people are trying to hide from you.
CSS is coding and requires some degree of understanding if you wish to start modifying code to some degree you’ll have to leave behind that notion of being a non expert 🙂
There is no general bit of code that can be provided to suit all users in this request, the start point for stating a general font color is the body tag as this is a inherited property however then that color can be overridden with other values further on down into the cascade so if it didn’t work on the body tag likely it is being stated somewhere else and as there is no particular set notion as to where as this is a stylesheet authors decision it’s hard to give anything other generic approaches. Using a tool such as firebug in FireFox you may be able to examine the elements that have styled text and see where they inherit things like color properties from in the stylesheet and then adjust accordingly.
@henrywright approach adding !important might work however it’s not a good practise (sorry Henry 🙂 )The reason people are always advised to use child themes is that this way you can make changes and be assured they won’t get overwritten in updates, now in your case looking at your custom theme with very bold coloured backgrounds the rules in the buddypress.css stylesheet that set activity meta to grey would need changing but to do this you would want to copy over that stylesheet or in your themes styles write very specific rulesets to override the BP ones.
The process for copying over BP files is described here:
January 19, 2014 at 4:39 am #177181In reply to: 2.0 top features – ideas
SK
ParticipantBetter customisation options of the activity stream: ie to be able to define a set of “or” filters for content type, and who. So (with plugin support) I can define a feed to include things from “me or friends or followers” showing “topics and topic replies and posts and new users” (and ideally be able to have a permalink to this with no other fluff on display). The current activity feed selectors are a mess and don’t provide what most people want to see.
There are about 50-75 Premium BuddyPress themes online for sale and 99% of them have the same activity stream page-layout. While all those premium theme developers can do lots of customization to all other pages the activity stream is like Twitter’s Bootstrap to BuddyPress it always tells you it’s a BuddyPress website without looking at the code.
The reason all those themes activity look alike is because previously it was a nightmare to create something that wasn’t derivative of bp-default and it’s heavy-handed javascript. This is not the case anymore.
In other words, this issue has already been fixed. Now it is upto the theme developers to customize the feed aesthetics to their hearts’ content.
January 19, 2014 at 4:11 am #177176In reply to: Showing "Item-body" on a different page
BuddyBoss
ParticipantI think you’ll be fighting an uphill battle trying to do this with PHP in the editor. When you add PHP into a regular page, the page doesn’t realize it’s supposed to be running BuddyPress code and you may be missing some critical opening/closing PHP outside of the core messages code. You’ll probably need to set up an actual page template just for this and then set your WP page to use that template.
January 19, 2014 at 4:05 am #177173In reply to: Making my theme plugin ready
BuddyBoss
ParticipantMost plugin compatibility issues are either JavaScript or some template conflict. For templates, inspect the code in /buddypress/bp-templates/bp-legacy/. Make sure you’re basically following that model if you are adding your own BP template files, because many plugins add template files to output their HTML and they are basing their HTML on the structure found at /bp-legacy/. Also keep in mind some older plugins use the structure from bp-default (with /_inc/ storing templates and assets) and these older plugins may break the layout in your theme. For JavaScript, some plugins rely on the JS that BuddyPress runs, so let it run.
January 19, 2014 at 3:56 am #177170In reply to: My BuddyPress Theme Development
BuddyBoss
ParticipantMy advice:
1. Don’t copy bp-default. It’s a very old theme and is being retired. Instead, model everything off of the bp-legacy files. They’re at /plugins/buddypress/bp-templates/bp-legacy/
When BuddyPress runs (1.7+) it is pulling in templates files and CSS and JS from this folder. You can replicate that folder structure to override any templates in there, like CSS, etc.
2. If you want to completely override the default CSS, you can remove the enqueuing of it entirely with this in your functions.php, so that you’re not loading your CSS in addition to BP default CSS.
wp_deregister_style( 'bp-child-css' ); wp_deregister_style( 'bp-parent-css' );3. Sounds like a nice plan of attack. I wouldn’t recommend using a separate stylesheet for every single component, because you’re going to end up with a ton of stylesheets which will be bad for performance. But if it makes your life easier to code this way, you can always combine all of the styles at the end. Also I think you may find that a lot of stuff overlaps between components. Like all directories are basically the same CSS (Member directory, Groups directory, etc.), and member profiles and single groups are basically the same CSS. So it may get redundant to separate by component. I would separate by directory, single item (profile, group), and then get specific for different “inner” content types – like messages, activity, etc.
January 19, 2014 at 3:37 am #177169BuddyBoss
ParticipantTo remove that for logged out users, go to Settings > BuddyPress > Settings. Make sure “Show the Toolbar for logged out users” is set to “No”. Then you’ll need a link somewhere for people to login/register. You can use the login widget packaged with BuddyPress 1.9+
January 19, 2014 at 12:18 am #177168In reply to: iPhone app for BuddyPress
BuddyBoss
ParticipantWould be awesome to at least have a nice iPhone ready theme available.
BuddyBoss is an iPhone / Android compatible theme for BuddyPress.
January 18, 2014 at 10:18 pm #177163Marcella
Participanthttp://pixelcoder.co.uk/members/alistair is my latest endeavour with BuddyPress. It’s nowhere near complete and I’m at that stage where I’d like someone else to work with and help with the theme. To do code reviews, refinement and design.
A collab build process would be ace.
January 18, 2014 at 10:09 pm #177162Marcella
ParticipantI’m going to continue writing here as it seems to fit right now. I’m going to outline how I’ve approached BuddyPress theme development at my last iteration. Hopefully someone can see where they could jump in to help contribute to the creation of a new theme.
Concepts
Concepts have always been tough, I usually miss out some important aspect of the design. Like if I was designing a concept for the activity streams, I’d leave of the threaded comments aspect of BuddyPress. However I’ve gotten good at outlining some of the features in the concept stage. Usually I take a BuddyPress install using the Twenty Twelve theme and copy all of the components into a Photoshop document and cross-reference design like that.The concepts would be an iterative process, with the wealth of templates in BuddyPress designing them all in Photoshop first is very desirable but not very practical. I would love to have the time to really design all components in Photoshop first before moving into code.
Templates
Taking any Photoshop concepts and making them into templates usually is a static process for me, I’ve done the activity stream page design in Photoshop, I then use a boiler plate I have to rough out the html and css of this page. Again and iterative process. If I had 1 Photoshop file to work with, let’s say BuddyPress registration, I’d do the template of that in raw HTML and CSS.BuddyPress
Taking those templates previously coded has been a bit of a pain for me, I write markup differently to how the bp-default theme shipped, so it really is a case of building these files from scratch. Dropping in the loops, the BuddyPress function calls and actions at each template iteration. This leaves for problems, but I’ve got it down well now and know how BuddyPress works. So it’s like building a WordPress theme on steroids. I’ve even spent a while taking the bp-default theme and removing all the markup it shipped with. This makes building new BuddyPress themes a whole bunch easier to shape. Although I’m still not perfect at this.Iteration
The above workflow procedures have served me well in getting off the ground with BuddyPress theme development but they haven’t taken me the whole way. I end up failing to use the CASCADE that CSS offers and ultimately reside to the fact I have to repeat my self lots with CSS.The repetition I don’t fear, but the labour involved really does effect the overall fun in development and really the theme that had so much potential when building the activity stream and registration pages becomes a hard slog to getting something that works. Photoshop concepts suffer in design and the code suffers from bloat (hence my whole piece about designing all the concepts first).
That’s it, in a nutshell. 🙂
January 18, 2014 at 8:58 pm #177153In reply to: Cannot Register New Users (only manually)
Trishan1000
ParticipantHi,
I’ve read your post over the past couple of days as I was having the same problem and trying to find a solution after being stuck for weeks without any solutions or replies.
I’ve finally found a solution that works for me and I hope it works for you.Deactivate BP 1.9.1 and delete it from your WP-admin page(I am not sure if you will loose your registered users etc – I didn’t). Go to the following buddy press link
and download version 1.8.1. Install under your plugins section, activate and test to see if it works.Hope I helped, cheers.
January 18, 2014 at 6:46 pm #177131In reply to: Notifications Page Layout Not Correct
dcsenterprise
ParticipantFound the fix here.
https://buddypress.org/support/topic/notifications-tab-appeared-in-profile/January 18, 2014 at 3:50 pm #177124In reply to: BuddyPress Activity Privacy
burakbirer
ParticipantBP Activity Privacy 1.2.1 does not work with the Buddypress latest version 1.9.1.
Will there be a fix soon?Thank you for this great plugin. Hope it works.
January 18, 2014 at 5:44 am #177114In reply to: Issue with Ajax Loaded Content and jQuery finctions
stoi2m1
Participant@henrywright Not quit.
In global.js there is a line at line 376 jq(‘form.ac-form’).hide();
Which on page load hides all of the comment boxes.
Now when I click on the load more button at the bottom of the page (or one of the .item-list-tabs) new or more Buddypress content is loaded. One of the issues I am having is the comment forms are not being hidden on this new or added content. It is some what a comment issue when not proper calling the .click() function and a .on() or .live() function should be used instead. I have tried a couple of things I have read about causes for Ajax loaded content which doesnt have the existing javascript in the page applied to the newly loaded content, but nothing has worked. So I figured this might be something specific to the Buddypress plugin or something commonly interfering with it.
January 18, 2014 at 1:11 am #177113In reply to: Issue with Ajax Loaded Content and jQuery finctions
Henry Wright
Moderator@stoi2m1 I’m not entirely understanding what you mean. Is the issue reported in this Trac ticket similar to your problem?
January 18, 2014 at 1:00 am #177111Sarah Gooding
MemberYou’ve almost got it! Yes, create a new page for registration and then go back to the BuddyPress page settings and assign the register page.
-
AuthorSearch Results