Silv
New Member
Posts: 53
inherit
217452
0
Apr 21, 2016 17:33:23 GMT -8
Silv
53
January 2015
silvenar
|
User ID
Jan 20, 2015 15:46:05 GMT -8
via mobile
Post by Silv on Jan 20, 2015 15:46:05 GMT -8
Can someone make a plugin that displays a user's ID number in their mini-profile and such? I believe all it would have to do is take a user's registration date and order from oldest to newest.(I think ) Thanks!
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
User ID
Jan 20, 2015 16:21:19 GMT -8
Post by Pebble on Jan 20, 2015 16:21:19 GMT -8
I'm pretty sure there is a variable in the template for the mini-profile that you could add in there.
|
|
Former Member
inherit
guest@proboards.com
188474
0
Nov 24, 2024 6:51:44 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 21, 2015 14:40:01 GMT -8
Going off the post from PebbleThe variable is $[user.id]
|
|
Silv
New Member
Posts: 53
inherit
217452
0
Apr 21, 2016 17:33:23 GMT -8
Silv
53
January 2015
silvenar
|
User ID
Jan 21, 2015 19:18:30 GMT -8
via mobile
Post by Silv on Jan 21, 2015 19:18:30 GMT -8
So I just add that into the mini-profile html template?
Does it have to be in a certain place?
Thanks.
|
|
Former Member
inherit
guest@proboards.com
188474
0
Nov 24, 2024 6:51:44 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 21, 2015 19:32:00 GMT -8
Yes, and you can put it any place you want to
|
|
Silv
New Member
Posts: 53
inherit
217452
0
Apr 21, 2016 17:33:23 GMT -8
Silv
53
January 2015
silvenar
|
User ID
Jan 22, 2015 14:16:24 GMT -8
via mobile
Post by Silv on Jan 22, 2015 14:16:24 GMT -8
Is there any way to add the text 'User ID' as well? Right now it just displays a number.
|
|
Former Member
inherit
guest@proboards.com
188474
0
Nov 24, 2024 6:51:44 GMT -8
Former Member
0
January 1970
Former Member
|
User ID
Jan 22, 2015 14:18:30 GMT -8
Post by Former Member on Jan 22, 2015 14:18:30 GMT -8
Just add the text in front of the variable
User ID: $[user.id]
|
|
Silv
New Member
Posts: 53
inherit
217452
0
Apr 21, 2016 17:33:23 GMT -8
Silv
53
January 2015
silvenar
|
User ID
Jan 22, 2015 17:24:35 GMT -8
via mobile
Post by Silv on Jan 22, 2015 17:24:35 GMT -8
Awesome, thank you for your help @samnewton
|
|
Silv
New Member
Posts: 53
inherit
217452
0
Apr 21, 2016 17:33:23 GMT -8
Silv
53
January 2015
silvenar
|
User ID
Jan 22, 2015 17:38:09 GMT -8
Post by Silv on Jan 22, 2015 17:38:09 GMT -8
I have another question, sorry. I want to put User ID: $ [user.id] in the regular profile, preferably under 'Custom Title'
How do I do this and make it look the same?
|
|
Former Member
inherit
guest@proboards.com
188474
0
Nov 24, 2024 6:51:44 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Jan 22, 2015 17:44:33 GMT -8
Go to Admin >> Themes >> Layout Templates >> User Profile >> Summary Tab
Look for this: {if $[user.custom_title]} <tr> <td class="headings">Custom Title:</td> <td>$[user.custom_title]</td> </tr> {/if}
And paste the code below directly below that
<tr> <td class="headings">User ID:</td> <td>$[user.id] </tr>
|
|
Silv
New Member
Posts: 53
inherit
217452
0
Apr 21, 2016 17:33:23 GMT -8
Silv
53
January 2015
silvenar
|
User ID
Jan 22, 2015 17:58:06 GMT -8
Post by Silv on Jan 22, 2015 17:58:06 GMT -8
Nevermind, I believe I got it!
|
|
Silv
New Member
Posts: 53
inherit
217452
0
Apr 21, 2016 17:33:23 GMT -8
Silv
53
January 2015
silvenar
|
User ID
Jan 22, 2015 17:59:04 GMT -8
Post by Silv on Jan 22, 2015 17:59:04 GMT -8
Go to Admin >> Themes >> Layout Templates >> User Profile >> Summary TabLook for this: {if $[user.custom_title]} <tr> <td class="headings">Custom Title:</td> <td>$[user.custom_title]</td> </tr> {/if}
And paste the code below directly below that <tr> <td class="headings">User ID:</td> <td>$[user.id] </tr>
Aha, this is what I put Thank you for your help though!
|
|