Helpful Information
 
 
Category: Advanced Warning System (AWS)
Error in installation instructions

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

That's correct!

There is an error in vB 3.0.7

please help

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

There is a problem in includes/functions_newpost.php too.
The code is not there!

There is a problem in includes/functions_newpost.php too.
The code is not there!
Which part of the code is not there?

It was my fault. I think it's ok.

Otherwise I'll tell you

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

It works fine now :)

It works fine now :)
Great, I am glad you made it.










privacy (GDPR)