Recent content by FoxSecrets

  1. FoxSecrets

    XF 2.2 Additional files not being deployed on add-on installation

    Ok, thanks @Jeremy P. It would be interesting if you could address this behavior, in dev mode display some error message and in prod mode avoid getting stuck.
  2. FoxSecrets

    XF 2.2 Additional files not being deployed on add-on installation

    I did other tests here and I understood what happened, I'll try to explain. In development mode, when uninstalling the add-on, I noticed that the files were not deleted. So I configured it to delete the directories when uninstalling the add-on (in setup.php), and when trying to reinstall it...
  3. FoxSecrets

    XF 2.2 Additional files not being deployed on add-on installation

    Yes, layout, command and hashes, everything ok. And exactly as you said, the installation completes, but the files (js/css) are not placed anywhere, no log errors, no messages. I have no idea how to give an example, that's a simple installation task. Should this behavior maybe related to...
  4. FoxSecrets

    XF 2.2 Additional files not being deployed on add-on installation

    @Jeremy P can you help me with this issue? I've got the zip with all js/css files, but do not deploy them on installation. I did exactly what you mentioned here, but the problem is not with the zip, but with the installation.
  5. FoxSecrets

    XF 2.2 Additional files not being deployed on add-on installation

    I just want to preload some image files that are part of my add-on's sample data.
  6. FoxSecrets

    XF 2.2 Additional files not being deployed on add-on installation

    No, I haven't. Should I create the directories and also set build.json file? Both? Can you explain me how? I need to load some images.
  7. FoxSecrets

    XF 2.2 Additional files not being deployed on add-on installation

    I've added some directories to my add-on, however is not being deployed on installation. Am I missing something? build.json { "additional_files": [ "js/My/Addon", "styles/My/Addon", "data/My/Addon/Images" ] }
  8. FoxSecrets

    XF 2.0 Why isn't hashes.json written to filesystem?

    How can I use this code to generate the hashes file on my add-on building? Should I put in setup file?
  9. FoxSecrets

    XF 2.2 Run query on user downgrade

    Got it working. I extended the wrong class. It has to be XF\Repository\UserUpgrade ~ My\Addon\XF\Repository\UserUpgrade , not CleanUp.
  10. FoxSecrets

    XF 2.2 Run query on user downgrade

    I need to run a query on user downgrade, so I set class extension XF\Cron\CleanUp ~ My\Addon\XF\Cron\CleanUp The function runUserDowngrade runs under XF class not what I've set. namespace My\Addon\XF\Cron; class CleanUp extends XFCP_CleanUp { public static function runUserDowngrade()...
  11. FoxSecrets

    XF 2.2 Custom widget positions

    Ok, I get it. So just don't insert the 'position' attribute, right? Nice, I was stuck on it, and it's very simple. Thank you @Chris D
  12. FoxSecrets

    XF 2.2 Custom widget positions

    Currently there are only widget positions such as 'sidenav' and 'sidebar'. How can I create custom positions like 'top' and 'bottom'?
  13. FoxSecrets

    XF 2.2 PayPal sandbox error "Invalid Business"

    I'm getting the following error in my PayPal sandbox URL: INVALID_BUSINESS_ERROR https://www.sandbox.paypal.com/webapps/shoppingcart/error?flowlogging_id=xxxxxxxx&code=INVALID_BUSINESS_ERROR And the body says: Something doesn't feel right. Your payment to this merchant cannot be completed using...
  14. FoxSecrets

    XF 2.2 Set permission by default to Yes

    Ok, now I got it, but in my opinion should focus on user groups not on other permissions in this case. I ended up using the method query specifying the user group in the installation step. It worked here. Does it make sense? public function installStep7() { $db = $this->db()...
Top Bottom