• Resolved melchi2

    (@melchi2)


    <font _mstmutation=”1″ _msthash=”992134″>

    Hello to the teams,

    Je vous écris pour une dernière demande, j’aimerais savoir si vous pourriez m’aider à améliorer ce script. Le répertoire ne propose pas la sauvegarde des recherches, donc grace à vous un ami a pu développer ce script pour ouvrir les profils dans un nouvel onglet, malheureusement cela ne fonctionne qu’avec le pseudo mais pas sur l’avatar.
    J’aimerais que cela fonctionne avec les deux et aussi lors de l’ouverture du profil, il y a un bouton indiquant de cliquer dessus pour fermer la page et revenir à la recherche.
    Pour vous comme pour moi il est évident malheureusement que de nombreux utilisateurs ont besoin d’être guidés.
    Je pense que ma demande aidera beaucoup de monde car depuis que je suis la communauté, j’ai remarqué que l’amélioration de l’annuaire est souvent demandée et surtout pour ce point.
    Merci d’avance pour votre aide

    <font _mstmutation=”1″ _msthash=”2″>

    add_action('wp_footer',function(){
    ?>
    <script>
        (function($){
            $(document).on('click','.um-members .um-member .um-member-name a',function(e){
                e.preventDefault();
                var link = $(this).attr('href');
                window.open( link , "_blank");
            });
        })(jQuery);
    </script>
    <?php
    });

    <font _mstmutation=”1″ _msthash=”1″>

    • This topic was modified 1 year, 11 months ago by melchi2.
Viewing 4 replies - 1 through 4 (of 4 total)
  • @melchi2

    Google translation:

    Hello to the teams,

    I am writing to you for a last request, I would like to know if you could help me to improve this script. The directory does not offer saving searches, so thanks to you a friend was able to develop this script to open profiles in a new tab, unfortunately it only works with the nickname but not on the avatar.

    I wish it worked with both and also when opening the profile there is a button saying to click on it to close the page and go back to search.

    For you as for me it is unfortunately obvious that many users need to be guided.
    I think my request will help a lot of people because since I have been following the community, I have noticed that the improvement of the directory is often requested and especially for this point.

    Thank you in advance for your help

    Thread Starter melchi2

    (@melchi2)

    Hello Veronica,

    Sorry I thought I sent my message in English, sorry

    Plugin Support andrewshu

    (@andrewshu)

    Hi @melchi2,

    Try to use this code:

    add_action('wp_footer',function(){
    ?>
    <script>
        (function($){
            $(document).on('click','.um-members .um-member .um-member-name a,.um-members .um-member-photo a',function(e){
                e.preventDefault();
                var link = $(this).attr('href');
                window.open( link , "_blank");
            });
        })(jQuery);
    </script>
    <?php
    });

    Thank you.

    Thread Starter melchi2

    (@melchi2)

    Thank you, I had found in the meantime and I had forgotten to close this topic, I apologize? I was sure I did, I’ll do an overview of all my messages for the closed if I found a solution

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘member directory solved register filter’ is closed to new replies.