The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Image Status Checker / Dead Image Finder Details »» | |||||||||||||||||||||||||
Note this hack works with vb3.6
What does this do? It scans all your posts, extracts all the img tags, and scans each of the images to see if they're still valid. Why? I had a look at all the images on my site and was alarmed at how many were now gone - deleted from photobucket accounts etc. Since the only way you can check the images on your board is to manually read every post, I decided to come up with a better way... and this is it. How does it work? The first part: In the AdminCP, under Maintenance and Update Counters... right at the bottom is this hack. It works by looking up every img tag, then requesting the image, and reading the http status code. So code 200 means 'image ok', 404/410 means 'image gone' etc. That then gets stored in a database table. A server has 15 seconds to reply to the request or the status is labelled as "Unknown" The second part: The browsing element, imagestatuscheck.php (original filename huh!). This allows you to browse all the images found in the last scan using some powerful filtering (statuses to display, search, order by). Hack features
Bad Things It's far from a perfect hack, there are many things to do. Please be aware that I won't be doing them, but if anyone else wants a crack, feel free!
Footnotes Originally I planned to throw something together quickly just for me to use but it turned into a "I may as well make a nice interface... oh and I may as well put some filtering controls in and I ..." A [url] link checker can be found here Installation Upload imagestatuscheck.php to your vB directory. Install the product, set overwrite to yes. Customizing
Screenies Shot 1 is AdminCP during scan Shot 2 is a typical Browser section output Shot 3 is no results output Changelog See attached file for specific changes. 1.00 - 16th August 06 1.01 - 17th August 06 1.02 - 27th December 06 Show Your Support
|
Comments |
#42
|
|||
|
|||
Nah no table prefix should be fine.
I just thought I'd missed something, but it wouldn't make a difference, plus you'd get a database error message. To be honest, I don't know. If you want to give me admin access and the ability to execute sql queries, I could have a look. Otherwise, I don't know what it might be. |
#43
|
||||
|
||||
Quote:
you have a pm |
#44
|
|||
|
|||
Updated to 1.02
- Browser: Corrected bug that said "you haven't scanned" even if you have. This only affects people with table prefixes. Re-upload the /imagestatuscheck.php file. The product file hasn't been changed so there's no need to re-import. |
#45
|
|||
|
|||
I use vb. 3.6.8 an it doesn´t work. Where is the link in admincp, where i can scan? When I start imagestatuscheck.php I see the page,but i become no matches.
Plz help |
#46
|
|||
|
|||
Great Problem!!!
I have even noticed that all my Images in the Forum are gone and all letters in threads are small. How can I fix that? A normal Deinstall wont work ;( |
#47
|
|||
|
|||
This Might Be Silly But I Am Confused On What To Do I Have Installed Everything And Clicked On Scan Links...after It Did Scan It Took Me Back To Scan Links..but Where Did The Data Go And How Can I Correct Broken Links Or Dupicated Links...please Guide
|
#48
|
|||
|
|||
This image link checker is a wonderful idea and framework, but it does not work at all right now in vB 3.8. I've tried to tweak the settings to get it to work, but had not success with the following errors:
(1) All status fields beyond the first group defined by GPC['percycle'] are listed as "duplicate / dealt with" and a status code of "000" is entered into the imagestatus database (2) If GPC['percycle'] is set larger than the number of imageurl entries, then all status codes are entered into the imagestatus table correctly. However, at the very end of the scan nearly all status entries are somehow reset to "000" (3) If the update counters maintenance script is terminated just prior to completion (and GPC['percycle'] is set larger than the number of imageurl entries), then the imagestatus database has correct status entries in all fields (except those which were not yet checked prior to script termination). However, upon visiting the imagestatuscheck.php page and searching for dead links, all status codes in the imagestatus database are again reset to"000". Overall, something is happening at the end of the code that inadvertently resets all status fields to "000" in the database. It seems like a very simple code change would fix all of this. If anyone can help diagnose this it would be great. |
#49
|
||||
|
||||
This would be great to have working on vb 3.8
|
#50
|
|||
|
|||
Hello ,
Is there a possibility to delete the image directly without reference to the post , Regards |
#51
|
|||
|
|||
Hello ,
There are a lot of pictures, starting with WWW, but not with http and this indicates that it does not exist Is it possible to fix this |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|