Everything posted by Adriano Faria
-
List of attachments at the top of thread
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.
-
Invision Community 5.0.6 Released
To add to the topic. I had to manually upload applications / core / extensions / core / CommunityEnhancements / SendGrid.php to be able to update my board.
-
Where to find modules since the Marketplace has closed?
This is my site, which lists only my apps. You can view files from others on https://invisioneer.org/index.php?/marketplace/
-
Where to find modules since the Marketplace has closed?
IPS5: https://www.sosinvision.com.br/index.php?/file/457-community-map/ IPS4: https://www.sosinvision.com.br/index.php?/file/298-community-map/
-
List of attachments at the top of thread
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.
-
Errors on Profile Page (Beta 4)
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/
- Custom apps don't work
-
Custom apps don't work
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/
-
Invision Community 5.0.6 Released
5.0.6 compatibility version is available now: https://www.sosinvision.com.br/index.php?/file/440-tutorials/
-
Can't add my app in Account Settings -> Content Preferences
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.
-
Theme Editor -> Page layouts
@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.
-
Content Listener: Feature/Unfeature a content item
The FEATURE/UNFEATURE action on a content item isn't captured in the onStatusChange method.
-
IC5: Introduction to Listeners
Not enough space there.
-
IC5: Introduction to Listeners
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:
-
Email about a review in a file
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.
-
IC5: Developer Center
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:
-
IC5: Developer Center
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.
-
IC5: Developer Center
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.
-
Redis x number of views of content item
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.
-
New tab in nodes without tabs (Calendar, Saved Actions, etc.)
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.
-
IPS\Node\Icon::iconFormFields()
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.
-
EX0 when registering
Here goes your test: Account created:
-
EX0 when registering
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.
-
Sending PM to all members
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/
-
UINode extension on IPS\forums\SavedAction
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.