-
Peter Hardy-vanDoorn started the topic Xprofile fields in WP new user form in the forum How-to & Troubleshooting 1 year, 2 months ago
I’d like to get some of the xprofile fields in the initial WP new user form (for avoidance of doubt that’s this one:
example.com/wp-admin/user-new.php
)The reason is that my admins never complete the new user signup properly, even though they’re redirected to the extended profile page once the new account has been created!
Is it possible?
Thanks
Peter
-
Peter Hardy-vanDoorn replied to the topic How to show location field in members-loop.php in the forum Installing BuddyPress 6 years, 2 months ago
The documentation for the Members Loop is here: https://codex.buddypress.org/developer/loops-reference/the-members-loop
You will see that there are a number of hooks which you can add your additions into, particularly at line 44:
do_action( 'bp_directory_members_item' );
and at line 59:do_action( 'bp_directory_members_actions' );
-
Peter Hardy-vanDoorn replied to the topic How to hide CPT Links from profile view in the forum Installing BuddyPress 6 years, 10 months ago
This may depend on your theme, and I don’t have rtmedia installed so you’ll have to work it out for yourself, but you should be able to just hide that tab using CSS.
On my install of BuddyPress a class of
logged-in
is added to thebody
element when the user is logged in. Check your page to make sure that this is the same for you too.If it is,…[Read more]
-
Peter Hardy-vanDoorn replied to the topic hide all the buttons that allow to modify the visibility of all the fields in the forum How-to & Troubleshooting 6 years, 10 months ago
Edit each of the profile fields in turn and change the Visibility setting to Enforce field visibility.
-
Peter Hardy-vanDoorn replied to the topic Adding Groups to Mailchimp Sync in the forum Third Party Plugins 6 years, 10 months ago
bp_get_current_group_id()
gets the ID of the current group, not the groups to which the user is a member of.For that you need
groups_get_user_groups()
.It will return an array of group info, so you’ll have to process it further before storing it.
Have a look here: http://hookr.io/functions/groups_get_user_groups/
-
Peter Hardy-vanDoorn replied to the topic Blocking some logged-in users from accessing buddypress altogether in the forum How-to & Troubleshooting 6 years, 10 months ago
This should do the trick:
function bgmc_nosubs_redirect() {
if ( current_user_can( 'Customer' ) && is_buddypress() ) {
wp_redirect( home_url( '' ) );
exit();
}}
add_filter( 'template_redirect', 'bgmc_nosubs_redirect' );
Note – untested, but theory is sound 🙂
-
Peter Hardy-vanDoorn replied to the topic Group. Custom page in the forum How-to & Troubleshooting 6 years, 11 months ago
Here’s the bare basic code to add a page to all groups:
class my_group_page extends BP_Group_Extension {
[Read more]
function __construct() {
$args = array( 'slug' => 'page_slug', 'name' => 'Page Name', 'nav_item_position' => 12 );
parent::init( $args );
}
function display( $group_id = NULL ) {
// page code goes… -
Peter Hardy-vanDoorn replied to the topic Can people see everyone who is logged into BuddyPress? in the forum How-to & Troubleshooting 6 years, 11 months ago
I think you’re talking about the Who’s Online widget… just don’t add that widget to your sidebar.
-
Peter Hardy-vanDoorn replied to the topic Cannot increase avatar/gravatar size (Still blurred) in the forum How-to & Troubleshooting 6 years, 11 months ago
Changing the default sizes won’t improve any avatar images you’ve already got. These are cached at the default sizes, so to improve the quality to the new size you will need to re-upload them.
-
Peter Hardy-vanDoorn replied to the topic How to add fb login to buddypress in the forum How-to & Troubleshooting 7 years ago
You don’t say which fb plugin you’re using. Anyway, you’d be best served to ask the author of that plugin really.
-
Peter Hardy-vanDoorn replied to the topic Group Sticky in the forum Installing BuddyPress 7 years ago
Exact location of this depends on your theme, of course, so this is based on themes that are using BP Legacy.
When a group admin views the single forum post, at the top of the post you should see the date on the left and then options at the right:
CLOSE | STICK | MERGE | BIN | SPAM | REPLY
– just click onSTICK
.This will stick it to the top of…[Read more]
-
Peter Hardy-vanDoorn replied to the topic Remove the "members" suffix in members profile link (fixed) in the forum How-to & Troubleshooting 7 years ago
Add this to your wp-config.php file before the line that says
/* That's all, stop editing! Happy blogging. */
or your bp-config.php file.define( 'BP_ENABLE_ROOT_PROFILES', true );
That comes from this page: https://codex.buddypress.org/getting-started/customizing/changing-internal-configuration-settings/
Sometimes the person who knows the…[Read more]
-
Peter Hardy-vanDoorn replied to the topic Additional info on group memberlist in the forum How-to & Troubleshooting 7 years ago
This is just in theory, as my install doesn’t show any actions buttons for the current user in the list anyway, but you could try just hiding the buttons with this CSS:
ul#members-list li.is-current-user div.action { display: none; }
Obviously I can’t test that though but it should work if your theme also uses the BP Legacy templates.
Hope that helps
-
Peter Hardy-vanDoorn replied to the topic How does BuddyPress connect to my site? in the forum Third Party Plugins 7 years ago
Hi. I wonder if you’re getting a little confused as to what Super Socializer and BuddyPress actually do? Although they both allow people to have an account on your site, they’re not really the same thing.
Super Socializer allows you to cross-post your own blog posts onto Facebook, etc, and to then amalgamate any comments back to the original blog…[Read more]
-
Peter Hardy-vanDoorn replied to the topic Divide buddypress register form in multi steps fields in the forum Installing BuddyPress 7 years ago
Hi.
I’ve never used such a thing, but your enquiry piqued my interest so I did a quick Google and found this premium plugin called ProfilePress: https://profilepress.net/features/multi-step-registration-form/. I also found mention of Gravity Forms with User Registration add-on (also premium) doing what you want too:…[Read more]
-
Peter Hardy-vanDoorn replied to the topic Memberships plugin with MULTIPLE memberships per user? Can't find anything. in the forum Third Party Plugins 7 years ago
Have a look at WooCommerce Memberships: https://woocommerce.com/products/woocommerce-memberships/
-
Peter Hardy-vanDoorn replied to the topic Memberships And Taking Payment in the forum How-to & Troubleshooting 7 years ago
I can recommend the WooCommerce WooMembers bundle – allows you to limit access to the site and take monthly subscription payments: https://woocommerce.com/products/woomembers-bundle/
It mostly works with BuddyPress (in that you can limit access to most pages and bbPress forum posts) but they do have work to do to make it fully protect a BP…[Read more]
-
Peter Hardy-vanDoorn replied to the topic Buddypress paid membership in the forum Installing BuddyPress 7 years, 2 months ago
Well, you said that content needs to be fully public, so I guessed that full protection of BP’s content didn’t worry you.
Apart from that, the only thing really missing from the Woo bundle is account area integration, but there is another plugin that deals with that:
https://themekraft.com/products/woocommerce-buddypress-integration/
It’s…[Read more]
-
Peter Hardy-vanDoorn replied to the topic explode function in the forum Ideas 7 years, 2 months ago
@henrywright Like I said… off the top of my head 🙂
-
Peter Hardy-vanDoorn replied to the topic Setting Profile Fields To Be Viewable To Admin or Moderators in the forum How-to & Troubleshooting 7 years, 2 months ago
Actually, ‘Admin’, ‘Everyone (Admin Editable)’ and ‘Only Me (Admin Editable)’ are not part of BuddyPress and are added by the plugin.
If you use the plugin and set the field visibility to ‘Only Me (Admin Editable)’ then the field will only be visible to the user and the Admin. You could also use the ‘Admin’ settings to, for example, add no…[Read more]
- Load More
@petervandoorn
Active 2 weeks, 6 days ago