Recent content by Lamp

  1. Lamp

    XF 2.1 When upgrading: ParseError: syntax error, unexpected 'Fn' (T_FN), expecting identifier (T_STRING) or '{' in src/XF/Template/Compiler.php at line 8

    I'm not sure what exact version I was upgrading from (2.1.0 maybe) but on upgrade to 2.1.3 it encountered this error: ParseError: syntax error, unexpected 'Fn' (T_FN), expecting identifier (T_STRING) or '{' in src/XF/Template/Compiler.php at line 8 Composer\Autoload\includeFile() in...
  2. Lamp

    XF 2.0 Can't login to upgrade

    Ok second attempt worked fine, and was able to change PHP version to 7.0 in cPanel php config
  3. Lamp

    XF 2.0 Can't login to upgrade

    But then this happens... :eek:
  4. Lamp

    XF 2.0 Can't login to upgrade

    Ok that was strange; after repeatedly clicking the button a bunch of times, it has proceeded... and apparently PHP is outdated
  5. Lamp

    XF 2.0 Can't login to upgrade

    I'm upgrading from 2.0.2 to 2.0.4 and just finished uploading the files. I'm trying to complete the installation at the installation page but when I login with my username and password, the page just reloads to itself!
  6. Lamp

    XF 2.0 How do I get visitor username?

    In xf1 I used {$visitor.username} but that does not work anymore and I can't find information about this for xf2
  7. Lamp

    XF 2.0 Bulk Delete Smilies in XF2

    Modifying the database worked for me: DELETE FROM `xf_smilie` WHERE `image_url` = 'https://f.cl.ly/items/1Y1f1K1i3v3L3l0S0s1N/emoji.png'; I had a ton of smilies with the same image_url that I wanted to delete
  8. Lamp

    XF 2.0 How to reset BBcode media sites to default?

    Just upgraded to XF2 and I uninstalled the s9e Media Codes add-on but that removed most of the sites. How can I reset them to default without manually copying them from a demo?
  9. Lamp

    How do I redirect only index.php URLs to subdomain with htaccess/mod_rewrite?

    I moved a XenForo installation to a subdomain and I need to redirect the old index.php links to the subdomain, for example: Redirect this: http://example.com/index.php?threads/example.1/ to this: http://a.example.com/index.php?threads/example.1/ But I don't want to redirect anything other than...
  10. Lamp

    Unmaintained How to customize the list of fonts in the text editor

    To change the list of fonts in the editor, you need to edit the file located at "/js/xenforo/bb_code_edit.js". The file is minified, so we will need to unfold some text. The full version is available in the "full" folder; you can copy and use that file instead if you like, but for this tutorial...
  11. Lamp

    How to customize the list of fonts in the text editor

    Lamp submitted a new resource: How to customize the list of fonts in the text editor - Ideal for webfonts Read more about this resource...
Top Bottom