Search Results for 'buddypress'
-
AuthorSearch Results
-
December 28, 2008 at 2:37 pm #35179
Obuisson1976
ParticipantLes fichiers de langue FR sont disponible dans le codex de buddypress : https://codex.buddypress.org/translations/french-france-fr_fr/
Il y a 2/3 à modifier mais c’est du bon travail. Merci à l’équipe qui a fait la traduction.
J’ai fait un post pour l’installation des fichiers de traduction :
December 28, 2008 at 1:12 pm #35178In reply to: Removing BuddyPress Bar
seanzyville
MemberThanks burta for the help.
Simply put your theme in the themes folder and activate it.
December 28, 2008 at 6:24 am #35173In reply to: My Friends Activity
sdq80
Participantfor example if I want to get my activity I’m using:
<?php bp_activity_get_list( bp_current_user_id(), bp_word_or_name( __( “My Activity”, ‘buddypress’ ), __( “%s’s Activity”, ‘buddypress’ ), true, false ), __( “You haven’t done anything yet.”, ‘buddypress’ ) ) ?>
this function works with member theme only, when I try to add the same function to the home theme (i.e: index) it wont work, it gives me the above custom message (You haven’t done …..)!! thanks for your cooperation!
December 28, 2008 at 4:41 am #35170In reply to: “BuddyPress” logo on the top left hand side
Andy Peatling
Keymaster<?php
function my_admin_bar_logo() {
return URL_OF_MY_LOGO_IMAGE;
}
add_filter( 'bp_admin_bar_logo_src', 'my_admin_bar_logo' );
?>Place that in a php file and include it in mu-plugins. You won’t have to hack any of the core using this method.
December 28, 2008 at 3:56 am #35169In reply to: “BuddyPress” logo on the top left hand side
Wardee
ParticipantHere are my easier solutions.
Only easier because I’m not as technical as Burt.1) You can replace that image with your own. Call it the same name and be prepared to reupload it everytime you upgrade.
2) I was going to say edit custom.css, but I just tested it. It doesn’t work. Burt, you were right.
December 28, 2008 at 2:48 am #35164In reply to: “BuddyPress” logo on the top left hand side
Burt Adsit
ParticipantHowdy. That little logo lives in the directory /wp-content/mu-plugins/bp-core/images
admin_bar_logo.gif
You can point bp to something more to your liking if you are comfortable with code.
Since long lines of code don’t paste well here see: http://pastie.org/347661
I have that running in a little plugin that does a bunch of utility bp mods I need done. You could put a modification of that in your theme’s functions.php file if you like.
If you change the dimensions of the image at all you’ll have to skin the css for the admin bar also. It lives at: /wp-content/mu-plugins/bp-core/css/admin-bar.css
I don’t think that the admin bar css can be overridden in bp’s custom.css yet. I may be wrong though.
Probably way more than you cared to know about changing a little smidgen of an image ‘eh?
December 27, 2008 at 11:36 pm #35157In reply to: avatars upload but cannot be cropped etc
Burt Adsit
Participant@oceandoctor You probably could work around this by uploading two avs for each of your users, or just going with one of the default avs like ‘identicons’. (Site Admin > BuddyPress > Default Avatars)
I haven’t tried *turning off* a custom av though. One bp thinks you have one, you have one. If you want to run a generated av like identicon, try deleting the custom av and then configuring bp to use a stock one.
Avs come in to flavors. small and large. 50×50 and 150×150. Named: myfavav-avatar1.jpg and myfavav-avatar2.jpg. Once again bp remembers the url to these avs once uploaded and cropped. The easiest way to hook up to bp is to name them the same as the existing goofy avs. Just replace them.
December 27, 2008 at 4:36 pm #35137In reply to: Removing BuddyPress Bar
gpo1
Participant@seanzyville, you got a nice clean site, a nice change from the BP home page.
How did you use the custom theme to replace the BP home theme.
Because I’ve got a custom theme I want to use?
December 27, 2008 at 3:19 pm #35134In reply to: Removing BuddyPress Bar
Burt Adsit
ParticipantSite Admin > BuddyPress > Show admin bar for logged out users: NO
Burt Adsit
ParticipantEasy? You mean like going to McDonalds and getting a cheeseburger easy?
Or going to the store buying all the fixings, coming home and making a cheeseburger easy?
Line 34 of bp-activity-widgets.php is the spot that echos the sitewide activity stuff you see. The loop around it uses the var $item which is of the flavor ‘array’ containing amongst other things the condiment : $item. If you use the proper kitchen utensil : bp_core_get_avatar( $item, 1 ) you are well on your way to making a normal size burger. That gets you the 50×50 avatar.
If your really hungry you could use bp_core_get_avatar( $item, 2 ). That gets you the big avatar.
So, is it McDonalds today or the kitchen?
I think Charlie Stout’s talk about farming in relation to bp has made me hungry.
http://charliestout.testbp.org/2008/12/22/want-to-expand-buddypress-expand-gravatar/
December 27, 2008 at 11:25 am #35127In reply to: BuddyPress Showoff: Post your links
zanzoon
ParticipantZanzOOn, learn, socially…
December 27, 2008 at 4:23 am #35121In reply to: Forum Integration: HELPING HINTS
zenseeker
ParticipantHi Trent,
I finally gave up on cookie integration and went with just the wordpress integration. I got farther along in that I can post topics now with no errors, but adding a reply gives the dreaded red “There was an error posting that reply.” Looking over your last post gave me pause though. Are you saying to install only wpmu and bbpress, get them working, then install buddypress? Maybe I’m just tired, but the instructions from bp-forums/installation-readme.txt dont’ seen to follow that route. Makes sense though. I keep saying I’ve attempted this for the last time and moving on, but I find myself pulled back in once more with a faint glimmer of hope. I hope this isn’t the definition of insanity (always expecting different results).
Thanks for all your time in helping us.
December 27, 2008 at 4:08 am #35120In reply to: Any shopping cart suggestions?
David Bisset
ParticipantI’m at a loss how you would work a shopping cart into BuddyPress (from a conceptual, not technical standpoint). Are you trying to create an environment where everyone has their own store? If that’s the case, you could easily adapt a standard ecommerce theme into a Buddypress compatible one and make that the one and only blog theme for users. Just curious.
December 27, 2008 at 3:42 am #35118In reply to: BuddyPress Showoff: Post your links
dutchmastiff
ParticipantI liked : http://www.screamings.com
and a coulpe of other ones too.
I love buddy press but i am a little green on it.
Still werkin on it check it out: http://www.social.hiphopdashboard.com
also peep http://www.hiphopdashboard.com
Still trying to tweak them both but let me kno what ya guys think.
December 27, 2008 at 2:56 am #35116In reply to: Any shopping cart suggestions?
zenseeker
ParticipantThanks for the suggestion. Do you plan to test with buddypress? Since the developer has no immediate plans to support wpmu I’d like to know if it works with wpmu and buddypress before shelling out any money.
December 26, 2008 at 9:59 pm #35109In reply to: Profile Data – Member Listing Page Empty
belogical
Participanti found a solution below for anyone else that needs it, but it didn’t work 100%. i can now search for all my members, and they all show up when you click on a letter in the member directory but the total count and list of initial members doesn’t show up when you click on the main “Members” link from the front page. ideas as to why?
here is the solution I found if you are migrating an existing site to buddypress. run these 3 separately against your database in this order:
(#1) insert into wp_bp_xprofile_data (user_id,value) select ID,user_login from wp_users;
(#2) update wp_bp_xprofile_data set field_id = “1” where field_id “0”;
(#3) update wp_bp_xprofile_data set last_updated = “2008-12-24 11:39:36” where last_updated = “0000-00-00 00:00:00”;
this will allow your existing wordpress users to have some initial buddypress profile data in order for the member directory to work properly.
December 26, 2008 at 2:35 pm #35103bebopcool
ParticipantDecember 26, 2008 at 2:12 pm #35101In reply to: Translating BuddyPress
bebopcool
Participantif several languages are installed both on wpmu and bdpress
do users can choose their language indenpendantly ?
December 26, 2008 at 12:49 pm #35098In reply to: Language – Frontend User select
bebopcool
Participantin profile there is a way to make people to choose their first language.
it would be great to link this with an available language transmation of buddypress.
December 26, 2008 at 4:52 am #35094In reply to: Minimal groups, forums, members and blogs lists
Burt Adsit
ParticipantThanks David. I thought it might be useful to let people know that the bp core and all the lovely components can be accessed from any theme, any time. It ain’t rocket science, it’s programming.
I’m not too familiar with pastie. I’ve just used it a couple of times. It’s browsable? I just though it was a net wide scratch pad.
Nicola! I posted the same stuff over at buddypressdev.org too.
December 26, 2008 at 12:07 am #35083nicolagreco
Participantboth the first and the second link works well.. try download it directly here http://buddypressdev.org/download/3
December 25, 2008 at 11:10 pm #35082David Bisset
ParticipantDue to the holidays over here, i haven’t had a chance to look at this but if it works well done. BTW, I tried the link on your .org site first and got a 404.
There is more than one way to skin a cat – in fact your example is very close to the v.0.1.0 example i created a few days back. Both of these work for VERY simple components. Nice to see a slightly different execution. The more ways we can show this, the faster people will learn. Good job!
December 25, 2008 at 9:45 pm #35075In reply to: Take away Create a Group option
Burt Adsit
ParticipantHi wardeh. I was checking the ‘topics with no replies’ and saw you here. All by your lonesome self. How goes the battle this week?
You don’t want to turn off groups but you just don’t want the option to create more groups to be available. Well, you want group creation to be a site admin thing only. Hmmm…
I went and looked at the member theme code and finally arrived in the core code and lo and behold Andy was thinking of you! There is an unused option for the menu items. ‘site admin’ only. You’ll have to modify one line to turn off the group creation option for everyone except you.
In the file /mu-plugins/bp-groups.php at line 205. This currently reads:
bp_core_add_subnav_item( $bp, 'create', __('Create a Group', 'buddypress'), $groups_link, 'groups_screen_create_group', false, bp_is_home() );
Change that line to read:
bp_core_add_subnav_item( $bp, 'create', __('Create a Group', 'buddypress'), $groups_link, 'groups_screen_create_group', false, bp_is_home(), true );
That change adds the ‘true’ parameter at the end which normally defaults to ‘false’. It’s the ‘site admin only’ sees this menu item flag.
Merry Christmas.
December 25, 2008 at 6:26 pm #35068nicolagreco
ParticipantUPDATED, i wrote an example plugin that works without adding files in member-theme

You can find a small post here http://buddypressdev.org/forums/topic.php?id=7
That explain a bit about this example extending component that i called bpdev-example
I forgot, here you can download bpdev-example : http://buddypressdev.org/plugins/bpdev-example
December 25, 2008 at 5:05 pm #35067nicolagreco
ParticipantI’m sorry. So, i think that you don’t need add files in /member-theme/ because you can write your plugin without adding files in /member-theme/ for example you can write:
function test_page_settings() {
global $current_user, $bp_settings_updated, $pass_error;
add_action( 'bp_template_title', 'test_page_title' );
add_action( 'bp_template_content', 'test_page_content' );
add_action( 'bp_template_content_header', 'test_page_tabs' );
bp_catch_uri('plugin-template');
}
function test_page_title() {
_e( 'Hello title', 'buddypress' );
}
function test_page_content() {
global $bp, $current_user, $bp_settings_updated, $pass_error; ?>
<p>Hello Content</p>
<?php
function test_page_tabs() {
global $bp, $create_group_step, $completed_to_step;
?>
<ul class="content-header-nav">
<li>Hello Tabs</li>
</ul>
<?php } ?>With that you don’t need to add page in /member-theme/. I think that users that install a plugins want only add files on mu-plugins/.
Think if i’ve another member-theme that isn’t like the default, and i would like add this plugin..
I hope i explain well now
-
AuthorSearch Results