Jump to content

Adriano Faria

Clients
  • Joined

Everything posted by Adriano Faria

  1. I will update mine but it will require a full rewrite due to the way it is built. It uses custom class for everything (DB, Forms, etc.); It’s really a mess and a pain to update it the way it is. Still missing 5 or 6 “big” apps then I’ll certainly do it.
  2. To add to the topic. I had to manually upload applications / core / extensions / core / CommunityEnhancements / SendGrid.php to be able to update my board.
  3. This is my site, which lists only my apps. You can view files from others on https://invisioneer.org/index.php?/marketplace/
  4. IPS5: https://www.sosinvision.com.br/index.php?/file/457-community-map/ IPS4: https://www.sosinvision.com.br/index.php?/file/298-community-map/
  5. In forum view: https://www.sosinvision.com.br/index.php?/file/464-attachments-icon-on-forum-view/ The next version will have it in topic view too.
  6. A new version was released a couple of hours ago to fix it: https://www.sosinvision.com.br/index.php?/file/365-signature-in-profile/
  7. They’re probably incompatible. This is the IPS5 version for the Signature in Profile app: https://www.sosinvision.com.br/index.php?/file/365-signature-in-profile/
  8. 5.0.6 compatibility version is available now: https://www.sosinvision.com.br/index.php?/file/440-tutorials/
  9. There should be an extension to add our apps in the \IPS\core\modules\front\system\settings::_links() method. Currently, it is hardcoded to IPS apps only.
  10. @Ehren Tagging you because I think it's a design thing. It would be interesting if you could add a line to separate the apps in the Theme Editor -> Page layouts, like this: It tends to get messy if you have too many apps adding stuff there. I added a line there just to show you. There's a separation in Account Settings: Thank you.
  11. The FEATURE/UNFEATURE action on a content item isn't captured in the onStatusChange method.
  12. Not enough space there.
  13. I do it in the profile: https://www.sosinvision.com.br/index.php?/file/366-profile-songs/ Take a look at this one to add your stuff to templates:
  14. Not sure this is WAI, but I’ll report it anyway. The email received when someone reviews your file doesn’t reflect the proper rating (stars): The file: Thank you.
  15. Forget about hooks. IPS removed Monkey Patch on IPS5. No way to extend classes anymore. Now you can use listeners (based on hook points), some new extensions and template hooks. It works for a lot of things but not for everything. I suggest you to read this entry and its comments:
  16. Definitely, no. Before installing it, you need to change all “class _“ to “class “ (remove the _). If it has a front navigation extension, you has to cast all variables and pass the right return type for each method. Better if you open an extension from an existing app. If you make these two changes, you’ll be able to install your app but you will be requested to change all other files when try to access them.
  17. It isn't a full rewrite, but all PHP files and templates will require edits. PHP is easy and faster if you use PHPStorm, for example.
  18. Matt, the user tested from 5.2 to 7.0, and it is all the same. Is there any special setting or something in Redis I need to do? Views count simply stall when Redis is enabled.
  19. If I add a new tab in a calendar, for example, it shows like this: That's because the calendar form doesn't use tabs. So it would be interesting to add a new tab in the calendar just in case. It won't make any bad as a stand-alone tab won't show up: /** * [Node] Add/Edit Form * * @param Form $form The form * @return void */ public function form( Form &$form ) : void { $form->addTab( 'Test' ); $form->add( new Translatable( 'cal_title', NULL, TRU But it will work just fine when someone adds a new tab: Thank you.
  20. I can't use the toggle in my form to hide the icon field because it's missing the ID in the RADIO field in the relevant method: It should be: public function iconFormFields( Form &$form ) : void { $prefix = static::iconFormPrefix(); $form->add( new Radio( $prefix . 'icon_choose', $this->icon_type, null, [ 'options' => [ 'none' => $prefix . 'icon_choose_icon_none', 'icon' => $prefix . 'icon_choose_icon', 'upload' => $prefix . 'icon_choose_upload' ], 'toggles' => [ 'icon' => [ $prefix . 'icon_picker' ], 'upload' => [ $prefix . 'icon_upload' ] ] ], NULL, NULL, NULL, $prefix . 'icon_choose' ) );instead of public function iconFormFields( Form &$form ) : void { $prefix = static::iconFormPrefix(); $form->add( new Radio( $prefix . 'icon_choose', $this->icon_type, null, [ 'options' => [ 'none' => $prefix . 'icon_choose_icon_none', 'icon' => $prefix . 'icon_choose_icon', 'upload' => $prefix . 'icon_choose_upload' ], 'toggles' => [ 'icon' => [ $prefix . 'icon_picker' ], 'upload' => [ $prefix . 'icon_upload' ] ] ] ) );Thank you.
  21. Here goes your test: Account created:
  22. The log entry: Error: Value of type null is not callable (0) #0 /home/sosinvision.com.br/public_html/applications/core/modules/front/system/register.php(275): IPS\Helpers\Wizard->__toString() #1 /home/sosinvision.com.br/public_html/system/Dispatcher/Controller.php(139): IPS\core\modules\front\system\register->manage() #2 /home/sosinvision.com.br/public_html/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute() #3 /home/sosinvision.com.br/public_html/index.php(16): IPS\Dispatcher->run() #4 {main}Backtrace: #0 /home/sosinvision.com.br/public_html/init.php(827): IPS\Log::log() #1 /home/sosinvision.com.br/public_html/system/Helpers/Wizard/Wizard.php(240): IPS\IPS::exceptionHandler() #2 /home/sosinvision.com.br/public_html/applications/core/modules/front/system/register.php(275): IPS\Helpers\Wizard->__toString() #3 /home/sosinvision.com.br/public_html/system/Dispatcher/Controller.php(139): IPS\core\modules\front\system\register->manage() #4 /home/sosinvision.com.br/public_html/system/Dispatcher/Dispatcher.php(169): IPS\Dispatcher\Controller->execute() #5 /home/sosinvision.com.br/public_html/index.php(16): IPS\Dispatcher->run() #6 {main}The account is created regardless. I see a lot of this entry in the logs. I have one Question and Answer Challenge and two required profile fields at the registration screen. Same profile fields are on a required profile step so existing members can fill the fields. Thank you.
  23. It still exists: IPS5: https://www.sosinvision.com.br/index.php?/file/423-bulk-pm/ IPS4: https://www.sosinvision.com.br/index.php?/file/58-bulk-pm/
  24. The extension doesn't work on IPS\forums\SavedAction because you don't call the parent method in the IPS\forums\SavedAction::form() method. Thank you.