Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > Advanced Warning System (AWS)
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
AWS Version 3.3.0 is now available Details »»
AWS Version 3.3.0 is now available
Version: , by sv1cec sv1cec is offline
Developer Last Online: Mar 2022 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-18-2005 Last Update: Never Installs: 0
 
No support by the author.

I just released Version 3.3.0 of this hack.

Download it from the usual place and install it or upgrade to it.

Please let me know if you have any problems.

Kind regards

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-18-2005, 06:22 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good morningn John,

I updated to 3.3.0 and I do not get any failure messages but I am missing the warning links on top of each thread. 'warn USER' and 'View USERs warnings'.

It seems that the phrases are gone. Can you assist?

Greetings
jluerken
  #3  
Old 03-18-2005, 06:48 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jluerken
Good morningn John,

I updated to 3.3.0 and I do not get any failure messages but I am missing the warning links on top of each thread. 'warn USER' and 'View USERs warnings'.

It seems that the phrases are gone. Can you assist?

Greetings
jluerken
Did you made the changes in postbit and postbit_legacy templates? You probably change the required text in one area only, not in all.

rgds
  #4  
Old 03-18-2005, 06:54 AM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec
Did you made the changes in postbit and postbit_legacy templates? You probably change the required text in one area only, not in all.

rgds
Yes I did!

PHP Code:
9. Open your postbit/postbit_legacy templates and replace every occurence of 

$hierarchical
=='No' 

with 

$hierarchical
==

and every occurence of 

$hierarchical
=='Yes'

with

$hierarchical
==
Quote:
Originally Posted by jluerken
Yes I did!

PHP Code:
9. Open your postbit/postbit_legacy templates and replace every occurence of 

$hierarchical
=='No' 

with 

$hierarchical
==

and every occurence of 

$hierarchical
=='Yes'

with

$hierarchical
==



omg pls. delete my posts.

I simply had forgotten to check the AWS options again and to set them again.
They are lost due to the db changes.

Maybe you could place a hint in the instructions to set the options again.
Another nice thing would be if the upgrader will read the set options from warn_options and put them into the new fields.

Thanks
jluerken
  #5  
Old 03-18-2005, 07:05 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, it should!

I mean the new script you are supposed to run, reads your warning_options table, and sets the variables accordingly.

Did you run the warn_install_setting.php script?

Didn't it do it?

If you have problems with the new version, please start a new thread, do not use this one to report a problem.

Thanks
  #6  
Old 03-18-2005, 07:53 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know the settings installer reads from a table with the exact name of "warning_options". If it does not find such a table, it does not read from it.
Anything else than this, I cannot tell.
  #7  
Old 03-18-2005, 07:57 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is the file, as I have it in the zip, with the changes you have told me to do. Can you please check it?
Attached Files
File Type: (21.4 KB, 4 views)
  #8  
Old 03-18-2005, 12:41 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What the? Wanna tell me why you removed this code:
PHP Code:
    $custom true;
    
$DB_site->reporterror 0;
    
$custset $DB_site->query_first("SELECT * FROM " TABLE_PREFIX "warning_options");
    
$DB_site->reporterror 1
from the file I sent you?
Because without this code, it will not work.
  #9  
Old 03-18-2005, 01:57 PM
Blam Forumz Blam Forumz is offline
 
Join Date: Jun 2004
Posts: 554
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cant find any thing in functions.php in the upgrade from 3.20 to 3.30 ;/

And I've followed all other instructions and get this error:

Database error in vBulletin 3.0.3:

Invalid SQL:
UPDATE user SET
usergroupid = ,
displaygroupid = ,
warnings=1,
warning_level=1,
warning_bans = 0,
usertitle = 'Temporarily Banned'
WHERE userid = 4

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '
displaygroupid = ,
warnings=1,
warning_level=1,


mysql error number: 1064
  #10  
Old 03-19-2005, 05:48 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Revan
What the? Wanna tell me why you removed this code:
PHP Code:
    $custom true;
    
$DB_site->reporterror 0;
    
$custset $DB_site->query_first("SELECT * FROM " TABLE_PREFIX "warning_options");
    
$DB_site->reporterror 1
from the file I sent you?
Because without this code, it will not work.
Read this post Revan,

https://vborg.vbsupport.ru/showpost....3&postcount=20

This is what you told me to do. If that's not what you had in mind, then it's not my fault. Care to provide a complete script so that I can add it to the latest zip????

Quote:
Originally Posted by Blam Forumz
cant find any thing in functions.php in the upgrade from 3.20 to 3.30 ;/

And I've followed all other instructions and get this error:

Database error in vBulletin 3.0.3:

Invalid SQL:
UPDATE user SET
usergroupid = ,
displaygroupid = ,
warnings=1,
warning_level=1,
warning_bans = 0,
usertitle = 'Temporarily Banned'
WHERE userid = 4

mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '
displaygroupid = ,
warnings=1,
warning_level=1,


mysql error number: 1064
There is section which tells you what you need to edit in functions.php, it's no (7).

If you can't find these things, then you have missed an earlier upgrade, it was the one which produced a special error message, for the banned members. If you haven't done it, then you do not need to worry about it.

As for your error, please tell me when you get this error, in order to help it. From the looks of it, it seems as if you haven't uploaded the file includes/functions_warning.php to your server.

Rgds
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:49 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.04899 seconds
  • Memory Usage 2,326KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete