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
MD5 Version File Generator Details »»
MD5 Version File Generator
Version: 2.0.1, by PitchouneN64ngc (Senior Member) PitchouneN64ngc is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.8 Rating:
Released: 08-21-2007 Last Update: 10-08-2009 Installs: 15
DB Changes Uses Plugins
Additional Files  
No support by the author.

This mod is an adaptation of the Marco's mod ( https://vborg.vbsupport.ru/showthread.php?t=108567 ) because there is some little things changed and added some new things too. Thank you for allow me to re-release it , Marco

MD5 Version File Generator - Version 2.0.1

Hack: MD5 Version File generator
Version: v2.0.1
Author: MarcoH64
Adapted for vB 3.6.8+ by Pitchoune (PitchouneN64ngc)
vB Version: 3.6.8 - 3.8.x (can work but will be more useful since vB 3.6.8 due to the added things).

For lower versions of vBulletin, you can see the original 1.0.0 mod here.

You can see this function in the vB3.5.4 release announce thread: 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.

Since vB 3.6.8, there is a new add in the md5 files, you can look to it at the end of the official addons md5 files like this:

$md5_sum_softwareid = 'vbprojecttools';
$md5_sum_versions['vbprojecttools'] = '1.0.1';

This new version adds these 2 lines for you.

An other new thing is to adapt this modification to your configuration. If your admincp and/or modcp directories didn't have the default values (admincp or modcp), when you're saving files, it will be checked correctly, and the default values will be registered.

And it's the same thing when you generate the md5 file (it will create the md5 value from your configuration, and it will write in the file
the default values with the correct md5 of your configuration).

How to use:
  • AdminCP->Plugin & Products->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: 2.0.1
// File generated by: $RCSfile: mh_md5gen.php,v $ - $Revision: 2.0.1 $
// Generator: MD5 Version File generator by MarcoH64 and PitchouneN64ngc (c)

$md5_sums = array(
    
'/admincp' => array(
        
'mh_md5gen.php' => '307d51647c2197abbfc458b9832876cf',
    ),
    
'/includes/xml' => array(
        
'cpnav_mh_md5gen.xml' => 'c4f6879267d161e7bd87a19302446fd2',
    ),
);
$md5_sum_softwareid 'mh_md5gen';
$md5_sum_versions['mh_md5gen'] = '2.0.1';
?>
Copyright etc.
# Copyright ?2006-2010 MarcoH64 and PitchouneN64ngc
# 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 original author, donations are always welcome at Paypal: marcoh64@gmail.com

Downloads of 2.0.0 before update: 70

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 02-23-2015, 07:34 PM
Budget101 Budget101 is offline
 
Join Date: Jul 2008
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any luv for 4.2.2 PL4?
Reply With Quote
  #13  
Old 02-23-2015, 08:34 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works just fine on 4.2.2. I think you might need to edit the vbulletin dependency in the xml file to install it though.
Reply With Quote
  #14  
Old 02-23-2015, 11:55 PM
Budget101 Budget101 is offline
 
Join Date: Jul 2008
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
It works just fine on 4.2.2. I think you might need to edit the vbulletin dependency in the xml file to install it though.

hm... interesting, I did edit the dependency prior to submitting, but it doesn't appear anywhere in the admincp at all.
Reply With Quote
  #15  
Old 02-24-2015, 12:01 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Budget101 View Post
hm... interesting, I did edit the dependency prior to submitting, but it doesn't appear anywhere in the admincp at all.
https://vborg.vbsupport.ru/attachmen...9&d=1187787433
Reply With Quote
  #16  
Old 02-24-2015, 12:44 AM
Budget101 Budget101 is offline
 
Join Date: Jul 2008
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
Yes, I quite understand where it's SUPPOSED to appear.. but it Doesn't.

http://www.screencast.com/t/cgaea03g3H6e

As you can see from the pluginlist on the right, it's installed. As you can see from the plugins & products there is no linky love there...

In fact if you go into admincp>options>show all settings> it doesn't appear in there either. (Btw, I'm using PL4)
Reply With Quote
  #17  
Old 02-24-2015, 01:52 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will test it on my 4.2.3
update: Does not show on 4.2.3
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 07:59 PM.


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.04578 seconds
  • Memory Usage 2,273KB
  • Queries Executed 22 (?)
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
  • (1)bbcode_php
  • (3)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