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.
The forum of the forums
2 posters

    Portal profile showing user's rank

    SkyVick
    SkyVick
    New Member


    Posts : 3
    Reputation : 1
    Language : Hungarian

    In progress Portal profile showing user's rank

    Post by SkyVick January 29th 2020, 4:47 pm

    Hi everyone!

    I'm having a question regarding the portal profile.
    https://i.imgur.com/eBMMhcl.png

    In the picture I marked with red the part I'm talking about. Where it is written: Rank name, I want to appear each of the members rank name automatically, but I couldnt figure out the right command in the templates. I've tried {postrow.displayed.POSTER_RANK} and simply {POSTER_RANK} but nothing worked. I don't know if it is even posibble in the first place what I want so I'm asking for your help.

    The templates code is:
    Code:
    <!-- BEGIN switch_profile -->
    <table class="forumline" width="100%" border="0" cellspacing="0" cellpadding="0" id="gallery_container">
       <tbody class="oldal_hatter"><tr>
          <td class="catLeft" height="25">
                      <div class="genmed center"><div class="kivanitt_kep"><div class="kivanitt_felso"><a href="{U_PROFILE}">Behind the mask</a></div></div>
                        <b><center><div class="kivanitt_also">is the truth</div></center></b></div>
              </td>
       </tr>
       <tr>
          <td class="row1">
             <table width="100%" border="0" cellspacing="1" cellpadding="1">
                <tr>
                   <td class="row1">
                                              <div style="float:center;"><div style="width: 260px;text-align: center;height: auto;"> 
                                              <br><div class="portalprofava">{USERNAME_AVATAR}</div>
                                                <div class="portalprofnev">{USERNAME}</div><div class="portalprofrank">Rank name</div></div></div>
                                               
                                                                       
                   </td>
                </tr>
             </table>
          </td>
       </tr>
              </tbody></table>
    <!-- END switch_profile -->

    Thank you for your time and help in advance.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Portal profile showing user's rank

    Post by SLGray January 29th 2020, 8:26 pm

    The ode for the widget is in the widget, not the templates. Click the yellow cog (modify) on the profile widget.



    Portal profile showing user's rank Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    SkyVick
    SkyVick
    New Member


    Posts : 3
    Reputation : 1
    Language : Hungarian

    In progress Re: Portal profile showing user's rank

    Post by SkyVick January 29th 2020, 9:07 pm

    I don't have any profile widget, to modify the portal profile I always used the templates and CSS in Portal > mod_login.

    https://i.imgur.com/sPp1KYB.png

    https://i.imgur.com/EswbYIJ.png

    If so, it should be somewhere between the widget named Multiváltó, Login and the widget named Üdvözlő. But there's none.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Portal profile showing user's rank

    Post by SLGray January 29th 2020, 9:19 pm

    Exactly it is the login widget.



    Portal profile showing user's rank Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    SkyVick
    SkyVick
    New Member


    Posts : 3
    Reputation : 1
    Language : Hungarian

    In progress Re: Portal profile showing user's rank

    Post by SkyVick January 29th 2020, 9:23 pm

    Ah, okay, but my question is whether it is possible to add to this profile ranks, too, and if yes, how, because normally that's not part of the portal profile.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51498
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Portal profile showing user's rank

    Post by SLGray January 30th 2020, 1:57 am

    It could be possible, but I am not great with coding.   Maybe someone else can help.



    Portal profile showing user's rank Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is September 23rd 2024, 3:35 am