1
aixos
newbb 1 look the IP all users - the solution --
  • 2005/1/16 21:22

  • aixos

  • Just popping in

  • Posts: 79

  • Since: 2004/12/31


Segun he leido por ahi, en la web del dtor clone (gracias), hay que buscar el archivo modules/newbb/templaset/newbb_thread.html

Lo que hay que hacer es Editar el newbb_thread.html, luego cambiar lo que pongo y subirlo y actualizar el modulo newbb


Esto es lo que hay que cambiar
<img src="<{$xoops_url}>/images/icons/ip.gif"
alt="<{$topic_post.post_poster_ip}>" />
<
font face="terminal" align="right">La IP de
<{$topic_post.poster_uname}>
es:&nbsp;<{$topic_post.post_poster_ip}>font>


AQUI PONGO TODO EL ARCHIVO

        <
tr>
          <
td class="head"><a id="forumpost<{$topic_post.post_id}>">a> <{$topic_post.poster_uname}>td>
          <
td class="head"><div class="comDate"><span class="comDateCaption"><{$lang_postedon}>span> <{$topic_post.post_date}>div>td>
        tr>
        <
tr>

          <{if 
$topic_post.poster_uid != 0}>

          <
td class="odd"><div class="comUserRank"><div class="comUserRankText"><{$topic_post.poster_rank_title}>div><{$topic_post.poster_rank_image}>div><img class="comUserImg" src="<{$xoops_upload_url}>/<{$topic_post.poster_avatar}>" alt="" /><div class="comUserStat"><span class="comUserStatCaption"><{$lang_joined}>:span> <{$topic_post.poster_regdate}>div><div class="comUserStat"><span class="comUserStatCaption"><{$lang_from}>:span> <{$topic_post.poster_from}>div><div class="comUserStat"><span class="comUserStatCaption"><{$lang_posts}>:span> <{$topic_post.poster_postnum}>div><div class="comUserStatus"><{$topic_post.poster_status}>div>td>

          <{else}>

          <
td class="odd"td>

          <{/if}>

          <
td class="odd">
            <
div class="comTitle"><{$topic_post.post_title}>div><div class="comText"><{$topic_post.post_text}>div>
          td>
        tr>
        <
tr>
          <
td class="even">td>

          <{if 
$viewer_is_admin == true}>

          <
td class="even" align="right">
            <
a href="edit.php?forum=<{$forum_id}>&post_id=<{$topic_post.post_id}>&topic_id=<{$topic_id}>&viewmode=<{$topic_viewmode}>&order=<{$topic_order}>"><img src="<{$xoops_url}>/images/icons/edit.gif" alt="<{$lang_edit}>" />a><a href='delete.php?forum=<{$forum_id}>&topic_id=<{$topic_id}>&post_id=<{$topic_post.post_id}>&viewmode=<{$topic_viewmode}>&order=<{$topic_order}>'><img src="<{$xoops_url}>/images/icons/delete.gif" alt="<{$lang_delete}>" />a><a href='reply.php?forum=<{$forum_id}>&post_id=<{$topic_post.post_id}>&topic_id=<{$topic_id}>&viewmode=<{$topic_viewmode}>&order=<{$topic_order}>'><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$lang_reply}>" />a>

//ver ip desde aqui//

        
<img src="<{$xoops_url}>/images/icons/ip.gif"
alt="<{$topic_post.post_poster_ip}>" />
<
font face="terminal" align="right">La IP de
<{$topic_post.poster_uname}>
es:&nbsp;<{$topic_post.post_poster_ip}>font>

// hasta aqui//
          
td>

          <{elseif 
$xoops_isuser == true && $xoops_userid == $topic_post.poster_uid}>

          <
td class="even" align="right">
            <
a href="edit.php?forum=<{$forum_id}>&post_id=<{$topic_post.post_id}>&topic_id=<{$topic_id}>&viewmode=<{$topic_viewmode}>&order=<{$topic_order}>"><img src="<{$xoops_url}>/images/icons/edit.gif" alt="<{$lang_edit}>" />a><a href='reply.php?forum=<{$forum_id}>&post_id=<{$topic_post.post_id}>&topic_id=<{$topic_id}>&viewmode=<{$topic_viewmode}>&order=<{$topic_order}>'><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$lang_reply}>" />a>
          td>

          <{elseif 
$viewer_can_post == true}>

          <
td class="even" align="right">
            <
a href='reply.php?forum=<{$forum_id}>&post_id=<{$topic_post.post_id}>&topic_id=<{$topic_id}>&viewmode=<{$topic_viewmode}>&order=<{$topic_order}>'><img src="<{$xoops_url}>/images/icons/reply.gif" alt="<{$lang_reply}>" />a>
          td>

          <{else}>

          <
td class="even"td>

          <{/if}>

        tr>

saludos

Login

Who's Online

879 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 879


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits