![]() |
URL Status Checker
This is a simple hack, Just copy and paste two bits of code into two files (admin/functions.php and member.php), it adds a real handy url status checker function that checks for these web statuses:
"N/A"=>"Ikke HTTP", "OK"=>"Valid hostname", "FEJL"=>"Invalid hostname", "D?d"=>"No response", "100"=>"Continue", "101"=>"Switching Protocols", "200"=>"OK", "201"=>"Created", "202"=>"Accepted", "203"=>"Non-Authoritative Information", "204"=>"No Content", "205"=>"Reset Content", "206"=>"Partial Content", "300"=>"Multiple Choices", "301"=>"Moved Permanently", "302"=>"Found", "303"=>"See Other", "304"=>"Not Modified", "305"=>"Use Proxy", "307"=>"Temporary Redirect", "400"=>"Bad Request", "401"=>"Unauthorized", "402"=>"Payment Required", "403"=>"Forbidden", "404"=>"Not Found", "405"=>"Method Not Allowed", "406"=>"Not Acceptable", "407"=>"Proxy Authentication Required", "408"=>"Request Timeout", "409"=>"Conflict", "410"=>"Gone", "411"=>"Length Required", "412"=>"Precondition Failed", "413"=>"Request Entity Too Large", "414"=>"Request-URI Too Long", "415"=>"Unsupported Media Type", "416"=>"Requested Range Not Satisfiable", "417"=>"Expectation Failed", "500"=>"Internal Server Error", "501"=>"Not Implemented", "502"=>"Bad Gateway", "503"=>"Service Unavailable", "504"=>"Gateway Timeout", "505"=>"HTTP Version Not Supported" Screen Shot: https://vborg.vbsupport.ru/attachmen...&postid=359438 If you like it and install it on your board, all I ask of you is to support the hack and click install, thank you. |
Screen Shot
|
Also, you can use this function any where, not just the profile, this is real handy if you have a link list and so on and you wanna show the current status of the site.
|
Thnx will install :)
|
wow slynderdale, install immediatly. :)
works exellent on 2.2.6. |
Fatal error: Call to undefined function: check_url() in /home/****/public_html/forum/member.php on line 1256
|
Quote:
|
like this one man
installed and working fine :) |
VERY nice.
I installed on 2.2.9 and works perfect. good job |
Very handy hack. :) *clicks install*
|
Great idea. :)
|
Very nice hack, :)
|
nice.
/me goes to install the hack l8er sonic |
Im also working on a email checker that had 3 levels of checking, the first level is a format check, it checks to see if its a correct email format, the second checks the email MX server and see if its an actual email server thats accepting emails, the third check will check the MX server but also check if the user (user@domain.com) actual has a working email account there, Im gonna make it into a functions such as this and you can check emails by check_email($email,$level);
|
ooo
be sure to let me know when that is done :) |
@ Slynderdale
Also, you can use this function any where, not just the profile, this is real handy if you have a link list and so on and you wanna show the current status of the site. How would you add this to a posbit to check Http posted links within a post?? Can it be done?? If so i will use it as it look well handy... Thanx for the good work you all do.. |
I think you need to be it in the include of the templates to work on all.
but I may be wrong |
Nice hack, but after installing, accessing profiles went very slow.
I'd prefer without! |
Narin - you are full of these awesome ideas. Keep em coming pal ;)
- miSt |
worxs fine in the members bit:)
Thanx fella. I still dont get it working in the potbit:(. but what the hell. Nice lill hack |
I need your email checker hack asap. We've had a couple of
spam attacks within the last couple of weeks, and people are starting to get a little annoyed. Thanks a bunch. |
excellent hack :D
|
I had to uninstall this hack. It made viewing some member's profiles wat too slow and it even gave me a "no response" on a link that when clicked, works fine. It definitely needs some tweaking somewhere. ;)
|
Quote:
|
It was fast on all the other profiles. I just had one that it slowed to a crawl on. That was the one that reported back "no response" but when you clicked on the link, his site came up fine.
|
No offense, but whats the point of this hack? To make sure a website in a profile is up and running?
BTW Slynderdale I think your hacks are truly creative, I'm just trying to understand this one better. :D |
Quote:
|
If you wanna add this to the postbit in admin/functions.php find:
PHP Code:
PHP Code:
Also use this at your own risk, I havn't tested it in the post so I have no idea on how it will affect the server load or page loading time or any thing like that, If you do use this, please post and tell me how it works out. |
Thanx for the help fella,:)
Done it to the letter,but nothing will show up apart from Status: |
Quote:
|
*click*
thanks for this hack |
All times are GMT. The time now is 04:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|