Search Results for 'profile fields'
-
Search Results
-
1) Upload WordPress Mu package
2) open .htaccess and add :
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
3) Install WordPress Mu with the subdirectory option ( subdomain option does not work)
4) Enable blog+account creation from admin panel
5) Test your installation by creating one test-user account+blog , then remove test-user account+blog
6) Go to your PHPMyAdmin interface and create the following tables:
CREATE TABLE wp_bp_activity_sitewide (
id int(11) NOT NULL auto_increment,
user_id int(11) NOT NULL,
item_id int(11) NOT NULL,
secondary_item_id int(11) default NULL,
content longtext NOT NULL,
primary_link varchar(150) NOT NULL,
component_name varchar(75) NOT NULL,
component_action varchar(75) NOT NULL,
date_cached datetime NOT NULL,
date_recorded datetime NOT NULL,
PRIMARY KEY (id),
KEY date_cached (date_cached),
KEY date_recorded (date_recorded),
KEY user_id (user_id),
KEY item_id (item_id),
KEY component_name (component_name)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_friends (
id int(11) NOT NULL auto_increment,
initiator_user_id int(11) NOT NULL,
friend_user_id int(11) NOT NULL,
is_confirmed tinyint(1) default ‘0’,
is_limited tinyint(1) default ‘0’,
date_created datetime NOT NULL,
PRIMARY KEY (id),
KEY initiator_user_id (initiator_user_id),
KEY friend_user_id (friend_user_id)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_groups (
id int(11) NOT NULL auto_increment,
creator_id int(11) NOT NULL,
namevarchar(100) NOT NULL,slug varchar(100) NOT NULL,
description longtext NOT NULL,
news longtext NOT NULL,
statusvarchar(10) NOT NULL default ‘open’,is_invitation_only tinyint(1) NOT NULL default ‘0’,
enable_wire tinyint(1) NOT NULL default ‘1’,
enable_forum tinyint(1) NOT NULL default ‘1’,
enable_photos tinyint(1) NOT NULL default ‘1’,
photos_admin_only tinyint(1) NOT NULL default ‘0’,
date_created datetime NOT NULL,
avatar_thumb varchar(250) NOT NULL,
avatar_full varchar(250) NOT NULL,
PRIMARY KEY (id),
KEY creator_id (creator_id),
KEY
status(status),KEY is_invitation_only (is_invitation_only)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_groups_groupmeta (
id int(11) NOT NULL auto_increment,
group_id int(11) NOT NULL,
meta_key varchar(255) default NULL,
meta_value longtext,
PRIMARY KEY (id),
KEY group_id (group_id),
KEY meta_key (meta_key)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_groups_members (
id int(11) NOT NULL auto_increment,
group_id int(11) NOT NULL,
user_id int(11) NOT NULL,
inviter_id int(11) NOT NULL,
is_admin tinyint(1) NOT NULL default ‘0’,
is_mod tinyint(1) NOT NULL default ‘0’,
user_title varchar(100) NOT NULL,
date_modified datetime NOT NULL,
comments longtext NOT NULL,
is_confirmed tinyint(1) NOT NULL default ‘0’,
is_banned tinyint(1) NOT NULL default ‘0’,
invite_sent tinyint(1) NOT NULL default ‘0’,
PRIMARY KEY (id),
KEY group_id (group_id),
KEY is_admin (is_admin),
KEY is_mod (is_mod),
KEY user_id (user_id),
KEY inviter_id (inviter_id),
KEY is_confirmed (is_confirmed)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_groups_wire (
id int(11) NOT NULL auto_increment,
item_id int(11) NOT NULL,
user_id int(11) NOT NULL,
content longtext NOT NULL,
date_posted datetime NOT NULL,
PRIMARY KEY (id),
KEY item_id (item_id),
KEY user_id (user_id)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_messages_messages (
id int(11) NOT NULL auto_increment,
sender_id int(11) NOT NULL,
subjectvarchar(200) NOT NULL,message longtext NOT NULL,
date_sent datetime NOT NULL,
message_order int(10) NOT NULL,
sender_is_group tinyint(1) NOT NULL default ‘0’,
PRIMARY KEY (id),
KEY sender_id (sender_id),
KEY message_order (message_order),
KEY sender_is_group (sender_is_group)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_messages_notices (
id int(11) NOT NULL auto_increment,
subjectvarchar(200) NOT NULL,message longtext NOT NULL,
date_sent datetime NOT NULL,
is_active tinyint(1) NOT NULL default ‘0’,
PRIMARY KEY (id),
KEY is_active (is_active)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_messages_recipients (
id int(11) NOT NULL auto_increment,
user_id int(11) NOT NULL,
thread_id int(11) NOT NULL,
sender_only tinyint(1) NOT NULL default ‘0’,
unread_count int(10) NOT NULL default ‘0’,
is_deleted tinyint(1) NOT NULL default ‘0’,
PRIMARY KEY (id),
KEY user_id (user_id),
KEY thread_id (thread_id),
KEY is_deleted (is_deleted),
KEY sender_only (sender_only),
KEY unread_count (unread_count)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_messages_threads (
id int(11) NOT NULL auto_increment,
message_ids longtext NOT NULL,
sender_ids longtext NOT NULL,
first_post_date datetime NOT NULL,
last_post_date datetime NOT NULL,
last_message_id int(11) NOT NULL,
last_sender_id int(11) NOT NULL,
PRIMARY KEY (id),
KEY last_message_id (last_message_id),
KEY last_sender_id (last_sender_id)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_notifications (
id int(11) NOT NULL auto_increment,
user_id int(11) NOT NULL,
item_id int(11) NOT NULL,
secondary_item_id int(11) default NULL,
component_name varchar(75) NOT NULL,
component_action varchar(75) NOT NULL,
date_notified datetime NOT NULL,
is_new tinyint(1) NOT NULL,
PRIMARY KEY (id),
KEY item_id (item_id),
KEY secondary_item_id (secondary_item_id),
KEY user_id (user_id),
KEY is_new (is_new),
KEY component_name (component_name),
KEY component_action (component_action)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_user_blogs (
id int(11) NOT NULL auto_increment,
user_id int(11) NOT NULL,
blog_id int(11) NOT NULL,
PRIMARY KEY (id),
KEY user_id (user_id),
KEY blog_id (blog_id)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_user_blogs_blogmeta (
id int(11) NOT NULL auto_increment,
blog_id int(11) NOT NULL,
meta_key varchar(255) default NULL,
meta_value longtext,
PRIMARY KEY (id),
KEY blog_id (blog_id),
KEY meta_key (meta_key)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_user_blogs_comments (
id int(11) NOT NULL auto_increment,
user_id int(11) NOT NULL,
blog_id int(11) NOT NULL,
comment_id int(11) NOT NULL,
comment_post_id int(11) NOT NULL,
date_created datetime NOT NULL,
PRIMARY KEY (id),
KEY user_id (user_id),
KEY blog_id (blog_id),
KEY comment_id (comment_id),
KEY comment_post_id (comment_post_id)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_user_blogs_posts (
id int(11) NOT NULL auto_increment,
user_id int(11) NOT NULL,
blog_id int(11) NOT NULL,
post_id int(11) NOT NULL,
date_created datetime NOT NULL,
PRIMARY KEY (id),
KEY user_id (user_id),
KEY blog_id (blog_id),
KEY post_id (post_id)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_xprofile_data (
id int(11) unsigned NOT NULL auto_increment,
field_id int(11) unsigned NOT NULL,
user_id int(11) unsigned NOT NULL,
valuelongtext NOT NULL,last_updated datetime NOT NULL,
PRIMARY KEY (id),
KEY field_id (field_id),
KEY user_id (user_id)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_xprofile_fields (
id int(11) unsigned NOT NULL auto_increment,
group_id int(11) unsigned NOT NULL,
parent_id int(11) unsigned NOT NULL,
typevarchar(150) NOT NULL,namevarchar(150) NOT NULL,description longtext NOT NULL,
is_required tinyint(1) NOT NULL default ‘0’,
is_default_option tinyint(1) NOT NULL default ‘0’,
field_order int(11) NOT NULL default ‘0’,
option_order int(11) NOT NULL default ‘0’,
order_by varchar(15) NOT NULL,
is_public int(2) NOT NULL default ‘1’,
can_delete tinyint(1) NOT NULL default ‘1’,
PRIMARY KEY (id),
KEY group_id (group_id),
KEY parent_id (parent_id),
KEY is_public (is_public),
KEY can_delete (can_delete),
KEY is_required (is_required)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_xprofile_groups (
id int(11) unsigned NOT NULL auto_increment,
namevarchar(150) NOT NULL,description mediumtext NOT NULL,
can_delete tinyint(1) NOT NULL,
PRIMARY KEY (id),
KEY can_delete (can_delete)
) TYPE=MyISAM ;
CREATE TABLE wp_bp_xprofile_wire (
id int(11) NOT NULL auto_increment,
item_id int(11) NOT NULL,
user_id int(11) NOT NULL,
content longtext NOT NULL,
date_posted datetime NOT NULL,
PRIMARY KEY (id),
KEY item_id (item_id),
KEY user_id (user_id)
) TYPE=MyISAM ;
7) Replace site name and site description and insert to database:
INSERT INTO wp_bp_user_blogs VALUES (1, 1, 1);
INSERT INTO wp_bp_user_blogs_blogmeta VALUES (1, 1, ‘name’, ‘site Name’);
INSERT INTO wp_bp_user_blogs_blogmeta VALUES (2, 1, ‘description’, ‘Site Description’);
INSERT INTO wp_bp_user_blogs_blogmeta VALUES (3, 1, ‘last_activity’, ‘1’);
INSERT INTO wp_bp_xprofile_fields VALUES (1, 1, 0, ‘textbox’, ‘Full Name’, ”, 1, 0, 1, 0, ”, 1, 0);
INSERT INTO wp_bp_xprofile_groups VALUES (1, ‘Base’, ”, 0);
Upload BuddyPress and install it.Now you can create profiles & groups.
Hi guys,
i’ve written in these days a plugin : BPDEV-EXTRA-GROUPS, it adds extra fields for Groups, a sort of XPROFILE for GROUPS,
here the official announce: http://buddypressdev.org/announce/announcing-bpdev-extra-groups-to-add-extra-group-fields/
You can see it working on http://buddypressdev.org/groups/buddypressdev-official-group
I think i’ll not release it as free like other my plugins
i worked a lot to do that 
i’ll update on this plugin as soon,
if you need this plugin now, contact me on nicola at buddypressdev.org, on bpdev or trough this forum.
Suggestions and critics here

Nicola,
BPDEV & BP GURU
Hi,
How do I add some default profile fields in BuddyPress? The users can access it in the WP dashboard (http://sitename.com/wp-admin/profile.php) but that is confusing.
I would like to expose some of the default WP profile fields (Nickname etc.) to the users in the same place they edit the other BuddyPress profile information.
Anyone have any ideas?
Thanks,
Chris
Why when i try to add that filter like:
add_filter( ‘groups_extra_fields_content_the-type’, ‘xprofile_filter_link_profile_data’, 1, 1 );
it works but it returns me:
Warning: Missing argument 3 for xprofile_filter_link_profile_data() in /home/admin/domains/bpdev/wordpress/wp-content/mu-plugins/bp-xprofile/bp-xprofile-filters.php on line 32
?
thanks (i don’t have looked the code yet),
Nicola Greco,
BPDEV & BP GURU
Topic: Link Profile Field Type
I’d like to allow users to enter a URL and title on their profiles to link to their external blogs, which are going to be on a subdomain (blogs.domain.com). Currently fields are automatically converted to community searches and are not user friendly for entering URLs/titles.
Has anyone accomplished this profile field type yet or have any recommendations on how to do so?
Thanks!
Topic: missing files?
When I go into my main admin area and click on ‘buddypress’ in the site admin bar I get the following error:
Cannot load bp_core_admin_settings
Same if I go click on the bbpress forums link in the admin I get
Cannot load bp_forums_settings
finally if I click on profile fields I get
Cannot load xprofile_settings
Other than that buddypress seems ok…
Is there a fix?
Okay, these are by no means mission critical. As I just got done adding these profile fields, I thought about this and decided to throw it out there.
1) It would be great to be able to move any new filed we add to a profile up and down -within- a group and -between- groups. Say if I add a “favorite color” to Group A, but decide I want it before “favorite super hero” I’d love to be able to move it. Or if I decide that the “favorite color” field works better in Group B, I’d live to move that too.
And if I could change the order of Group A and B, etc, that would be nice too.
2) Just like you can preview themes, it would be nifty to be able to preview how the Profile page would look with all the new fields and groupings added it. Click a button and see the profile page with all those fields displayed in context.
3) Related to that, if a member of the site can change the order of how things are displayed on their profile, that would be cool tool.
None of the above are super important. Just throwing out some ideas.
Topic: Hidden Profile Fields.
In the site I currently run, we grab a lot of extra demographic information when people set up their profiles — education, income, etc. — stuff that stays in our DB but doesn’t appear on a user profile.
We’re in the process of migrating our existing site over to BP. I added all of the extra info we ask for onto the BP profile page. I’d love to be able to -hide- those fields though. There’s no reason for the general world to be able to see all the information we gathered.
As a feature request, can there be a “Don’t Display” toggle for any new fields we add? That way we can ask people for information, it stays in the DB, but on the BP Profile it won’t pop up?
Wonderful module – these profile fields. In combination with Auto-Linking profile fields can be a great way to find people on your BP site with the same interests, in the same location etc. Great way to start a focused group or, at a minimum, build your friend list for networking purposes.
One suggestion – can we consider allowing the upload of a CSV file when we select “drop-down select box” as field type? The obvious application here is the list of 50 States, 13 Canadian Provinces and Territories and the 8 Australian States/Territories but you drop-downs as a field type are also very handy if you want to control accuracy of user input so you’ll get more out of Auto-Linking later.
In regards to Auto-Linking – there really should be a selector to enable this feature for text fields and multi-line text fields.
Thoughts and feedback welcome.