1
otello
newbb forum from anonimous to ip address ...
  • 2004/8/17 7:01

  • otello

  • Friend of XOOPS

  • Posts: 24

  • Since: 2004/6/18


Hi,

I would like to change, on the newbb forum, the dispay of Anonymous poster with the Ip address ...

Like "message posted by 100.111.111.111"
instead of Anonymous ...

How can I do ?

Thanks .. otello.

2
otello
Re: newbb forum from anonimous to ip address ...
  • 2004/8/20 6:42

  • otello

  • Friend of XOOPS

  • Posts: 24

  • Since: 2004/6/18


No good ideas ?
Maybe this could be a new 2newbb feature?

Thanks ;)

otello.

3
otello
Re: newbb forum from anonimous to ip address ...
  • 2004/8/26 19:28

  • otello

  • Friend of XOOPS

  • Posts: 24

  • Since: 2004/6/18


Predator in my localized Forum answered me :

Thanks a lot to Predator ;))))

4
falcon911
Re: newbb forum from anonimous to ip address ...
  • 2004/8/31 23:00

  • falcon911

  • Just popping in

  • Posts: 12

  • Since: 2004/7/20


well post it here. Does no good to us without an answer. Sorry but maybe others are having the same issue as you..

5
Anonymous
Re: newbb forum from anonimous to ip address ...
  • 2004/9/1 5:04

  • Anonymous

  • Posts: 0

  • Since:


hi falcon911,

didn`t saw this here, only the posting on the italian site.

Just add in the templete newbb_thread.html in the place where you want:

<{if $viewer_is_admin == true}>
<{
$topic_post.post_poster_ip}>
<{/if}>

6
falcon911
Re: newbb forum from anonimous to ip address ...
  • 2004/9/3 21:08

  • falcon911

  • Just popping in

  • Posts: 12

  • Since: 2004/7/20


So it should look like this exactly in the HTML?

<{if $viewer_is_admin == true}>
<{$topic_post.post_poster_ip}>
<{/if}>
Or is there some sort of offset for the lines ?

Thanks

Better off.. send a copy of the HTML file to dcsvany@mindspring.com

7
falcon911
Re: newbb forum from anonimous to ip address ...
  • 2004/9/3 21:11

  • falcon911

  • Just popping in

  • Posts: 12

  • Since: 2004/7/20


Also. I might need to double check my security settings. There a place where in XOOPS that I might have checked/turned it off?

8
falcon911
Re: newbb forum from anonimous to ip address ...
  • 2004/9/29 22:46

  • falcon911

  • Just popping in

  • Posts: 12

  • Since: 2004/7/20


OK it's already in there. But it does not seem to work.. I have FULL webmaster rights and I still do not see the ip addresses. Ideas?

BUT!!

Well I guess sort of a dumb question. Should I be editing this via a HTML editior or via the templates in the admin section.

9
Bassman
Re: newbb forum from anonimous to ip address ...
  • 2004/9/29 23:01

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


I'm assuming you have cloned the default template set and edited your clone? If you don't, the changes won't show.

10
falcon911
Re: newbb forum from anonimous to ip address ...
  • 2004/9/30 0:35

  • falcon911

  • Just popping in

  • Posts: 12

  • Since: 2004/7/20


Well I'm alittle HTML un-gifted.. But I cloned the default template and this is what I have so far... I did add the above mention addition to the cloned.
Once I do this . I go into forums and once I get down to the thread I get a default looking (orgional theme) page with nothing on it but the old standard NEWBB template. I am using neWPC_black as a Default theme.

Below is what I cloned and added.. Look for the <------ADDED (yes I did not add that into the code.)
www.miamivehicles.com

<!-- start comment post -->
<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}>
<{$topic_post.post_poster_ip}> <---added
<{/if}> <---added

<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>
</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>
<!-- end comment post -->

Login

Who's Online

265 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 265


more...

Donat-O-Meter

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

Latest GitHub Commits