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.
Notam
Registered User
Posts: 28
Joined: Mon Oct 06, 2008 10:46 am

Re: IP-address in topic for phpBB3

Post by Notam » Sat Feb 14, 2009 3:23 pm

Mario_AU wrote:i just installed 3.0.4, (from 3.0.0), all is well and i am reinstalling mods again.
i did a full and fresh install - good to keep me on my toes.
now my only comment here is to say that i would have hoped that this mod or the outcome of it would have been added into phpbb proper by now. i mean what forum software doesn't come with show ip to admin/mods in the topics ?

and thanks again rxu.....
Same thing for me too

fishmanuk
Registered User
Posts: 24
Joined: Fri Feb 16, 2007 6:12 pm

Re: IP-address in topic for phpBB3

Post by fishmanuk » Sun Feb 15, 2009 10:32 am

For me
Admins can see the IP in the topic
Global Mods can
Admin using forum moderators permissions can
Forum mod with full moderator permissions cannot see the IP in the topic even though they can in post details

If this is the intention that is fine, just wondering

User avatar
Chabbal
Registered User
Posts: 189
Joined: Wed Mar 18, 2009 6:17 pm

Installed successfully but not working

Post by Chabbal » Fri Mar 27, 2009 6:59 am

hi,

i installed this mod on v3.0.4 and i am using "mile200" Style.

i used AutoMod for installing this mod.

but after install where is it's menu? where can i configure this mod?

i am not able to see IP address anywhere on topics.

why is this?

please help...

User avatar
Chabbal
Registered User
Posts: 189
Joined: Wed Mar 18, 2009 6:17 pm

Re: IP-address in topic for phpBB3

Post by Chabbal » Fri Mar 27, 2009 12:14 pm

hi,

i installed this mod on v3.0.4 and i am using "mile200" Style.

i used AutoMod for installing this mod.

but after install where is it's menu? where can i configure this mod?

i am not able to see IP address anywhere on topics.

why is this?

please help...

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 » Fri Mar 27, 2009 1:16 pm

Chabbal
Please note that AutoMOD is in beta stage yet.
Anyway, I guess AutoMOD didn't install the MOD on your custom style, thus you have to do it manually, editing mile200 template (*.html) files in according to the MOD installation instruction. Purge the cache and refresh mile200 template in ACP after edits.
Chabbal wrote:where can i configure this mod?
The MOD doesn't have it's own menu, it's not configurable :)

User avatar
Chabbal
Registered User
Posts: 189
Joined: Wed Mar 18, 2009 6:17 pm

Re: IP-address in topic for phpBB3

Post by Chabbal » Fri Mar 27, 2009 2:37 pm

rxu wrote:Chabbal
Please note that AutoMOD is in beta stage yet.
Anyway, I guess AutoMOD didn't install the MOD on your custom style, thus you have to do it manually, editing mile200 template (*.html) files in according to the MOD installation instruction. Purge the cache and refresh mile200 template in ACP after edits.
Chabbal wrote:where can i configure this mod?
The MOD doesn't have it's own menu, it's not configurable :)
where and how can i edit the template of my style?

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 » Fri Mar 27, 2009 3:16 pm

Thats' not too short story ;)
You might need to read this tutorial.

naive
Registered User
Posts: 43
Joined: Sun Apr 15, 2007 3:32 pm

Re: IP-address in topic for phpBB3

Post by naive » Sun Apr 05, 2009 2:03 pm

mr.beery wrote:
rxu wrote:If you want all of registered users to see IP address, try to use the following code instead of the stock one in viewtopic.php

Code: Select all

'POSTER_IP'			=> ($user->data['is_registered']) ? $row['poster_ip'] : '',
mr.beery wrote:Can ip address to show in 127.0.0.xxx ?
It shows address that is in database, so if it's 127.0.0.x, it will be shown as well :)
Thank for you code , it work .
but i need to censor ip only last number.
if my ip is 127.0.0.1 i want that ip show in topic in 127.0.0.x
and admin or mod can see full ip in 127.0.0.1
Thank you very much for this great MOD with easy installation, rxu.
Like what mr.beery said, is it possible to show only the first three parts of ip, such as 123.123.123 instead of 123.123.123.123?

bfo
Registered User
Posts: 1
Joined: Sat Apr 25, 2009 3:18 am

Re: IP-address in topic for phpBB3

Post by bfo » Sat Apr 25, 2009 3:23 am

I want to hide the ipaddress on our forum board, can anyone walk me thru this?

User avatar
Neuropass
Registered User
Posts: 1158
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: IP-address in topic for phpBB3

Post by Neuropass » Thu Aug 20, 2009 4:12 am

rxu wrote: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'],


i'm not sure i understood these instruction. there are two "find" and i "replace" doeas it mean that i have to replace those find twice?

Also how can a make the ip in topic clickable? so i don't have to go in the ACP to see the log.


Thanksd a lot in advance.. 8-)

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 » Thu Aug 20, 2009 12:29 pm

Neuropass wrote:there are two "find" and i "replace" doeas it mean that i have to replace those find twice?
Nope, you replace only last "FIND" entry.
Neuropass wrote:Also how can a make the ip in topic clickable?
What should be triggered by click?

User avatar
Neuropass
Registered User
Posts: 1158
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: IP-address in topic for phpBB3

Post by Neuropass » Thu Aug 20, 2009 1:02 pm

rxu wrote:What should be triggered by click?
Thanks for your reply..

I meant The Ip that is showing on topic..

User avatar
muggins
Registered User
Posts: 1183
Joined: Fri Feb 22, 2008 5:12 pm
Location: Texas
Name: Donovan
Contact:

Re: IP-address in topic for phpBB3

Post by muggins » Thu Aug 20, 2009 2:27 pm

I think what rxu means is "What do you want to happen when you click on the IP?"

On my board, it pops up a map of the location. If I remember correctly, the default is phpBB's 'whois' pop-up.
Muggins

User avatar
Neuropass
Registered User
Posts: 1158
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: IP-address in topic for phpBB3

Post by Neuropass » Thu Aug 20, 2009 7:46 pm

sorry i didn't understand it.. Ya i would like to have it to be displayed the map and the infos for that ip directly by clicking in the ip in topic.. how can i do that?

thanks in advance for your reply..

User avatar
anahel
Registered User
Posts: 10
Joined: Tue Jul 14, 2009 3:58 pm
Location: Dom!
Contact:

Re: IP-address in topic for phpBB3

Post by anahel » Thu Aug 20, 2009 9:46 pm

i've used something like this:

viewtopic_body.html

Code: Select all

		<!-- IF postrow.POSTER_IP --><dd><strong>{L_IP}:</strong><a href="http://private.dnsstuff.com/tools/ipall.ch?domain={postrow.POSTER_IP}" onclick="popup(this.href, 550, 790);return false;">{postrow.POSTER_IP}</a></dd><!-- ENDIF -->
so when you click user ip you'll get popup with ipinfo and map :)

Locked

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