MyMood on User Profile...
Skiilz Offline
Member
***
Posts: 198
Joined: Nov 2010
Post: #21
RE: MyMood on User Profile...
If I change to $memprofile then it won't find the mood :/ because the mood is $mybb->user['FIDx']

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<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.


[Image: 468x602b.png]
(This post was last modified: 11-22-2010 10:32 AM by Skiilz.)
11-22-2010 09:54 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: