Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
I didn't mean any offense by it. I get that both suggestions effect the same page so I guess they're similar.Back to the tabbed interface part, I just looked at the model and controller for that page and it's not exactly easy from an add on perspective. For it to be done by extending the classes would require overwriting the functions basically.The model isn't like the rest for some reason, generally the conditions are sent to a prepare conditions function which returns the sql conditions variable. This is all done from within the main function in this model so you can't really hook into it. You'd have to overwrite it.Ideally, XenForo_Model_NewsFeed::getNewsFeedItems() would look more like XenForo_Model_User::getUsers()
I didn't mean any offense by it. I get that both suggestions effect the same page so I guess they're similar.
Back to the tabbed interface part, I just looked at the model and controller for that page and it's not exactly easy from an add on perspective. For it to be done by extending the classes would require overwriting the functions basically.
The model isn't like the rest for some reason, generally the conditions are sent to a prepare conditions function which returns the sql conditions variable. This is all done from within the main function in this model so you can't really hook into it. You'd have to overwrite it.
Ideally, XenForo_Model_NewsFeed::getNewsFeedItems() would look more like XenForo_Model_User::getUsers()
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences