Replies
Thanks Brajesh,
I have one more questions to the code. I need to overwrite the settings page because of some small styling changes. The changes will be made at the “visitors-screen.php” file – add a div tag within the form. How can I do this update save?Another thing is that my IDE reports an error saying buddyboss_theme_get_option undefined function on line 126 at the same file. I am not using buddyboss but can you check anyway.
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!!
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.
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