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 |
#12
|
|||
|
|||
Quote:
Line 418 includes/adminfunctions.php |
#13
|
|||
|
|||
That means it was the old junker. That thing had a lot of problems from when I was developing it. I hope all the people who uploaded it check back and get the new file. I'm glad you pointed that out.
|
#14
|
|||
|
|||
Hi there,
seems to work a little bit better than it should. Searching for a function shows the result twice. Best regards L.R. |
#15
|
|||
|
|||
Wow, two for the price of one and the first one was free! Can't go wrong with that.
What you're seeing are different methods in different classes but sharing the same name. Try "print_editor_form" for example. There are multiple results but in various classes. If you don't understand object oriented programming, welcome aboard -- I barely understand it myself. |
#16
|
||||
|
||||
This is so useful when developing a mod, thanks for this! I'll install it ASAP in my test board, tagged!
|
#17
|
|||
|
|||
Hi there,
Quote:
"No Matches Found" When I try "track_blog_visit" I get (see screenshot): Attachment 141544 Best regards L.R. |
#18
|
|||
|
|||
That's strange. What version of vBulletin are you using? Maybe "print_editor_form" is in vB4 and you're using vB3?
Does it do that with every thing you try? |
#19
|
|||
|
|||
Hi there,
I'm using vB 4.2.0. The thing in the screenshot I see everytime a function is found. Best regards L.R. |
#20
|
|||
|
|||
I had that happen in an earlier version of function finder and then after changing some things the problem went away and I thought it was fixed. Can you rebuild functionlist.php and before you try anything, record and post the data at the top of the frame? I don't need the path value. I had about 5800 functions as best I can recall.
|
#21
|
|||
|
|||
Hi there,
yeah, well. I'v read your instructions how to rebuild the file functionlist.php, if you mean with filelist.php the same file. Then there is another problem. I don't have any link to rebuild the file. Quote:
Best regards L.R. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|