-
bp-help replied to the topic How to enable users to block other users from their profile? in the forum Installing BuddyPress 11 years, 7 months ago
@shanebp
And are you the author of that plugin? -
maikunari replied to the topic [Resolved] Add profile fields to Group Members loop in the forum How-to & Troubleshooting 11 years, 9 months ago
Just posting back with the solution in case it helps anyone else. This function will do it:
xprofile_get_field_data('Profile',$u_id);
In my case it’ll be:
<?php if ( xprofile_get_field_data( 'Profile', $user_ID ) ) : ?>
<?php echo xprofile_get_field_data( 'Profile', $user_ID ); ?>
<?php endif; ?>Thanks to chifliiiii on WordPress Answers…[Read more]
-
maikunari replied to the topic [Resolved] Add profile fields to Group Members loop in the forum How-to & Troubleshooting 11 years, 9 months ago
@shanebp Thanks for the tip, that may be just what I need!
-
@mercime replied to the topic Users can not post in Forums in the forum How-to & Troubleshooting 11 years, 9 months ago
@shanebp never used SimplePress. Found link/info via Google search for OP 🙂
-
Henry replied to the topic How do you add something to bp_group_header_actions ? in the forum How-to & Troubleshooting 11 years, 9 months ago
@shanebp nice approach targeting the array item, didn’t think of that!
-
mgrmn replied to the topic Buddypress and S2 member Activity problem in the forum How-to & Troubleshooting 11 years, 9 months ago
See answer of @shanebp , or use the shortcodes, as explained http://www.s2member.com/kb/simple-shortcode-conditionals/
-
blg002 replied to the topic Users notification stats in the forum How-to & Troubleshooting 11 years, 9 months ago
Thanks @shanebp. Looks like meta_key LIKE notification.* returns an empty result set which i do believe means they are all set to the default of YES.
-
applegateian replied to the topic Xprofile get field data checkbox returns array in the forum How-to & Troubleshooting 11 years, 9 months ago
Thanks all… @shanebp I’ve inputted the following but it isn’t showing anything, is my implementation incorrect?
<?php echo xprofile_get_field_data( 'Specialist Sectors', get_the_author_id(), $multi_format = 'comma' ) ?>
Thanks
-
Henry replied to the topic Xprofile get field data checkbox returns array in the forum How-to & Troubleshooting 11 years, 9 months ago
thanks @shanebp, nice one for explaining it all properly :}
-
Henry replied to the topic Hide members from Members Directory in the forum How-to & Troubleshooting 11 years, 9 months ago
@shanebp thanks – i’ll take a look at pre_query hooks in 1.8 – just about to download the beta and have a play around.
-
Asynaptic replied to the topic Idea: Stopping Spammers with Sandbox in the forum How-to & Troubleshooting 11 years, 10 months ago
@shanebp the very nature of the functionality is that it is *not* explained, the user doesn’t know they are in a sandbox! (like a user being ‘shadow banned’) otherwise the benefit that this would confer is totally erased.
please explain why would this result in a flurry of support submissions? the new user sees their own activity being reflected…[Read more]
-
Asynaptic replied to the topic Idea: Stopping Spammers with Sandbox in the forum How-to & Troubleshooting 11 years, 10 months ago
@bphelp thanks, I’ll take a look at that plugin but it lacks this specific functionality as you already mentioned
@shanebp how is this ‘too complicated’? I also like using the community to flag spam but that only finds spam after the fact, what if you could ID spammers *before*? wouldn’t that be even more valuable? or why not both?
-
funmi omoba replied to the topic How to check if member has avatar ? in the forum How-to & Troubleshooting 11 years, 10 months ago
@megainfo, @shanebp, please what am I missing.
I put the below code in my functions.php
function current_user_has_avatar() {
global $bp;
if ( bp_core_fetch_avatar( array( 'item_id' => $bp->loggedin_user->id, 'no_grav' => true,'html'=> false ) ) != bp_core_avatar_default() )
return true;
return false;
}
and this in my header.php
<?php
[Read more]
global… -
bp-help replied to the topic changing the redirect page when I log in. in the forum How-to & Troubleshooting 11 years, 10 months ago
-
@mercime replied to the topic more buddypress.org 'server issues' ? in the forum Requests & Feedback 11 years, 10 months ago
@shanebp Thank you for your patience, ‘expert developer’ 😀
-
@mercime posted an update 11 years, 10 months ago
@shanebp ‘expert web developer’ 🙂
-
bp-help replied to the topic Displaying Profile Information in the forum How-to & Troubleshooting 11 years, 10 months ago
@ircsome
I have not tested it but you could try @shanebp ‘s solution:
http://stackoverflow.com/questions/16485925/extra-profile-field-not-showing-in-wordpress-user-profile/16491050#16491050 -
jwf3773 replied to the topic Change login landingpage in the forum How-to & Troubleshooting 11 years, 10 months ago
@shanebp or @bphelp
Is there a way of manipulating the following code to simply refresh the current page the user is on?function custom_login_redirect_to($user_login, $user) {
bp_core_redirect( get_option('siteurl') . "/members/" );
}
add_action('wp_login', 'custom_login_redirect_to', 10, 2);The login widget resides on every page. If a user…[Read more]
-
MarialKa replied to the topic Change login landingpage in the forum How-to & Troubleshooting 11 years, 11 months ago
Great, thank you @shanebp, tried your function, then it seems than it works well in my case
May be, it could be possible, now 🙂 to add the same way for logout, is not ?
-
Ben Hansen replied to the topic Problems with the registration page in the forum Installing BuddyPress 11 years, 11 months ago
@shanebp i tried adding the code to bp-custom but i’m not seeing any additional info in the dashboard profile am i missing something? thanks!
- Load More
@shanebp
Active 1 month ago