PEAK XOOPS - Some n00b help please in englishin japanese

Some n00b help please

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 .2 | Posted on 2008/2/23 1:41 | Last modified
Wolfseye  企霹始   Posts: 2
Hi,

sorry that I have to ask this but I am new to Xoops and so also new to the Protector Module. So I do have a few problems understanding how to make it work or install it.

The README states the following:

First, define XOOPS_TRUST_PATH into mainfile.php if you've never done it yet.

Maybe if I knew Xoops better I would know what that would mean exactly, what to change, but I don…t yet. Some help would be highly appreciated.

Copy html/modules/protector in the archive into your XOOPS_ROOT_PATH/modules/
Copy xoops_trust_path/modules/protector in the archive into your XOOPS_TRUST_PATH/modules/

I got the first part of that, but with the trusted path, I don…t understand yet. So that doesn…t comes into the same folder than the first part ?

modules/Protector

Sorry if that sounds noobish but best to ask before doing it wrong.

And after installing the Module, the changes in the mainfile.php ...

[code]	include XOOPS_TRUST_PATH.'/modules/protector/include/precheck.inc.php' ;
	if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '' ) {
		include XOOPS_ROOT_PATH."/include/common.php";
	}
	include XOOPS_TRUST_PATH.'/modules/protector/include/postcheck.inc.php' ;

Does it matter where in the mainfile I add these 2 lines ?
You probably have been asked these things hundreds of times but I would appreciate if you could clarify these things for me so I can use that Module without messing things up from the start.

Thank you in advance.

Wolfseye
Votes:4 Average:5.00
Previous post - Next post | Parent - Children.1 | Posted on 2008/2/23 2:25 | Last modified
avtx30  惧霹始   Posts: 36
You may have a look at this (step 4) to define the "XOOPS_TRUST_PATH".

Yes, there are 2 sets of files to be copied, one to XOOPS_ROOT_PATH/modules/, and one to XOOPS_TRUST_PATH/modules/

The two red lines should be added exactly as instructed in the README.

Here is an example of my mainfile.

        define('XOOPS_ROOT_PATH', '/home/avtx30/public_html');
        define('XOOPS_URL', 'http://www.nhatban.net');
        define('XOOPS_TRUST_PATH','/home/avtx30/trusted');

        // blah blah

        include XOOPS_TRUST_PATH.'/modules/protector/include/precheck.inc.php' ;
        if (!isset($xoopsOption['nocommon']) && XOOPS_ROOT_PATH != '') {
            include XOOPS_ROOT_PATH."/include/common.php";
        }
        include XOOPS_TRUST_PATH.'/modules/protector/include/postcheck.inc.php' ;

HTH
Votes:4 Average:2.50
Previous post - Next post | Parent - No child | Posted on 2008/2/23 4:13
Wolfseye  企霹始   Posts: 2
So the Rootpath and the trustpath are 2 different paths ?

/modules/protector (rootpath)

/someotherpath/modules/protector (trustpath)

or do I still understand that wrong ?

Wolfseye
Votes:1 Average:10.00
Previous post - Next post | Parent - No child | Posted on 2008/2/23 10:12
avtx30  惧霹始   Posts: 36
Yes, two different paths. In my mainfile.php example above:

- XOOPS_ROOT_PATH is "/home/avtx30/public_html"
- XOOPS_TRUST_PATH is "/home/avtx30/trusted"
Votes:4 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!