Replies
Meanwhile the plugin author wrote and said, its a issue of buddypress and not his plugin. Strange.
Anyway, I checked the notification table once again. The review plugin stores its information with the component_action column and the user id as the secondary_it_item column.So I hope if I write some routine which deletes all entries in this table with the related user (after_user-delete hook) I am fine and don’t destroy other things.
What’s your opinion about that? Does any plugin has to take care of deleting data in these tables when a user gets deleted or is it a wordpress thing?
What about this solution?
First, identify the members loop template and delete everything. Instead implement a redirect if someone calls this page.
Second, delete all linking from the xprofile fields to the members directory.But you are right, maybe the easiest way is to use the basic members directory and inject Andrea’s search form into it. But this only works when classic plugin is active. Otherwise I cant chose my “sidebar”-template within the WP editor for that page.
For the last 3 buttons I made it work with using the translating file to add the tag. But for the first button it is difficult cause this button also uses the same translation for presenting the title tooltip. So if someone hovers over the button he sees <span class=….</span> which is not good.
I tried to solve this via jquery to prevent the buttom from showing the title but cant make it work. If buddypress wouldn’t use the same text for this button on the button and the title it would be much easier.
So I have to stay with overwriting the core bp-friends-template file for now :-((
In case you have a solution for the first button I would be happy to hear it!
I found the 4 files where I can make my changes. It is bp-friends-template, bp-activity-template, bp-messages-template and class-bp-toolkit-block.
Regarding the first 3 templates. Will they be overwritten on next buddypress update? And how can I protect them?
Copying those files to the child theme does not work regarding to this post: https://buddypress.org/support/topic/copy-buddypress-files-into-child-theme/.