Jump to content

DawPi

Clients
  • Posts

    8,333
  • Joined

  • Last visited

  • Days Won

    19

Reputation Activity

  1. Thanks
    DawPi reacted to Adriano Faria in Trying to find plugin 'Website Footer by Catzwolf'   
    then
  2. Like
    DawPi got a reaction from sadams101 in Possible Issue After Recent Patch   
    To be honest, it's quite easy to reproduce. See this:

    Someone or something is attempting to "hack" or something on the board. In the code, you may try to find it at applications\calendar\modules\front\calendar\view.php:
    /* Pagination */ $offset = isset( \IPS\Request::i()->offset ) ? min( array( \IPS\Request::i()->offset, \count( $events ) ) ) : 0; As you can see, there is no check to ensure that the offset value is an integer. Please try changing it to:
    /* Pagination */ $offset = isset( \IPS\Request::i()->offset ) ? \intval( \IPS\Request::i()->offset ) : 0; $offset = $offset ? min( array( $offset, \count( $events ) ) ) : 0; Should help.
  3. Like
    DawPi got a reaction from Adriano Faria in Trying to find plugin 'Website Footer by Catzwolf'   
    It's doable. Adriano for example (in public resources) and I (in private only since now) doing it. 🙂
  4. Like
    DawPi got a reaction from SeNioR- in Gallery, View photo EXIF information   
    Works only with an ImageMagick.
  5. Like
    DawPi got a reaction from SeNioR- in Possible Issue After Recent Patch   
    To be honest, it's quite easy to reproduce. See this:

    Someone or something is attempting to "hack" or something on the board. In the code, you may try to find it at applications\calendar\modules\front\calendar\view.php:
    /* Pagination */ $offset = isset( \IPS\Request::i()->offset ) ? min( array( \IPS\Request::i()->offset, \count( $events ) ) ) : 0; As you can see, there is no check to ensure that the offset value is an integer. Please try changing it to:
    /* Pagination */ $offset = isset( \IPS\Request::i()->offset ) ? \intval( \IPS\Request::i()->offset ) : 0; $offset = $offset ? min( array( $offset, \count( $events ) ) ) : 0; Should help.
  6. Thanks
    DawPi reacted to Jim M in Possible Issue After Recent Patch   
    Thank you. I have reported what you mentioned here to our developers. However, I am unable to reproduce the exact error which has been originally reported. Therefore, we cannot guarantee this will resolve the OPs issue without access to their instance.
  7. Like
    DawPi got a reaction from opentype in Possible Issue After Recent Patch   
    To be honest, it's quite easy to reproduce. See this:

    Someone or something is attempting to "hack" or something on the board. In the code, you may try to find it at applications\calendar\modules\front\calendar\view.php:
    /* Pagination */ $offset = isset( \IPS\Request::i()->offset ) ? min( array( \IPS\Request::i()->offset, \count( $events ) ) ) : 0; As you can see, there is no check to ensure that the offset value is an integer. Please try changing it to:
    /* Pagination */ $offset = isset( \IPS\Request::i()->offset ) ? \intval( \IPS\Request::i()->offset ) : 0; $offset = $offset ? min( array( $offset, \count( $events ) ) ) : 0; Should help.
  8. Like
    DawPi reacted to TDBF in Trying to find plugin 'Website Footer by Catzwolf'   
    If anyone wants my other apps, just let me know and I will post them here.
  9. Thanks
    DawPi got a reaction from Marc Stridgen in Changed my account email but my account was deleted instead.   
    https://forum.invisionize.pl/topic/55445-przywracanie-usuniętego-użytkownika/
  10. Like
    DawPi got a reaction from Funar Flavius Mihai in PHP8 Incompatible Customizations   
    Both apps belongs to @Adriano Faria which take care of it when you contact him. 🫡
  11. Like
    DawPi got a reaction from Adriano Faria in PHP8 Incompatible Customizations   
    Both apps belongs to @Adriano Faria which take care of it when you contact him. 🫡
  12. Like
    DawPi reacted to Nathan Explosion in Can't upgrade from 4.4.6   
    Don't use the auto uograder.
    Manually upgrade...download the files, upload them to your site, change the PHP version (after ensuring that the ips4.php checker says all OK) and go directly to /admin/upgrade, or whatever it is.
  13. Like
    DawPi got a reaction from Maxxius in Screenshots out of order when upload a new version to a file   
    I've done custom mod for reordering screenshots in the Downloads.
    Working fine on edit or new version page. See:

    video_1.mp4    
  14. Like
    DawPi got a reaction from Kirill Gromov in Screenshots out of order when upload a new version to a file   
    I've done custom mod for reordering screenshots in the Downloads.
    Working fine on edit or new version page. See:

    video_1.mp4    
  15. Like
    DawPi reacted to Jim M in Getting a "Your account does not require validation" member message   
    I'm afraid, the solution is indeed to upgrade to the latest release as this has been resolved in the releases since yours. If it's still an issue on the latest release, we can then manually resolve it for you. However, ignoring the fix and being rather outdated is only going to continue the issue happening, among others.
    To put this in perspective, if the resolution for a nail in the middle of your car's tire is to patch the tire, you can't ignore that resolution and expect to keep your tire with a hole in it. Simply putting more air in the tire will just eventually have it happen again 🙂 .
    If you're encountering an issue with upgrading the core software, we can assist with that.
  16. Like
    DawPi got a reaction from Abo Doha in Inquiry about a feature   
    I have something very similar - https://forum.invisionize.pl/files/file/818-dp45-buy-new-topics/
    You can buy "new topics" packages and use them to create topics in selected (paid) forums.
  17. Like
    DawPi reacted to Adriano Faria in Inquiry about a feature   
    Edit the forum you want the topics to be visible to the author and staff, and find:

  18. Like
    DawPi got a reaction from SeNioR- in Inquiry about a feature   
    I have something very similar - https://forum.invisionize.pl/files/file/818-dp45-buy-new-topics/
    You can buy "new topics" packages and use them to create topics in selected (paid) forums.
  19. Like
    DawPi got a reaction from David N. in Inquiry about a feature   
    I have something very similar - https://forum.invisionize.pl/files/file/818-dp45-buy-new-topics/
    You can buy "new topics" packages and use them to create topics in selected (paid) forums.
  20. Like
    DawPi reacted to Nathan Explosion in Reset Web IDs to 1   
    Delete the database
    Delete the files
    Reupload the files
    Install the software.
  21. Agree
    DawPi got a reaction from G17 Media in Table with external database.   
    Did you specify the $table->rowsTemplate value? 🙂
    It's required for a front DB Helpers if I'm not wrong.
  22. Like
    DawPi reacted to teraßyte in read session data from external page   
    I'm confused. 🤨
     
    You're adding data to $_SESSION, but then you're dumping \IPS\Member::loggedIn() which doesn't contain/read $_SESSION in the other file.
     
    What exactly are you trying to do?
  23. Like
    DawPi reacted to PPlanet in Help with paywall on a forum   
    @Adam Chernoff, you may want to take a look at these third party apps:
    https://www.invisioneer.org/files/file/23-dp45-guest-view-limits/
    https://www.invisioneer.org/files/file/24-dp45-groups-view-limits/
    Particularly if you want to have a teaser system to allow guests or members of some usergroups to have a limited access to topics, rather than all or nothing.
  24. Thanks
    DawPi got a reaction from LiveG in My forum crashes every few minuets   
    Restore that template bit. Should help (as it will remove hasMarkers part).
  25. Like
    DawPi reacted to teraßyte in [BUG 4.7.16] Incosistent implementation of core extension "EditorLocations::attachmentLookup()"   
    As per the title, the implementation of the extension's EditorLocations::attachmentLookup() method is inconsistent when you don't allow attachments. No matter how I implement it, or which exception I throw, it won't work for all locations.
     
    1) \applications\core\extensions\core\EditorMedia\Attachment.php (lines 140-156):
    The code checks if the method exists before calling it. The code checks for 2 exceptions being thrown: \LogicException \BadMethodCallException if( method_exists( static::$loadedExtensions[$map['location_key']], 'attachmentLookup')) { try { $url = static::$loadedExtensions[$map['location_key']]->attachmentLookup($map['id1'], $map['id2'], $map['id3']); /* Test url() method to prevent BadMethodCallException from the template below - an attachment may be located within a Node class that doesn't support urls, such as CMS Blocks. */ if ($url instanceof \IPS\Content or $url instanceof \IPS\Node\Model){ $url->url(); } static::$locations[$attachId][] = $url; } catch (\LogicException $e) { } catch (\BadMethodCallException $e) { } }  
    2) \applications\core\modules\admin\overview\files.php (lines 209-219):
    The code checks if the method exists before calling it. The code checks for a single exception being thrown: \LogicException if ( isset( $loadedExtensions[ $map['location_key'] ] ) AND method_exists( $loadedExtensions[ $map['location_key'] ], 'attachmentLookup' ) ) { try { if ( $url = $loadedExtensions[ $map['location_key'] ]->attachmentLookup( $map['id1'], $map['id2'], $map['id3'] ) ) { $locations[] = $url; } } catch ( \LogicException $e ) { } }  
    3) \applications\core\modules\front\system\attachments.php (lines 87-100):
    The code doesn't check if the method exists before calling it. The code checks for a single exception being thrown: \OutOfRangeException /* Check Permission */ $exploded = explode( '_', $attachment['location_key'] ); try { $extensions = \IPS\Application::load( $exploded[0] )->extensions( 'core', 'EditorLocations' ); if ( isset( $extensions[ $exploded[1] ] ) ) { $attachmentItem = $extensions[ $exploded[1] ]->attachmentLookup( $attachment[ 'id1' ], $attachment[ 'id2' ], $attachment[ 'id3' ] ); } } catch ( \OutOfRangeException $e ) { \IPS\Output::i()->json( array( 'error' => 'no_permission' ) ); }  
    4) \system\Content\Statistics.php (lines 398-408):
    The code doesn't check if the method exists before calling it. The code checks for a single exception being thrown: \LogicException \BadMethodCallException if ( isset( static::$loadedExtensions[ $map['location_key'] ] ) ) { try { $url = static::$loadedExtensions[ $map['location_key'] ]->attachmentLookup( $map['id1'], $map['id2'], $map['id3'] ); $return[ $k ]['commentUrl'] = (string) $url->url(); } catch ( \LogicException $e ) { } catch ( \BadMethodCallException $e ){ } }  
    ===
    To make a summary of the implementations:
    All OK. It should check for the \BadMethodCallException exception. It should check if the method exists before calling it, and both \LogicException and \BadMethodCallException exceptions aren't being checked. Rather, it checks for a \OutOfRangeException exception which is never thrown according to the method's phpDoc. It should check if the method exists before calling it.  
    I could throw a \LogicException, but as it is it would break implementation #3 anyway.
×
×
  • Create New...