Skip to content

Archive for February, 2010

24
Feb

>N2 fire 2

>

19
Feb

Change Xprofile Data

Update your Profile Field information for BuddyPress

xprofile_set_field_data( $field_name', $usert_id, $value);

This will not work for check boxes. Below is code that should help, check boxes need to be serialized data.

$value = maybe_serialize( [An Array of your values] );

 xprofile_set_field_data( $field_name, $user_set_id, $value);
18
Feb

>Kush

>


18
Feb

>Fire on the n2

>

18
Feb

WordPress Activation Key

This is how WordPress uses the new user ID and an MD5 hash to generate the activation key

$newuser_key = substr( md5( $user_id ), 0, 5 );
17
Feb

Define you BuddyPress Slugs

Add these lines of code to your wp-config.php file to rename the slugs of the buddypress components ( these are for the members slug and the groups slug )

define( 'BP_GROUPS_SLUG', 'companies' );
define( 'BP_MEMBERS_SLUG', 'volunteers' );
12
Feb

>Fluter by

>


12
Feb

>Blue contrast

>


12
Feb

>Blue contrast

>


9
Feb

>Blue contrast

>