Jump to content

Community

Daniel F

Invision Community Team
  • Posts

    4,935
  • Joined

  • Days Won

    19

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Posts posted by Daniel F

  1. Announcements are stored in the datastore! This means even if you delete it from the database, the'll still be shown until the datastore is rebuilt.

    To fix this, run the support tools in your ACP!

     

    BTW, please NEVER, NEVER NEVER delete anything direct from the dababase, there are often related data stored in other tables which would literally break your site:) 

  2. Is it affect all your ACP pages? It could also be a WAF ( Web Application Firewall) issue. I would suggest to contact your webhost to see if there's a WAF and if yes, to tell them to change the WAF rules.

  3. It seems that Stratagem breaks the Calendar Sitemap generation.

     

    OutOfRangeException::0
    #0 /var/www/html/105129/init.php(893) : eval()'d code(47): IPS\Patterns\_ActiveRecord::load(133, 'project_calenda...')
    #1 /var/www/html/105129/applications/core/extensions/core/Sitemap/Content.php(186): IPS\calendar\stratagem_hook_calendarEvent::getItemsWithPermission(Array, NULL, NULL, 'read', -1, 0, Object(IPS\Member), NULL, NULL, NULL, true)
    #2 /var/www/html/105129/system/Sitemap/Sitemap.php(85): IPS\core\extensions\core\Sitemap\_Content->getFilenames()
    #3 /var/www/html/105129/applications/core/tasks/sitemapgenerator.php(39): IPS\_Sitemap->buildNextSitemap()
    #4 /var/www/html/105129/system/Task/Task.php(367): IPS\core\tasks\_sitemapgenerator->IPS\core\tasks\{closure}()

     

  4. 2 hours ago, Clunk said:

    Thanks Dawid, appreciate it.

    we are running latest build (4.5.4.2) and check box is unchecked by default. It's more we don't want the user to be asked at all, as we won't send email from invision, or notify them of notifications by email. It's not a biggie, but we like the dialogs to be as simple as possible.

    cheers Clunk

    We have an internal suggestion for this.

  5. There's a similar suggestion topic and once again.. we're aware of many issues and limitations with the current language system, but it's just a too huge change and I don't expect that we'll start such a reactoring while the IPS 4.x lifecycle.

    That said=>

    36 minutes ago, Sonya* said:

    I need something to upgrade my Russian and German projects more efficiently 😉 

    That's exactly what I'm talking about:)
    A hook on Lang::replaceWords with something like

    array_walk_recursive($this->words, function(&$i,$key) use ( $searchAndReplace ) {
    $i = strtr( $i, $searchAndReplace );
    });

    will do literally all the work for you;)

    Unfortunatly I'm lacking the time to create a proper MP compatible app for this, but it's really not that hard.

    A database table + node model + controller to manage the replacements, store them to the Datastore to save the global query, run replacement at the end, BOOM DONE!

     

    Bildschirmfoto 2021-04-05 um 19.13.34.png

×
×
  • 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