Replies
Any news on this? Do you still maintain this plugin?
Thanks for fixing this. I am using the noveau template and looking forward to your fixed version.
Follow up question on
3. Notification:- The last one is if you want to enable email notification or just keep local BuddyPress/BuddyBoss notifications. The previous one is when should the notification be sent. On first visit only or on each visit of the same user(x visits y 3 times, should it be 3 notifications or just 1).Each user can set this by himself at the emails settings privacy page. So if I disable this at the backend the user are not able to set this by himself at the frontend. Is that correct?
Follow up, I bought it and my two questions above are solved.
But I would like to know if you have plans for adding pagination to the visitors list? Would be nice to have.
And whats the difference on the general settings page at the bottom “Email Notification?” and the default page “Email Notification on new Visit?” because both settings switch on/off email notification on new profile visits, right??And I get these warnings on my error log after switching the plugin on:
trigger_error($message = ‘Function _load_textdomain_just_in_time was called incorrectly. Translation loading for therecent-visitors-for-buddypress-profile
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at theinit
action or later. Please see…Hope you can fix it. Thanks!!
- Alex on September 3, 2025 at 5:34 pm in reply to: [Resolved] Question to the buddypress deactivate plugin #55733
Found the API on the plugin’s page so marked this as solved.
Thanks for your answer.
1. For styling purposes I need to wrap all button text in a span tag. So the “Add friend” button becomes <span>Add friend</span>. Before I knew that bp has filters for each button I made a workaround and adding a span tag to one of my translation files which works but is not a good approach.
Now for the example of the “Add friend” button I use the filter “bp_get_add_friend_button” and manipulate the value of $button_args[‘link_text’]. This works fine and is update safe.So I need the same for the block button, that I have <span>Block</span> at the end without touching core or translation files.
2. Lets say I wanna view the user’s profile of “Fred”. Because I don’t wanna forget him I save the link of his profile as a bookmark. Later the day he blocked me. What happens if I wanna view his user profile again? Do I get redirected to the entry page? Or what happens? For this case I would like to see a page saying “you are blocked to view this profile”.
Hope I could clarify my questions.
- Alex on December 18, 2024 at 8:07 am in reply to: How to implement live notification from plugin into header? #53920
Dont using it but curios if you ve been able to fix the bug already? As said, another live plugin like yours having the same issue…
- Alex on December 18, 2024 at 8:05 am in reply to: [Resolved] Questions to your block user plugin #53919
Regarding my first question I am using another plugin now so this can be deleted. Secondly the guy who is making the bm plugin pointed me to the block function so I am hopeful to make it work by myself.
Thanks!
- Alex on November 20, 2024 at 11:04 pm in reply to: How to implement live notification from plugin into header? #53562
By the way, there is a problem/bug with the live notfication plugin.
1.Chose public message on someone’s profile.
2.Then select friendship from the dropdown on the right side
3.Write something in the text field and click update
4.On next page click “see acitiviy”
Then a button “undefined” occurs which counts up every 10 seconds or so. This happens only if your plugin is installed. Interesting, I tested this behaviour with another live bell plugin and it has the same bug.
If your or his plugin is deactivated everythings works and no “undefined” occurs.Tested with twenty twenty five theme, buddypress, buddypress classic and your plugin on a fresh wordpress installation.
Here a mp4 video about this (link is just viewable 24 hours)
https://jumpshare.com/s/7EDAITT7ST9YKQYh9bZS - Alex on October 14, 2024 at 10:49 am in reply to: How to make changes at the values from the invitations loop before output #53300
By the way. I tried to edit my post because I forgot the code blocks but it says you cannot create new topics??
add_filter(‘bp_get_the_members_invitation_property_’,function ($property,$value) { if ($property == ‘date_modified’){ $value= date(‘d.m.Y’,strtotime($value)); } return $value; },10,2);
- Alex on October 10, 2024 at 12:31 pm in reply to: [Resolved] Limit invitations to avoid beeing spammed #53290
I tried to overwrite the message with this filter below but inside the your surrounding filter it is not working. I suppose because the $message variable is unknown by the surrounding filter. But how can I solve this?
add_filter( ‘bp_user_can’, function ( $retval, $user_id, $capability, $site_id, $args ) {
if ( ‘bp_members_send_invitation’ !== $capability ) {
return $retval;
}$count = BP_Invitation::get_total_count( array(
‘inviter_id’ => $user_id
) );$max_allowed = 2;// change it.
if ( $count >= $max_allowed ) {
$retval = false;// overwrite message
add_filter(‘members_invitations_form_access_restricted’,’overwrite_message’);
function overwrite_message ($message) {
$message = ( ‘You have reached the limit of invitations.’);
return $message;
}}
return $retval;
}, 10, 5 );