The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
Search for and Find Functions and Hooks in Admin CP (vB3, vB4) Details »» | |||||||||||||||||||||||||||||||||||||||||||||
Search for and Find Functions and Hooks in Admin CP (vB3, vB4)
Developer Last Online: Aug 2017
Notice:
If you uploaded the original version of this product you will have to replace function_finder.php. The version you have is a very old one from when I was developing this. Lots of styling and phrase problems and it won't find all the functions. Upload the new version and click the link at the bottom of the File Finder page to rebuild the function list. Sorry for the mistake! General: Before I began making modifications for vBulletin I read through all the files and memorized all the functions and hooks, their names and locations. It was a rather tedious evening but well worth it in the long run. I know most of you aren't as organized and dedicated as I am, so I built you a product for locating functions and hooks, I hope you appreciate it; it took me over an hour to build! How it works: The first time you open either the Function Finder or the Hook Finder in the Plugin & Products group the product reads through all the files using regular expressions to locate functions and hooks, When one is found it records the file and line number along with the name and concatenates it into a string which is stored in filelist.php or hooklist.php, which it creates in the includes folder. When you type in a function name, partial or complete, it uses regular expressions to locate the function (or hook) in the created files. You can search functions by function name or file name or both. Wildcard searches can also be done. Similarly you can search for hooks by file name or use the select menu (just like in the New Plugin page) to locate them. Once you click on the link of matches the entire file is displayed in a new window with the appropriate lines marked and the file scrolled into position. If you've changed any of the files, added files or upgraded you can rebuild filelist.php and hooklist.php with the links at the bottom of the pages. The pictures tell it all. Installation: I didn't zip the files so all you have to do is upload them directly to the appropriate folders. function_finder.php goes in forum/admincp and cpnav_function_finder.xml goes in forum/includes/xml. Then upload the product file in Products. Let me know if you have any problems. Download Now
Screenshots
Show Your Support
|
Comments |
#2
|
|||
|
|||
Oops, I forgot to upload the product file. Now it's there. (It's been a long day!)
|
#3
|
||||
|
||||
Quote:
|
Благодарность от: | ||
nacaruncr |
#4
|
|||
|
|||
Oh c'mon, where's your sense of humor?
|
#5
|
||||
|
||||
He's Bart S. Did you expect anything less?
|
#6
|
|||
|
|||
Thank you.
Don't let stupid comments discourage from writing helpful mods to make our life easier. And YES I am one of those who is not as organized as he should be. I will test it on my test server and give feedback. Thanks Michael |
#7
|
|||
|
|||
ok. Just installed it.
Uploaded the 2 files in the appropriate folders. Imported the product. Both links show up in my adminCP but there is something wrong I guess. No matter if I click on "Hook Finder" or "Function Finder" both go the same page "Search for functions". The "Search for Hooks" doesn't show up. I noticed when I hover over the options in the adminCP each show something different. Links are showing like: "function_finder.php?do=functions" and "function_finder.php?do=hooks" but as mentioned they both go to the "search function" page |
#8
|
|||
|
|||
I just uploaded an improved version of function_finder.php. I tidied up some styling problems and worked out some compatibility problems with IE. The scrolling to position in the file display should work better now.
Quote:
|
#9
|
|||
|
|||
Quote:
Also I noticed the improvement with the styling Thanks |
#10
|
|||
|
|||
This is a real mystery why the old file didn't work. My theory is that what I had uploaded was a very early version of the file from way back. I don't know how many times I've accidentally downloaded files when I click on a file link in cPanel. Would you test something for me? Try searching for "print_cp_footer" and see if you have any matches. If it's the old junker file it won't find it because a regular expression was not quite right. If you don't find it you will have to rebuild filelist.php with the link at the bottom of the page.
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|