extending buddypress plugin of Who clicked at my Profile?
-
hi there,
I would like to know if it’s possible to grab the display result of a widget from the plugin Who clicked at my Profile and send it as an email.I did contact the author of that plugin and he said it can be done using this method.
Actually the data whose profiles were visited is stored serialized as user metadata. That is OK for the plugin at the moment but to extend it with the functions you want to have implemented this is not really good. I would move this to the database to an extra database table
I would add an option (maybe in admin interface) where you can store the text (not HTML, just text) for the email that should be sent out if there are new visits for a user
I would add two options:Option a) Emails are sent out immediately if there was not yet a visit of the visitor in the last 24 hours (customizable value) and so there is one email for each visitor
Option b) Emails are sent once a day and include a summary of all visitors for a user in the last 24 hours (I think users would prefer this).
now that’s just the instruction from the developer. but to code it then I am gonna need a tutorial how to code like that?
my question is how to make an email function that can periodically send an email once a day to the user? and also how to grab the display widget and send it as an email?has anyone been able to do this?
any help would be appreciated though.
thanks
- The topic ‘extending buddypress plugin of Who clicked at my Profile?’ is closed to new replies.