Recent content by Earl

  1. Earl

    XF 2.0 What's the correct way to use an image in an addon in XF2?

    Hey @Sim I have Earl/ThreadChooser/_files/Earl/ThreadChooser/Image.jpg and Earl/ThreadChooser/_files/Earl/ThreadChooser/clTrigger.js files. In the templates, the javascript loads without any problem like this <xf:js src="Earl/ThreadChooser/clTrigger.js" addon="Earl/ThreadChooser"/> but how do...
  2. Earl

    XF 2.2 Writing before registering

    Congratz @NixFifty
  3. Earl

    Unit testing XenForo addons - tutorial

    for developers who use docker, I'm sharing this zsh function. You can add this to .zshrc xfcupdate() { if [[ ! -a composer.json ]]; then <<EOF > composer.json { "require-dev": { "hampel/xenforo-test-framework": "^1.0", "nesbot/carbon": "^2.25" }, "autoload-dev": {...
  4. Earl

    Unit testing XenForo addons - tutorial

    This guide is amazing. I always wanted to use unittests with xenforo
  5. Earl

    Short shareable links

    Sorry, I edited the post and used the inline code instead. The SEO friendly URL is good. The issue is this part...
  6. Earl

    Short shareable links

    When you have threads which have Unicode in titles, you get the shareable links of those threads like this: Edit...
  7. Earl

    XF 2.1 Received invalid UTF-8 for string column [message]

    can you check the server logs in admin panel?
  8. Earl

    XF 2.1 Received invalid UTF-8 for string column [message]

    Cool. Did you check the PCRE version?
  9. Earl

    XF 2.1 Received invalid UTF-8 for string column [message]

    I was able to complete the importing process on @eva2000's centminmod without a single issue. It has a great community support. I recommend you to try that too. https://community.centminmod.com/threads/xenforo-2-1-0-beta-1-install-2-1-0-final-upgrade-on-centmin-mod-123-09beta01-lemp-stack.16060/
  10. Earl

    XF 2.0 Setup.php Install Versus Upgrade

    Thank you very much! That worked
  11. Earl

    XF 2.0 Setup.php Install Versus Upgrade

    ah yeah, makes sense. thanks for the heads up @Lukas W. @Chris php cmd.php xf-addon:upgrade-step --id=Earl/PhoneTest --version=1000012 --step=1 returns Console Tool string in terminal. And it doesn't do anything. even php cmd.php xf-addon:upgrade-step --version doesn't show anything but that...
  12. Earl

    XF 2.0 Setup.php Install Versus Upgrade

    Hey @Chris D I hope it wouldn't do any harm If I ask a related question here, from you. The user has installed the version 1000011 Then, the next release (1000012) adds a new installStep4() So I executes that step from upgrade1000012Step1() too like this: public function...
  13. Earl

    XF 2.1 execute xf-addon:bump-version before or after coding for next update?

    lol, I thought I was alone. Then again, I used to think that they will change when executing the bump-version command (or they will get corrected when executing the build-release). but it only changes the add-on.json file right? anyway it's still safe to continue to keep releasing updates but...
  14. Earl

    XF 2.1 execute xf-addon:bump-version before or after coding for next update?

    Thank you, I've been doing it all wrong then :oops:😞
Top