vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/showthread.php?t=71992)

sv1cec 12-27-2004 07:57 PM

Quote:

Originally Posted by Viol8or
Very nice :) Happy to see the stats are in there.
Maybe one more suggestion, coming from my users. It would be nice if we could set a level of when the warning indicator changes colour. Now it is always displayed in red in the post bit. But why not black or blue up to a warning level of ex. 7 and from then on in red?

No particular reason why this can't be done. The issue is that since I have no idea what limits the admins who use this hack use in this forum, I'll have to code it so that in the first 1/3 the color is black, the next 1/3 is blue (or whatever) and the next 1/3 it is red (or something). And of course, the fact that each admin would have his own color preferences, means that the colors should be selectable.

All this means a lot of coding, I'll keep it in mind for when I have some more spare time (but don't be surprised if it is included in V. 3.0, if the twins give me some time to work with it).

deb0 12-27-2004 08:18 PM

Sv1,
when I select view XYZ's warnings, there is no remove link. Matter of fact, under the Remove column, it says the warning is "Non-removable Warning". I don't see an option where I can chose that.

Vixion 12-27-2004 10:47 PM

Hello,

I just installed this add-on to my forums, and I am using 2 different kind of languages (Dutch and English). Now the people that have installed Dutch as there main-language will also see the English text.

I can't find the text of the AWS in the Language / Phrase editor. Which 'prefix' do I need to edit?

SamirDarji 12-28-2004 06:25 AM

Well, I guess it was a good thing I didn't get around to installing this on the live forum, lol.

sv1cec 12-28-2004 10:45 AM

Quote:

Originally Posted by deb0
Sv1,
when I select view XYZ's warnings, there is no remove link. Matter of fact, under the Remove column, it says the warning is "Non-removable Warning". I don't see an option where I can chose that.

No removable warning, means this was a warning which caused a permanent ban, or that this warning has matured and is now inactive. In that case, you cannot remove it from Warn.php. The only way to remove it is from AdminCP, View Warning Logs, Complete Removal.

sv1cec 12-28-2004 10:49 AM

Quote:

Originally Posted by Vixion
Hello,

I just installed this add-on to my forums, and I am using 2 different kind of languages (Dutch and English). Now the people that have installed Dutch as there main-language will also see the English text.

I can't find the text of the AWS in the Language / Phrase editor. Which 'prefix' do I need to edit?

The templates are all starting with 'warn_'. The phrases are listed in the install_warn.php file towards the bottom. They do not all start with the same word, but most of them start with 'warning_', check that file out and you will find them. But there is some text also in the files, so I am not sure if the hack can be fully translated without touching the code.

If you do translate it, send me the files and I'll add the "Dutch Version".

Rgds

Rgds

sv1cec 12-28-2004 10:50 AM

Yeap, version 3.0 is out in a few moments, so it was a good thing you didn't bother installing it. You will be my first ... guinea pig (if you pardon the expression).

Rgds

j_86 12-28-2004 11:51 AM

Good job :) Installing now.

=====

Problem with the instructions:

CREATE TABLE `ban_dates` (
`banned_serno` int(15) NOT NULL auto_increment,
`banned_user` int(15) NOT NULL default '0',
`banned_ban` int(2) default '0',
`banned_warning` int(15) NOT NULL,
`banned_by` int(15) NOT NULL default '0',
`banned_dateline` int(15) NOT NULL default '0',
`banned_status` char(1).
`banned_reason` mediumtext,
PRIMARY KEY (`banned_serno`)
) TYPE=MyISAM




`banned_status` char(1).

should be

`banned_status` char(1),

sv1cec 12-28-2004 12:02 PM

Quote:

Originally Posted by JimpsEd
Good job :) Installing now.

=====

Problem with the instructions:

CREATE TABLE `ban_dates` (
`banned_serno` int(15) NOT NULL auto_increment,
`banned_user` int(15) NOT NULL default '0',
`banned_ban` int(2) default '0',
`banned_warning` int(15) NOT NULL,
`banned_by` int(15) NOT NULL default '0',
`banned_dateline` int(15) NOT NULL default '0',
`banned_status` char(1).
`banned_reason` mediumtext,
PRIMARY KEY (`banned_serno`)
) TYPE=MyISAM




`banned_status` char(1).

should be

`banned_status` char(1),


Darn you are right, the two are so close together on this keyboard.

Let me correct that.

Rgds and tnx

j_86 12-28-2004 12:06 PM

Upgrade time: 3minutes
Working: Perfectly so far :)

Very nice work!


All times are GMT. The time now is 08:24 PM.

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.02598 seconds
  • Memory Usage 1,750KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete