[RSS Feed/News] Using message_macros correctly...

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
Howdy...

I have some customized code in Templater that I'd like to move into message_macros. The previous Admin edited fnUserTitle, and added a custom badge he developed based on the user title:

Code:

Code:
$userTitleImage .= "<img src=\"/styles/rebelscum/ranks/".str_replace(' ','',$userTitle).".gif\" title=\"{$userTitle}\">";
return "<{$tag} class=\"userTitle{$class}\" dir=\"auto\"{$unhandledAttrs}>{$userTitleImage}</{$tag}>";

I would like to replicate this code in the macro area so that...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom