[Error] Busco cómo poner "Quién estuvo en línea hoy"
ya estuvimos hablando y el theme de el tiene un problema en el index no carga la plantilla index_boardstats. entonces lo tuvo que cargar en la plantilla index el {$online_today}.
Pero hubo algo que no pude hacerle andar.
Postea las fotos por favor.
Pero hubo algo que no pude hacerle andar.
Postea las fotos por favor.
![[Image: 2_21_11_10_6_43_43.jpeg]](http://www.kioscodelart.com/gallery/2_21_11_10_6_43_43.jpeg)
este es el index boardstats:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['boardstats']}.gif" id="boardstats_img" class="expander" alt="[-]" title="[-]" /></div>
<div><strong>{$lang->boardstats}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
{$whosonline}
{$birthdays}
{$viewgroups}
{$forumstats}
<tr>
<td class="tfoot" style="text-align: right">
<span class="smalltext">
{$logoutlink}
<a href="misc.php?action=markread">{$lang->markread}</a> |
<a href="showteam.php">{$lang->forumteam}</a> |
<a href="stats.php">{$lang->forumstats}</a>
</span>
</td>
</tr>
</tbody>
</table>
<br />
esta el index:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
</head>
<body>
{$header}
{$ps_header_index}
{$RainbowStripe}
{$changfcb}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="tcat"> </td>
<td class="tcat" width="100%"><strong>{$lang->forumbit_forum}</strong></td>
<td class="tcat" width="175" align="center" style="white-space:
nowrap"><strong>{$lang->forumbit_lastpost}</strong></td>
<td class="tcat" align="center" style="white-space:
nowrap"><strong>{$lang->forumbit_threads}</strong></td>
<td class="tcat" align="center"><strong>{$lang->forumbit_posts}</strong></td>
</tr>
{$forums}
<tr>
<td class="tfoot" align="center" colspan="5"><a
href="misc.php?action=markread">{$lang->markread}</a>
<a href="showteam.php">{$lang->forumteam}</a>
</td>
</tr>
</table>
<br />
{$ps_footer_index}
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="2">
<div><strong><a href="stats.php">{$lang->forumstats}</a></strong></div>
</td>
</tr>
</thead>
<tr>
<td class="tcat" colspan="2"><div
class="expcolimage"><img
src="{$theme['imgdir']}/stats/collapse{$collapsedimg['ineonline']}.gif"
id="online_img" class="expander" alt="[-]"
/></div><strong>{$lang->whos_online}</strong>
[<a
href="online.php">{$lang->complete_list}</a>]</td>
</tr>
<tbody style="{$collapsed['online_e']}" id="online_e">
<tr>
<td class="trow2" style="width:30px;" align="center"><img
src="$theme[imgdir]/online.gif" alt="{$lang->whos_online}"
/></td>
<td class="trow1"><span
class="smalltext">{$lang->online_note}<br
/>{$onlinemembers}</span></td>
</tr>
</tbody>
{$birthdays}
{$online_today}
<tr><td class="tcat" colspan="2"><div
class="expcolimage"><img
src="{$theme['imgdir']}/stats/collapse{$collapsedimg['boardstats']}.gif"
id="boardstats_img" class="expander" alt="[-]" /></div><a
href="stats.php"><strong>{$lang->boardstats}</strong></a></td></tr>
<tbody style="{$collapsed['boardstats_e']}" id="boardstats_e">
<tr>
<td class="trow2" style="width:30px;" align="center"><img
src="$theme[imgdir]/stats.gif" alt="{$lang->boardstats}"
/></td>
<td class="trow1"><span class="smalltext">
{$lang->stats_posts_threads}
{$lang->stats_numusers}
{$lang->stats_newestuser}
{$lang->stats_mostonline}
</span>
</td>
</tr>
</tbody>
</table>
<div align="center">
<br />
<img src="{$theme['imgdir']}/on.gif" alt="{$lang->new_posts}"
style="vertical-align: middle; padding: 0px 10px 4px 0px;" />
<span class="smalltext">{$lang->new_posts}</span>
<img src="{$theme['imgdir']}/off.gif"
alt="{$lang->no_new_posts}" style="vertical-align: middle; padding:
0px 10px 4px 0px;" /> <span
class="smalltext">{$lang->no_new_posts}</span>
<img src="{$theme['imgdir']}/offlock.gif"
alt="{$lang->forum_locked}" style="vertical-align: middle; padding:
0px 10px 0px 0px;" /> <span
class="smalltext">{$lang->forum_locked}</span>
</div>
</body>
<div align="center" style="font-size:12px"></div>
{$analytics} {$footer}
</html>y esta online_today_index
<tr>
<td class="tcat" colspan="2>
<strong>{$lang->whos_online_today}</strong> [<a
href="online.php?action=today">{$lang->complete_list}</a>]</td>
</tr>
<tr>
<td class="trow2" style="width:30px;" align="center"><img
src="$theme[imgdir]/online.gif"/></td>
<td class="trow2"><span class="smalltext">{$lang->online_note_today}<br />{$onlinemembers}</span></td>
</tr>
Por lo que veo ya te funciona, salvo el archivo ese de lenguaje.
Lo tienes bien subido? No tendrá alguna tilde o así y por eso no funciona?
Lo tienes bien subido? No tendrá alguna tilde o así y por eso no funciona?
No se puso peor, ahora se puso bien. Solo tienes que acomodar la plantilla del online_today_index:
<tr>
<td class="tcat" colspan="2"><strong>{$lang->whos_online_today}</strong> [<a href="online.php?action=today">{$lang->complete_list}</a>]</td>
</tr>
<tr>
<td class="trow2" style="width:30px;" align="center"><img src="{$theme['imgdir']}/online.gif"/></td>
<td class="trow2"><span class="smalltext">{$lang->online_note_today}<br />{$onlinemembers}</span></td>
</tr>
cuando me dices acomodar quieres decir modificar la plantilla para ponerla horizontal no?
y como se hace?
y como se hace?
No no, ponla como te la di en mi último mensaje, es que tenías alguna cosa mal puesta en el código de la plantilla.
ya la puse pero quedo igual
pues yo lo coloque como dijo abdon y quedo perfecto,
si pero entiendan que el theme que tiene qearte esta muy entreverado. Tiene mucho code innecesario y por ejemplo no carga la plantilla index_boardstats. Mmm yo no me anime a tocar lo demas pero tuvimos que cargar el plugin en el index y despues tuve que tocar la plantilla global whos_online_today para que quede como puso en la foto, pero despues no salia el tema del lang no se por que.
mm esta complicada la cosa je
mm esta complicada la cosa je
![[Image: 2_22_11_10_12_16_20.jpeg]](http://www.kioscodelart.com/gallery/2_22_11_10_12_16_20.jpeg)