IP-address in topic for phpBB3

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Locked
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 28021
Joined: Sat Aug 16, 2003 7:36 am

IP-address in topic for phpBB3

Post by Extensions Robot » Sun Dec 23, 2007 5:42 pm

Modification name: IP-address in topic for phpBB3
Author: rxu
Modification description: Shows posters' IP addresses in topic for administrators and moderators.
Modification version: 2.0.0
Tested on phpBB version: 3.0.0

Download file: ip_in_topic_phpBB3_2.0.0.zip
File size: 30232 Bytes

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Modifications Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Tue Feb 08, 2011 4:50 am, edited 6 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)

Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 25488
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

IP-address in topic for phpBB3

Post by Paul » Sun Dec 23, 2007 5:42 pm

Modification validated/released

Notes:
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

stokerpiller
Registered User
Posts: 1934
Joined: Wed Feb 28, 2007 8:06 pm

Re: IP-address in topic for phpBB3

Post by stokerpiller » Sun Dec 23, 2007 5:55 pm

Testet.
Seems to be working Perfect!
Thanks for this 8-)
I am done with phpBB

Dragen
Registered User
Posts: 88
Joined: Mon Sep 05, 2005 4:17 pm

Re: IP-address in topic for phpBB3

Post by Dragen » Sun Dec 23, 2007 7:24 pm

There didn't seem to be any instruction on adding into the actual page itself.
For anyone who's wondering.

Open 'viewtopic_body.html':
find:

Code: Select all

			<p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> {L_POSTED_ON_DATE} {postrow.POST_DATE}</p>
replace with:

Code: Select all

			<p class="author"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF -->{L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong> {L_POSTED_ON_DATE} {postrow.POST_DATE}<br />
			IP: <strong>{postrow.POSTER_IP}</strong></p>
really nice mod though! very helpful!

User avatar
karlsemple
Former Team Member
Posts: 39802
Joined: Mon Nov 01, 2004 8:54 am
Location: Hereford, UK
Contact:

Re: IP-address in topic for phpBB3

Post by karlsemple » Sun Dec 23, 2007 7:27 pm

Dragen wrote:There didn't seem to be any instruction on adding into the actual page itself.
For anyone who's wondering.
Open the template folder inside the download archive and you will see two XML files one for either of the default templates which should contain the template changes :)
Image

User avatar
shadav
Registered User
Posts: 148
Joined: Thu Dec 01, 2005 7:12 pm
Location: Drowning In Corn Fields
Contact:

Re: IP-address in topic for phpBB3

Post by shadav » Sun Dec 30, 2007 12:36 am

thanks, very simply, yet nice mod to have

notsa
Registered User
Posts: 253
Joined: Sat Jul 28, 2007 7:37 pm

Re: IP-address in topic for phpBB3

Post by notsa » Sun Dec 30, 2007 3:17 am

does this hide the board founders' ip address

rxu
Extensions Development Team
Posts: 3003
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: IP-address in topic for phpBB3

Post by rxu » Sun Dec 30, 2007 3:55 am

No, but here you are if you need ;)
Just replace the appropriate MOD code (when installed) in according to the the following instruction

Code: Select all

#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
				'from'			=> (!empty($row['user_from'])) ? $row['user_from'] : '',
#
#-----[ FIND ]------------------------------------------
#
				'ip'			=> $row['poster_ip'],
#
#-----[ REPLACE WITH ]------------------------------------------
#
				'ip'			=> ($row['user_type'] == USER_FOUNDER) ? '' : $row['poster_ip'],

User avatar
manchumahara
Registered User
Posts: 65
Joined: Sun Jul 15, 2007 2:07 pm
Location: Bangladesh
Contact:

Re: IP-address in topic for phpBB3

Post by manchumahara » Sun Dec 30, 2007 5:41 am

Thank you very much for this nice mod. I have added this mod to my forum.Thanks again... :D

User avatar
ac_roma
Registered User
Posts: 307
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: IP-address in topic for phpBB3

Post by ac_roma » Sun Dec 30, 2007 12:14 pm

nice sinple mod
thanks ;)

notsa
Registered User
Posts: 253
Joined: Sat Jul 28, 2007 7:37 pm

Re: IP-address in topic for phpBB3

Post by notsa » Sun Dec 30, 2007 3:53 pm

thanks this is now perfect :) :)

hawkeyenl
Registered User
Posts: 9
Joined: Wed Dec 05, 2007 9:43 pm

Re: IP-address in topic for phpBB3

Post by hawkeyenl » Tue Jan 01, 2008 11:17 am

I just installed this on my forum.
I use the -=Inspiration Theme By Echo=- and it works perfect as well.

Thanks!

User avatar
aquazero
Registered User
Posts: 11
Joined: Sat Dec 15, 2007 7:33 am
Location: Singapore
Contact:

Re: IP-address in topic for phpBB3

Post by aquazero » Thu Jan 03, 2008 1:55 pm

Thanks. it works well for SKY BLUE theme... which is prosilver based.. :D

Molopää
Registered User
Posts: 75
Joined: Mon Jan 15, 2007 7:15 pm

Re: IP-address in topic for phpBB3

Post by Molopää » Sun Jan 06, 2008 8:52 am

Modification description: Shows posters' IP addresses in topic for administrators and moderators.
Ok, but how is private messages PM ? Can I see IP ?

And how is subsilver2 ?

rxu
Extensions Development Team
Posts: 3003
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan
Contact:

Re: IP-address in topic for phpBB3

Post by rxu » Tue Jan 08, 2008 5:54 am

Molopaa wrote:Ok, but how is private messages PM ? Can I see IP ?
Generally speaking, the MOD title is IP-address in topic, not in PM. The last one could be a different MOD I guess :)
Molopaa wrote:And how is subsilver2 ?
You can find installation instruction for subsilver2 in /templates folder of the MOD package.
Last edited by rxu on Thu Jan 10, 2008 2:27 am, edited 1 time in total.

Locked

Return to “[3.0.x] MOD Database Releases”