Jump to content

Daniel F

Invision Community Team
  • Posts

    6,564
  • 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. I’m not in front of my PC so can’t take a look at the code,  but it seems there’s a bug/ issue in the member field.

    The title mentions the member ID, while the description mentions the name / email.

    have you tried to send the member id instead of the email? 

  2. I have just tested it local and can confirm that it works for me.

    Could contain: Page, Text, File

    What exactly are you trying and are your tasks working at all? Keep in mind that firing a webhook only logs the data to the database and that a separate tasks which is called all 2 minutes sends these data then in batches.

  3. The IPS\core\extensions\core\Sitemap\Applications extension and also the IPS\core\Application::sitemapLinks function were removed in 4.6.9.

    Have you replaced all your files while the upgrade?

    I guess there's still the IPS\core\extensions\core\Sitemap\Applications extension on your system which "is fine" as long as also the applications/core/data/extensions.json is present and up2date.

     

    Can you confirm that applications/core/extensions/core/Sitemap/Applications.php is present?What happens when you delete it?

  4. 2 hours ago, MMXII said:

    * By the way: Only now this works! Before, even if I added a translation to r__rss_add via the language tools in the AdminCP, it would not let me save it permanently, which seems to be a bug.

    The "issue"(not bug per se) is, that the system won't save the change once there are 2 or more language strings with the same key but in different apps.

  5. This shouldn't happen, we're removing them based on the app and key so it's going to remove it from all languages no matter if it's translated or customized.

    	/* Delete removed language strings */ 
    							if( file_exists( \IPS\ROOT_PATH . "/applications/{$data['key']}/setup/upg_{$_next}/lang.json" ) )
     							{
     								$langChanges = json_decode( \file_get_contents( \IPS\ROOT_PATH . "/applications/{$data['key']}/setup/upg_{$_next}/lang.json" ), TRUE );
     								if ( isset( $langChanges['normal']['removed'] ) and $langChanges['normal']['removed'] )
     								{
     									\IPS\Db::i()->delete( 'core_sys_lang_words', array( array( 'word_app=?', $data['key'] ), array( 'word_js=0' ), array( \IPS\Db::i()->in( 'word_key', $langChanges['normal']['removed'] ) ) ) );
     								}
     								if ( isset( $langChanges['js']['removed'] ) and $langChanges['js']['removed'] )
     								{
     									\IPS\Db::i()->delete( 'core_sys_lang_words', array( array( 'word_app=?', $data['key'] ), array( 'word_js=1' ), array( \IPS\Db::i()->in( 'word_key', $langChanges['js']['removed'] ) ) ) );
     								}
     							}

     

×
×
  • Create New...