Jump to content

Daniel F

Invision Community Team
  • Posts

    6,573
  • Joined

  • Days Won

    37

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Daniel F

  1. 10 minutes ago, kmk said:

    It available for us too? or is something that need send request to you?

    This was a simple privat job, where I've set up the pages database and created 2 custom templates. Have you tried yourself to create such a database?

  2. 2 minutes ago, Stefan Kaufmann said:

    Well, it's been a while since the community here talked about the job board app. Does anyone have news on this? I guess the project has been dropped?  
    I am thinking to use the app "pages super directory" instead.

    I've had a client where we indeed accomplished this via the pages app.

  3. 3 hours ago, Wesker289 said:

    Hmm, is it possible then to have it to where, when someone registers on the site, they're information is also created in a MSSQL database, and turns the password they created into a MD5 Hash?

    It’s possible, but you’ll need the MSSQL extension ( https://www.microsoft.com/en-us/download/details.aspx?id=20098 ) and you have to create a custom modification to send the data after the registration and to update the row when the PW is changed.

  4. 12 minutes ago, Zhana said:

    Thanks, it's already checked, however the group still can't see the deleted content menu link.

    Even not with the default theme? If yes, I would suggest to submit a ticket. 

     

    Edit: Just saw your last reply:)
    Glad that you found and resolved the issue 🙂

  5. Interesting.

    It's selected for me when I edit your image.Bildschirmfoto 2020-03-02 um 15.00.51.png

     

     

    Edit:

    OK, there's actually a condition controlling this.

    Quote

    {{if round( $maximumWidth / $maximumHeight, 2 ) == round( $width / $height, 2 )}}checked{{endif}}

     

  6. I gave you already a hint. looking at your code it seems that you're catching the wrong Exception

    Look at the code, the exception which is being thrown when a club doesn't exist and what exception you're catching here 🙂

  7. The app is breaking new registrations/validation on client boards

     

    OutOfRangeException:  (0)
    #0 /home/nginx/domains/dome/public/applications/clubsenhancements/extensions/core/MemberSync/clubsEnhancements.php(93): IPS\Patterns\_ActiveRecord::load()
    #1 /home/nginx/domains/dome/public/system/Member/Member.php(3767): IPS\clubsenhancements\extensions\core\MemberSync\_clubsEnhancements->onValidate()
    #2 /home/nginx/domains/dome/public/system/Member/Member.php(4275): IPS\_Member->memberSync()
    #3 /home/nginx/domains/dome/public/system/Member/Member.php(4242): IPS\_Member->validationComplete()
    #4 /home/nginx/domains/dome/public/applications/core/modules/front/system/register.php(760): IPS\_Member->emailValidationConfirmed()
    #5 /home/nginx/domains/dome/public/system/Dispatcher/Controller.php(85): IPS\core\modules\front\system\_register->validate()
    #6 /home/nginx/domains/dome/public/system/Dispatcher/Dispatcher.php(152): IPS\Dispatcher\_Controller->execute()
    #7 /home/nginx/domains/dome/public/index.php(13): IPS\_Dispatcher->run()
    #8 {main}

    looking at your code it seems that you're catching the wrong Exception

  8. Could you please remove the uploaded file stored in IPS\File::get( 'core_Theme', $this->member->profileBackgroundImage ) when the plugin is uninstalled.
     

    It's a grey area and we really dislike that people store their custom uploads to the core_Theme storage handler, but it's fine as long as everything is removed while the plugin uninstallation.

    Please keep also in mind that the paths won't be changed automatically when the storage handler is changed.

  9. 8 minutes ago, Jan Krohn said:

     

    A feature that allows spamming random email addresses without giving them the option to unsubscribe violates CAN-SPAM, GDPR and probably evey other anti spam regulation in any other legislation too. And this is a feature currently provided by InvisionCommunity.

    Hi,

    I'm really sorry for your bad experience with this feature. We agree about your concerns here and have changed the way how this feature works for IPS 4.5.0

  10. 7 minutes ago, DawPi said:

    system/Helpers/Table/Table.php

    
    	/**
    	 * @brief	Pagination parameter
    	 */
    	protected $paginationKey	= 'page';

     

     look up GIF by Dumbfoundead

    This;)

     

     

    You could also use unique urls, that's what I was using all the time. The issue is that you can't use the same url for both tables. ( I guess that's probably even the better solution, but the other should also work)

    	$table_1 = new \IPS\Helpers\Table\Db('first_table', \IPS\Request::i()->url(), array() );

     

     

  11. 11 hours ago, TheJackal84 said:

    Lot's of people use this feature and not 1 report of it deleting images 😕,

    We've had several tickets with broken reaction images, it's just that nobody suspected that it was caused by this app.(Kind of like the deleted signature attachments issue from your sticky notes app 😉 )

    I have no further information yet, I've only forwarded the information.

     

    Edit: Yep, reproduced it local after installing your app.

  12. One of our developers reported that it seems that this application “deletes” people’s reaction images 😞

    $return = parent::form( $form );
    
                try
    
                {
    
                    $reaction = \IPS\membersshop\Reactions::load( $this->id, 'reaction_id' );
    
                }
    
                catch( \Exception $e )
    
                {
    
                    $reaction = FALSE;
    
                }
    
                
    
                $form->add( new \IPS\Helpers\Form\Number( 'reaction_shop_points', $reaction ? $reaction->points : 0, TRUE, array( 'min' => 0 ) ) );
    
    
    
                if ( $values = $form->values() )
    
                {
    
                    try
    
                    {
    
                        $reaction = \IPS\membersshop\Reactions::load( $this->id, 'reaction_id' );
    
                    }
    
                    catch( \Exception $e )
    
                    {
    
                        $reaction = new \IPS\membersshop\Reactions;
    
                    }
    
                    $reaction->points = $values['reaction_shop_points'];
    
                    $reaction->reaction_id = $this->id;
    
                    $reaction->save();
    
                }
    

           

    this is the form() method, so here it calls $form->values() but then the regular form handling is going to do the same, i think that's where the problem is occurring

  13. 6 minutes ago, TheJackal84 said:

    How many times does the IPS suite try to run that query?

    I haven't looked further at this, but since end of November 110 pages were logged ( 3 pages contain other logs).

     

    6 minutes ago, TheJackal84 said:

    No reports of it plus sitemap is disabled

    Thx, then I guess I'll have to look further at this:/

    Bildschirmfoto 2019-12-09 um 10.42.20.png

  14. We have clients which have hundreds/thousands logged errors caused by this app:

    SELECT * FROM `chatapp_chatrooms`  LEFT JOIN `core_permission_index` ON core_permission_index.app='chatapp' AND core_permission_index.perm_type='chatroom' AND core_permission_index.perm_type_id=chatapp_chatrooms.id WHERE (( FIND_IN_SET(2,perm_) ) OR perm_='*' )
    Unknown column 'perm_' in 'where clause'
    
    #0 /var/www/html/h282004/system/Db/Select.php(373): IPS\_Db->preparedQuery('/*IPS\\core\\exte...', Array, true)
    #1 /var/www/html/h282004/system/Db/Select.php(436): IPS\Db\_Select->runQuery()
    #2 [internal function]: IPS\Db\_Select->rewind()
    #3 /var/www/html/h282004/applications/core/extensions/core/Sitemap/Content.php(230): IteratorIterator->rewind()
    #4 /var/www/html/h282004/system/Sitemap/Sitemap.php(102): IPS\core\extensions\core\Sitemap\_Content->generateSitemap('sitemap_content...', Object(IPS\Sitemap))
    #5 /var/www/html/h282004/applications/core/tasks/sitemapgenerator.php(35): IPS\_Sitemap->buildNextSitemap()
    #6 /var/www/html/h282004/system/Task/Task.php(255): IPS\core\tasks\_sitemapgenerator->execute()
    #7 /var/www/html/h282004/system/Task/Task.php(224): IPS\_Task->run()
    #8 /var/www/html/h282004/applications/core/interface/task/task.php(62): IPS\_Task->runAndLog()
    #9 {main}

    Is this a known issue?

  15. Hi,

    your app has a huge flaw affecting everybody who's using crons.

    Quote

    RuntimeException(LOCATION_UNKNOWN)

    #0 /var/www/html/m284926/system/Member/Member.php(154): IPS\_Session::i()
    #1 /var/www/html/m284926/system/Member/Group.php(115): IPS\_Member::loggedIn()
    #2 /var/www/html/m284926/system/Member/Group.php(138): IPS\Member\_Group::getStore()
    #3 /var/www/html/m284926/applications/brilliantdiscord/extensions/core/Queue/MassSynchronization.php(39): IPS\Member\_Group::groups(true, false)

     

     

×
×
  • Create New...