Search Results for 'buddypress'
-
AuthorSearch Results
-
August 17, 2011 at 3:53 am #118602
alfredojp
Participanthehe so should i put this in functions.php?
August 17, 2011 at 3:42 am #118601modemlooper
Moderator@alfredojp I agree but that’s not happening, it could be added to1.6. First a plugin and then a move to core if it works well.
August 17, 2011 at 3:40 am #118600alfredojp
Participant@modemlooper @boonebgorges
It would be nice if 1.5 was already capable of adding more fields like location, phone,, blah blah blah to the group creation process.But where do i put this? i already have another function in bp-custom.php.
August 17, 2011 at 3:28 am #118598modemlooper
Moderator@boonebgorges I don’t think that code will work with 1.5
Did these get changed in 1.5
add_action( ‘groups_group_details_edited’, ‘group_details_save’ );
add_action( ‘groups_created_group’, ‘group_details_save’ );August 17, 2011 at 3:21 am #118596alfredojp
ParticipantThank you i’m starting to understand alot more……but where would this and the Group API code go?? in bp-custom.php or in functions.php?
August 17, 2011 at 2:04 am #118594alfredojp
Participant@boonebgorges
does the groups API code only create a new screen or can i also use it to create extra fields?August 17, 2011 at 12:55 am #118590funmi omoba
Participant@pcwriter thanks so much, will check it out.
August 17, 2011 at 12:32 am #118585alfredojp
Participant@modemlooper (if me grabbing your attention this way is rude please let me know)
Thanks…..but are you referring to the API or to the code i posted when you said i’ll have to edit core files. And yes it has been asked many times before but no one ever seems to complete it.Thank you for your time.
August 16, 2011 at 11:59 pm #118580alfredojp
Participant@modemlooper did you see the other code i posted above? which one would be more appropriate to follow to create new fields in the group creation process?
Thank for the confirmation that it creates a new screen. which is cool too but i also need extra fields for city, state, country, phone number and mestre(teacher)
August 16, 2011 at 11:13 pm #118568In reply to: HELP! I broke it!!
Tammie Lister
ModeratorDo you have the template pack on for BuddyPress? Some themes don’t need it.
August 16, 2011 at 11:05 pm #118565alfredojp
Participant@boonebgorges
so from looking at the code you were implementing something for group docs in the group creation process. am I correct? I get kind of confused because the more and more i look at the code the more and more i start to think that its purpose is to add another Screen to the group creation process and not specifically for more fields.
Correct me if i’m wrongAugust 16, 2011 at 10:42 pm #118564Boone Gorges
KeymasterI can show you how I do it in one of my plugins: https://github.com/boonebgorges/buddypress-docs/blob/master/includes/integration-groups.php#L781
August 16, 2011 at 10:33 pm #118562alfredojp
ParticipantHi @boonebgorges
I’m not exactly sure how I save the data from the “create_screen_save()” and “edit_screen_save()” methods in the $_post. I know you’re busy but could you help me out with an exxample?Thank you for the help….i’m going to try what you just said to the best of my abilities
I also ran across the post which you helped someone else on about 9 months ago…same basic problem.
Here’s the link:
https://buddypress.org/community/groups/miscellaneous/forum/topic/new-group-creation-fieldsWhat do you recommend? Any further help is appreciated
August 16, 2011 at 10:23 pm #118560In reply to: Quick buddypress plugin question
alfredojp
Participant@Stigmartyr
Well adding another table came from another idea I had which was to basically copy everything that has to do with groups and group creations and group functions so that I could add more fields and have somthing of a database of Capoeria schools instead of just basic groups forums with names like “capoeira rocks socks”. ( http://caradacapoeira.com ). but i decided that that would be chaotic and it would just be better to add fields to the existing group capabilities (fields for location/phone number).@DJPaul
I found this for the front end markup.`function bp_extra_group_fields_markup() {
// Put your form markup here, eg:
?>
<?php
}
add_action( ‘groups_custom_group_fields_editable’, ‘bbg_extra_group_fields_markup’ );`and this is for profesing the information:
`function bbg_save_extra_group_details() {
// Grab the $_POST data and do something with it. Simplified example:
global $bp;
if ( isset( $_POST ) )
groups_update_groupmeta( $bp->groups->current_group->id, ‘country’, $_POST );
}
add_action( ‘groups_group_details_edited’, ‘bbg_save_extra_group_details’ );
add_action( ‘groups_create_group_step_save_group-details’, ‘bbg_save_extra_group_details’ );`Please any and all help is welcome.
August 16, 2011 at 10:11 pm #118556In reply to: Quick buddypress plugin question
Stigmartyr
MemberDamn the Purple Dynamite, I mentioned myself instead of @alfredojp in my post above ^ and I can’t edit it
August 16, 2011 at 10:10 pm #118555In reply to: Quick buddypress plugin question
Stigmartyr
Member@Stigmartyr – no need to thank me, Paul did the heavy lifting.
I’m not 100% sure but I don’t think that any tables get created when a new group is made, rather the existing tables are populated. Usually any tables to be are created are done initially when the mod is first installed.
If you’re trying to add more fields to the group profile like Paul said: you probably want to make a plugin that does this. Unfortunately like you I’m merely dangerous with php.
August 16, 2011 at 9:40 pm #118554In reply to: Post button missing on Activity Stream
Paul Wong-Gibbs
KeymasterBuddyPress 1.2.9?
August 16, 2011 at 9:08 pm #118553In reply to: Frisco Child Theme
David Carson
ParticipantIf anyone can help test browser compatibility for this theme, especially IE 7/8/9, I’d be very grateful. You can report issues here or on GitHub at https://github.com/davidtcarson/frisco/issues
P.S. I’m pinging you @InterMike just to make sure you get notified about my last post with theme options info and custom.css usage. … I messed up your username in that post so you probably didn’t receive notification.
August 16, 2011 at 9:02 pm #118552In reply to: Frisco Child Theme
David Carson
ParticipantThanks for your help testing it out and reporting issues, @InterMike.
I’ve just added a theme options page so that users can choose from a few basic color choices and use a custom.css stylesheet if they want to override anything. Aiming to get some other basic options in there for fonts.
For the custom stylesheet, check off the custom stylesheet option box in theme options, and create custom.css in the root theme directory.
A reminder that Frisco requires BuddyPress 1.5 and WordPress 3.2.1 or 3.3 (nightly build).
You can download the theme at https://github.com/davidtcarson/frisco/
August 16, 2011 at 8:48 pm #118550In reply to: Quick buddypress plugin question
alfredojp
Participant@Stigmartyr
@DJPaul
Thank yo both for your input
I’m pretty good with MySql but not so hot with PHP. I’ve spent two weeks trying to figure out how to add
another field(s) to the group creation so that a few more fields would be standard for the groups (i already know about that plugin that lets group admin put in fields aftewards), hours and hours and hours on these same forums with little help. I ran across group extension API code ( https://codex.buddypress.org/developer-docs/group-extension-api/ ) but i have no idea how to use it. What do i add or edit so that i can have group fields (at creation) for city, state, country and phone number.August 16, 2011 at 8:17 pm #118548In reply to: Post button missing on Activity Stream
lewmaster
MemberAlso I should note that I am using the most recent versions of both WordPress and Buddypress on a custom theme using the Template Pack. I am not currently using BBPress or Multi Site. I have already tried reuploading all the original template files.
August 16, 2011 at 7:15 pm #118545mabjustmab
Participantjad117 –
something similar happened to me. I was editing the wrong file that was supposed to be the right file.
there are a few different ways to find other versions of the same file.my preferred method:
if you have your site backed up to your local machine:
if you have Notepad++ (which is a free text editor program found here ->http://notepad-plus-plus.org/) you can use the “find in files” function. enter the phrase you are looking for (in this instance “public groups”). on the Directory section, select the wordpress folder. I tend to go to the highest directory possible so that I know for sure I’m not missing something.
the results will show you all instances where that phrase is. you can click on the phrase and it will open the file for you!
edit it there and then ftp/upload it to the same file path it came from (the file path is listed in the search results)other places to look for the file you need to edit:
if you don’t have your site backed up on your local server
sometimes, the files are not on the Appearance tab. sometimes, they are in the plugins folder. (that was the case for one of the profile files I wanted to edit)
yoursite.comwp-contentpluginsbuddypressbp-themesbp-default
go to the plugins page
select buddypress from the drop down menu
edit the file therehopefully, one of these two suggestion will help.
good luck.August 16, 2011 at 3:19 pm #118527In reply to: BuddyPress 1.5 compatibility for plugins and themes
Boone Gorges
Keymaster@archonic Consider yourself ignored
August 16, 2011 at 2:57 pm #118525In reply to: BuddyPress 1.5 compatibility for plugins and themes
archonic
Participant@boonebgorges ignore me! i thought the only files in “single” before were groups and plugins with none of the folders. not the case.
August 16, 2011 at 2:25 pm #118524In reply to: BuddyPress 1.5 compatibility for plugins and themes
Boone Gorges
Keymaster@foxly and others – Just wanted to drop a note about a recent commit https://buddypress.trac.wordpress.org/changeset/4977 where I made a minor adjustment to the new load order that should help a lot with plugin backward compatibility. In particular, plugins that are using the (old and incorrect but functional in 1.2.x) method of hooking their global and nav setup routines to ‘wp’ and ‘admin_menu’, which wasn’t working in earlier revs of BP trunk, should now be working. See https://buddypress.trac.wordpress.org/ticket/3476 for more explanation.
That said, you should do the right thing and update your plugin so that it does it correctly: set up your globals at bp_setup_globals and your nav at bp_setup_nav!
-
AuthorSearch Results