Recent content by Mick West

  1. Mick West

    XF 2.0 How to check login status outside xenforo

    Late to the party, but Google brought me here. This is what you need. Demonstrating starting the XF app, getting the visitor object, checking user_id, secondary groups, and username <?php # print_r($_COOKIE); $fileDir = '../'; # relative path from this script to the Xenforo root...
  2. Mick West

    XF 2.1 Attached images in quotes

    Is there any way of overriding this behavior? I had the attachments viewable anywhere in XF1 via an addon - but now I've got a bunch of broken images and different looking quotes.
  3. Mick West

    MetaMirror

    No, it's just images. I was going to do linked files, but never got around to it. That's probably quite a reasonable way to go. As I remember years ago I tested it, and MetaMirror was a bit faster than proxied images, but I don't think that's a big issue now - I'd probaby go for just rehosting...
  4. Mick West

    XF 2.1 error while trying to save PAGE_CONTAINER template.

    I had this problem and solve it by creating a rule in Cloudflare to bypass the firewall if there's an XF admin cookie.
  5. Mick West

    MetaMirror

    What about AndyB's Convert Image [Paid]? Looks like it has been regularly updated in response to complaints about not following standards. https://xenforo.com/community/resources/convert-image.5609/
  6. Mick West

    XF2 [8WR] XenPorta 2 (Portal) PRO [Paid]

    It does seem like that. The three numbers are described as: But with them enabled we get 0/1/0 and the 0/0/0 What would 0/0/0 mean? It seems like the second template modification here (0/0/0) is failing somehow, but not going through the right channels, and ends up being deleted! So that...
  7. Mick West

    MetaMirror

    I've finally got around to upgrading to XF2, and so now I'm going to have to eventually rewrite this plugin. However, I don't want to reinvent the wheel - has anyone had luck using any other alternatives?
  8. Mick West

    [TH] Shorter Routes [Deleted]

    Same for Nginx rewrite ^/[^\./]+\.f([0-9]+)/$ /forums/$1/ permanent; rewrite ^/[^\./]+\.t([0-9]+)/(.*)$ /threads/$1/$2 permanent; Note the extra (.*) and $2 in the thread rewrite - to fix links to individual posts. You could add that to the htaccess version
  9. Mick West

    XF2 [8WR] XenPorta 2 (Portal) PRO [Paid]

    Rebuilding did not change anything. There's a variety of errors Oddly though I look in the Template Modifications, and there's a modification labeled EWR in the Content Rating Section. If disable the second one of those two template modifications ("Adds rating bar to posts"), then it fixes...
  10. Mick West

    XF2 [8WR] XenPorta 2 (Portal) PRO [Paid]

    I just bought and installed this (I was a long time user on XF1) getting a similar error to other users: ErrorException: Template error: Macro public:EWRporta_article_macros:article_comment is unknown src/XF/Template/Templater.php:586 #0 [internal function]...
  11. Mick West

    Add-on Metamirror for XF2 (rehosting of linked files, documents as attachments)

    I made MetaMirror, but I'm not going to upgrade my site (Metabunk) to XF2 any time soon (in large part because of all the customizations I did, like this). If someone wants to create an XF2 version, then feel free to re-use any of my code from the XF1.5 version of MetaMirror.
  12. Mick West

    MetaMirror

    Unfortunately, I don't have a timeline on that. I'm a bit busy with other things. Sorry!
  13. Mick West

    MetaMirror

    No, unfortunately I've not even looked into XF2 migration yet. Sorry.
  14. Mick West

    MetaMirror

    I plan to update it eventually when I convert Metabunk over to XF2, but that's unlikely to be for a couple of months. Alternatives are the Image Proxy (which is said above to "mess up"), and @AndyB's Convert Image paid add-on, which already has XF2 compatibility...
  15. Mick West

    MetaMirror

    Not any time soon. My forum (Metabunk) relies on too many old plugins, including a few custom ones I wrote, so it will be a while before I get around to upgrading it. You might want to look at using the Image Proxy with lifetime of 0 (indefinite) as a replacement. It's under the Message...
Top Bottom