Hello.
Being the newbie I am, I can't seem to find a way to get a custom title to overwrite a member's rank name.
As it is now:
[Name]
[Custom title]
[Rank name]
*stars*
[Avatar]
Is it possible to make it:
[Name]
[Custom Title]
*stars*
[Avatar]
Or just:
[Name]
[Custom Title]
[Avatar]
?
Thanks. :)
Yes, remove this from Display.template:
// Show the member's primary group (like 'Administrator') if they have one.
if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '
', $message['member']['group'], '<br />';
// Don't show these things for guests.
if (!$message['member']['is_guest'])
{
// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
', $message['member']['post_group'], '<br />';
echo '
', $message['member']['group_stars'], '<br />';
Then it is like
[Name]
[Custom Title]
[Avatar]
Alright. Thanks alot. :)
But is there no way to keep the stars?
Please have patience with me, I know nothing about these things... :-[
Lainaus käyttäjältä: Owdy - tammikuu 16, 2005, 03:02:40 IP
Yes, remove this from Display.template:
// Show the member's primary group (like 'Administrator') if they have one.
if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '
', $message['member']['group'], '<br />';
// Don't show these things for guests.
if (!$message['member']['is_guest'])
{
// Show the post group if and only if they have no other group or the option is on, and they are in a post group.
if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '')
echo '
', $message['member']['post_group'], '<br />';
echo '
', $message['member']['group_stars'], '<br />';
Then it is like
[Name]
[Custom Title]
[Avatar]
Replace all of that with this:
// Don't show these things for guests.
if (!$message['member']['is_guest'])
{
echo '
', $message['member']['group_stars'], '<br />';
That will make it:
[Name]
[Custom Title]
*stars*
[Avatar]
A little easier, thanks. :)
Is it possible to make that member-specific?
So that one member has his/her Rank and Titile, while someone just has his/her Title?
Sorry for any inconvenience.
You could use $message['member']['id'], yes...
-[Unknown]
Maybe I need some sleep or I'm just stupid but I just don't understand.
I would like to remove the Rank only from only 2 listing as such:
[Name]
[Admin]
*stars*
[Avatar]
and
[Name]
[Global Mod]
*stars*
[Avatar]
but have all others as:
[Name]
[Rank]
*stars*
[Avatar]
Sorry if you explained this, I didn't understand
TIA
Admin -> Theme and Layout Settings -> default theme -> hide post groups for grouped members.
-[Unknown]
Thanks [Unknown]