Jump to content

Community

DawPi

+Clients
  • Posts

    7,497
  • Joined

  • Last visited

  • Days Won

    15

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Posts posted by DawPi

  1. Hi,

    I have simple "stock" JS code:

    ;( function($, _, undefined) {
        "use strict";
        ips.controller.mixin('customSubmitWrapper', 'gallery.front.submit.wrapper', true, function() {
    
        });
    }(jQuery, _));

    But every time when I rebuild app I'm gettings this:

    <?xml version="1.0" encoding="UTF-8"?>
    <javascript app="dp45ytembedgallery">
     <file javascript_app="dp45ytembedgallery" javascript_location="front" javascript_path="controllers/submit" javascript_name="ips.submit.main.customYTSubmitWrapper.js" javascript_type="controller" javascript_version="10000" javascript_position="1000050">;( function($, _, undefined) {&#13;
        &quot;use strict&quot;;&#13;
        ips.controller.mixin('customYTSubmitWrapper', 'gallery.front.submit.wrapper', true, function() {&#13;
    &#13;
        });&#13;
    }(jQuery, _));</file>
    </javascript>

    What I'm doing wrong?

  2. Hello,
    when I delete nexus gateway I'm getting this error:


     

    Whoops\Exception\ErrorException: Undefined index: gatewayKey (8)
    #0 C:\wamp\www\45\applications\nexus\sources\Gateway\Gateway.php(102): Whoops\Run->handleError(8, 'Undefined index...', 'C:\\wamp\\www\\45\\...', 102, Array)
    #1 C:\wamp\www\45\system\Patterns\ActiveRecord.php(148): IPS\nexus\_Gateway::constructFromData(Array)
    #2 C:\wamp\www\45\applications\nexus\sources\Transaction\Transaction.php(116): IPS\Patterns\_ActiveRecord::load(7)
    #3 C:\wamp\www\45\system\Helpers\Table\Db.php(432): IPS\nexus\_Transaction::IPS\nexus\{closure}(7, Array)
    #4 C:\wamp\www\45\system\Helpers\Table\Table.php(489): IPS\Helpers\Table\_Db->getRows(Array)
    #5 C:\wamp\www\45\applications\nexus\modules\admin\payments\transactions.php(71): IPS\Helpers\Table\_Table->__toString()
    #6 C:\wamp\www\45\system\Dispatcher\Controller.php(101): IPS\nexus\modules\admin\payments\_transactions->manage()
    #7 C:\wamp\www\45\applications\nexus\modules\admin\payments\transactions.php(40): IPS\Dispatcher\_Controller->execute()
    #8 C:\wamp\www\45\system\Dispatcher\Dispatcher.php(152): IPS\nexus\modules\admin\payments\_transactions->execute()
    #9 C:\wamp\www\45\admin\index.php(14): IPS\_Dispatcher->run()
    #10 {main}



    To avoid it I need to edit and change it:
     

    't_method' => function( $val )
    {
    if ( $val )
    {
    try
    {
    return \IPS\nexus\Gateway::load( $val )->_title;
    }
    catch ( \OutOfRangeException $e )
    {
    return \IPS\Member::loggedIn()->language()->addToStack('gateway_deleted');
    }
    }
    else
    {
    return \IPS\Member::loggedIn()->language()->addToStack('account_credit');
    }
    },

    To:
     

    't_method' => function( $val )
    {
    if ( $val )
    {
    try
    {
    return \IPS\nexus\Gateway::load( $val )->_title;
    }
    catch ( \ErrorException $e )
    {
    return \IPS\Member::loggedIn()->language()->addToStack('gateway_deleted');
    }
    }
    else
    {
    return \IPS\Member::loggedIn()->language()->addToStack('account_credit');
    }
    },





    In nexus/sources/Transaction/Transaction.php


    It's a bug or I'm doing something wrong?

  3. What's New in Version 1.0.6

    (pending approval)

    - added ACP logs; you will be able to see which topics are bought and by who and when.
    - fixed bug in displaying "buy" button in not selected forums.

     

    screen_16.thumb.png.68e893dc098c37469690a7385a0d5d22.png

  4. New version pending approval:

    Quote

    Added ability to download attachments from viewing conversations in the ACP by admins only. It won't be expanded to other groups. Only members with admin permissions will be able do that.

     

  5. 9 hours ago, Linux-Is-Best said:

    If I understand correctly, your plugin missing an attachment review? 

    You mean downloading them? I'll check it today and if it would be possible I'll do that.

    Hold on.

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