Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
Changelog 2016-06-26
• Admin Logs -Fixed IP address logging after performing an admin function with Control Panel.
• Admin Logs -This template is now cleaned up and works with IPv6 addresses. Also fixed are the page validation errors -- there were many of them.

---

NOTES

IPv4 maths: (75x structure)
4 groups of 3 digits with 3 '.' between them. [192.168.000.001]
4 * 3 + 3 = 15
plus a trailing null = 16

IPv6 maths: (76x structure)
8 groups of 4 digits with 7 ':' between them.
8 * 4 + 7 = 39
plus a trailing null = 40

To take into account the IPv4 tunneling features [0000:0000:0000:0000:0000:0000:192.168.000.001],
(6 * 4 + 5) + 1 + (4 * 3 + 3) = 29 + 1 + 15 = 45
plus a trailing null = 46


Beta testers: To allow IPv6 addresses within your Admin Logs and WhosOnline, run this SQL from:
Control Panel > Database Tools > SQL Command

Code
ALTER TABLE ubbt_ADMIN_LOG
CHANGE LOG_IP LOG_IP VARCHAR(46);
ALTER TABLE ubbt_ONLINE
CHANGE ONLINE_USER_IP ONLINE_USER_IP VARCHAR(46);

This will be coded within the upgrader script before release.
20161003 added to altertable-7.6.0.php
Attachments
20160626_16-20-21.PNG


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Sponsored Links

Moderated by  Gizmo, isaac 

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)