Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

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
  #2  
Old 10-26-2007, 07:53 AM
Mr House Mr House is offline
 
Join Date: Oct 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved!!!
Reply With Quote
  #3  
Old 10-26-2007, 08:20 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No installation instructions?
Reply With Quote
  #4  
Old 10-26-2007, 09:35 AM
Mr House Mr House is offline
 
Join Date: Oct 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Added.

Sorry about that - I was blindly assuming that people had happily installed vBadvanced modules, sorry about that.
Reply With Quote
  #5  
Old 10-26-2007, 02:05 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the hack!
Reply With Quote
  #6  
Old 10-26-2007, 08:57 PM
Tinh.Nhi Tinh.Nhi is offline
 
Join Date: Jan 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you for your good mod, but I wondering if this mod can check the link with rapidshare, megaupload or not ?
Reply With Quote
  #7  
Old 10-26-2007, 09:05 PM
Tinh.Nhi Tinh.Nhi is offline
 
Join Date: Jan 2003
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.

be more specifics thank you
Reply With Quote
  #8  
Old 10-27-2007, 01:21 AM
PoetJA-1975's Avatar
PoetJA-1975 PoetJA-1975 is offline
 
Join Date: Sep 2006
Location: Meh...
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting and thanx for the hack...
Question:

I have a module already called Partners & Affiliates - you see it at the bottom left corner of the JPiC Portal = http://JPiCForum.info

I would like to combine these two hacks so that they both show in the same module... The current template for the Partners & Affiliates is:

Quote:
<tr>
<td class="alt2" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">

$cyb_flashimagebanners
<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>
Is this possible?

Thanx,

Jacquii.
Reply With Quote
  #9  
Old 10-27-2007, 08:27 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
Interesting and thanx for the hack...
Question:

I have a module already called Partners & Affiliates - you see it at the bottom left corner of the JPiC Portal = http://JPiCForum.info

I would like to combine these two hacks so that they both show in the same module... The current template for the Partners & Affiliates is:



Is this possible?

Thanx,

Jacquii.
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.
Reply With Quote
  #10  
Old 10-27-2007, 09:07 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tinh.Nhi View Post
be more specifics thank you
If you use vBadvanced, you should very well know how to add a PHP module.

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"
Reply With Quote
Reply

Thread Tools

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 04:19 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.05640 seconds
  • Memory Usage 2,298KB
  • Queries Executed 23 (?)
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
  • (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
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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