Jump to the post that solved this thread.
Solved: 1 Year, 6 Months, 2 Weeks ago Error making a name appear as a gif
#1
Solved: 1 Year, 6 Months, 2 Weeks ago
I tried replacing the <strong>{$formattedname} with this = 


<if condition="$uid == 1">
  <img src="https://i.postimg.cc/1XDKMjHV/Moot.gif" alt="Moot">
<else />
  {$formattedname}
</if>

Instead of it appearing only on UID 1's profile, It show's on all profiles. I'd love to have some help with this thanks!



-Scrim
Reply
#2
Solved: 1 Year, 6 Months, 2 Weeks ago
Profiles
<if $uid == 1 then>
  <img src="https://i.postimg.cc/1XDKMjHV/Moot.gif" alt="Moot">
<else/>
  {$formattedname}
</if>

Postbits
<if $post['uid'] == 1 then>
  <img src="https://i.postimg.cc/1XDKMjHV/Moot.gif" alt="Moot">
<else/>
  {$post['profilelink']}
</if>
Reply
#3
Solved: 1 Year, 6 Months, 2 Weeks ago
(2023-05-22, 12:25 PM)Taylor M Wrote: Profiles
<if $uid == 1 then>
  <img src="https://i.postimg.cc/1XDKMjHV/Moot.gif" alt="Moot">
<else/>
  {$formattedname}
</if>

Postbits
<if $post['uid'] == 1 then>
  <img src="https://i.postimg.cc/1XDKMjHV/Moot.gif" alt="Moot">
<else/>
  {$post['profilelink']}
</if>

Thanks Works great!
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)