vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   URL Status Checker (https://vborg.vbsupport.ru/showthread.php?t=49470)

rick barclay 03-04-2003 02:24 PM

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.

msimplay 03-06-2003 05:23 PM

excellent hack :D

Boofo 03-06-2003 09:19 PM

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. ;)

Slynderdale 03-06-2003 10:26 PM

Quote:

Originally posted by Boofo
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. ;)
Hmm yea, It might slow the page down a little depending on your server's speed, what it does is connects to the server the page and on and checks the page and exracts the headers and then outputs it, I might be able to ass a timeout to it so if it takes to long to connect to the server, it stops instead of showing a no respomse, but if ou have a fast server like I do and some others do, you should see just a slight speed difference if any at all

Boofo 03-06-2003 10:40 PM

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.

limey 03-07-2003 03:55 AM

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

Slynderdale 03-07-2003 04:02 AM

Quote:

Originally posted by limey
No offense, but what's the point of this hack? To make sure a web site 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

Yea, it tells you the current status of the site I the profile and you can also use the function any wheres you want, not just for the member page and even not just for the forum. If you have a link list page, this can come in handy.

Slynderdale 03-07-2003 04:44 AM

If you wanna add this to the postbit in admin/functions.php find:
PHP Code:

        if ($post[showemail] and $displayemails) {
            eval(
"\$post[useremail] = \"".gettemplate("postbit_useremail")."\";");
        } else {
            
$post[useremail]="";
        } 

and replace it with:
PHP Code:

        if ($post[showemail] and $displayemails) {
                  if (
$post[homepage]!="http://" and $post[homepage]!="www" and $post[homepage]!="http://www." and $post[homepage]!="") {
                    
$page_status check_url($post[homepage]);
                  }
            eval(
"\$post[useremail] = \"".gettemplate("postbit_useremail")."\";");
        } else {
            
$post[useremail]="";
        } 

Then place $page_status any wheres in the postbit you want, it will just show the page status so you maybe want to add (Status: $page_status) if you want, its up to you.

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.

Funkie 03-07-2003 05:02 AM

Thanx for the help fella,:)
Done it to the letter,but nothing will show up apart from

Status:

limey 03-08-2003 02:33 AM

Quote:

Originally posted by Slynderdale
If you have a link list page, this can come in handy.
AH now we're talking!


All times are GMT. The time now is 07:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01184 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete