Jump to content
  • 0

Member title in post - IPS 4.6.3


Might and Magic

Question

6 answers to this question

Recommended Posts

  • 1

Adaugi asta in postContainer sub h3-ul cu numele author-ului.

<div class='authorTitle'>
  {{if $comment->author()->member_title && $comment->author()->member_id}}
    <span>" {$comment->author()->member_title} "</span>
  {{elseif $comment->author()->rank['title'] && $comment->author()->member_id}}
    <span>" {$comment->author()->rank['title']} "</span>
  {{else}}
    <span>" New user "</span>
  {{endif}}
</div>

Sunt aceleasi variabile, nimic mai mult.

Link to comment
Share on other sites

  • 1
10 hours ago, Sebastian C. said:

Din ce am observat funcția în sine a fost înlocuită de "ranks & badges". Totuși, poți readuce lucrul ăsta la viață folosind "profile fields" iar în temă îl aranjezi să arate ca vechiul member title.

Teoretic asa ar fi, insa pe profil inca apare member title, dar cat am cautat eu si cate posibilitati am incercat nu pare sa il poti adauga inapoi in postContainer, poate cu ceva javascript poti sa-i dai import de undeva, asta nu am incercat.

Link to comment
Share on other sites

  • 0
On 7/11/2021 at 8:49 PM, Juliano Dillon said:

Adaugi asta in postContainer sub h3-ul cu numele author-ului.

<div class='authorTitle'>
  {{if $comment->author()->member_title && $comment->author()->member_id}}
    <span>" {$comment->author()->member_title} "</span>
  {{elseif $comment->author()->rank['title'] && $comment->author()->member_id}}
    <span>" {$comment->author()->rank['title']} "</span>
  {{else}}
    <span>" New user "</span>
  {{endif}}
</div>

Sunt aceleasi variabile, nimic mai mult.

Am incercat, si nu merge... Imi arata un Member Title vechi... + nu-mi apar nici posturile/reputatia/nimic de cand am dat update la ultima versiune.

Am incercat sa dezactivez noile "Rank-uri / Badge-uri" de la IPS, si nu stiu cum as putea reveni inapoi la "Default", cum imi placea mie. Adica asa: https://prnt.sc/1qfnpu6 ..

De cand cu noul lor update, mie "postcontainer-ul" imi arata foarte aiurea: https://prnt.sc/1qfnq90 ..

Are cineva o rezolvare? Va rog! 

Link to comment
Share on other sites

  • 0
On 7/11/2021 at 8:49 PM, Juliano Dillon said:

Adaugi asta in postContainer sub h3-ul cu numele author-ului.

<div class='authorTitle'>
  {{if $comment->author()->member_title && $comment->author()->member_id}}
    <span>" {$comment->author()->member_title} "</span>
  {{elseif $comment->author()->rank['title'] && $comment->author()->member_id}}
    <span>" {$comment->author()->rank['title']} "</span>
  {{else}}
    <span>" New user "</span>
  {{endif}}
</div>

Sunt aceleasi variabile, nimic mai mult.

Salut , ai cumva o varianta la asta  @Juliano Dillon?

In momentul in care imi citeste rank [title],  imi citeste exact rank urile de sunt in clasa rank ( rookie , expert etc)  . Daca incerc sa inlocuiesc rank cu orice altceva in incearcarea de a rescrie acel cod imi citeste doar new user ! Mentionez ca in profile totul este perfect , doar in post imi arata un vechi rank ! Am incercat mai multe tutoriale de pe pctroubleshooting , pana acum nu a mers nici unul !

Multumesc anticipat !

Mi-e teama de ziua in care tehnologia va fi mai importanta ca relatiile interumane.In lume va exista o generatie de idioti !! - Albert Einstein

www.gamelife.ro

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.