MyBB Community Forums

Full Version: Error making a name appear as a gif
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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>
(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!