SMF 1.1.x (Móbulos Manual) > Mensagem

Balão em forma citação

(1/1)

candidosa2:

Subs.php

Pesquisar

--- Código: ---// Parse bulletin board code in a string, as well as smileys optionally.
function parse_bbc($message, $smileys = true, $cache_id = '')
{

global $txt, $scripturl, $context, $modSettings, $user_info;
--- Fim de Código ---

Alterar por

--- Código: ---// Parse bulletin board code in a string, as well as smileys optionally.
function parse_bbc($message, $smileys = true, $cache_id = '')
{

global $settings, $txt, $scripturl, $context, $modSettings, $user_info;
--- Fim de Código ---


Pesquisar

--- Código: ---array(
'tag' => 'quote',
'parameters' => array(
'author' => array('match' => '([^<>]{1,192}?)'),
'link' => array('match' => '(?:board=\d+;)?((?:topic|threadid)=[\dmsg#\./]{1,40}(?:;start=[\dmsg#\./]{1,40})?|action=profile;u=\d+)'),
'date' => array('match' => '(\d+)', 'validate' => 'timeformat'),
),
'before' => '<div class="quoteheader"><a href="' . $scripturl . '?{link}">' . $txt['smf239'] . ': {author} ' . $txt[176] . ' {date}</a></div><div class="quote">',
'after' => '</div>',
'block_level' => true,
),
--- Fim de Código ---

Alterar por

--- Código: ---array(
'tag' => 'quote',
'parameters' => array(
'author' => array('match' => '([^<>]{1,192}?)'),
'link' => array('match' => '(?:board=\d+;)?((?:topic|threadid)=[\dmsg#\./]{1,40}(?:;start=[\dmsg#\./]{1,40})?|action=profile;u=\d+)'),
'date' => array('match' => '(\d+)', 'validate' => 'timeformat'),
),
'before' => '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="13"><img src="' . $settings['images_url'] . '/cita/solu.gif" width="13" height="22" /></td><td width="13"><img src="' . $settings['images_url'] . '/cita/solust.gif" width="13" height="22" /></td><td background="' . $settings['images_url'] . '/cita/ortaust.gif" width="4%"  align="left"><font style="font-size: 8pt">Citação:</font></td><td width="13"><img src="' . $settings['images_url'] . '/cita/sagust.gif" /></td><td width="13"><img src="' . $settings['images_url'] . '/cita/solust.gif" width="13" height="22" /></td><td background="' . $settings['images_url'] . '/cita/ortaust.gif" align="left"><font style="font-size: 8pt"><a href="' . $scripturl . '?{link}"><b>{author}</b></a> e que mandou.</font></td><td width="13"><img src="' . $settings['images_url'] . '/cita/sagust.gif" /></td><td background="' . $settings['images_url'] . '/cita/ustduz.gif" width="50%"></td><td width="13"><img src="' . $settings['images_url'] . '/cita/sagu.gif" width="13" height="22" /></td><tr><td width="13" background="' . $settings['images_url'] . '/cita/sol.gif"></td><td bgcolor="#FFFFFF" colspan="7">',

'after' => '</td><td width="13" background="' . $settings['images_url'] . '/cita/sag.gif"></td></tr><tr><td width="13"><img src="' . $settings['images_url'] . '/cita/sola.gif" width="13" height="22" /></td><td background="' . $settings['images_url'] . '/cita/altduz.gif" colspan="7"></td><td width="13"><img src="' . $settings['images_url'] . '/cita/saga.gif" width="13" height="22" /></td></tr></table>
',
'block_level' => true,
),
--- Fim de Código ---

Imagem no anexo colocar na pasta das imagens do teu themes

margarett:
Muito interessante essa modificação!

Boa malha!

K@Kus Lda.™:

--- Citação de: candidosa2 em 22 de Abril de 2009, 06:17 ---
Subs.php

Pesquisar

--- Código: ---// Parse bulletin board code in a string, as well as smileys optionally.
function parse_bbc($message, $smileys = true, $cache_id = '')
{

global $txt, $scripturl, $context, $modSettings, $user_info;
--- Fim de Código ---

Alterar por

--- Código: ---// Parse bulletin board code in a string, as well as smileys optionally.
function parse_bbc($message, $smileys = true, $cache_id = '')
{

global $settings, $txt, $scripturl, $context, $modSettings, $user_info;
--- Fim de Código ---


Pesquisar

--- Código: ---array(
'tag' => 'quote',
'parameters' => array(
'author' => array('match' => '([^<>]{1,192}?)'),
'link' => array('match' => '(?:board=\d+;)?((?:topic|threadid)=[\dmsg#\./]{1,40}(?:;start=[\dmsg#\./]{1,40})?|action=profile;u=\d+)'),
'date' => array('match' => '(\d+)', 'validate' => 'timeformat'),
),
'before' => '<div class="quoteheader"><a href="' . $scripturl . '?{link}">' . $txt['smf239'] . ': {author} ' . $txt[176] . ' {date}</a></div><div class="quote">',
'after' => '</div>',
'block_level' => true,
),
--- Fim de Código ---

Alterar por

--- Código: ---array(
'tag' => 'quote',
'parameters' => array(
'author' => array('match' => '([^<>]{1,192}?)'),
'link' => array('match' => '(?:board=\d+;)?((?:topic|threadid)=[\dmsg#\./]{1,40}(?:;start=[\dmsg#\./]{1,40})?|action=profile;u=\d+)'),
'date' => array('match' => '(\d+)', 'validate' => 'timeformat'),
),
'before' => '<table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td width="13"><img src="' . $settings['images_url'] . '/cita/solu.gif" width="13" height="22" /></td><td width="13"><img src="' . $settings['images_url'] . '/cita/solust.gif" width="13" height="22" /></td><td background="' . $settings['images_url'] . '/cita/ortaust.gif" width="4%"  align="left"><font style="font-size: 8pt">Citação:</font></td><td width="13"><img src="' . $settings['images_url'] . '/cita/sagust.gif" /></td><td width="13"><img src="' . $settings['images_url'] . '/cita/solust.gif" width="13" height="22" /></td><td background="' . $settings['images_url'] . '/cita/ortaust.gif" align="left"><font style="font-size: 8pt"><a href="' . $scripturl . '?{link}"><b>{author}</b></a> e que mandou.</font></td><td width="13"><img src="' . $settings['images_url'] . '/cita/sagust.gif" /></td><td background="' . $settings['images_url'] . '/cita/ustduz.gif" width="50%"></td><td width="13"><img src="' . $settings['images_url'] . '/cita/sagu.gif" width="13" height="22" /></td><tr><td width="13" background="' . $settings['images_url'] . '/cita/sol.gif"></td><td bgcolor="#FFFFFF" colspan="7">',

'after' => '</td><td width="13" background="' . $settings['images_url'] . '/cita/sag.gif"></td></tr><tr><td width="13"><img src="' . $settings['images_url'] . '/cita/sola.gif" width="13" height="22" /></td><td background="' . $settings['images_url'] . '/cita/altduz.gif" colspan="7"></td><td width="13"><img src="' . $settings['images_url'] . '/cita/saga.gif" width="13" height="22" /></td></tr></table>
',
'block_level' => true,
),
--- Fim de Código ---

Imagem no anexo colocar na pasta das imagens do teu themes

--- Fim de Citação ---

Viva!...

E o atalho?!...
Também anda perdido!...
 cool

candidosa2:
Actualizado no primeiro Tópico

Navegação

[0] Índice de mensagens

Ir para versão completa