Hi, I am using the recent visitors plugin from you.
The plugin throws a notification if a user visits someone else. Today I saw that it still shows notifications of deleted users. If I click on notifications at the buddypress user profile settings it shows all notifications of this user. And at the ones where the users have been deleted it shows “has visited your profile”.How can I fix this? Either show “A deleted user has visited your profile” OR doesnt show this notifications at all.
Hi Alex,
Thank you for reporting the issue.Please allow us 2 working days to test/fix and offer a solution.
Regards
BrajeshHi Alex,
Hope you are doing well.I am sorry, we could not test and release any update by now. I will have it updated by coming Monday(1st December).
Thank you for your patience.
Regards
BrajeshThank you for your patience.
We are releasing an update within next 24 hours. It contains to changes:-
1. In future, on user delete, we delete related notifications.
2. For existing notifications(orphaned), It shows Deleted userRegards
BrajeshHi Alex,
Thank you for your patience.Can you please upgrade to 1.8.9 and let me know if it works for you or not?
Regards
BrajeshThanks.
Please confirm that the issue with the wrong number “visitors (1)” at the tab – (but should be “visitors (0)” if the visitor has been deleted) – is fixed as well.I also would like to ask if you have any plans for pagination support. At the plugin’s backend it says not supported “at the moment”.
Hi Alex,
Thank you for the reply.1. Our plugin already has the code to delete users(fix count) when a user is deleted. The only reason for inconsistent count would if if this plugin was deactivated when a user got deleted. The fucntion
visitors_delete_visits_on_user_deletedeleted from visitors table and user meta when a user is deleted.The only way to fix it would be to use custom code and run it once. would you like that?
2. I am sorry, I have tried it multiple times and the problem is limitation of BP Nouveau:-
To support pagination, We have the following choices when BP Nouveau template it active:-– Use custom members loop template, we are using the default template(letting BuddyPress choose if it comes from theme or plugin). If we did that, the plugin will cause layout issues with themes which have their own cusotm loops.
– Or load all visitors on the page(without pagination)
Pagination is a real problem with Nouveau if we try to be compatible with default and it needs changes upstream(in pagination code).
Would you like me to suggest minor template override to achieve it?
Regards
Brajesh
You must be logged in to reply to this topic.