Fork me on GitHub

bad behaviour mod  Bottom

  • hi, i am installing [Bad Behaviour]. i read the instructions and it says add the following to includes\pnapi.php after line 281.

    Code

    // Call Bad Behaviour module if installed
        if (pnModAvailable('Bad_Behaviour') && pnModAPILoad('Bad_Behaviour', 'user')) {
            pnModAPIFunc('Bad_Behaviour', 'user', 'execute');
        }


    however, from 278 to 286 the lines of codes are

    Code

    require_once ('includes/v4blib/Loader.class.php');
        require_once ('includes/v4blib/debug.php');
        require_once ('includes/v4blib/DBConnectionStack.class.php');
        require_once ('includes/v4blib/ObjectUtil.class.php');
        require_once ('includes/v4blib/DBUtil.class.php');
        require_once ('includes/v4blib/V4BObject.class.php');
        require_once ('includes/v4blib/V4BObjectArray.class.php');
        require_once ('includes/v4blib/SecurityUtil.class.php');
        require_once ('includes/v4blib/FormUtil.class.php');


    am i suppose to really insert the codes there??
  • The line numbers referred to are for a basic PN .76x install. Your using either Openstar or have the additional Openstar (v4blib) libraries installed. This will change the line numbers.

    The quick way to locate the correct line numbers for your installation is to compare pnAPI.php from your setup to the base install.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • ic.. indeed i have v4blib installed. thanks :)

This list is based on users active over the last 60 minutes.