• 0
  • 19 RepliesReplies
  • 6898 ReadTimes Read
  • 0 PointsPoints

Topic: Cambiar "USER" de sitio en theme Default....

Usuario: Lean
Rango: Fundador
Mensajes: 6782
Points: 236
Perfil: View Profile
Pais:
ar
Re:Cambiar "USER" de sitio en theme Default....
Reply #15 July 31, 2011 - 06:23 18:23
Y claro, como no va a quedar mal si no lo tabulas. Tenes que hacer algo con tablas y acomodarlo como mas te guste.
no avatar
Usuario: Horuslol
Rango: Nuevo Usuario
Mensajes: 21
Points: 1
Mi web: http://neosocial.es
Perfil: View Profile
Re:Cambiar "USER" de sitio en theme Default....
Reply #16 July 31, 2011 - 06:38 18:38
Eso no se hacerlo :S
¿Que tengo que editar?
Usuario: Lean
Rango: Fundador
Mensajes: 6782
Points: 236
Perfil: View Profile
Pais:
ar
Re:Cambiar "USER" de sitio en theme Default....
Reply #17 July 31, 2011 - 06:38 18:38
Pero si dijiste que sabias html y css. Las tablas son lo mas basico de html.

<table></tr>
<td>Avatar</td>
<td>lo demas</td>
</tr></table>
no avatar
Usuario: Horuslol
Rango: Nuevo Usuario
Mensajes: 21
Points: 1
Mi web: http://neosocial.es
Perfil: View Profile
Re:Cambiar "USER" de sitio en theme Default....
Reply #18 July 31, 2011 - 06:47 18:47
Lo puse asi y me da error ._.
Code: [Select]
echo'<div class="user">';
// If the user is logged in, display stuff like their name, new messages, etc.
if ($context['user']['is_logged'])
{
if (!empty($context['user']['avatar']))
echo '  <table></tr>
<td><p class="avatar">', $context['user']['avatar']['image'], '</p></td>';
echo '
<td><ul class="reset">
<li class="greeting">', $txt['hello_member_ndt'], ' <span>', $context['user']['name'], '</span></li>
<li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li></td>';
</tr></table>
// Is the forum in maintenance mode?
if ($context['in_maintenance'] && $context['user']['is_admin'])
echo '
<li class="notice">', $txt['maintain_mode_on'], '</li>';

// Are there any members waiting for approval?
if (!empty($context['unapproved_members']))
echo '
<li>', $context['unapproved_members'] == 1 ? $txt['approve_thereis'] : $txt['approve_thereare'], ' <a href="', $scripturl, '?action=admin;area=viewmembers;sa=browse;type=approve">', $context['unapproved_members'] == 1 ? $txt['approve_member'] : $context['unapproved_members'] . ' ' . $txt['approve_members'], '</a> ', $txt['approve_members_waiting'], '</li>';

if (!empty($context['open_mod_reports']) && $context['show_open_reports'])
echo '
<li><a href="', $scripturl, '?action=moderate;area=reports">', sprintf($txt['mod_reports_waiting'], $context['open_mod_reports']), '</a></li>';

echo '
<li>', $context['current_time'], '</li>
</ul>';
}
Usuario: Lean
Rango: Fundador
Mensajes: 6782
Points: 236
Perfil: View Profile
Pais:
ar
Re:Cambiar "USER" de sitio en theme Default....
Reply #19 July 31, 2011 - 06:59 18:59
Y claro que te dara error. Es lo mismo que te paso antes.

Mira
</tr></table>
      // Is the forum in maintenance mode?

Ahi no cerraste el echo con ';

</tr></table>';
      // Is the forum in maintenance mode?
 

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