I am using a clever script to allow users to select a user role on registration:
add_action('user_register', 'register_role');
function register_role($user_id, $password="", $meta=array()) {
$userdata = array();
$userdata = $user_id;
$userdata = $_POST;
//only allow if user role is my_role
if ($userdata == "my_role"){
wp_update_user($userdata);
}
}
Source: http://www.jasarwebsolutions.com/2010/06/27/how-to-change-a-users-role-on-the-wordpress-registration-form/
I am trying to adapt it to use on the BuddyPress Profile Edit form but cannot get it to work. I guess it needs the right add_action(). Any ideas what that would be?
Hi All,
I have installed Buddypress plugin, Version 1.5.5 and wordpress 3.2.1.
My Query,
I have enabled forum from my backend and installed bbPress. When i try to add New topic in the forum page it throws an error http://imgur.com/VLEmA Please find the screenshot attached. I am stumped. My client is behind me badly. It will be glad if someone help me.
Please help Please help.
Thanks
Harsha.
Depending on the size of your userbase, you could make all the groups Hidden, then use the Invite Anyone plugin to manually invite (or have established group admins manually invite) the users who belong in each separate group. Don’t get thrown by the first bullet in the description of the plugin, in this instance the power of this plugin will be in your ability to invite people to a group even if you aren’t friends with them (bullet 2 in the description on the link below). Perfect if you are using the Followers plugin as well and have Friend Connections turned off:
https://wordpress.org/extend/plugins/invite-anyone/
https://wordpress.org/extend/plugins/buddypress-followers/
@elangley sorry, I understated what was expected. For example, WordPress.com is a custom Multisite installation with around 35Million+ user blogs spread over several DB’s and supported by multiple paid topnotch frontend and backend developers, server admins, etc. Even if you would only have e.g. 100 Networks with WP Multi-Network and you’ve allowed user blogs in each Network and then go BP MultiNetwork, that would require a serious developer skills where making some changes in DB is just child’s play since by that time you’d have to use SharDB, HyperDB, or MultiDB to maintain, sustain and grow the Networks over several servers and DB’s.
In the Buddypress Settings menu, do you have the “Disable BuddyPress to WordPress profile syncing?” set to “No”?
Did you install the Buddypress Template Pack Plugin? If you are using a theme that doesn’t have buddypress functionality baked in by default, you need to install this plugin and run through the steps to enable compatibility. https://wordpress.org/extend/plugins/bp-template-pack/
== When searching these files, i cant find the exact code you wrote. for instance in activity, i found … ==
I don’t know what file you’re opening. For activity/index.php –> lines 12-17 in https://buddypress.trac.wordpress.org/browser/tags/1.5.5/bp-themes/bp-default/activity/index.php
@turfnet Based on the HTML structure of your theme, you need to use the first option, i.e., change 16 template files within the 6 BP folders transferred to your wp-clear theme folder in server during the compatibility process.
If you’ve previously changed any of the BP template files in your theme folder in server, replace all of them for a clean slate by deleting the 6 BP folders – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.
Download the 6 clean BP folders to your computer hard drive.
A. At the top of each of those 16 template files I linked to above, replace
`
`
with code I posted at
http://pastebin.com/tpEyMDJq
Then, in each of 16 files, you’d like to change the BP Templates’ page title’s header tag from `
…
` or `
..
` to `
// Titles Of Respective BP Page Templates //
`, just watch out when you do this in the /activity/index.php page.
Save files.
Confirmed that the two plugins have broken layouts in IE. You’d have to bring this to the attention of the plugin developers. Note however, that these two plugins have not been updated since mid-2011
BuddyPress Sliding Login Panel -> https://wordpress.org/support/plugin/buddypress-sliding-login-panel
BuddyPress Activity Stream Bar -> https://wordpress.org/support/plugin/buddypress-activity-stream-bar
I’m setting up a BuddyPress powered forum for the 2012-2013 school year for the classes I teach.
I’m using WordPress 3.3.2 and BuddyPress 1.5.5. I waffle back and forth about whether I want to use bbPress or not. I’m not sure what the benefits of that are.
At any rate, I have some of my current students testing it out, seeing what they can get away with, how to earn points, use the forum, etc.
They found they can leave a group pretty easily, which is not really what I want. I need to be able to restrict joining and leaving groups since each group is a period of the class.
How can I limit access to and leaving groups?
Oh and I can’t open a development tracker ticket because the link above this post (https://buddypress.trac.wordpress.org/newticket/) gives me this page:
Error: Forbidden TICKET_CREATE privileges are required to perform this operation
I wasnt trying to delete anything apart from pages within wordpress I wasnt using. I had originally installed a shopping plugin but the pages still stayed on and I thought I was deleting the registration page for that but it was for the buddy press theme.
I never went into my FTP and deleted any files only deleted the page from wordpress back office.
Now I get a message saying that The following active BuddyPress Components do not have associated WordPress Pages: Search Page, Register. Repair
When I got to the buddy press page to repair it I cant?
Hi There
I deleted just the wordpress registration page. So now when a user goes to login in it says page not found?
If you only have one group, then you can just hardcode the group name in the member-header.php file. Copy over this file from bp-default theme https://buddypress.trac.wordpress.org/browser/tags/1.5.5/bp-themes/bp-default/members/single/member-header.php into your theme i.e., wp-content/themes/YourThemeFolder/members/single/member-header.php
Open up member-header.php file and right beside
`<a href="”>` , add `(Microsoft)` for example
@marcacer Here’s a tutorial from Dennis Smolek to get you started for fields during group creation – https://codex.buddypress.org/developer-docs/how-to-edit-group-meta-tutorial/
or, if you can wait until after the group is created – https://wordpress.org/extend/plugins/buddypress-groups-extras/
@brainiacwebdesigns you need to go to Step 3 of the BP Compatibility process, fix alignment of the BP template files to mesh with your theme’s HTML structure.
Based on the HTML structure of your theme, you need to use the first option, i.e., change 16 template files within the 6 BP folders transferred to your canyon theme folder in server during the compatibility process.
If you’ve previously changed any of the BP template files in your theme folder in server, replace all of them for a clean slate by deleting the 6 BP folders – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.
Download the 6 clean BP folders to your computer hard drive.
A. At the top of each of those 16 template files I linked to above, replace
`
`
with
`
<div id="post-” >
`
Then, in each of 16 files, you’d like to change the BP Templates’ page title’s header tag from `
…
` or `
..
` to `
// Titles Of Respective BP Page Templates //
`, just watch out when you do this in the /activity/index.php page.
Save files.
Sorry for my bad english i hope you understand me.
As i know when somebody register in buddypress, there are 2 fields, Display Name and Username, and that fields in the WordPress Profiles use to be Username, First Name, Last Name and both names make the Nickname Field, that was before i upgrade to BP 1.5.5 now the name in the BP fiields just gives the Nickname to the WP Profile, and if a user chage its Display Name on BP, the Nickname get erased and the WP Profile and the user have no name on bb Forums and if i need to do something in the WP Profiles i have to give them a Name or a Nickname and choose the field “Display name publicy as” to get a user have a name in bbForums and in WP, im shure its a bug but i dont know how to find it and fix it.
Hello, im going to tell you a quick easy way to do step number 1.
Create a field called School or w.e you want to make it and make a drop down field of all the schools that you can think of.
I would also download buddyprress-better-directory ( it may not scale well with your theme depending on what theme you are using )
so now onto question number 2. As I said for your answer for number one, using the drop down menu for the schools will make it easier to search rather then having the members type in their school. as far as searching for UNC and University of North Carolina, Im sure the search would list all the UNC first, then list the University of North Carolina,
I would also suggest installing s2Members (plugin) and follow the steps to help make your buddypress/wordpress more secure,
@vuiet914
Best of Luck,
Ps, this is just a suggestion and it really isn’t a FULL answer to your questions.
Hello! I am a WordPress newbie trying to create a social networking site for a niche group with Buddypress. I would like my users to be able to display all colleges/universities attended on their profile, and for other users to be able to search for other members based on this information. I have two questions:
1) I have a list of ~230,000 colleges/universities. Assuming this information can live somewhere on my WP site, is there a plugin that will automatically detect the name of the school a user enters and then auto fill the field so that it matches the school’s ‘standard’ name on the list? LinkedIn has a function like this, but I have no idea how it works on the back end.
2) Is it even necessary that the school field be standardized as described above in order for users to successfully search for other members? For example, if one user reports that they attended “UNC” and another reports “University of North Carolina,” will the first user be as searchable as the second?
I really would like to be able to compel users to use the standard names for consistency’s sake, but I’m not sure if it’s possible in Buddypress.
Apologies if these questions are unclear or misguided. I am a total beginner! Thanks for your help!
The rewrite_module is working fine on my server. I used Greengeeks shared hosting and it runs all of my wordpress sites without error. Like I said, all of my regular buddypress pages work fine… it’s just the pages linked to on the buddybar.
Recommend that you log in at WPorg forums and post in plugin’s forums as enhancement request https://wordpress.org/support/plugin/bp-profile-video-widget
Take the traditional 2 column template layout where the main content area takes up about 2/3 of the screen real estate, with the sidebar column taking up the last 1/3 (approximately). Is it possible to have a widget (especially the text widget span the width of main content area? I’m trying to make a custom page layout that goes something like this:
header
content area (full width)
widget area (2/3 screen width); widget area (1/3 screen width)
footer
Breaking the page up is easy enough, but getting the first widget area to display the width I need it to is proving problematic.
Here’s the reason:
The only customizable animated banner plugin that seems to work without breaking the site’s base functionality or relying on a blog category of nothing but images (which would confuse members) is FIAGallery, but the plugin doesn’t have a template friendly implementation- only shortcodes. When I was using the plugin ‘Nivo Slider for WordPress’ it worked and had a means to embed the slider in the template so I could have it span the width of the page right before the main content and sidebar were called in the template. However the Nivo Slider for WordPress breaks the navigation for WP/BP as well as the members page functionality and the author hasn’t responded to anyone in months.
I’m now looking at a content area that serves to hold the FIAGallery banner, and have to put the rest of the page’s contents within a text widget.
Any suggestions or recommendations?
When I say private domain, I just mean not on the WordPress servers.