Support » Plugin: BP Avatar Suggestions » Seggestion

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi AndrΓ©s,

    Thanks for your interest in this plugin and BP reshare and BP checkins πŸ™‚ I also read your comment on the vimeo demo of my beta plugin ‘BP Wake up sleepers”. So i’ll reply to your 2 suggestions on this forum.

    1/ Turn BP Wake Up Sleepers into a newsletter plugin. I thought about it when i was building it as it’s building html emails with the great help of htmlemail boilerplate.
    I think, it can be easy to do, as we just need to change the user queries. But i think it’s a little bit early, plugin is still in beta and very few seems really interested in it. Even the person who was at the origin of this plugin doesnt seem to be interested in it anymore !! We’ll see in the future for this one πŸ˜‰

    2/ Preselecting avatars based on the gender of the user. I guess the gender of the member is set with an xprofile. To achieve that, the easiest way would be to :

    • use the image file name by adding in it something like -guy- / -girl-, for instance avatar-for-girl-1.jpg
    • make sure that the term used is the same with the choices of your xprofile. in this example, choose girl and guy as the values of the xprofile gender
    • then filter the array that is build just before displaying the avatar suggestion links to the logged-in user
    • in the filter we need to get the xprofile, then loop the avatar lists to only keep the ones for the gender of the loggedin user then returns it

    My plugin can only add this filter to hook on. As i’m working on a new version of the plugin to fix some minor issues, i’ve added it. So you can test this by :

    1. downloading 1.1-beta2 on github
    2. make sure the plugin’s folder name is bp-avatar-suggestions
    3. then you can add in the functions.php of your active theme the code i’ve dropped on my blog
    4. Thanks again for your interest in my plugins πŸ˜‰

    Thread Starter Andres Felipe


    Hi Buddy

    Thanks for your quick and punctual answer (sorry my english) You give in the spot with this code, I’ll try it on my page and I’ll tell You how it works.

    About the BP Wake Up Sleepers I’m sorry to hear about the poor interest, I hope (and try) many more people take interest in that awesome plugin. I’ll do my best to show this plugin with some pages about BP.

    Thanks again and i wish You and excellente 2013!!!

    thanks! happy new year too πŸ˜‰

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Seggestion’ is closed to new replies.