• 0
  • 7 RepliesReplies
  • 7848 ReadTimes Read
  • 6 PointsPoints

Topic: Como poner los awards arriba de las firmas

no avatar
Usuario: Daniiel
Rango: Nuevo Usuario
Mensajes: 715
Points: 22
Mi web: http://www.mundonet.org/foro/
Perfil: View Profile
"Como poner los awards arriba de las firmas"

Que se necesita:
  • Tener instalado el mod "Members Awards"
  • 5 minutos libres
  • Un editor para los archivos php(Blockde notas, nvu, notepad++,etc)

Ok empecemos:

1.- Buscamos el archivo Display.template.php de nuestro tema (Themes>Tutema) y lo abrimos.
2.- Buscamos el codigo que os dejare y lo eliminamos:
Code: [Select]
// Show their awards?
if (!empty($message['member']['awards']) && $modSettings['awards_in_post'] > 0){
echo '
<fieldset style="border: 1px solid black; padding: 5px;">
<legend>', $txt['awards'], '</legend>';

// Couldn't limit it in Load.php, so let's do it here.
$awards = 0;
foreach ($message['member']['awards'] as $award){
if($awards < $modSettings['awards_in_post'])
echo '
<a href="', $scripturl, $award['more'], '"><img src="', dirname($scripturl), $award['img'], '" alt="', $award['description'], '" title="', $award['description'], '" /></a> ';
$awards++;
}

echo '
</fieldset>
<br />';
}

3.- Ahora en ese mismo archivo buscamos:
Code: [Select]
// Show the member's signature?

Agregamos antes esto:
Code: [Select]
// Show their awards?
if (!empty($message['member']['awards']) && $modSettings['awards_in_post'] > 0){
echo '
<fieldset style="border: 1px solid black; padding: 5px;">
<legend>', $txt['awards'], '</legend>';

// Couldn't limit it in Load.php, so let's do it here.
$awards = 0;
foreach ($message['member']['awards'] as $award){
if($awards < $modSettings['awards_in_post'])
echo '
<a href="', $scripturl, $award['more'], '"><img src="', dirname($scripturl), $award['img'], '" alt="', $award['description'], '" title="', $award['description'], '" /></a> ';
$awards++;
}

echo '
</fieldset>
';
}

Vist previa del resultado


Salu2!!
You do not have permission to give points
point 6 Points

Users who gave points in this topic » rogerscrack (1 Pts) » typoblur2 (1 Pts) » taiga (3 Pts) » rowland (1 Pts) 

Usuario: EseNico
Rango: Recién Llegado
Mensajes: 23
Points: 0
Perfil: View Profile
Re:Como poner los awards arriba de las firmas
Reply #1 June 05, 2011 - 09:22 09:22
¿No Sabes como Ponerlo en el Recuadro del Perfil?

no avatar
Usuario: Daniiel
Rango: Nuevo Usuario
Mensajes: 715
Points: 22
Mi web: http://www.mundonet.org/foro/
Perfil: View Profile
Re:Como poner los awards arriba de las firmas
Reply #2 June 05, 2011 - 09:26 09:26
¿No Sabes como Ponerlo en el Recuadro del Perfil?

El mod Members awards ya lo tiene en el perfil.

Salu2!!

Usuario: Lean
Rango: Fundador
Mensajes: 6782
Points: 236
Perfil: View Profile
Pais:
ar
Re:Como poner los awards arriba de las firmas
Reply #3 June 05, 2011 - 09:58 09:58
Excelente aporte! Muy buscado! +1

Usuario: Maliante
Rango: Friend de SMFSimple
Mensajes: 1361
Points: 181
Mi web: http://www.ftasupport.info
Perfil: View Profile
Pais:
pr
Re:Como poner los awards arriba de las firmas
Reply #4 June 05, 2011 - 10:51 10:51
Muy bueno ya habian preguntado varias veces en mi MP sobre eso.

Saludos
Maliante

Usuario: dj_king
Rango: Recién Llegado
Mensajes: 52
Points: 0
Mi web: www.team-bfd.es
Perfil: View Profile
Re:Como poner los awards arriba de las firmas
Reply #5 July 06, 2011 - 10:55 10:55
Buenísimo! :)

no avatar
Usuario: asd.alberto
Rango: Recién Llegado
Mensajes: 7
Points: 0
Mi web: http://www.smfsimple.com
Perfil: View Profile
Pais:
cu
Re:Como poner los awards arriba de las firmas
Reply #6 September 24, 2014 - 01:19 13:19
buenisomo esta el mod ese

+1

Usuario: Megaforero
Rango: Recién Llegado
Mensajes: 51
Points: 0
Mi web: http://megaforeros.com
Perfil: View Profile
Pais:
es
Re:Como poner los awards arriba de las firmas
Reply #7 September 24, 2014 - 01:59 13:59
Hola donde se consigue el Members Awards  :o

Gracias

 

TAGS



top

Smfsimple.com es un sitio destinado a brindar un servicio de soporte y herramientas para foros realizados con el sistema de foros gratuito simplemachines.org. Contamos con un selecto equipo de desarrolladores y conocedores del sistema, sus foros estaran en buenas manos.
This site is not affiliated with or endorsed by Simple Machines