vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   Error in installation instructions (https://vborg.vbsupport.ru/showthread.php?t=77709)

zemic 03-08-2005 09:03 AM

Error in installation instructions
 
1 Attachment(s)
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

Quote:

Originally Posted by SkyShadow
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:

PHP Code:

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

instead of the one mentioned in the instructions:

PHP Code:

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


So that part of the file should look like:

PHP Code:

// 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

Quote:

Originally Posted by SkyShadow
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

Quote:

Originally Posted by SkyShadow
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

Quote:

Originally Posted by SkyShadow
It works fine now :)

Great, I am glad you made it.


All times are GMT. The time now is 07:04 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01120 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete