• 0
  • 5 RepliesReplies
  • 2298 ReadTimes Read
  • 0 PointsPoints

Topic: Dos cosas porfavor

Usuario: Shunsito
Rango: Nuevo Usuario
Mensajes: 192
Points: 4
Mi web: http://zstudios.cf
Perfil: View Profile
Pais:
ve
Dos cosas porfavor
June 25, 2011 - 01:11 01:11
La Primera es como pongo los mensajes recientes en la parte de arriba .. debajo de News faders .. lo intente hacer manual y hubo errores ..

la segunda es que en el perfil salga abajo de los mensajes salga el conteo de temas
Necesitas DiseƱo para tu foro?
visitanos en zStudios.cf
Usuario: Lean
Rango: Fundador
Mensajes: 6782
Points: 236
Perfil: View Profile
Pais:
ar
Re:Dos cosas porfavor
Reply #1 June 25, 2011 - 01:51 01:51
la primera, buscas esto en el boardIndex.template.php
Code: [Select]
// This is the "Recent Posts" bar.
if (!empty($settings['number_recent_posts']) && (!empty($context['latest_posts']) || !empty($context['latest_post'])))
{
echo '
<div class="title_barIC">
<h4 class="titlebg">
<span class="ie6_header floatleft">
<a href="', $scripturl, '?action=recent"><img class="icon" src="', $settings['images_url'], '/post/xx.gif" alt="', $txt['recent_posts'], '" /></a>
', $txt['recent_posts'], '
</span>
</h4>
</div>
<div class="hslice" id="recent_posts_content">
<div class="entry-title" style="display: none;">', $context['forum_name_html_safe'], ' - ', $txt['recent_posts'], '</div>
<div class="entry-content" style="display: none;">
<a rel="feedurl" href="', $scripturl, '?action=.xml;type=webslice">', $txt['subscribe_webslice'], '</a>
</div>';

// Only show one post.
if ($settings['number_recent_posts'] == 1)
{
// latest_post has link, href, time, subject, short_subject (shortened with...), and topic. (its id.)
echo '
<strong><a href="', $scripturl, '?action=recent">', $txt['recent_posts'], '</a></strong>
<p id="infocenter_onepost" class="middletext">
', $txt['recent_view'], ' &quot;', $context['latest_post']['link'], '&quot; ', $txt['recent_updated'], ' (', $context['latest_post']['time'], ')<br />
</p>';
}
// Show lots of posts.
elseif (!empty($context['latest_posts']))
{
echo '
<dl id="ic_recentposts" class="middletext">';

/* Each post in latest_posts has:
board (with an id, name, and link.), topic (the topic's id.), poster (with id, name, and link.),
subject, short_subject (shortened with...), time, link, and href. */
foreach ($context['latest_posts'] as $post)
echo '
<dt><strong>', $post['link'], '</strong> ', $txt['by'], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</dt>
<dd>', $post['time'], '</dd>';
echo '
</dl>';
}
echo '
</div>';
}

Y lo moves adonde quieras ponerlo, si lo queres poner arriba de todo lo pones anes del
Code: [Select]
// Show some statistics if stat info is off.
La segunda es un mod creo, buscalo en simplemachines. Algo de topic count post algo asi
Usuario: Shunsito
Rango: Nuevo Usuario
Mensajes: 192
Points: 4
Mi web: http://zstudios.cf
Perfil: View Profile
Pais:
ve
Re:Dos cosas porfavor
Reply #2 June 25, 2011 - 02:09 02:09
Bueno gracias por la primera ... pero la segunda no la encuentro .. ese mod no lo encuentro alguna forma de hacerlo manual
Usuario: Lean
Rango: Fundador
Mensajes: 6782
Points: 236
Perfil: View Profile
Pais:
ar
Re:Dos cosas porfavor
Reply #3 June 25, 2011 - 02:14 02:14
Habia que buscar un poquito nomas, de hecho te di las palabras claves para encontrarlo.
http://custom.simplemachines.org/mods/index.php?mod=1003
Dice para RC4 pero seguramente funciona en RC5 y 2.0 porque no hace grandes cambios.
Salutes
Usuario: Shunsito
Rango: Nuevo Usuario
Mensajes: 192
Points: 4
Mi web: http://zstudios.cf
Perfil: View Profile
Pais:
ve
Re:Dos cosas porfavor
Reply #4 June 25, 2011 - 02:44 02:44
Bueno listo gracias Lean
Usuario: Lean
Rango: Fundador
Mensajes: 6782
Points: 236
Perfil: View Profile
Pais:
ar
Re:Dos cosas porfavor
Reply #5 June 25, 2011 - 10:17 10:17
Por nada, saludos
 

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