Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed Editing a User causes issues with 3rd party cash systems

Discussion in 'Stock Trader Resolved Bug Reports' started by Bob, Mar 27, 2013.

  1. Bob

    Bob Developer Staff Member

    re: originally reported as a bug for showcase, but applies to Stock Trader as well.


    edit: /library/NFLJ/StockTrader/Listener/LoadClassController.php

    Replace the entire contents with this.

    * This file is for listening in on the Load Class Controller
    * @author      Bob Baldani <raiderzord@yahoo.com>
    * @copyright  ©2013 addons.nfljunkies.com. All rights reserved.
    * @link        http://addons.nfljunkies.com
    * @package    NFLJ_StockTrader
    class NFLJ_StockTrader_Listener_LoadClassController
        * Instruct the system that XenForo_ControllerAdmin_User
        * should be extended by NFLJ_StockTrader_ControllerAdmin_User
        * @param string $class
        * @param array $extend
    public static function extendAdminUserController($class, array &$extend)
    $options XenForo_Application::get('options');
            if (
    $class == 'XenForo_ControllerAdmin_User')
    // Only want to extend this if using internal stocktrader cash.
    if ($options->xistocktraderCashSystem['type'] == 'default')
    $extend[] = 'NFLJ_StockTrader_ControllerAdmin_User';
    SneakyDave and anthony parsons like this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.