Jump to content


Daniel F

Invision Community Team
  • Posts

  • Joined

  • Days Won


 Content Type 



IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog



Everything posted by Daniel F

  1. Have you tried creating a plugin to replace every langstring containing clubs with e.g. guilds just before the strings are returned?
  2. it's an array with the id as key and value as value, not fieldID => X , fieldvalue=> Y πŸ˜‰ $data = array( 'customFields' => array( 1 => 'FOO', 2 => 'BAR', 10 => 'BAZINGA' ) );
  3. Daniel F

    Radical Tags

    @Makoto an issue was identified in your app. Once the app is installed and you create a database it doesn't set the title and content fields with in pages records appropriately.
  4. Could you please submit a ticket so that we can take a look at this?
  5. Correct:) We've actually located and fixed few bugs while looking at the above bug:)
  6. Are there any logged errors in your server log, php error log or IPS system log?
  7. Here's literally all the code you need to add rollbar support to IPS πŸ˜‰
  8. It was mentioned in πŸ˜‰ It’s planned to have a public version in few weeks
  9. Almost all form fields are handled via Form Helpers so if you need to change any of these fields, you'll have to search for the method which creates the form, then you can create a hook to change the form fields! There are few methods where above approach won't work, in this case you can create a hook on \IPS\Helpers\Form\FormAbstract to override the constructor to adjust the field data πŸ™‚
  10. Yea, IPS\Dispatcher\Standard seems like a good spot! If you care about literally anything and if you want to log "everything" , you could even hook into IPS\Dispatcher! I'm doing something similar with rollbar: //<?php /* To prevent PHP errors (extending class does not exist) revealing path */ if ( !\defined( '\IPS\SUITE_UNIQUE_KEY' ) ) { exit; } abstract class rollbar_hook_dispatcher_standard extends _HOOK_CLASS_ { public function init() { $this->initRollbar(); parent::init(); } protected function initRollbar() { if ( \IPS\Settings::i()->rollbarapikey ) { require_once \IPS\Application::getRootPath('rollbar') . '/sources/vendor/autoload.php'; $config = array( 'access_token' => \IPS\Settings::i()->rollbarapikey, 'environment' => \IPS\Settings::i()->base_url, 'root' => \IPS\ROOT_PATH ); \Rollbar\Rollbar::init($config); } } }
  11. You should mention that people could notice performance issues because of this! As mentioned in one of the tickets, it's not that smart to disable the widget cache. It's probably working on smaller boards but literally going to kill any medium & big boards with many topics or other items which the widget is trying to show!
  12. Well, it's actually visible, but it's white on a white background. You should probably change the color or add a border πŸ™‚
  13. I have filled a bug report for this.
  14. You could use custom variables to differ between logged in members and guests.
  15. You wanna probably take a look at following file which is IMO the best enhancement here
  16. This could be a custom theme issue, or an issue with the htaccess or configuration file. Please submit a ticket so that we can take a look at this.
  17. Thanks, this seems to be a valid issue which is also affecting few other areas and apps. I have posted this to our internal bug tracker.
  18. Why would you want to get a friendly url for http://ips.valacoding.com/index.php?app=core&module=system&controller=widgets&do=getBlock&blockID=app_nexus_latestProducts_tfxsn9iaq&pageApp=nexus&pageModule=store&pageController=product&pageArea=header&orientation=horizontal..... ? The page is meant to be shown in a modal and only to moderators with permissions to edit the sidebar, there's no point in having a friendly url here.
  19. Do you see any errors in the browsers JS console? Have you tried running the support tools in the ACP?
  20. Thanks, I have fixed this for an upcoming release.
  21. You could use live templates or snippets to automate this;) I have probably 50 snippets making my life easier:) https://www.jetbrains.com/help/pycharm/tutorial-creating-and-applying-live-templates-code-snippets.html Or, if it's only for your own usage, create some helper functions if(!function_exists('l')) { function l() { $args = \func_get_args(); return \IPS\Member::loggedIn()->language()->addToStack( ...$args ); } } if(!function_exists('lg')) { function lg($key) { return \IPS\Member::loggedIn()->language()->get( $key ); } }
  22. Sorry, it was the wrong constant! I have edited my post in the meanwhile. It's NOTIFICATIONS_PER_BATCH which handles this. Sorry again for the confusion.
  23. Yes, this is handled via the NOTIFICATIONS_PER_BATCH constant.
  24. Trust me, as the first in the IPS team from a none English speaking country I've brought up many ideas for the language system, but the language system in IPS 4.x is unfortunatly quite limited and requires a full rewrite, which is not feasible at the moment.
  25. You can control this via module permissions
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy