Forum Replies Created
-
Amazing!!
Where’s the mark as resolved or close the topic option?
Or maybe adding a tag would do that? Let me try…
Okay, it worked!!! That’s a lot!!
One more thing – can you please tell me what if it’s in the functions.php file, do I need to use the bp_init then or something else?
That’s not what I’m looking for.
Because I’m trying to create a plugin out of it.
Here’s how it looks like a plugin: https://sites.google.com/site/hardeepasrani/bp-plugin-override.zip?attredirects=0&d=1
Hope you can help with this…Thanks!
And it will be like
pluginfolder/pluginfile.php
? Or something else?Would I have to do any modifications on your code, and the plugin structure will be like:
my-plugin/buddypress/members/single/member-header.php
??
Thanks for the help 🙂
This isn’t doing the job either:
function field_xprofile_twitter() { $group_args = array( 'name' => 'Social Networks' ); $group_id = xprofile_insert_field_group( $group_args ); // group's ID xprofile_insert_field( $xfield_args ); $xfield_args = array ( field_group_id => $group_id, name => 'Twitter', can_delete => false, field_order => 1, is_required => false, type => 'textbox' ); }
I used the following code, and it’s not doing the job:
function field_xprofile_twitter() { $group_args = array( 'name' => 'Social Networks' ); $group_id = xprofile_insert_field_group( $group_args ); // group's ID xprofile_insert_field( array ( field_group_id => $group_id, name => 'Twitter', can_delete => false, field_order => 1, is_required => false, type => 'textbox' ) ); }
Hope you can help 🙂
Thanks for passing the info 🙂