Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 MyBB Hacks Mood System
Skiilz Offline
Member
***
Posts: 198
Joined: Nov 2010
Post: #2
RE: MyBB Hacks Mood System
Thank you Smile
I was trying to do it by myself... Almost did it!

I modified the code to show a message if no mood selected:

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<if $customfield['fid'] == 10 then>
	<if $userfields['fid10'] != '' then>
		<tr>
			<td class="{$bgcolor}" width="40%"><strong>{$customfield['name']}:</strong></td>
			<td class="{$bgcolor}" width="60%"><img src="images/mybbhacksmood/<?=str_replace(' ', '', $customfieldval)?>.gif" alt="{$customfieldval}" title="{$customfieldval}" /></td>
		</tr>

        <else>
		<tr>
			<td class="{$bgcolor}" width="40%"><strong>{$customfield['name']}:</strong></td>
			<td class="{$bgcolor}" width="60%">No Mood Selected</td>
		</tr>
	</if>
<else>
	<tr>
		<td class="{$bgcolor}" width="40%"><strong>{$customfield['name']}:</strong></td>
		<td class="{$bgcolor}" width="60%">{$customfieldval}</td>
	</tr>
</if>


[Image: 468x602b.png]
11-22-2010 10:32 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
MyBB Hacks Mood System - RateU - 11-22-2010, 09:53 AM
RE: MyBB Hacks Mood System - Skiilz - 11-22-2010 10:32 AM
RE: MyBB Hacks Mood System - ZiNgA BuRgA - 11-22-2010, 11:16 AM
RE: MyBB Hacks Mood System - leefish - 11-22-2010, 11:25 AM
RE: MyBB Hacks Mood System - ZiNgA BuRgA - 11-22-2010, 11:33 AM
RE: MyBB Hacks Mood System - leefish - 11-22-2010, 12:06 PM
RE: MyBB Hacks Mood System - RateU - 11-23-2010, 04:58 AM
RE: MyBB Hacks Mood System - Skiilz - 12-01-2010, 03:27 AM
RE: MyBB Hacks Mood System - RateU - 12-01-2010, 03:55 AM
RE: MyBB Hacks Mood System - Skiilz - 12-01-2010, 05:06 AM
RE: MyBB Hacks Mood System - RateU - 12-01-2010, 06:16 AM
RE: MyBB Hacks Mood System - Skiilz - 12-01-2010, 07:49 AM
RE: MyBB Hacks Mood System - RateU - 12-01-2010, 08:00 AM
RE: MyBB Hacks Mood System - Skiilz - 12-01-2010, 08:22 AM
RE: MyBB Hacks Mood System - ZiNgA BuRgA - 12-01-2010, 10:28 AM
RE: MyBB Hacks Mood System - Skiilz - 12-01-2010, 09:26 PM
RE: MyBB Hacks Mood System - RateU - 12-02-2010, 04:01 AM
RE: MyBB Hacks Mood System - Skiilz - 12-02-2010, 06:59 AM
RE: MyBB Hacks Mood System - RateU - 12-03-2010, 06:07 AM
RE: MyBB Hacks Mood System - Skiilz - 12-03-2010, 07:46 AM

 Standard Tools
Forum Jump: