Recent content by veraderock

  1. veraderock

    Not planned Attachment URL Structure

    Just thought I'd share my solution: https://xenforo.com/community/threads/any-way-to-fix-attachments-not-having-an-extension.88082/#post-985223
  2. veraderock

    XF 1.4 Any way to fix attachments not having an extension?

    Just a quick update, I was able to solve my problem with a fairly basic fix.. Just by appending a fake extension and a question mark (query string marker) to the attachments route it achieved what we are looking for. Facebook posts will now pickup the attachment. It is also backward compatible...
  3. veraderock

    XF 1.4 Any way to fix attachments not having an extension?

    There is one issue with the way xenForo serves image attachments as far as Facebook is concerned. If you attempt to post a thread on Facebook that contains an attachment, Facebook is unable to pull the post attachment as a thumbnail. I have to assume Facebook's source parser that pull the first...
  4. veraderock

    Fixed Dummy thumb breaks on configured externalDataPath

    No problem at all. Glad to help :)
  5. veraderock

    Fixed Dummy thumb breaks on configured externalDataPath

    We configure our xenForo installs to keep the data and internal_data folders out of our docroot. With this setup the dummy.jpg file results in the filesystem path rather then the URL. I'm attaching a patch file that fixes the issue, and 2 screengrabs to illustrate the problem.
  6. veraderock

    XFCP overiding not working through deferred?

    Just thought I should update this thread.. I did get the mail queue extended, the problem I had was in my listener. I was listening to the event load_class_mail rather then load_class. After making that change everything fell into place.
  7. veraderock

    XFCP overiding not working through deferred?

    Thank you Xon, yes I had started working with extending he XenForo_MailQueue. It occured to me that since many of the class calls in the deferred script are static, the XFCP_ method would not work. I haven't got it working just yet, but thank you for your example, I will take a look! :)
  8. veraderock

    XFCP overiding not working through deferred?

    Has anyone had trouble with their extended classes running under a deferred process? I have extended the XenForo_Mail class in order to change transports based on the mail template, however the extended class seems to get ignored entirely when running through the deferred script, processing the...
  9. veraderock

    intermittent logins POST to a bad URL

    We've noticed in our access files a large number of POST requests which appear to come from the login form, however the URL is being prepended with a forward slash, as though the base href is bad, however it isn't. For example here is a snippet (of which we have _many_ examples) from an access...
  10. veraderock

    Removing Members and Help tabs from nav?

    I know this is an older thread, but just my two cents.. I use a Template Modification with the following: template: navigation search: <xen:if is="{$tabs.members}"> replace: <xen:if is="0 && {$tabs.members}"> Note that this uses the template modification feature, so you are _not_ actually...
  11. veraderock

    Has anyone been able to extend the Controller.php ?

    I've managed to get around it by just extending a few controllers rather then all of them.
  12. veraderock

    Has anyone been able to extend the Controller.php ?

    I may have spoke too soon.. It worked for my immediately needs, but as I navigate around the site, I now receive the following error on the homepage: Fatal error: Cannot redeclare class XFCP_MyAddon_XenForo_ControllerPublic_Abstract in...
  13. veraderock

    Has anyone been able to extend the Controller.php ?

    Ah! I see, that worked perfectly, thank you :) In my Listener.php class I was only extending it for the class "XenForo_Controller" or "XenForo_ControllerPublic_Abstract", but by just adding the extension regardless of the currently loading class it now works.. Beautiful. Thank you Daniel!
  14. veraderock

    Has anyone been able to extend the Controller.php ?

    How do you include your class? I've tried the standard method of using load_class_controller to attempt to extend "XenForo_Controller" but that didn't work. Are you saying I should instead extend XenForo_ControllerPublic_Abstract?
  15. veraderock

    Has anyone been able to extend the Controller.php ?

    Btw, I am familiar with the ControllerPublic/Error.php controller, however I need more control! ;) ..
Top Bottom