I need to be able to send anything like private emails, or comments or notifications to the users real email account. Does anyone know of way to do this. Please help me out.
@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.
@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)
@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 wrong
Hi @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
@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).
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’ );`
@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.
If 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.
Thanks 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).
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 ( http://codex.buddypress.org/developer-docs/group-extension-api/ ) but i have no idea how to use it. What do i add, and in what file do i put it in (functions.php, bp-custom.php) so that i can have group fields (at creation) for city, state, country and phone number.
@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.
Also 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.
jad117 –
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 there
hopefully, one of these two suggestion will help.
good luck.
I was just fiddling around with installing and previewing buddypress themes and suddenly I’m getting this on every page:
Fatal error: Cannot redeclare bp_dtheme_ajax_querystring() (previously declared in /home/tinamama/public_html/tinasmagiccottage/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:20) in /home/tinamama/public_html/tinasmagiccottage/wp-content/themes/custom-community/_inc/ajax.php on line 63
and now not even the backend of wordpress works! HELP!