How to get  member link mod_news Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
4 posters

    How to get member link mod_news

    zzlasperpen
    zzlasperpen
    Forumember


    Male Posts : 56
    Reputation : 3
    Language : VietNam

    Solved How to get member link mod_news

    Post by zzlasperpen January 16th 2022, 13:10

    {post_row.POSTER} in mod_news there is no link to the profile page
    Can anyone help me how to make /u personal page link?
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6916
    Reputation : 795
    Language : Greek, English

    Solved Re: How to get member link mod_news

    Post by TheCrow January 16th 2022, 15:26

    @zzlasperpen,

    I did not quite understand what you are looking for. Can you please share some more information in what exact area of your forum you are referring to and maybe post an image so we understand your problem better?

    Best regards,
    TC.



    How to get  member link mod_news Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Niko
    Niko
    Helper
    Helper


    Male Posts : 3285
    Reputation : 254
    Language : English, Italian, French
    Location : Italy

    Solved Re: How to get member link mod_news

    Post by Niko January 16th 2022, 17:44

    Dear @zzlasperpen

    If your forum is Invision as your profile stated, Go to ACP > Modules > Javascript & HTML > Javascript codes management and create a new one:
    • Title: as you prefer
    • Where: in all pages
    • Code:

      Code:
      $(function() { $(".mod_news_poster").each(function() {
          var element = $(this);
        var username = $(this).text();
          var URL = '/memberlist?mode=lastvisit&order=DESC&submit=Ok&username='+username;
          $.ajax({
                url: URL,
                type:'GET',
                success: function(data){
                      var userlink = $(data).find('.popupmenu li:first-of-type a.profile-icon').attr('href'); console.log(userlink);
                      $(element).html('<span class="mod_news_poster" style="color:#219CB5"><a href="'+userlink+'"><strong>'+username+'</strong></a></span>');
                }
          });
      });});


    Now edit the
    Code:
     mod_news
    templates and
    Find:
    Replace with:

    If it does not work or if your forum is not invisiion, or again if your profiles are edited heavily - please provide your forum address :thanks:

    skouliki, SarkZKalie, TheCrow and zzlasperpen like this post

    zzlasperpen
    zzlasperpen
    Forumember


    Male Posts : 56
    Reputation : 3
    Language : VietNam

    Solved Re: How to get member link mod_news

    Post by zzlasperpen January 16th 2022, 21:01

    thank you so much my problem is solved How to get  member link mod_news 1f60d

    Niko likes this post

    Niko
    Niko
    Helper
    Helper


    Male Posts : 3285
    Reputation : 254
    Language : English, Italian, French
    Location : Italy

    Solved Re: How to get member link mod_news

    Post by Niko January 16th 2022, 21:15

    You are welcome How to get  member link mod_news 3706843607
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19435
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    Solved Re: How to get member link mod_news

    Post by Ape January 17th 2022, 00:21

    Thank you for your help @Niko

    Problem solved & topic archived.
    Please read our forum rules: ESF General Rules
    The topic was posted in the wrong section, so I have moved it to the correct section.
    Please read our forum rules: ESF General Rules



    How to get  member link mod_news Left1212How to get  member link mod_news Center11How to get  member link mod_news Right112
    How to get  member link mod_news Ape_b110
    How to get  member link mod_news Ape1010

    Niko likes this post