ok so i admit v2 was a little bit of a flop, i made quite a few errors/mistakes
due to me not sleeping for a few days etc.
so im gonna try and make up for it now with a very early release of v3
there was too many errors in v2 not to do this, ive gone over this copy a number of times
and its alot better to use than v2.
without further a due.
================
CHANGES IN v3 (3.0)
================
1. New time and date setup/look. now using gmdate() rather than date()
BOTH time settings and date setting are using gmdate() this is to get
the best/most accurate time possible when changing the time manually
from config.php
now looks like: >> Sunday 10th of June 2012 - 11:35 AM
2. Rewrite of old times files. All 7 Files Have Been Updated.
old files used gmdate and was very un-accurate.
now has 104 different timezones
using gmdate() rather than date()
Can Modify These Pages Heavily From Within config.php
may change this to css modifying at later release.
(Possibly Can Be Out By 1 Hour, Depending On Daylight Saving Or Not)
3. Rooms.php
Made Sure Everything Is Visable To The Correct People This Time
4. Ban.php Fixed.
Should No Longer Get Cannot Modify Header Error Warnings.
should now ban/boot users properly.
5. IPBan.php
Should No Longer Get Cannot Modify Header Error Warnings.
should now ban/boot users properly.
(although i dont like this tool very much its still there)
6. Staffroom Folder Fully Fixed.
When Doing Version 2, I Used Room1 Folder As A Base For All
Other Rooms, So I Only Had Minor Tweaks To Do Then, I Failed
To Forget, That In Version 1 I Put Special Precautions In Place,
To Stop Non Staff Members Entering Any Part Of Staffroom From
Simply Inputing The Staffroom Address Into Url. These Precautions
Have Now Once Again Been Recoded Into The Script, And The Error
On My Part Will Never Happen Again.
7. Added protection to config.php file from direct url access.
8. Removed even more useless/not needed code.
9. (NEW) Created A Version Checker For The Script. (Location: main/rooms.php)
Owner Will Be Alerted When Entering The rooms.php File If
A New Version Is Available With A Download Location.
Some Example:::
----------------------------------------------------------
There is a new version released
download @ SomeAddress.com
Your Version: xhtml v3 (3.0)
New Version: xhtml v3 (3.1)
----------------------------------------------------------
From Time To Time. you may get a php error warning saying something like
------------------------------------------------------------------------
Warning: file_get_contents() [function.file-get-contents]:
php_network_getaddresses: getaddrinfo failed: Name or service not known
in /home/ghost/public_html/main/rooms.php on line 190
Warning: file_get_contents(http://mobile-chat.uk.to/xhtmlversion.php)
[function.file-get-contents]: failed to open stream:
php_network_getaddresses: getaddrinfo failed: Name or service not known
in /home/ghost/public_html/main/rooms.php on line 190
Warning: file_get_contents() [function.file-get-contents]:
php_network_getaddresses: getaddrinfo failed: Name or service not known
in /home/ghost/public_html/main/rooms.php on line 191
Warning: file_get_contents(http://mobile-chat.uk.to/xhtmldownloadlink.php)
[function.file-get-contents]: failed to open stream:
php_network_getaddresses: getaddrinfo failed: Name or service not known
in /home/ghost/public_html/main/rooms.php on line 191.
------------------------------------------------------------------------
This will be Due to The Server The Checks Go to
maybe down/slow for some reason. you can either stick it out
(as it will only appear on rooms.php)
or you can comment out the whole version check function from start to end.
you can easily find it in rooms.php it is heavily commented for you.
this function was originally gonna be put half in rooms and half in config.
but when in config i noticed when error testing the warning would spam over every single
file, by putting it all in rooms.php,
if the error did appear it would be limited to 1 room.
10. Minor Edit in css file.
removed all bold options from all links.
added the hover function for links for ppl that use pc / mouse cursors etc.
and set bold to it to make it distinctive.
--------------------------------
as always likes/thanks appreciated,
hope you enjoy.
--------------------------------
Demo: Xhtml v3
due to me not sleeping for a few days etc.
so im gonna try and make up for it now with a very early release of v3
there was too many errors in v2 not to do this, ive gone over this copy a number of times
and its alot better to use than v2.
without further a due.
================
CHANGES IN v3 (3.0)
================
1. New time and date setup/look. now using gmdate() rather than date()
BOTH time settings and date setting are using gmdate() this is to get
the best/most accurate time possible when changing the time manually
from config.php
now looks like: >> Sunday 10th of June 2012 - 11:35 AM
2. Rewrite of old times files. All 7 Files Have Been Updated.
old files used gmdate and was very un-accurate.
now has 104 different timezones
using gmdate() rather than date()
Can Modify These Pages Heavily From Within config.php
may change this to css modifying at later release.
(Possibly Can Be Out By 1 Hour, Depending On Daylight Saving Or Not)
3. Rooms.php
Made Sure Everything Is Visable To The Correct People This Time
4. Ban.php Fixed.
Should No Longer Get Cannot Modify Header Error Warnings.
should now ban/boot users properly.
5. IPBan.php
Should No Longer Get Cannot Modify Header Error Warnings.
should now ban/boot users properly.
(although i dont like this tool very much its still there)
6. Staffroom Folder Fully Fixed.
When Doing Version 2, I Used Room1 Folder As A Base For All
Other Rooms, So I Only Had Minor Tweaks To Do Then, I Failed
To Forget, That In Version 1 I Put Special Precautions In Place,
To Stop Non Staff Members Entering Any Part Of Staffroom From
Simply Inputing The Staffroom Address Into Url. These Precautions
Have Now Once Again Been Recoded Into The Script, And The Error
On My Part Will Never Happen Again.
7. Added protection to config.php file from direct url access.
8. Removed even more useless/not needed code.
9. (NEW) Created A Version Checker For The Script. (Location: main/rooms.php)
Owner Will Be Alerted When Entering The rooms.php File If
A New Version Is Available With A Download Location.
Some Example:::
----------------------------------------------------------
There is a new version released
download @ SomeAddress.com
Your Version: xhtml v3 (3.0)
New Version: xhtml v3 (3.1)
----------------------------------------------------------
From Time To Time. you may get a php error warning saying something like
------------------------------------------------------------------------
Warning: file_get_contents() [function.file-get-contents]:
php_network_getaddresses: getaddrinfo failed: Name or service not known
in /home/ghost/public_html/main/rooms.php on line 190
Warning: file_get_contents(http://mobile-chat.uk.to/xhtmlversion.php)
[function.file-get-contents]: failed to open stream:
php_network_getaddresses: getaddrinfo failed: Name or service not known
in /home/ghost/public_html/main/rooms.php on line 190
Warning: file_get_contents() [function.file-get-contents]:
php_network_getaddresses: getaddrinfo failed: Name or service not known
in /home/ghost/public_html/main/rooms.php on line 191
Warning: file_get_contents(http://mobile-chat.uk.to/xhtmldownloadlink.php)
[function.file-get-contents]: failed to open stream:
php_network_getaddresses: getaddrinfo failed: Name or service not known
in /home/ghost/public_html/main/rooms.php on line 191.
------------------------------------------------------------------------
This will be Due to The Server The Checks Go to
maybe down/slow for some reason. you can either stick it out
(as it will only appear on rooms.php)
or you can comment out the whole version check function from start to end.
you can easily find it in rooms.php it is heavily commented for you.
this function was originally gonna be put half in rooms and half in config.
but when in config i noticed when error testing the warning would spam over every single
file, by putting it all in rooms.php,
if the error did appear it would be limited to 1 room.
10. Minor Edit in css file.
removed all bold options from all links.
added the hover function for links for ppl that use pc / mouse cursors etc.
and set bold to it to make it distinctive.
--------------------------------
as always likes/thanks appreciated,
hope you enjoy.
--------------------------------
Demo: Xhtml v3
Comment