-
@mercime replied to the topic new BuddyPress plugin: BP Local Avatars in the forum Showcase 9 years, 8 months ago
@shanebp Wow nice! Thank you 🙂
-
Hugo Ashmore replied to the topic My conditional tags are not being respected in Genesis in the forum How-to & Troubleshooting 9 years, 9 months ago
@shanebp great minds…
-
Philipp replied to the topic bp_get_member_type() is not working in the loop in the forum How-to & Troubleshooting 9 years, 9 months ago
Hi and thanks for your answers.
@henrywright: If I echo
bp_get_member_user_id()
it returns the correct ID for each user. And yes, I’m in the members-loop.@shanebp: It accepts both with ” and without.
Best regards,
Philipp
-
Henry Wright replied to the topic How to make section of profile private? in the forum How-to & Troubleshooting 9 years, 9 months ago
@shanebp completely forgot about
bp_is_my_profile()
😀 -
Henry Wright replied to the topic Edit Profile Redirects to different page in the forum How-to & Troubleshooting 9 years, 9 months ago
What should it be using?
Do you mean which redirection function? Either is fine – but my point was, the offending code will likely involve one of those functions. I thought it might be helpful me mentioning them if you were trying to debug…
Your best bet is to contact the theme or plugin author (as @shanebp mentioned). They’ll probably be…[Read more]
-
Henry Wright replied to the topic Edit Profile Redirects to different page in the forum How-to & Troubleshooting 9 years, 9 months ago
What should it be using?
Do you mean which redirection function? Either is fine – but my point was, the offending code will likely involve one of those functions.
You best bet is to contact the theme or plugin author (as @shanebp mentioned). They’ll probably be grateful for the bug report.
-
Prince Abiola Ogundipe replied to the topic Private Message Button showing on My own Profile After Buddypress Update in the forum How-to & Troubleshooting 9 years, 9 months ago
I am very sorry for leaving the topic so long, Its been a long time I visited here. been so busy working on some different project plus now enroled in Uni doing IT.
here is the plugin:
https://wordpress.org/plugins/bp-facebook-style-friend-lists/
Thanks for your help
-
Prince Abiola Ogundipe replied to the topic Private Message Button showing on My own Profile After Buddypress Update in the forum How-to & Troubleshooting 9 years, 9 months ago
I am very sorry for leaving the topic so long, Its been a long time I visit here. been so busy working on some different project plus now enroled in Uni doing IT.
here is the plugin:
https://wordpress.org/plugins/bp-facebook-style-friend-lists/
Thanks for your help
-
Henry Wright replied to the topic Using Redirect to make single link for buddypress dynamic links in the forum How-to & Troubleshooting 9 years, 10 months ago
Because on my website the usernames are on the root
OK, this should do it:
function my_redirect() {
if ( is_page( 'me' ) && is_user_logged_in() )
bp_core_redirect( bp_loggedin_user_domain() );
}
add_action( 'template_redirect', 'my_redirect' );Borrowed the
bp_loggedin_user_domain()
idea from @shanebp… -
Henry Wright replied to the topic Trying to show only (s2member) Level2 and Level3 members on my membership page in the forum How-to & Troubleshooting 9 years, 10 months ago
@shanebp cool article 🙂
-
Henry Wright replied to the topic Hook for when a user first logs in in the forum How-to & Troubleshooting 9 years, 10 months ago
-
Henry Wright replied to the topic Hook for when a user first logs in in the forum How-to & Troubleshooting 9 years, 10 months ago
@shanebp‘s approach is probably the simplist. Did anyone manage to test?
-
Henry Wright replied to the topic Secure enough for medical patients? in the forum Creating & Extending 9 years, 10 months ago
Security out of the box is fairly tight but as @shanebp mentions above there are ways of ‘hardening’ WordPress security. Also, you have to be careful when custom code or plugins are added – be sure the code is secure.
Separate to security but important to you would be the issue of privacy. BP offers some privacy control but you could always…[Read more]
-
Ricardo Gonçalves replied to the topic Buddypress activity filtering (search) in the forum How-to & Troubleshooting 9 years, 11 months ago
Hello @ARCangelGIRL, I’m facing the same situation and @shanebp solution worked for displaying the action I wanted in the activity stream. But the Load More button is loading all the actions, not just the one I created. I tried to filter the bp ajax querystring in many different ways but it didn’t work. The last try was this…[Read more]
-
Stephen Edgar replied to the topic This is why we can't have nice things in the forum Requests & Feedback 9 years, 11 months ago
@shanebp I’ll try to get a patch up today and deployed.
-
Henry Wright replied to the topic Deliver Custom Message via BuddyPress to new users in the forum How-to & Troubleshooting 9 years, 12 months ago
@shanebp you beat me to it 🙂
-
Henry Wright replied to the topic Sorting by last name goes wrong when having multiple words as last name in the forum How-to & Troubleshooting 10 years ago
@shanebp Maybe just remove the first word from the string? i.e.
strstr( 'Robin van Persie', ' ' )
which gives
van Persie
. Then you just need remove the initial space:substr( ' van Persie', 1 )
@nielspilon if the sorting is fine (van, de etc) then that is down to luck 🙂
-
Henry Wright replied to the topic Sorting by last name goes wrong when having multiple words as last name in the forum How-to & Troubleshooting 10 years ago
@shanebp Maybe just remove the first word from the string? i.e.
strstr( 'Robin van Persie', ' ' )
which gives
van Persie
. Then you just need remove the initial space:ltrim( ' van Persie', ' ')
@nielspilon if the sorting is fine (van, de etc) then that is down to luck 🙂
-
Henry Wright replied to the topic Sorting by last name goes wrong when having multiple words as last name in the forum How-to & Troubleshooting 10 years ago
@shanebp the only problem with
substring_index( substring_index( 'Robin van Persie', ' ', 2), ' ', -1 )
is you lose anything after the 2nd delimiter. For example:substring_index( 'Robin van Persie', ' ', 2)
would return Robin van
and then
substring_index( 'Robin van', ' ', -1)
would return van
So in theory, the order returned could…[Read more]
-
Henry Wright replied to the topic Sorting by last name goes wrong when having multiple words as last name in the forum How-to & Troubleshooting 10 years ago
@shanebp the only problem with
substring_index( substring_index( 'Robin van Persie', ' ', 2), ' ', -1 )
is you lose anything after the 2nd delimiter. For example:substring_index( 'Robin van Persie', ' ', 2)
would return Robin van
and then
substring_index( 'Robin van', ' ', -1)
would return van
So in theory, the order returned could…[Read more]
- Load More
@shanebp
Active 19 hours, 28 minutes ago