vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Advanced Warning System (Beta Version) (https://vborg.vbsupport.ru/showthread.php?t=95921)

EdQ 09-15-2005 04:24 PM

Disregard, the user hit the ban threshold and I didn't realize he was banned.

Sorry.....

Andreas 09-15-2005 04:26 PM

Quote:

Originally Posted by sv1cec
Check the edits you have made in private.php. I can't understand why this happens, this is a first.

There are no edits in private.php ;)

EdQ 09-15-2005 04:27 PM

How long does the PM cut-off last for?? I am guessing it follows the warn maturity??

If so, can it be set to increment like bans??

I have my maturity set to 30 days and bans to increment starting at 1 day.

It looks like PM cut-off will last longer than the ban.

sv1cec 09-15-2005 05:42 PM

Quote:

Originally Posted by KirbyDE
There are no edits in private.php ;)

I guessed so, but for the name of God, I can't tell what is the problem with this guy, if you have a clue, I am listening.

sv1cec 09-15-2005 05:44 PM

Quote:

Originally Posted by EdQ
How long does the PM cut-off last for?? I am guessing it follows the warn maturity??

If so, can it be set to increment like bans??

I have my maturity set to 30 days and bans to increment starting at 1 day.

It looks like PM cut-off will last longer than the ban.

PM Cut-off depends on the points the member has. So yes, it follows maturity. The maturity depends on the warning type. Less severe warning types should have a small maturity, more severe ones, should have larger.

WNxWakko 09-17-2005 04:02 AM

When you had this for 3.0, we modded it so that it didnt have two segments 1. post related 2. profile related. We combined it so the system would just run off one set of programmed warnings and if it was post related it took the info, if it was not post related, then it didnt show any thead info. It seems more logical to have the system this way.

Reason is, what if you have a rule that could be either post related or not post related. Seems silly to have to program that same law twice in the system.

Cant you just combine it? Drop the post related/non post related feature and just make it one set where the system pulls the thread link if the warn comes from the post or not if from profile?

I just dont remember how to merge it from a year ago and really dont want to go through that again.

Andreas 09-17-2005 04:07 AM

Seems to be more logical to me to have separate warning types.
Don't know hiw sv1cec thinks about it, but I think it should not be changed.

WNxWakko 09-17-2005 04:09 AM

Why have two seperate. What Im saying is the way we modded this mod a year ago was the system determined if it was post or nonpost related in itself.

I have 10 laws which have different criterias and could be both, so that means I have to create 20 warnings in the system, 10 for each and when you look at the summary page showing all the warnings you could get it looks horrible with 10 dupes.

sv1cec 09-17-2005 04:40 AM

It could be modified to work as WNxWakko, but what's the reason? I fail to see the reason to spend some hours recoding that, just to save up some copying and pasting. I certainly do not have the time to do it.

Xplorer4x4 09-17-2005 04:41 PM

Ok well I have several problems. Here we go:

1)First problem comes up when using the AWS menu in ACP. I can use the managing warning options but when I click Manage Warning Types I see the bar that sayd Current Warning Types but I get a DB error above it:
PHP Code:

Database error in vBulletin 3.5.0 Release Candidate 3:
Invalid SQL:
select from warning_types order by warn_pointswarn_maturitywarn_name;
MySQL Error Unknown column 'warn_maturity' in 'order clause'
Error Number 1054
Date         
SaturdaySeptember 17th 2005 12:29:21 PM
Script     
: /forums/admincp/admin_warn.php?act=view
Referrer     
: /forums/admincp/index.php?do=nav
IP Address 
12.220.52.153
Username     
Xplorer4x4
Classname    
vb_database 

Warn User and View User Warnings. However when i click View Warnings Logs I get a white DB Error page:
PHP Code:

Database error in vBulletin 3.5.0 Release Candidate 3:
Invalid SQL:
select w.*,u.username as wusername,u.userid as wuserid,wt.*,wuser.username as warned_username_v,wuser.userid as warned_userid_vruser.username as removed_by_v, (w.warned_time+wt.warn_maturity*24*60*60) AS maturitydate from
warnings w
left join user wuser on
(wuser.userid=w.warned_user)
left join user u on(u.userid=w.warned_by)
left join user ruser on(ruser.userid=w.removed_by)
left join warning_types wt on(wt.tid=w.warned_warning_idORDER BY w.warned_time DESC LIMIT 015;
MySQL Error Unknown column 'wt.warn_maturity' in 'field list'
Error Number 1054
Date         
SaturdaySeptember 17th 2005 12:30:41 PM
Script     
: /forums/admincp/admin_warn.php?act=viewlogs
Referrer     
: /forums/admincp/index.php?do=nav
Username     
Xplorer4x4
Classname    
vb_database 

When I click the setting for Statistics - Warnings For Users I get a DB Error:
PHP Code:

Database error in vBulletin 3.5.0 Release Candidate 3:
Invalid SQL:
SELECT COUNT(*) AS users FROM user AS user where warnings>OR alerts>0;
MySQL Error Unknown column 'warnings' in 'where clause'
Error Number 1054
Date         
SaturdaySeptember 17th 2005 12:35:34 PM
Script     
: /forums/admincp/admin_warn.php?act=viewwarnedusers&type=warnings
Referrer     
: /forums/admincp/index.php?do=nav
Username     
Xplorer4x4
Classname    
vb_database 

Also take note I had this installed on vB3.0. I noticed in the Statistics-Warnings Per Type that all my old warnings descriptions are active, but the warnings issued count is off.

I also had some problems with my postbit_legacy template, but I assume thats what I get for doing template mods at near 4AM:p.

Any ideas?


All times are GMT. The time now is 03:42 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.01470 seconds
  • Memory Usage 1,772KB
  • 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
  • (3)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