Weppa333
Well-known member
Hi,
I'm afraid to be a total newbie in MVC model or OOP. I'm not even a programmer, although I can hack into old fashioned PHP (like VB3).
I created a useful little mod (by hacking the PHP files directly) and I would like to release those few lines of code as a mod for the greater good (free).
I modified XenForo/Model/Like.php. I believe I created a useful feature.
Could someone explain me in layman's words, how to "properly" modify XF source code, by creating my own directories where they belong, "intercept" or whatever the name is, the XF code, and "inject" mine in it ?
I'm sorry of this is a stupid question, but I really don't get how you "insert" yourself in the XF engine. I'd be glad to read URLs, FAQ or beginners guide if someone points them to me.
I'm afraid to be a total newbie in MVC model or OOP. I'm not even a programmer, although I can hack into old fashioned PHP (like VB3).
I created a useful little mod (by hacking the PHP files directly) and I would like to release those few lines of code as a mod for the greater good (free).
I modified XenForo/Model/Like.php. I believe I created a useful feature.
Could someone explain me in layman's words, how to "properly" modify XF source code, by creating my own directories where they belong, "intercept" or whatever the name is, the XF code, and "inject" mine in it ?
I'm sorry of this is a stupid question, but I really don't get how you "insert" yourself in the XF engine. I'd be glad to read URLs, FAQ or beginners guide if someone points them to me.