Advertisement:

Is there a way to remove custom titles from private messages?

Aloittaja Henzo, kesäkuu 12, 2011, 09:33:31 IP

« edellinen - seuraava »

mashby

Have a look in Themes/default/PersonalMessage.template.php
Always be a little kinder than necessary.
- James M. Barrie

All Colours Sam

are you sing 1.1.x?   on the default theme, the personal messages only displays the

username
post group
member group
stars
post count
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Henzo

Lainaus käyttäjältä: mashby - kesäkuu 12, 2011, 09:37:57 IP
Have a look in Themes/default/PersonalMessage.template.php

Hrmm... Perhaps this section is relevant?


if (isset($message['member']['title']) && $message['member']['title'] != '')
echo '
', $message['member']['title'], '<br />';
if (isset($message['member']['group']) && $message['member']['group'] != '')
echo '
', $message['member']['group'], '<br />';

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 />';

Henzo

Lainaus käyttäjältä: Miss All Sunday - kesäkuu 12, 2011, 09:39:41 IP
are you sing 1.1.x?   on the default theme, the personal messages only displays the

username
post group
member group
stars
post count

I am using SMF 1.1.13, a custom theme. Previously I had changed it so custom titles were able to use BBCode. For some reason it displays as a block of code in PMs.

mashby

Yup, very likely this:
if (isset($message['member']['title']) && $message['member']['title'] != '')
echo '
', $message['member']['title'], '<br />';
Always be a little kinder than necessary.
- James M. Barrie

All Colours Sam

oh!  my apologizes, I confused custom titles with something else   :-[
Oh, wouldn't it be great if I *was* crazy? ...then the world would be okay
Suki

Henzo

Lainaus käyttäjältä: mashby - kesäkuu 12, 2011, 09:50:35 IP
Yup, very likely this:
if (isset($message['member']['title']) && $message['member']['title'] != '')
echo '
', $message['member']['title'], '<br />';


Beautiful! Thanks!

Henzo

Lainaus käyttäjältä: Miss All Sunday - kesäkuu 12, 2011, 09:51:48 IP
oh!  my apologizes, I confused custom titles with something else   :-[

No problem! Thanks!

Marked as solved!

Advertisement: