Thanks for the responses. I'm modifying the content that gets displayed on the forum view. I have overloaded 2 thread model functions so it changes the conditions of the threads it pulls depending on the set option. I have overloaded the countThreadsInForum routine and the getThreadsInForum...
I am working on an add-on, and I have set up an option for it in the admincp. However I quickly noticed that these options don't seem to be cached. I have overloaded two model functions, and in each one I am grabbing this option I have set up. When I run the page, I see that my db queries has...
I'm at work so I don't have the XF code in front of me to look at. You're saying that if I code up two listeners to setup two classes to extend from XenForo_ControllerPublic_Thread, then it will do
class C extends class B extends class XenForo_ControllerPublic_Thread
return C
and not...
I don't think I'm understanding, sorry.
Let's say I have two different addons extending from XenForo_ControllerPublic_Thread. These addons have no knowledge of each other.
With the way the resolve routine is coded, it will return the last class extended from foreach() out to the code. That...
My concern is this: if I develop an addon that extends on ControllerPublic_Thread, then it can safely overload an action. However, what happens if I later install an addon which also extends the ControllerPublic to overload an action? Then this add-on will supersede my addon, and my addon will...
I've been going through the source so I can understand the XF architecture, in order to prep myself to start making some new add-ons.
I was looking through resolveDynamicClass() in order to understand how the autoloading and class proxy stuff works. I get it now, except for the following...