ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 25,981
- Points
- 823
Reputation:
I have the following code:
PHP:
I am looking to get the user entity of...
Read more
Continue reading...
PHP:
Code:
public static function renderChar(array $children, $option, array $tag, array $options, AbstractRenderer $renderer)
{
$output = trim($renderer->renderSubTree($children, $options));
$charCode = \XF::visitor()->Profile->custom_fields->CharCode;
return $renderer->wrapHtml(
'<div style="color: ' . $charCode . '">',
$output,
'</div>'
);
}
I am looking to get the user entity of...
Read more
Continue reading...