Search Results for 'wordpress'
-
Search Results
-
I’m looking for new users to be able to select from the default WP roles available (Subscriber/Editor/Admin/Contributor). Currently, my WP is set up so new users are Subscriber by default, but I want this to be overwritten by a selection on the registration form.
So far, I have a new xprofile group called ‘User Role’ with the four options, and within by bp-custom.php file I have:
function register_role($user_id) { $user_role = strtolower(xprofile_get_field_data('User Role', $user_id)); switch($user_role) { case "Editor": $new_role = 'editor'; break; case "Contributor": $new_role = 'contributor'; break; case "Admin": $new_role = 'admin'; break; case "Subscriber": $new_role = 'subscriber'; break; } wp_update_user(array( 'ID' => $user_id, 'role' => $new_role )); } add_action( 'user_register', 'register_role');This doesn’t work though, it still creates new user entries with the default role of Subscriber. I have also tried the plugin WordPress Roles at Registration, with also didn’t work. Any ideas?
Hi!
In order to test buddypress properly i need some sample data, during the installation it never asked if i would like to have some sample data.
i saw in the plugin directory of wordpress that there was a plugin for sample data but its not compatible with the newest version.
Was wondering if anybody knows a way to get sample data into my platform?
running
Wordpress:4.0
buddypress: 2.1.1Topic: Incorrect activity time
All users on my site have a wrong acitivity time. If they login they are shown as last active “sometime ago”. On the “sitewide activity” the time is saved correctly in posts, but the calculation between now and the posted time is not working. If my users post something for example one second ago, it is always shown that they did this six hours ago. I have activated the German timezone in my wordpress settings. I use the version 2.0.1 and have installed the newest wordpress version. This issue is since the wordpress 4.0 version was released. With the 3.8.x version everything worked perfectly on my site.
Topic: Mingle BBPress import
Hi,
We had a custom forum created through a .NET application. Its a legacy application built in 2006.
Now client is migrating to wordpress / bbpress. For forum migration I have created a application to import data from .NET application (Sql Server database) in a format where I can use mingle importer to import.The tables we have created are wp_forum_forums, wp_forum_threads; wp_forum_posts;
Table definition are
CREATE TABLEwp_forum_forums(
idbigint(20) NOT NULL AUTO_INCREMENT,
namevarchar(4000) NOT NULL,
parent_idbigint(20) NOT NULL,
descriptiontext,
sortint(11) DEFAULT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=latin1;CREATE TABLE
wp_forum_posts(
idbigint(20) NOT NULL AUTO_INCREMENT,
parent_idbigint(20) NOT NULL,
subjectvarchar(2000) DEFAULT NULL,
author_idbigint(20) unsigned NOT NULL,
textmediumtext,
datedatetime NOT NULL,
PRIMARY KEY (id),
KEYfk_wp_forum_posts_wp_forum_threads_idx(parent_id),
KEYfk_wp_forum_posts_wp_user(author_id),
CONSTRAINTfk_wp_forum_posts_wp_forum_threadsFOREIGN KEY (parent_id) REFERENCESwp_forum_threads(id),
CONSTRAINTfk_wp_forum_posts_wp_userFOREIGN KEY (author_id) REFERENCESwp_users(ID) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=69731 DEFAULT CHARSET=latin1;CREATE TABLE
wp_forum_threads(
idbigint(20) NOT NULL AUTO_INCREMENT,
parent_idbigint(20) NOT NULL,
starterbigint(20) unsigned NOT NULL,
subjectvarchar(4000) DEFAULT NULL,
statusvarchar(100) NOT NULL,
datedatetime NOT NULL,
last_postdatetime NOT NULL,
closedvarchar(50) NOT NULL,
PRIMARY KEY (id),
KEYfk_wp_forum_threads_wp_forum_forums_idx(parent_id),
KEYfk_wp_forum_threads_wp_users_idx(starter),
CONSTRAINTfk_wp_forum_threads_wp_forum_forumsFOREIGN KEY (parent_id) REFERENCESwp_forum_forums(id),
CONSTRAINTfk_wp_forum_threads_wp_userFOREIGN KEY (starter) REFERENCESwp_users(ID) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=9303 DEFAULT CHARSET=latin1;Through our custom code we populated these tables.
Everything works fine, but while importing the wp_forum_posts (which has got 69K records) the importer hangs between 35600 to 35699. I tried atleast 5 / 6 times but same result every time.
Can you kindly help us in this?
Thanks and Regards
BidhanHi All
I am new to BuddyPress and got stuck with buddypress pages not displaying correctly while using Hueman Theme. Hueman is a wordpress theme (http://alxmedia.se/themes/hueman/).
Version of BuddyPress: 2.0.1
Version of WordPress: 3.9The issues which I am facing are:
1. The non-buddypress pages display correctly based on the layout chosen in the page options. The buddypress pages ignore the layout settings specified in page options and always gets displayed in the same layout format.
2. The buddypress pages ignore the content even when the content is specified in the buddypress pages
Topic: 2.2 top features
Have you tried BuddyPress 2.1.1? In one word, it is awesome.
People may disagree, but I feel that with 2.0 and 2.1, BuddyPress has finally started coming into its own. A few of the features added/improved in these versions are:
- Completely reworked and totally cool @mentions
- New profile field types: URL, Number
- Automatically downloaded translations
- User Profile editing via Dashboard > Users
- User management – Pending and Spam
- Much, much faster
Now, time to gear up for BuddyPress 2.2, scheduled for release on Christmas eve. Some key items billed for this release are:
What would you like to see in 2.2? I’ll kick open the floodgates with my Christmas Wishlist (are you listening Santa a.k.a. @johnjamesjacoby @boonebgorges @djpaul @imath ?)
- #4132 Account activation revamp and #5583 Simplify registration
- #4539 Member photo galleries
- #5564 Member search / Directory filters
- #4126 Allow admin to select fields to display in user “excerps” on Groups’ user list page
- #5500 Date xprofile field enhancement
- #5502 Custom xprofile field: Address and #5496 Friends/Members near me
- #5625 Use wp_editor for “multi line text area” xprofile field in frontend
- #4357: Merge BuddyPress & bbPress user profiles
Hi,
i’m using Buddypress groups extras plugin for to add custom pages in section of groupI have created manually three page for one group so the administrator can edit them.
But I ask you:
1) can I create this three pages as default for all present groups and future?
2) can I associate a template to these pages?Thanks.