PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old November 2nd, 2008, 07:44 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2008
Location: London, UK
Posts: 8
vBGallery does not ship with an md5_sums file

The forums/includes/md5_sums_* files are used to store md5sums of the files for vB and other modules so that Admins can run the "Suspect File Versions" diagnostic to find out which files have been modified (or have not been properly upgraded) from the base module install.

Because vBG doesn't distrubute an md5_sum_vbgallery.php file with the distro, all vBG files fail the diagnostic.

I'm attaching a simple shell script that you can use to see how the md5_sums files are supposed to look. It's a bit of a hack but it was fast to code.

gen_vb_md5.sh /path/to/vBG/source/forums /path/to/vBG/source/forums/includes/md5_sums_vbgallery.php

Note: Because of the way that vb:admincp/diagnostic.php works, vBG will not be able to take full advantage of the md5sum file version checking code without adding a hack to the diagnostics.

However, I've filed an enhancement request with vB (see: Diagnostics md5sums version header for use by "Suspect File Versions" diagnostic - vBulletin Community Forum) to make the code more robust and allow for third party devs to take advantage of it. However, doing so would require a change to each of your file headers.

Cheers,
Dave.
Attached Files
File Type: zip gen_vb_md5.zip (895 Bytes, 0 views)
dfidler is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does vBgallery allow "Insert Image" and "Upload File from a URL"? edprush vBGallery Suggestions 13 May 8th, 2010 09:23 PM
Changing File Names in Database to match new file type. kisii Photopost Pro How Do I...? 7 April 1st, 2008 10:48 AM
vBGallery 2.0 German language file JLuerken Installs and Upgrade - vBulletin 3.6x 1 November 17th, 2006 11:05 AM
Remote File Include Vulnerability - is vbgallery affected? ludachris Before You Buy 1 November 13th, 2006 07:14 PM
Auto compress/size file & spaces in file name. brihan Before You Buy 1 April 6th, 2006 08:29 AM


All times are GMT -5. The time now is 09:34 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0