0 Membros e 1 Visitante estão a ver este tópico.
//If the user is below the minimum required posts, then show the annoying message. global $user_info; if (($context['user']['is_logged']) && ($user_info['posts'] < $modSettings['MinReqPostCount'])) echo ' <table align="center" style="width: 100%; padding: 20px; text-align: left; vertical-align: middle; margin: 2ex 1ex 2ex 1ex; border: 2px dashed ', $modSettings['PostCountWarningBorderColor'],'; background-color: ', $modSettings['PostCountWarningBackgroundColor'],';"> <tr> <td width="64"> <img style="vertical-align: middle;" src="', $settings['default_theme_url'], '/images/pcWarn.gif" alt="Attention!" /> </td> <td style="color: ', $modSettings['PostCountWarningTextColor'],';"> <strong>', $modSettings['PostCountWarningMessageTitle'], '</strong><br />', $modSettings['PostCountWarningMessage'], ' </td> </tr> </table>
// Who's online. array('check', 'who_enabled'),
'', // What messages to display when the user's postcount is 0 array('text', 'PostCountWarningMessageTitle'), array('text', 'PostCountWarningMessage'), array('int', 'MinReqPostCount'),'', array('text', 'PostCountWarningBorderColor'), array('text', 'PostCountWarningBackgroundColor'), array('text', 'PostCountWarningTextColor'),
?>
$txt['PostCountWarningMessageTitle'] = 'Aviso das mensagem - Titulos';$txt['PostCountWarningMessage'] = 'Aviso Aviso nas mensagem';$txt['MinReqPostCount'] = 'Minimo de mensagens (0 = ilimitadas)';$txt['PostCountWarningBorderColor'] = 'Aviso no quadros a cores';$txt['PostCountWarningBackgroundColor'] = 'Aviso nas paredes a cores ';$txt['PostCountWarningTextColor'] = 'Texto a cores';