The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]()
Hello Dave, thanks a million for this information, a very useful starting point for looking into this deeper, which I will absolutely do!
Do you (or anyone else here) know which PHP script in vBulletin that the Mobile Suite mobile apps use for their API calls? That would be a very good starting point for me to begin tracing/reversing code in order to know where to best place my new custom hooks... --------------- Added [DATE]1566948011[/DATE] at [TIME]1566948011[/TIME] --------------- Ok, a few moments of web server access log tracing and PHP code reversing later, it would seem that a good target for a custom hook would be the print_apioutput($data) function of the file /core/api.php. I'll start gently and try to use the hook methodology listed above to insert a hook in it. If it won't work, I'll just patch the hell out of it locally for now, since I've got no time to lose in this matter. I'll let you know how it goes! PS. I assume that it won't be possible to use the new fancy-schmancy subclassing extension system of vB5 to get direct access to this function directly from a "product" without any code PHP file patching having to be done at all? Seeing that: 1) This function (print_apioutput()) isn't even inside any object oriented code to begin with. and 2) What are the odds of that working as advertised to begin with either way, right...? ![]() Or would that actually be able to work somehow? Anyone knows, yes or no? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|