inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Mar 27, 2013 8:41:49 GMT -8
is there a specific user syntax to use? something like: {if $[user.3]} test 1 {/if} {if $[user_MEMBERNAMEHERE]} test 2 {/if}
|
|
inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Mar 27, 2013 12:52:54 GMT -8
any body know?
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Mar 27, 2013 13:14:16 GMT -8
{if $[current_user.id == 3]} test 1 {elseif $[current_user.username] == 'USERNAME'} test 2 {/if}
|
|
inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Mar 27, 2013 13:37:18 GMT -8
{if $[current_user.id == 3]} test 1 {elseif $[current_user.username] == 'USERNAME'} test 2 {/if} Im sick of being great-full to you now lol, you have solved atleast 8/10 of my problems!! SO this time im not saying thanks for this one!! pfft im just going to take this code and use it!!! peace!!
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Mar 27, 2013 13:42:27 GMT -8
That's fine. lol
Although by liking my post you are saying thank you.
|
|
inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Mar 27, 2013 14:38:32 GMT -8
IM SORRY i neeed you! rofl
basically im trying to change the registered date in one of my members mini profile's (i have the plugin which changes it in his profile already but not mini profiile)
{if $[user.registered_on]}Joined: <b>$[user.registered_on_short]</b>{/if}
This What it displays now: "Joined: August 2007"
What i want is it replaced with:
"Joined: October 2004"
just for the member "user id 3" / "marph"
is this possible been messing with if codes scratching my head crazy
|
|
inherit
170346
0
Mar 1, 2016 12:53:37 GMT -8
Shorty
Yeah, I'm that cool. Lol! No I'm not.
3,018
August 2011
shortyverrett94
|
Post by Shorty on Mar 27, 2013 15:51:27 GMT -8
Find this in the miniprofile template:
$[user.registered_on_short]
an replace it with this:
<span class="regDate">$[user.registered_on_short]</span>
That'll make the plugin work for the miniprofile as well.
|
|
inherit
191470
0
Jan 16, 2018 6:04:59 GMT -8
- TuGs
180
March 2013
tugz
|
Post by - TuGs on Mar 27, 2013 16:45:15 GMT -8
i know this is petty but his is now "0ct 2004" and the rest of them members have "October 2004" on mini profile do i change this somewhere?
|
|
#e61919
1
0
1
Sept 28, 2023 13:31:20 GMT -8
VS Admin
20,147
January 2000
admin
|
Post by VS Admin on Apr 5, 2013 22:37:08 GMT -8
{if $[user.id] == 3} Joined: <b>October 2004</b> {elseif $[user.registered_on]} Joined: <b>$[user.registered_on_short]</b> {/if}
|
|