MyBB Community Forums

Full Version: How to change Time Spent Online to text for a user?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
@ effone - that would apply to the viewer uid, rather than the profile uid.
(2014-04-15, 11:25 AM)Leefish Wrote: [ -> ]@ effone - that would apply to the viewer uid, rather than the profile uid.

Oops :p

<if $memprofile['uid'] == 1 then>
Your text here
<else>
$timeonline
</if>
Okay got Most of it done Just can't figure this out
<if $memprofile['uid'] != "1" then>
<td class="trow2">{$timeonline}</td> //Didn't work ;(
<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">{$timeonline}</td>
</tr>
</if>

<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">
<if $memprofile['uid'] == 1 then>
Your text here
<else>
$timeonline
</if>
</td>
</tr>

(2014-04-15, 11:33 AM)effone Wrote: [ -> ]
(2014-04-15, 11:25 AM)Leefish Wrote: [ -> ]@ effone - that would apply to the viewer uid, rather than the profile uid.

Oops :p

<if $memprofile['uid'] == 1 then>
Your text here
<else>
$timeonline
</if>

I don't understand, what am I doing wrong?
[Image: 4f4e86f3786ff2904c7bbde9e411c6b0.png]
Pages: 1 2