Internet Explorer
Internet Explorer is not supported. Please upgrade to a more modern browser.
Hi, I'm very new to the world of smarty and how to use it. I just need a smarty variable of the UUID of the player's profile accessible on the profile template, I know that the php that assigns the values on that page is modules/Core/pages/profile.php
$smarty->assign(array(
'ProfilePlayerUuid' => XXXXX,
'NICKNAME' => $profile_user->getDisplayname(true),
'USERNAME' => $profile_user->getDisplayname(),
I don't know all the infrastructure of nameless (and don't know much of smarty nether), so the question is, what exactly would I need to put on "XXXXX" to search for the player's profile UUID?
I really hope this is possible, and thanks for the answer in advance!
Just in case I'd like to note that the UUID of the player viewing the page is not the same as the player's profile
$profile_user->data()->uuid
This should do the trick for you