Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBadvanced - Site Checker Module Details »»
vBadvanced - Site Checker Module
Version: 1.00, by Mr House Mr House is offline
Developer Last Online: May 2011 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.8 Rating:
Released: 10-25-2007 Last Update: 10-25-2007 Installs: 12
Re-useable Code Additional Files Translations  
No support by the author.

All,

Firstly please be aware that this required vBadvanced installed from http://www.vbadvanced.com.

The purpose of this check is to put links into a module that tell you if a site is up or down that you are linked to. If it is up, then you have a link to it with the information displaying when you hover over the link button. If it is down, then it tells you that it is offline.

An example of it running is at www.desertislandfruits.com.

In the PHP file there is an entry like the following for each site that you manually have to add...

PHP Code:
ttestServer("fruitforums.com""fruitforums.com"80"Fruit Forums""FME Chat"); 
This is broken down into...
  • Address To Test
  • Address For Link Testing If Tested Address Is Ok (as you may want to go elsewhere on a site)
  • Port Number (can be changed for gaming sites etc)
  • Site Panel Name (what the user sees)
  • Tag Code (for when you hover over a link)

In the PHP file there is also the following code...

PHP Code:
$fp fsockopen ($aaddress$pport$errno$errstr0.50); 
...you can change the number to increase / decrease the time this module waits to see if a site is available or not.

Please click install if you use it.

You are welcome to mod this hack, but please post details or a link here so I can see what you've done.

Install
To install this, copy all the files from the zip into your forum/modules directory and everything should work fine.

Then install as you would like any portal module to your homepage.


AdminCP > vBa CMPS > Add Module > PHP File >

1) Name the module
2) Choose the correct PHP file from the dropdown (the PHP file must be in forums/modules/ to show up)
3) Give it a unique identifier, eg. "site_checker"

(Thanks to The MilkCarton for the above brief description that I did not include)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-27-2007, 12:52 PM
farah farah is offline
 
Join Date: May 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #13  
Old 10-28-2007, 07:57 AM
TheProphet TheProphet is offline
 
Join Date: Apr 2004
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

mmm no luck for me.. when i set to active, my index page isnt showing up @ all.
Why is there not a template using in this block?

The link to the pictures in the php file isnt good i think.

Code:
 <img border='0' src='http:/forum/modules/Offline.gif'>
Reply With Quote
  #14  
Old 10-28-2007, 04:59 PM
Mr House Mr House is offline
 
Join Date: Oct 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheProphet View Post
mmm no luck for me.. when i set to active, my index page isnt showing up @ all.
Why is there not a template using in this block?

The link to the pictures in the php file isnt good i think.

Code:
 <img border='0' src='http:/forum/modules/Offline.gif'>
In that case change the URL to where the pics are and it should be ok.

Are you not using /forum/ for your forum install?
Reply With Quote
  #15  
Old 10-29-2007, 01:26 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr House View Post
Try adding...

PHP Code:
echo "<tr><td class='alt2' cellpadding='$stylevar[cellpadding]' cellspacing='$stylevar[cellspacing]' border='0' width='100%'>";
$cyb_flashimagebanners
echo "<br /><div class='smallfont' align='center'><a href='http://www.wholinks2me.com/' title='Click here to see who's linking JPiC Forum.' target='_blank'>Who Links To JPiC Forum?</a></div></tr></td>"
...before...

PHP Code:
?> 
...at the bottom of sitecheck.php.

Let me know if it works.
Thanx for the help - but it didn't work
With the edit - each time would load a blank page = nothing at all - just white space...
Any other ideas?

btw - Thanx for the mod - I did add separately and it worked very well...

Jacquii.
Reply With Quote
  #16  
Old 10-29-2007, 04:50 AM
TheProphet TheProphet is offline
 
Join Date: Apr 2004
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mr House View Post
In that case change the URL to where the pics are and it should be ok.

Are you not using /forum/ for your forum install?
I did change the path to the full address, im using /forum but when im putting it active true vba, my whole index.php is not showing up.
Reply With Quote
  #17  
Old 10-29-2007, 05:23 AM
Mr House Mr House is offline
 
Join Date: Oct 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PoetJA-1975 View Post
Thanx for the help - but it didn't work
With the edit - each time would load a blank page = nothing at all - just white space...
Any other ideas?

btw - Thanx for the mod - I did add separately and it worked very well...

Jacquii.
Please PM me $cyb_flashimagebanners content and I'll try again.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06887 seconds
  • Memory Usage 2,274KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (4)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete