bbd83
New Member
Posts: 17
inherit
189014
0
Mar 11, 2013 7:56:58 GMT -8
bbd83
17
January 2013
bbd83
|
Post by bbd83 on Jan 27, 2013 9:15:06 GMT -8
As a moderator I loved this code in the previous version of Proboards. Has anything been developed for this in V5? Copied below is what I used for the old version. Any help would be appreciated!
Browser Tested: IE and FF placement: Global footer
this code will make the IP addresses at the bottom of each post, and in someone's profile clickable and will take you to whatismyipaddress.com as a query.
code:
<script type="text/javascript"> <!-- // IP lookup v1.0 // by Wormopolis -www.wormocodes.com // Do not repost - keep header intact
if (pb_action.match(/display|viewprofile|search2/)) { for (tds=document.getElementsByTagName('td'), tt=0; tt<tds.length; tt++) {
if (tds[tt].previousSibling && tds[tt].previousSibling.width=='25%' && tds[tt].firstChild && tds[tt].firstChild.nodeName.match(/font/i) && tds[tt].firstChild.size && tds[tt].firstChild.size=='2' && tds[tt].firstChild.innerHTML.match(/(\d+\.\d+\.\d+\.\d+)/)) { var res=RegExp.$1; var nwlnk=document.createElement('a'); nwlnk.href="http://whatismyipaddress.com/ip/"+res; nwlnk.target="_blank"; nwlnk.innerHTML=res; tds[tt].firstChild.replaceChild(nwlnk, tds[tt].firstChild.firstChild); } if (tds[tt].width=='80%' && tds[tt].className.match(/windowbg/) && tds[tt].vAlign=='top') { for (fnt=tds[tt].getElementsByTagName('font'), ff=0; ff<fnt.length; ff++) {
if (fnt[ff].size=='1' && fnt[ff].innerHTML.match(/ip\.(png|gif)/) && fnt[ff].innerHTML.match(/(\d+\.\d+\.\d+\.\d+)/)) { var res=RegExp.$1; var nwlnk=document.createElement('a'); nwlnk.href="http://whatismyipaddress.com/ip/"+res; nwlnk.target="_blank"; nwlnk.innerHTML=res; fnt[ff].replaceChild(nwlnk, fnt[ff].firstChild.nextSibling); } } } } }
//--> </script>
|
|
inherit
184444
0
Jun 22, 2019 13:28:08 GMT -8
AshFR
1,008
October 2012
gemaddog7
|
Post by AshFR on Jan 27, 2013 14:53:48 GMT -8
But wouldn't this code be obsolete since you can no longer see any I.P in V.5?
|
|
bbd83
New Member
Posts: 17
inherit
189014
0
Mar 11, 2013 7:56:58 GMT -8
bbd83
17
January 2013
bbd83
|
Post by bbd83 on Jan 28, 2013 11:30:11 GMT -8
But wouldn't this code be obsolete since you can no longer see any I.P in V.5? Yes, but I saw in another thread that someone wanted the previous code to work off of. Thought it might help... Any ideas?
|
|
inherit
126477
0
Apr 21, 2023 15:18:52 GMT -8
Shrike
Re-appeared briefly after 6 years only to no doubt disappear again.
1,569
June 2008
shrike
|
Post by Shrike on Jan 28, 2013 13:34:03 GMT -8
You can only see the IP addresses in the security log now, so this code wouldn't be able to work.
|
|
bbd83
New Member
Posts: 17
inherit
189014
0
Mar 11, 2013 7:56:58 GMT -8
bbd83
17
January 2013
bbd83
|
Post by bbd83 on Jan 29, 2013 14:50:30 GMT -8
You can only see the IP addresses in the security log now, so this code wouldn't be able to work. Does this mean that a code cannot be created for moderators to lookup IP's on their own, or their simply has not been one created yet to do this? In looking at the security log, it doesn't even show full IP's of those who have participated... This previous code was very useful for me in helping find and ban a select few members who were misbehaving on the site. I hope Admins will have the ability to look these up in the future on V5.
|
|
inherit
126477
0
Apr 21, 2023 15:18:52 GMT -8
Shrike
Re-appeared briefly after 6 years only to no doubt disappear again.
1,569
June 2008
shrike
|
Post by Shrike on Jan 29, 2013 15:28:39 GMT -8
You can only see the IP addresses in the security log now, so this code wouldn't be able to work. Does this mean that a code cannot be created for moderators to lookup IP's on their own, or their simply has not been one created yet to do this? In looking at the security log, it doesn't even show full IP's of those who have participated... This previous code was very useful for me in helping find and ban a select few members who were misbehaving on the site. I hope Admins will have the ability to look these up in the future on V5. As I said, you can only see IP addresses in the security log which plugins can't do anything with. You can still see if a member's IP matches that of another member's by going to their profile and selecting "Search by IP" in the menu (can search posts, members, threads and the security log). The only thing is that you don't see the whole IP anywhere apart from the security log (the last octet is hidden, but adding .1 to the first three will give an accurate enough location).
|
|
inherit
119768
0
Nov 4, 2023 0:57:55 GMT -8
nob
176
February 2008
nob
|
Post by nob on Feb 1, 2013 7:26:02 GMT -8
You can see IPs if you are a mod by clicking on the gear top right of a post then moderate, the IP will show.
|
|
inherit
184444
0
Jun 22, 2019 13:28:08 GMT -8
AshFR
1,008
October 2012
gemaddog7
|
Post by AshFR on Feb 1, 2013 7:27:43 GMT -8
No, it was gone, but it seems it's back now.
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Feb 1, 2013 8:09:54 GMT -8
Wonderful that it is back - is it now possible to have the IP lookup code changed to V5 now perhaps??
RF
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Feb 2, 2013 6:18:35 GMT -8
Now that we an see IP's again, would it be possible to see the IP of "Guests" again please...??
RF
|
|
Former Member
inherit
guest@proboards.com
134807
0
Nov 24, 2024 7:26:04 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Feb 2, 2013 6:27:18 GMT -8
Yes please from me too.
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Feb 4, 2013 3:27:12 GMT -8
As a moderator I loved this code in the previous version of Proboards. Has anything been developed for this in V5? Copied below is what I used for the old version. Any help would be appreciated! Browser Tested: IE and FF placement: Global footer
this code will make the IP addresses at the bottom of each post, and in someone's profile clickable and will take you to whatismyipaddress.com as a query.
code: <script type="text/javascript"> <!-- // IP lookup v1.0 // by Wormopolis -www.wormocodes.com // Do not repost - keep header intact
if (pb_action.match(/display|viewprofile|search2/)) { for (tds=document.getElementsByTagName('td'), tt=0; tt<tds.length; tt++) {
if (tds[tt].previousSibling && tds[tt].previousSibling.width=='25%' && tds[tt].firstChild && tds[tt].firstChild.nodeName.match(/font/i) && tds[tt].firstChild.size && tds[tt].firstChild.size=='2' && tds[tt].firstChild.innerHTML.match(/(\d+\.\d+\.\d+\.\d+)/)) { var res=RegExp.$1; var nwlnk=document.createElement('a'); nwlnk.href="http://whatismyipaddress.com/ip/"+res; nwlnk.target="_blank"; nwlnk.innerHTML=res; tds[tt].firstChild.replaceChild(nwlnk, tds[tt].firstChild.firstChild); } if (tds[tt].width=='80%' && tds[tt].className.match(/windowbg/) && tds[tt].vAlign=='top') { for (fnt=tds[tt].getElementsByTagName('font'), ff=0; ff<fnt.length; ff++) {
if (fnt[ff].size=='1' && fnt[ff].innerHTML.match(/ip\.(png|gif)/) && fnt[ff].innerHTML.match(/(\d+\.\d+\.\d+\.\d+)/)) { var res=RegExp.$1; var nwlnk=document.createElement('a'); nwlnk.href="http://whatismyipaddress.com/ip/"+res; nwlnk.target="_blank"; nwlnk.innerHTML=res; fnt[ff].replaceChild(nwlnk, fnt[ff].firstChild.nextSibling); } } } } }
//--> </script> I'll probably get something up here tonight or tomorrow for you to try out. Now that we an see IP's again, would it be possible to see the IP of "Guests" again please...?? RF If it's not there now then a code wont do anything, you'd have to ask PB's. I don't think they even have the 'number of guests in the last 24 hours' anymore do they ?
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Feb 4, 2013 3:31:02 GMT -8
Not sure Pebble - Guests yes but in the last 24, I am not sure...probably another 007 situation!! RF
|
|
inherit
162752
0
Nov 7, 2024 3:58:23 GMT -8
Pebble
Where it all does or doesn't happen!
1,437
January 2011
pebbleleague
|
Post by Pebble on Feb 4, 2013 7:19:41 GMT -8
Download: IP Look up (Alpha) (0.0.1)This plugin will put a button (IP) next to the quote button, for staff only. Pressing this will open up a new window with the whatsmyipaddress.com website showing the location of the IP of that post. This is an alpha release so there may be bugs. Let me know one way or the other.
|
|
Mike
Junior Member
Posts: 324
inherit
186646
0
Oct 21, 2017 6:40:31 GMT -8
Mike
324
December 2012
mike1972
|
Post by Mike on Feb 4, 2013 7:41:43 GMT -8
Seems to be working just fine, pebble. I've tested it with a few different IP's without any issues.
|
|