Customizing SMF > SMF Coding Discussion
How to move the custom title after the membergroup/rank?
(1/1)
Crozz:
Hello,
I been trying to put the custom title after the membergroup, to not get you confused here is a pic.
http://i49.tinypic.com/bev43q.png
I want the "Custom Title text" to be shown after "Administrator", dont ask me why I want this >.>
Anyhow I tried playing with index.css, but however it didn't have anything related to that, can only modify how it looks :/
So can anyone help me? I'm running SMF 2.0.2.
K@:
Have a look at Display.template.php, which is in the theme's directory.
--- Code: --- // Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
<li class="blurb">', $message['member']['blurb'], '</li>';
--- End code ---
is the section that deal with the personal text. You can move that up and down, to wherever you want it. :)
Crozz:
--- Quote from: K@ on September 07, 2012, 11:05:24 AM ---Have a look at Display.template.php, which is in the theme's directory.
--- Code: --- // Show their personal text?
if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
echo '
<li class="blurb">', $message['member']['blurb'], '</li>';
--- End code ---
is the section that deal with the personal text. You can move that up and down, to wherever you want it. :)
--- End quote ---
Tried that, think that moves the Personal Text field, I was thinking of the Custom Title field.
Edit: Found the code, thanks to you, I didn't know where to look :P
--- Code: --- // Show the member's custom title, if they have one.
if (!empty($message['member']['title']))
echo '
<li class="title">', $message['member']['title'], '</li>';
--- End code ---
Navigation
[0] Message Index
Go to full version