3
Create a file, call it ".htaccess", put in the folowing code and upload the file to the root of your XOOPS install.
php_flag register_globals off
php_flag session.use_trans_sid off
And in addition in your mainfile.php do the foolowing changes. THis is from the README in the protector package.
define('XOOPS_GROUP_ADMIN', '1');
define('XOOPS_GROUP_USERS', '2');
define('XOOPS_GROUP_ANONYMOUS', '3');
[color=ff0000]include( XOOPS_ROOT_PATH . '/modules/protector/include/precheck.inc.php' ) ;[/color]
if (!isset($xoopsOption['nocommon']) [color=0000ff]&& XOOPS_ROOT_PATH != ''[/color] ) {
include XOOPS_ROOT_PATH."/include/common.php";
}
[color=ff0000]include( XOOPS_ROOT_PATH . '/modules/protector/include/postcheck.inc.php' ) ;[/color]
If the blue colored part is different from your mainfile.php, don't mind it.
Note: is using 2.0.14 then there is an extra couple of lines in the mainfile just put the previous code aound the common.php line.
Cheers
GDL-Web.com :: Website development.
Xoopslance.com::Freelancing and Projects
thelionsden-arena.net:: Clan/League/Ladder Hosting