-
Henry Wright replied to the topic Youtube z-index in the forum How-to & Troubleshooting 11 years, 2 months ago
The issue is only with IE
Isn’t it always? 🙂
Do you have a link to an example of what’s happening?
-
Henry Wright replied to the topic Youtube z-index in the forum How-to & Troubleshooting 11 years, 2 months ago
Depending on how the z-index property is applied (if it’s an inline style then JavaScript will be required to remove it), you can override it in your stylesheet. For example:
#page-element-to-override {
z-index: 9;
} -
Henry Wright replied to the topic Deliver Custom Message via BuddyPress to new users in the forum How-to & Troubleshooting 11 years, 2 months ago
@hnla you’re right, it could be more robust. I’ve added a conditional check to test if the messages component is active.
function send_message_to_new_member( $user_id, $key, $user ) {if ( ! bp_is_active( 'messages' ) )
return;$args = array(
'sender_id' => 1,
'thread_id' => false,
'recipients' =>…[Read more] -
Henry Wright replied to the topic Deliver Custom Message via BuddyPress to new users in the forum How-to & Troubleshooting 11 years, 2 months ago
@hnla you’re right, it could be more robust. I’ve added a conditional check to test if the messages component is active.
function send_message_to_new_member( $user_id, $key, $user ) {if ( ! bp_is_active( 'messages' ) )
return;$args = array(
'sender_id' => 1,
'thread_id' => false,
'recipients' => array(…[Read more] -
Henry Wright replied to the topic This is why we can't have nice things in the forum Requests & Feedback 11 years, 2 months ago
@jjj I’ve noticed 1 or 2 forum spam messages today actually. Topic subject lines were along the lines of aaaaaaaaa and the thread content was a similar kinda crap. Not sure if that was related? Anyhow, I spammed the messages when I came across them
-
Henry Wright replied to the topic Deliver Custom Message via BuddyPress to new users in the forum How-to & Troubleshooting 11 years, 2 months ago
@shanebp you beat me to it 🙂
-
Henry Wright replied to the topic Deliver Custom Message via BuddyPress to new users in the forum How-to & Troubleshooting 11 years, 2 months ago
messages_new_message()is the function that’s used to send messages in BP core, so you could utilise that? You’ll want to hook your function to thebp_core_activated_userhook. For example:function send_message_to_new_member( $user_id, $key, $user ) {[Read more]
$args = array(
'sender_id' => 1,
'thread_id' => false,
'recipients'… -
Henry Wright replied to the topic BudyPress Activation ? in the forum How-to & Troubleshooting 11 years, 2 months ago
Hi @eustache44
Try a few things:
Take a look in the spam folder to see if emails are going into that
Check with your hosting company that emails are being sent by your mail server
Deactivate all plugins (as you’ve said you’ve already done)
Activate the Twenty Fourteen theme -
Henry Wright replied to the topic BudyPress Activation ? in the forum How-to & Troubleshooting 11 years, 2 months ago
Hi @eustache44
Try a few things:
Take a look in the spam folder to see if emails are going into that
Check with your hosting company that emails are being sent by your mail server
Deactivate all plugins (as you’ve said you’ve already done
Activate the Twenty Fourteen theme -
Henry Wright replied to the topic BudyPress Activation ? in the forum How-to & Troubleshooting 11 years, 2 months ago
Hi @eustache44
Try a few things:
Take a look in the span folder to see if emails are going into that
Check with your hosting company that emails are being sent by your mail server
Deactivate all plugins (as you’ve said you’ve already done
Activate the Twenty Fourteen theme -
Henry Wright replied to the topic error when trying to upload group photo in the forum Showcase 11 years, 2 months ago
Have you installed a new firewall on your computer recently? This error is usually a result of a firewall rejecting communication. Can you try uploading from another computer?
-
Henry Wright replied to the topic Count how many times a member shares content on social media in the forum Creating & Extending 11 years, 2 months ago
It wouldn’t be BuddyPress documentation you’d need, rather, WordPress documentation. Take a look at the articles on user meta, specifically look at the
get_user_meta()andupdate_user_meta()functions.The general idea would be to increment a user’s share count each time something is shared by that…[Read more]
-
Henry Wright replied to the topic Count how many times a member shares content on social media in the forum Creating & Extending 11 years, 2 months ago
It wouldn’t be BuddyPress documentation you’d need, rather, WordPress documentation. Take a look at the articles on user meta, specifically look at the
get_user_meta()andupdate_user_meta()functions.The general idea would be to increment the user’s count each time something is shared by that…[Read more]
-
Henry Wright replied to the topic Count how many times a member shares content on social media in the forum Creating & Extending 11 years, 2 months ago
Hi @lbpp
It’s definitely possible but will need some custom code (unless you can find a plugin in the Plugin Directory?)
-
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 11 years, 2 months ago
@nielspilon I really do think
substr( strstr( u.display_name, ' ' ), 1 )is your answer. You say there’s definitely no members returned with that in place? -
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 11 years, 2 months ago
why wouldn’t secondary and tertiary sorting be taken care of by
substr( strstr( u.display_name, ' ' ), 1 )? -
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 11 years, 2 months 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 11 years, 2 months 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 11 years, 2 months ago
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', ' ') -
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 11 years, 2 months ago
Maybe just remove the first word from the string? i.e.
strstr( 'Robin van Persie', ' ' )which gives
SPACEvan Persie. Then you just need remove the initial space:ltrim( ' van Persie', ' ') - Load More
@henrywright
Active 1 year, 10 months ago