vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   MD5 Version File Generator (https://vborg.vbsupport.ru/showthread.php?t=108567)

Marco van Herwaarden 02-20-2006 10:00 PM

MD5 Version File Generator
 
MD5 Version File Generator - Version 1.00

Hack: MD5 Version File generator
Version: v1.00
Author: MarcoH64
vB Version: 3.5.4 and higher (WILL NOT WORK ON LOWER VERSIONS!)

See for the "announcement" of this new function in vB3.5.4: http://www.vbulletin.com/forum/showp...9&postcount=16

Description
This Modification is a tool for Hack Coders.

Since vB version 3.5.4 there is an improved File Version checker included as part of the diagnostics. All files in the forumhome directory will be checked if they are know and if the content is not changed.

To do this vBulletin uses a file called ./includes/md5_sums_PRODUCTID.php
This file contains all known files (for the hack the file is written for) and a MD5 hash of the files.

If you don't supply this file, admins will be warned for unknown files in their forumhome directory if you hack upload new files there. To create such a file by hand is not easy, but this hack can do it for you.

How to use:
  • AdminCP->Plugin System->Version File Manager
  • You will see a list of all Products installed on the board.
    Click edit behind your Product and on the next screen, place all files that will be uploaded for your Hack in the text box. Each on their own line, with a absolut path as from the forumhome directory.
  • When you are ready to package and release your product, choose Generate MD5 File from the Dropdown menu.
  • There will now a new file be generated in your includes directory named md5_sums_PRODUCTID.php
  • Include this file in your Product zip-file (upload/includes directory).
    Finished
You must have write access to your ./includes directory!
Not tested on systems with open_basedir restriction.

Example generated file:
PHP Code:

<?php
// Checksum file
// Product: mh_md5gen - MD5 Version File generator
// Version: 1.00
// File generated by: $RCSfile: mh_md5gen.php,v $ - $Revision: 1.00 $
// Generator: MD5 Version File generator by MarcoH64 (c)
$md5_sums = array(
'/admincp' => array(
'mh_md5gen.php' => '0fef72130b665a6537d1b410c4337e1b',
),
'/includes/xml' => array(
'cpnav_mh_md5gen.xml' => 'eaca42281128a61f40cc820596b4af41',
),
);
?>

Copyright etc.
# Copyright ?2006 MarcoH64
# This Modification may not be redistributed in whole or significant part or changed without prior written agreement of author.
Please don't forget to click Install at vbulletin.org.
If you like this work and would like to support the author, donations are always welcome at Paypal: marcoh64@gmail.com

Marco van Herwaarden 02-21-2006 07:49 PM

Product file uploaded

/me proud to be the first to release a (real!) vB 3.5.4 modification

Revan 02-21-2006 07:57 PM

/me clix install.
Cheers =D

Brad 02-21-2006 07:57 PM

[high]* Brad installs :)[/high]

Smiry Kin's 02-21-2006 08:01 PM

3.5.4 out whats new? lol

Marco van Herwaarden 02-21-2006 08:07 PM

Quote:

Originally Posted by Smiry Kin's
3.5.4 out whats new? lol

This new function was "announced" in the vB3.5.4 discussion thread at vb.com: http://www.vbulletin.com/forum/showp...9&postcount=16

For other changes, see the official announcements at vb.com

Reeve of shinra 02-21-2006 08:26 PM

Nice work Marco!!

Marco van Herwaarden 02-21-2006 08:34 PM

HEhe just a quick job that i started when i saw that post at vb.com.

Couldn't imagine that anybody wanted to create these files manual. :)

Marco van Herwaarden 02-22-2006 09:33 AM

Could anyone provide feedback if all work correct on a Mac/Linux client?

Floris 02-22-2006 10:14 AM

Nice stuff Marco :D banana-thumbsup


All times are GMT. The time now is 02:25 PM.

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.01234 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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