MyBB Hacks

Full Version: MyMood on User Profile...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
If I change to $memprofile then it won't find the mood :/ because the mood is $mybb->user['FIDx']

Code:
<tr>
<td class="trow2"><strong>My Mood:</strong></td>
<td class="trow2">
<if $mybb->memprofile['fid10'] == '' then>
No Mood Selected.
</if>
<if $mybb->memprofile['fid10'] == 'Happy' then>
<img src="{$mybb->settings['bburl']}/Happy.gif" alt="I'm Happy"  />
</if>
<if $mybb->memprofile['fid10'] == 'Sad' then>
<img src="{$mybb->settings['bburl']}/Sad.gif" alt="I'm Sad"  />
</if>
<if $mybb->memprofile['fid10'] == 'Love' then>
<img src="{$mybb->settings['bburl']}/In-Love.gif" alt="I'm in Love"  />
</if>
<if $GLOBALS['mybb']->memprofile['uid'] == $memprofile['uid'] then>
<span style="valign: middle;">(<a href="{$mybb->settings['bburl']}/usercp.php?action=profile">Change Mood</a>)</span>
<br />
<else>
</if>
</td>
</tr>


P.S.: SOLVED WITH RATEU'S TUTORIAL.

Pages: 1 2 3
Reference URL's