Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

  • elpix
    Participant

    @elpix

    I’ve found by myself 🙂

    To send HTML private message, you must add :
    [
    edited – Please use the ‘code’ button when you post code.
    Please note that removing that filter creates a major security risk.
    It means user input WILL NOT BE SANITIZED.
    So some very bad things can happen to your database.

    ]
    remove_filter( 'messages_message_content_before_save', 'wp_filter_kses', 1);

    To the bp-custom.php file.

    I hope it will helps !


    elpix
    Participant

    @elpix

    Thanks Shane,

    I’ve found a solution, here is my query :

    SELECT wp_bp_activity.user_id AS ID FROM wp_bp_activity WHERE wp_bp_activity.type = 'last_activity' AND wp_bp_activity.user_id IN(SELECT user_id FROM wp_bp_xprofile_data WHERE value LIKE '%cancer%' OR value LIKE '%neoplasms%' ) ORDER BY date_recorded DESC LIMIT 0 , 20

    This is much faster than the previous query 😉


    elpix
    Participant

    @elpix

    Hi Meg !

    Thanks for sharing, unfortunately this plugin only recommands “friends of your friends” which is quite easy to do in SQL.

    I’m trying to suggestion members that have a lot of “common friends” which is quite different 🙂


    elpix
    Participant

    @elpix

    Hi,

    I’m the director of Biowebspin.

    It’s not a plugin, we code it by ourself (with a lot of CSS).

    Bye


    elpix
    Participant

    @elpix

    Solution found !

    I was calling my script too early.
    Now I call it in the footer and no pb 🙂


    elpix
    Participant

    @elpix

    Hi there,

    Nobody have an issue ?


    elpix
    Participant

    @elpix

    No one have an idea ? :(

Viewing 7 replies - 1 through 7 (of 7 total)
Skip to toolbar