Jump to content

White Miku

Members
  • Posts

    312
  • Joined

  • Last visited

  • Days Won

    2

 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 White Miku

  1. Hello,

    IPS allows adding "non-standard" emoticons that might be much bigger than line-height.

    I'm developing a chat application with default scheme where newer messages appears at the bottom of chat window.

    I've dealt with inserting images, resizing and lazy-loading, but I can't deal with content reflow which apperas when "non-standard" emoticons are being used.

    Video of page loading in "Slow 3G" mode:

    <p>
    	<img alt=":ouch:" data-emoticon="" src="<fileStore.core_Emoticons>/emoticons/ouch.png" title=":ouch:" />
    </p>

    The <img /> tag hasn't height attribute, which produces content reflow when browser obtained it's metadata and actual height.

    I ask for your advice, because I've run out of ideas.

  2. 3 minutes ago, Daniel F said:

    @Adriano Faria Could you pls reupload the file. I have no idea what's going on here, but it's "gone" 😞 We'll take a look at this ASAP.

    Can you approve it instantly? Because the application not working for weeks but not through the fault of the author.

  3. @TheJackal84

    Hello,

    I've found another problem in your Chat application.

    The application breaks user registration process and gives error EX0.

    The problem is in function "IPS\core\modules\front\system\chatapp_hook_RegisterHook::_createMember()"

    The function "IPS\core\modules\front\system\_register::_createMember()" requires 4 arguments but your hook passes only 3.

    To fix the problem you need to change the following lines in class:

    public static function _createMember( $values, $profileFields, $postBeforeRegister = NULL )
    	{
    		try
    		{
    			$parent = parent::_createMember( $values, $profileFields, $postBeforeRegister );

    To:

    public static function _createMember( $values, $profileFields, $postBeforeRegister = NULL, &$form )
    	{
    		try
    		{
    			$parent = parent::_createMember( $values, $profileFields, $postBeforeRegister, $form );

    I've fixed my installation by myself, but upload a fix for others ASAP, please.

  4. 1 hour ago, TheJackal84 said:

    Will check it out mate

    I've found the problem and how to fix it in PHP by myself. If you want, you may contact me via PM and I'll tell you about my variant of fix.

    1 hour ago, TheJackal84 said:

    I'm gonna be working on pages add-ons for all my stuff from this month onwards so I'll check that out

    Thank you.

  5. @TheJackal84 Hello,

    Just purchased your application and got a problem. When I'm enabling option to place newest messages at bottom, the order becomes totally messed. Messages are being doubled at the top and at the bottom.

    Also, a feature request: Is it possible to add support of Pages application to Bots fuctionality? E.g. on creating new record, commenting record and so on...

    Thank you.

  6. Hello.

    Bug detected:

    After pinning first post in topic, which hasn't another posts, I'm getting error EX2.

    Log:

    Tue, 07 Jul 2015 11:14:36 +0000 (Severity: 2)
    95.108.132.187 - http://site/forum/topic/8997-tplus-kachestvennyiy-takelazh-dinamicheskie-stropyi-shaklyi/
    ErrorException
    2: Creating default object from empty value
    #0 /var/www/offroad4x4club.com/forum/init.php(431) : eval()'d code(57): IPS\IPS::errorHandler(2, 'Creating defaul...', '/var/www/offroa...', 57, Array)
    #1 /var/www/offroad4x4club.com/forum/applications/forums/modules/front/forums/topic.php(190): IPS\forums\hook71->comments(NULL, NULL, 'date', 'asc', NULL, NULL, NULL, NULL)
    #2 /var/www/offroad4x4club.com/forum/system/Dispatcher/Controller.php(94): IPS\forums\modules\front\forums\_topic->manage()
    #3 /var/www/offroad4x4club.com/forum/system/Content/Controller.php(45): IPS\Dispatcher\_Controller->execute()
    #4 /var/www/offroad4x4club.com/forum/applications/forums/modules/front/forums/topic.php(40): IPS\Content\_Controller->execute()
    #5 /var/www/offroad4x4club.com/forum/system/Dispatcher/Dispatcher.php(129): IPS\forums\modules\front\forums\_topic->execute()
    #6 /var/www/offroad4x4club.com/forum/index.php(13): IPS\_Dispatcher->run()
    #7 {main}

     

×
×
  • Create New...