|
User's UID template line
|
|
04-10-2012, 06:13 PM
Post: #1
|
|||
|
|||
User's UID template line
Hello!
Can someone tell me what is the template line that specifies the user's UID? For example, in the Index page, the last registered member would be something like this: Quote:<a href="{$mybb->settings['bburl']}/member.php?action=profile&uid={$mybb->user['uid']}">{$stats['lastusername']}</a>The problem here is that instead of showing the correct UID, it shows 0. If I use {$uid}, the UID shown is yours (the one logged in) instead of the last registered user's UID. Thanks! |
|||
|
04-10-2012, 06:18 PM
Post: #2
|
|||
|
|||
RE: User's UID template line
I think it actually is a language variable. {$lang->stats_newestuser}. I'm not positive how you could separate that though.
Team Dimensional |
|||
|
04-10-2012, 06:22 PM
(This post was last modified: 04-11-2012 05:38 PM by Userus.)
Post: #3
|
|||
|
|||
RE: User's UID template line
There is an language variable: {$lang->stats_newest_member}. However, it is only showing the following text:
Quote:Newest Member:So, it won't help. I'm pretty sure that there is an variable that is showing the user's UID, so I can include it in a link. |
|||
|
04-11-2012, 06:27 PM
Post: #4
|
|||
|
|||
RE: User's UID template line
Bump.
|
|||
|
04-11-2012, 07:08 PM
Post: #5
|
|||
|
|||
RE: User's UID template line
Try this:
Code: {$stats['lastuid']} |
|||
|
04-11-2012, 07:35 PM
Post: #6
|
|||
|
|||
RE: User's UID template line
Thank you, euantor! It worked.
+1 rep
|
|||
|
04-11-2012, 08:02 PM
Post: #7
|
|||
|
|||
RE: User's UID template line
No problem at all
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Search
Member List
Calendar
Help



User's UID template line 

