PDA

View Full Version : Error in installation instructions


zemic
03-08-2005, 09:03 AM
Hiya,

In the instructions for AWS V3 1.9 , the following do not exist within the files. Im trying to install it on Vbulletin 3.0.7

SkyShadow
03-08-2005, 06:29 PM
That's correct!

There is an error in vB 3.0.7

please help

sv1cec
03-09-2005, 04:43 AM
That's correct!

There is an error in vB 3.0.7

please help
In the private.php file, add the code, below the line:


$pm['recipients'] = trim($pm['recipients']);


instead of the one mentioned in the instructions:


$pm['recipients'] = vbstrtolower(trim($pm['recipients']));



So that part of the file should look like:


// check for valid users
$pm['recipients'] = trim($pm['recipients']);

if (!$warn_opts['collector']=='' OR !$warn_opts['collector']=='0')
{
if (!$warn_opts['automatic_warner']=='')
{
$w=$warn_opts['automatic_warner'];
$autowarner=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
$autowarner=vbstrtolower($autowarner['username']);
}
if (!$warn_opts['warner']=='')
{
$w=$warn_opts['warner'];
$warner=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
$warner=vbstrtolower($warner['username']);

}
$w=$warn_opts['collector'];
$collector=$DB_site->query_first("select username from ".TABLE_PREFIX."user where userid=$w");
$collector=vbstrtolower($collector['username']);

}


Rgds

SkyShadow
03-09-2005, 03:24 PM
There is a problem in includes/functions_newpost.php too.
The code is not there!

sv1cec
03-09-2005, 05:58 PM
There is a problem in includes/functions_newpost.php too.
The code is not there!
Which part of the code is not there?

SkyShadow
03-09-2005, 07:00 PM
It was my fault. I think it's ok.

Otherwise I'll tell you

sv1cec
03-10-2005, 04:38 AM
It was my fault. I think it's ok.

Otherwise I'll tell you
I checked that file and everything should be there. Just make sure you search properly.

Rgds

SkyShadow
03-12-2005, 07:31 AM
It works fine now :)

sv1cec
03-12-2005, 08:02 AM
It works fine now :)
Great, I am glad you made it.