kiwhen
Member
I've been at this for a while, but I'm getting nowhere fast. I thought this would be one of the most frequently asked questions regarding XenForo development as well, but I can't find anyone who has attempted this, been successful and at the same time provided the solution for me to see. This is as close as I get, but this guy doesn't provide any answers, just the same question. Pretty much.
Anyhow, I got this custom page, and I would like to display the usual sidebar on it. Using the <xen:sidebar>-code, I do get the top block from the normal forum layout, which includes my own statistics. This is cool and all, but I would like to have the online user list, status updates and stuff too.
When I try to just include the template elements for these, they show up correctly, but the information is wrong. It says that no one is online, the forum contains no posts, and there are no status updates.
Research points in various directions, mostly towards that XenForo, for some reason, blocks requests from "outsiders". So I ask; Why in God's name would anyone design it this way? Really?
I suppose I need to put in a callback or something like that to actually grab the data and not just the design for the elements, but again - I'm getting nowhere. Someone also pointed at the "XenForo_ControllerPublic_Forum" class and the actionIndex() function, but I'm not quite sure how to use that to get the desired result.
Of course, I would like to understand the solution, not just install some kind of add-on that does everything for me. That would leave me none the wiser.
Anyhow, I got this custom page, and I would like to display the usual sidebar on it. Using the <xen:sidebar>-code, I do get the top block from the normal forum layout, which includes my own statistics. This is cool and all, but I would like to have the online user list, status updates and stuff too.
When I try to just include the template elements for these, they show up correctly, but the information is wrong. It says that no one is online, the forum contains no posts, and there are no status updates.
Research points in various directions, mostly towards that XenForo, for some reason, blocks requests from "outsiders". So I ask; Why in God's name would anyone design it this way? Really?
I suppose I need to put in a callback or something like that to actually grab the data and not just the design for the elements, but again - I'm getting nowhere. Someone also pointed at the "XenForo_ControllerPublic_Forum" class and the actionIndex() function, but I'm not quite sure how to use that to get the desired result.
Of course, I would like to understand the solution, not just install some kind of add-on that does everything for me. That would leave me none the wiser.