vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   GTP Modified Files Manager (https://vborg.vbsupport.ru/showthread.php?t=81524)

Princeton 05-14-2005 10:00 PM

GTP Modified Files Manager
 
The GTP MODIFIED FILES MANAGER Addon scans local files (on server) in search of a phrase/characters.
If an instance is found the file is listed.

If used correctly this addon WILL DECREASE work load.
[hr=blue]4[/hr]
For example, if you wrap all your modifications you can now make a list of all your modified files and print the list to use when upgrading. You can also use GTP MODIFIED FILES MANAGER Addon when creating your own addon. For example, you can create a list of all files that have been modified to create your INSTRUCTIONS.

Tip
[hr=blue]4[/hr]
When adding or modifying your files you should always comment the area that you are modifying.
And, I don't mean just a "// this has been modified" comment. That will take ages if you visually scan a page. (LOL, maybe not ages but it will definitely increase work load.)

Some of these files are large and you could have multiple instances of modifications. So I recommend that you "wrap" your modifications with the following (or something similar):
Code:

// ================================================= \\
// == [ MODIFIED - GTP ]
modified code
// == [ 00-00-2004 - GTP END ]
// ================================================= \\

The key here is to have a beginning and ending "wrap".

In this manner, you can search for "GTP" (or whatever you choose) with the GTP MODIFIED FILES MANAGER Addon; and, you can visually scan the file for any modifications.

Wrapping the code will give you an indication that modification started and ended here.

/* ============================================== */
// == GTPUBLISH - MODIFIED FILES MANAGER
// == This code is Copyright ? 2004 - 2005, GO-TOTAL, LLC
// == vbulletin Copyright ? 2000 - 2005, Jelsoft Enterprises Ltd.
// == This file may not be redistributed in whole or significant part.
/* ============================================== */

How You Can Give Back
[hr=blue]4[/hr]
Show your appreciation by donating: Donate to GO-TOTAL LLC
Any amount is appreciated.

Available For Custom Work
[hr=blue]4[/hr]
GO-TOTAL LLC is available for custom work. We are registered in the state of New Jersey.
Our customers have the privilege of using Instant Message, Email, and/or our Toll-Free Number when communicating with us. Please contact us if you have any requests/questions.

GTP - MODIFIED FILES MANAGER Instructions
[hr=blue]4[/hr]
You will need to modify the following file: admincp/index.php
and Upload GTP_find.php into your ADMINCP folder.

Princeton 05-15-2005 05:27 PM

save ... just in case

j_86 05-15-2005 06:28 PM

Amazing!

jugo 05-15-2005 07:17 PM

I saw you post about this elsewhere and was gonna ask you. DUDE!!!! YOU F'ING ROCK!!!

/me install faster than a redneck at a Nascar Ticket Giveaway.

Allan 05-15-2005 10:09 PM

it's very nice Princeton, thanks :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~
click install
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Princeton 05-15-2005 10:56 PM

thank you

Reeve of shinra 05-15-2005 11:47 PM

A very useful add-on!

Princeton 05-16-2005 12:26 AM

hey thanks!

Have you installed/tested the script? Any problems?

ericgtr 05-16-2005 02:07 AM

This is a very creative and practical idea, nice mod!

yinyang 05-16-2005 05:52 AM

damn, this is extremely sweet.

pie 05-16-2005 03:06 PM

I thought this was going to be a feature in 3.5?

Princeton 05-16-2005 03:21 PM

well, we really don't know what will be available until it comes out ... all they have shown so far is a little here and a little there.

Plus, the GOLD version won't be release until the Fall or Winter Season (if we are lucky). It really depends on how many bugs are found in the beta when released.

Erwin 05-17-2005 03:50 AM

Truly is a nice idea. :)

Princeton 05-17-2005 01:39 PM

thanks Erwin .. the version I personally use is on steroids
this is just a stripped-down version

yoyoyoyo 07-15-2005 11:00 PM

excellent work!

David_R 09-03-2005 03:09 AM

nice modification just installed thanks princeton


All times are GMT. The time now is 11:06 AM.

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.00987 seconds
  • Memory Usage 1,743KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete