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.)
http://www.miamivehicles.com



<{$topic_post.poster_uname}>
<{$lang_postedon}> <{$topic_post.post_date}>




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

<{$topic_post.poster_rank_title}>
<{$topic_post.poster_rank_image}>
<{$lang_joined}>: <{$topic_post.poster_regdate}>
<{$lang_from}>: <{$topic_post.poster_from}>
<{$lang_posts}>: <{$topic_post.poster_postnum}>
<{$topic_post.poster_status}>


<{else}>



<{/if}>


<{$topic_post.post_title}>
<{$topic_post.post_text}>






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


<{$lang_edit}><{$lang_delete}><{$lang_reply}>


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


<{$lang_edit}><{$lang_reply}>


<{elseif $viewer_can_post == true}>


<{$lang_reply}>


<{else}>



<{/if}>



Login

Who's Online

374 user(s) are online (273 user(s) are browsing Support Forums)


Members: 0


Guests: 374


more...

Donat-O-Meter

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

Latest GitHub Commits