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)

DS MrSinister 11-23-2004 03:39 PM

I am also having problem with the Upgrade..

Will not goto the 2nd step. It ask me to remove Old templates. than I Click that. then It goes to a Blank screen..

It looks like it remove the templates but did not add anything to the database. mmmmmmmmmmmmmmmmmmmmmm

Revan 11-23-2004 04:11 PM

Since you said this was your first officially released hack, sv1, some encouraging words:
Hang in there, mate ;) All this bs with bugs and installer errors and [insert other errors here] is nothing compared to what the RPG thread looked like in the first 7 pages :p
If there was a possible error, it was there ;)
The first 3 days I think I shipped 5 emails with bugfixes and new versions XD
So it will get better in just a little while, and I promise you my click of install the day I install this :D (Im not clicking just now because I dont need to recieve mails about updates to a hack I havnt installed yet ;))

sv1cec 11-23-2004 05:52 PM

Quote:

Originally Posted by DS MrSinister
I am also having problem with the Upgrade..

Will not goto the 2nd step. It ask me to remove Old templates. than I Click that. then It goes to a Blank screen..

It looks like it remove the templates but did not add anything to the database. mmmmmmmmmmmmmmmmmmmmmm

OK, that's the kind of feedback I want. Let me see what's the issue and I'll get back.

mcyates 11-23-2004 06:38 PM

Quote:

Originally Posted by sv1cec
OK, that's the kind of feedback I want. Let me see what's the issue and I'll get back.

that's what it done to me, i had to install it manually.

sv1cec 11-23-2004 07:10 PM

Quote:

Originally Posted by mcyates
that's what it done to me, i had to install it manually.

Gentlemen,

My apologies, there were indeed some mistakes in the upgrade_warn.php file, which is used to upgrade from Zero Tolerance's Warning Hack V.1.5 to my Advanced Warning System (latest release).

I corrected those mistakes and improved the appearance of the program a little. I managed to test it on my Sun, but one thing I couldn't test, was the database tables changes. Can someone who is using Zero's hack try it and let me know it works in that part as well?

Many thanks and apologies for any inconvenience.

sv1cec 11-23-2004 07:17 PM

Quote:

Originally Posted by Revan
Since you said this was your first officially released hack, sv1, some encouraging words:
Hang in there, mate ;) All this bs with bugs and installer errors and [insert other errors here] is nothing compared to what the RPG thread looked like in the first 7 pages :p
If there was a possible error, it was there ;)
The first 3 days I think I shipped 5 emails with bugfixes and new versions XD
So it will get better in just a little while, and I promise you my click of install the day I install this :D (Im not clicking just now because I dont need to recieve mails about updates to a hack I havnt installed yet ;))

Revan,

Many thanks for the encouraging words. I sincerely appreciate them.

Although I am hardly new to programming, I learned about php last June, when I opened my forums site.

What makes me really happy, is that people are not reporting bugs or errors in the hack's operation, but in the installation (or rather the upgrade) script, which I copied from Zero's thread and did some changes (that proves my total incompetence, I can't even copy properly! LoL). These, I made in a hurry, since people were asking for an installer and Zero had asked me for an upgrade script.

Thank God, nothing difficult to fix, so people have the corrected one now.

As for the e-mails, I didn't even know that I had that option, until earlier today. I am not sure I am going to use it, so don't worry about me flooding your mailbox.

Again, thanks for the encouraging words, I'll hang in there, I like the environment.

Rgds
-------------
John

DS MrSinister 11-23-2004 07:18 PM

Quote:

Originally Posted by sv1cec
Gentlemen,

My apologies, there were indeed some mistakes in the upgrade_warn.php file, which is used to upgrade from Zero Tolerance's Warning Hack V.1.5 to my Advanced Warning System (latest release).

I corrected those mistakes and improved the appearance of the program a little. I managed to test it on my Sun, but one thing I couldn't test, was the database tables changes. Can someone who is using Zero's hack try it and let me know it works in that part as well?

Many thanks and apologies for any inconvenience.

this what i get now

New templates added to styleid 2

Click on "Apply Database Upgrades" to continue.

Code:

Database error in vBulletin 3.0.3:

Invalid SQL: update warning_options set
hierarchical='Yes',
warner='1',
troll_usergroup_id='8',
protected_usergroups='6',
incr_ban_days='Yes',
max_no_bans='2',
multiple_per_post='Yes',
send_pm_warning='Yes',
send_em_warning='No',
historical='Yes',
allowoffpost='Yes',
warnings_per_page='20'
 where oid='1'
mysql error: Unknown column 'warner' in 'field list'

mysql error number: 1054


sv1cec 11-23-2004 07:32 PM

Quote:

Originally Posted by DS MrSinister
this what i get now

New templates added to styleid 2

Click on "Apply Database Upgrades" to continue.

Code:

Database error in vBulletin 3.0.3:

Invalid SQL: update warning_options set
hierarchical='Yes',
warner='1',
troll_usergroup_id='8',
protected_usergroups='6',
incr_ban_days='Yes',
max_no_bans='2',
multiple_per_post='Yes',
send_pm_warning='Yes',
send_em_warning='No',
historical='Yes',
allowoffpost='Yes',
warnings_per_page='20'
 where oid='1'
mysql error: Unknown column 'warner' in 'field list'

mysql error number: 1054



Please download the upgrade_warn.php file again. I corrected that.

Let me know if you face more problems.

By the way, does anyone knows how I can stop seeing the hack's description on the top of every page in this thread? I hate this new feature here.

Thanks

DS MrSinister 11-23-2004 11:05 PM

I get this now..

something is wrong with view log in admin panel and view warning

Code:

Invalid SQL: select w.*,u.username as wusername,u.userid as wuserid,wt.* from
warnings w
left join user u on(u.userid=w.warned_by)
left join warning_types wt on(wt.tid=w.warned_warning_id)
where w.warned_user='1' order by w.warned_time DESC
mysql error: Unknown column 'w.warned_user' in 'where clause'

mysql error number: 1054


sv1cec 11-24-2004 05:01 AM

Quote:

Originally Posted by DS MrSinister
I get this now..

something is wrong with view log in admin panel and view warning

Code:

Invalid SQL: select w.*,u.username as wusername,u.userid as wuserid,wt.* from
warnings w
left join user u on(u.userid=w.warned_by)
left join warning_types wt on(wt.tid=w.warned_warning_id)
where w.warned_user='1' order by w.warned_time DESC
mysql error: Unknown column 'w.warned_user' in 'where clause'

mysql error number: 1054


warned_user is a column which exists from the tables of Zero Tolerance. I haven't add it myself. Are you sure you had Zero's hack version 1.5 installed and working properly?

Do this for me:

Run the following queries:

1) describe warnings
2) describe warning_types
3) describe warning_options

Post the results.

One more thing, how on earth did you manage to get this statement? The statement is used when you try to see the warnings of a user (View XYZ'z Warnings" link). And from the error you posted, it looks as if you have that link in a post which is made by userid 1, which is your admin. There is no way that you will get that link in an admin post, with my hack. Are you sure you have followed the instructions, or did you just run upgrade_warn.php and stopped there?

Also, you do not tell me what is your problem in the admincp/view warning logs. I can't guess, you have to tell me the problem.

Rgds

hello 11-24-2004 05:30 AM

ok i have fixed it lol finally, i had to make all the templates because i have 2 skins and it only put the templates on 1 of them, that is how you fix it :)

DS MrSinister 11-24-2004 05:30 AM

ok i delete this out of the database lol..

Code:

`warned_user` int(15) NOT NULL default '0',

I need to know the code to add this to my database.. I am new to this stuff don't know much coding.

looks like the only thing i am missing....

sv1cec 11-24-2004 07:27 AM

Quote:

Originally Posted by DS MrSinister
ok i delete this out of the database lol..

Code:

`warned_user` int(15) NOT NULL default '0',

I need to know the code to add this to my database.. I am new to this stuff don't know much coding.

looks like the only thing i am missing....

Run the following query:

ALTER TABLE `warnings` ADD `warned_user` int(15) NOT NULL default '0'

And now that you have it right, download the latest zip and upload the files to your web server again. Did some more changes this morning.

Files you need to download, are shown at the bottom of the hack's description, at the top of every page.

Rgds

sv1cec 11-24-2004 07:32 AM

Quote:

Originally Posted by hello
ok i have fixed it lol finally, i had to make all the templates because i have 2 skins and it only put the templates on 1 of them, that is how you fix it :)

Glad you have it OK now.

I have only the default skin in my forums, so I have no idea how to work with more than that. It's been discussed somewhere before, in this thread, and another member has come up with a solution, which I'll try to include in the installation script, but I can't promise anything.

Rgds
---------
John

hello 11-24-2004 07:51 AM

ok i have found another problem, when you go to modcp it says
"Parse error: parse error, unexpected T_STRING in /home/volution/public_html/forums/modcp/index.php on line 348" and on that line is "print_nav_panel();"

Robert Basil 11-24-2004 07:59 AM

I'm running 1.2.2 and it works great! What exactly does 1.2.3 offer over 1.2.2?

What do you mean by "better operation"?

P.S. Thanks for the great hack!

sv1cec 11-24-2004 09:07 AM

Quote:

Originally Posted by Sportbikeworld
I'm running 1.2.2 and it works great! What exactly does 1.2.3 offer over 1.2.2?

What do you mean by "better operation"?

P.S. Thanks for the great hack!

Take my word for it, it offers you better operation. Like, really sending a PM/e-mail when a warning is deleted by cron. It also reports that it was cron which deleted the warning, in your admin cp or modcp lists.

Just download the zip and upload the three files.

--------
John

sv1cec 11-24-2004 09:09 AM

Quote:

Originally Posted by hello
ok i have found another problem, when you go to modcp it says
"Parse error: parse error, unexpected T_STRING in /home/volution/public_html/forums/modcp/index.php on line 348" and on that line is "print_nav_panel();"

Right above that line, you should have the followings:

PHP Code:

    $printhr true ;
    
construct_nav_option 'View Issued Warnings''mod_warn.php''<br />' ) ;
    
construct_nav_group 'Warning System''<hr />' ) ; 

Maybe you have copied this part, wrong? A missing semi-colon or a missing quote? It works for me.

saininja 11-24-2004 11:25 AM

Quote:

Originally Posted by sv1cec
Right above that line, you should have the followings:

PHP Code:

    $printhr true ;
    
construct_nav_option 'View Issued Warnings''mod_warn.php''<br />' ) ;
    
construct_nav_group 'Warning System''<hr />' ) ; 

Maybe you have copied this part, wrong? A missing semi-colon or a missing quote? It works for me.








I have there same problem also, if I into the Mod CP go comes the following error message:
Code:

Parse error: parse error, unexpected T_STRING in /home/www/xxx/html/xxx/modcp/index.php on line 359

$printhr = true ;
construct_nav_option ( 'View Issued Warnings', 'mod_warn.php', '<br />' ) ;
construct_nav_group ( 'Warning System', '<hr />'


Jenny

sv1cec 11-24-2004 11:45 AM

Quote:

Originally Posted by saininja
I have there same problem also, if I into the Mod CP go comes the following error message:
Code:

Parse error: parse error, unexpected T_STRING in /home/www/xxx/html/xxx/modcp/index.php on line 359

$printhr = true ;
construct_nav_option ( 'View Issued Warnings', 'mod_warn.php', '<br />' ) ;
construct_nav_group ( 'Warning System', '<hr />'


Jenny

Jenny and hello,

You are both right, there is a cut off line in the instructions. Please go into your modcp/index.php file and replace that line which starts with construct_nav_group, with the line below:

PHP Code:

construct_nav_group 'Warning System''<hr />'); 

Sorry for the problem.

Rgds
-----------
John

mcyates 11-24-2004 12:28 PM

Quote:

Originally Posted by sv1cec
Gentlemen,

My apologies, there were indeed some mistakes in the upgrade_warn.php file, which is used to upgrade from Zero Tolerance's Warning Hack V.1.5 to my Advanced Warning System (latest release).

I corrected those mistakes and improved the appearance of the program a little. I managed to test it on my Sun, but one thing I couldn't test, was the database tables changes. Can someone who is using Zero's hack try it and let me know it works in that part as well?

Many thanks and apologies for any inconvenience.

the current warnings don't appear in the postbit:

Warnings Level: $post[warning_level]
Number of bans: $post[warning_bans]

Why is this?

mcyates 11-24-2004 01:55 PM

Quote:

Originally Posted by mcyates
the current warnings don't appear in the postbit:

Warnings Level: $post[warning_level]
Number of bans: $post[warning_bans]

Why is this?

fixed, i didn't apply the tamplate properly, as i did install this manually.

DS MrSinister 11-24-2004 02:50 PM

Quote:

Originally Posted by sv1cec
Run the following query:

ALTER TABLE `warnings` ADD `warned_user` int(15) NOT NULL default '0'

And now that you have it right, download the latest zip and upload the files to your web server again. Did some more changes this morning.

Files you need to download, are shown at the bottom of the hack's description, at the top of every page.

Rgds


thank you thank you.

Its all working now!!

mcyates 11-24-2004 05:06 PM

One questions

If i set the banning length to 7 days this means:

1st Ban - 7 Days
2nd Ban - 14 days
3rd Ban - PERMANENT

But what if the maturity of the ban is 30 days, does that mean the person will be banned for 30 days? or just 7? My bannign limit is 10 points and some of my warnings are for 10 points!!!

sv1cec 11-24-2004 05:38 PM

Quote:

Originally Posted by mcyates
One questions

If i set the banning length to 7 days this means:

1st Ban - 7 Days
2nd Ban - 14 days
3rd Ban - PERMANENT

But what if the maturity of the ban is 30 days, does that mean the person will be banned for 30 days? or just 7? My bannign limit is 10 points and some of my warnings are for 10 points!!!

OK, let's clarify these things up:

Maturity: The period over which the points associated with a warning, affect the user's account. When the maturity period of a warning expires, then the points associated with that warning are removed.

Ban Duration: How many days a member will be banned. In order for a member to be banned, he/she has to collect the maximum warning points defined (banning limit). The initially defined ban duration, gets multiplied by the number of bans if you use incremental banning.

So the maturity of a warning does not affect the duration of the ban. If a warning carries the same number of points, as your ban limit, this means that the moment the member gets warned for that particular warning, he/she is also banned. How long will he be banned? As long as your ban period is, unless if you use incremental banning and the user has more than zero bans.

So yes, if your banning period is 7 days, first ban=7 days, second=14 days, third is permanent (if that's what you have defined in the options).

How long will those warning points remain into his account? As long as the warning maturity was, in this case 30 days. After 30 days, the warning will be removed.

You have indeed a point here. If a member commited enough offences to be banned, should after he is banned still carry the maximum warning points, and all his warnings, or shall we consider his warnings "punished" and remove them? I mean he was bad, he as punished, shall he starts at the edge again, or shall we give him/her a clean start, after he/she gets unbaned?My opinion is that the warnings and the associated points should be removed. If not we end up with someone who has 10 warning points, coming from 5 warnings, (which points if added can be more than 10) and who is not banned, even though he has the maximum warning points. You said messy? You bet.

Let me know of your opinions on this matter, I can change the hack to act in either way, depending on a Warning Option, or I can make it permanent to have the warnings removed (or made inactive), once a member is banned.

Rgds
----------

John

mcyates 11-24-2004 10:17 PM

I think the best thing for this is:

If a user is banned for 7 days (your Ban Duration is for 7 days) but has 14 warning points and the banning limit is ten, the Maturity is 30. hmmm i'm confused now, i think thewy contractdict each other and one must go!!

A better system

Instead of having the Ban Duration and variable maturity i think you should change it to a fixed maturity, where all warnings last for the same amount of time..

For example the ban limit is 10: (each warning last for 10 days)

1st warning (4 points) issued on 01/01/01 (ends on 11/01/01)
2nd warning (2 points) issued on 07/01/01 (ends on 18/01/01)
3rd warning (6 points) issued on 09/01/01 (ends on 20/01/01)

On the 09 when he gor the 3rd warnign he would have been banned, but only for 2 days as on the eleventh the 1st warning would have expired.

Taking the above into consideration, the think which is causing confusing is the ban length when you reach 10 points (or whatever your limit is) this needs to go. Simple as that. hhmmm let me think again

Nope i'm totally confused, sorry i'm posting this post anyway as its taken me about 30 min thinking!!!

mcyates 11-24-2004 10:20 PM

Quote:

Originally Posted by mcyates
I think the best thing for this is:

If a user is banned for 7 days (your Ban Duration is for 7 days) but has 14 warning points and the banning limit is ten, the Maturity is 30. hmmm i'm confused now, i think thewy contractdict each other and one must go!!

A better system

Instead of having the Ban Duration and variable maturity i think you should change it to a fixed maturity, where all warnings last for the same amount of time..

For example the ban limit is 10: (each warning last for 10 days)

1st warning (4 points) issued on 01/01/01 (ends on 11/01/01)
2nd warning (2 points) issued on 07/01/01 (ends on 18/01/01)
3rd warning (6 points) issued on 09/01/01 (ends on 20/01/01)

On the 09 when he gor the 3rd warnign he would have been banned, but only for 2 days as on the eleventh the 1st warning would have expired.

Taking the above into consideration, the think which is causing confusing is the ban length when you reach 10 points (or whatever your limit is) this needs to go. Simple as that. hhmmm let me think again

Nope i'm totally confused, sorry i'm posting this post anyway as its taken me about 30 min thinking!!!

I think you have toooooooooooo many variables!!!!

Use incremental banning periods?
Number Of Days Members Are Banned

I still think its the Warn Maturity which is confusing me!! As this can contradict the ban length.

OHHHHHH MY BRAIN!!!

ChrisLM2001 11-25-2004 01:10 AM

I installed this mod manually.

For some reason if I remove the quotes the query will go through like this on MySQL 4.0.20-standard / phpMyAdmin 2.6.0-pl2.......

Code:

CREATE TABLE `vbforum_warning_options`
But my question is this: in creating an autobot for the system warnings, you said this.....

Quote:

Save this user and then go to your vBulletin Options, Site Name/URL/Contact Details. You will find a new field there called "Message Tag".
I don't get that new field. :(

Where is that "Message Tag" code so I can double check if I typed/saved it correctly?

Thanks.

Chris

sv1cec 11-25-2004 04:09 AM

Quote:

Originally Posted by ChrisLM2001
I installed this mod manually.

For some reason if I remove the quotes the query will go through like this on MySQL 4.0.20-standard / phpMyAdmin 2.6.0-pl2.......

Code:

CREATE TABLE `vbforum_warning_options`
But my question is this: in creating an autobot for the system warnings, you said this.....


I don't get that new field. :(

Where is that "Message Tag" code so I can double check if I typed/saved it correctly?

Thanks.

Chris

This is done by the install_warn.php script, or described in the upgradeToLatestVersion.txt.

To check it out, you should have the following phrases created:

setting_messagetag_desc
setting_messagetag_title

And also, in your setting table, there should be a line with varname equals to 'messagetag'.

Check the install_warn.php script for the queries you can run, or read the instructions in the upgrade on how to insert it from a browser page, if you do not have the above. If you have only one or two of them, but not all, you have to run the queries for the missing ones.

Rgds

sv1cec 11-25-2004 04:17 AM

Quote:

Originally Posted by mcyates
I think you have toooooooooooo many variables!!!!

Use incremental banning periods?
Number Of Days Members Are Banned

I still think its the Warn Maturity which is confusing me!! As this can contradict the ban length.

OHHHHHH MY BRAIN!!!

The warn maturity is not contradicting the ban duration. Think of it this way. A member commits a ... "crime" and gets a warning for 3 points. The guy is not a bad guy, he just didn't read the rules correctly. So from there on, he behaves. Should those 3 points be with him for ever? I do not think so. Maybe, after 10 days, or three months, depending on the ... crime, the points get removed. If this is fixed or variable, it's up to you. You can have the same maturity period on all your warning types.

The question is, what you do with a member who keeps commiting offences, until he gets banned. Do you still keep his warning points after he is banned, or do you erase them and let him start from scratch when he is unbanned? The more I think of it, the more I believe that we should clean up his records, to give him a fresh start. The other way around can be confusing.

Can other people who have installed this hack jump in and tell us their opinions?

Rgds
----------
John

ChrisLM2001 11-25-2004 09:18 AM

That did the trick, I didn't add these details....

Code:

Varname: messagetag
Setting Group: Site Name / URL / Contact Details
Title: Message Tag
Description: Tag to be appended at the front of the subject line in messages send by the forums.
Option Code: (blank)
Default: (blank)
Display Order: 35

Now it displays perfectly. :)

Chris

sv1cec 11-25-2004 09:22 AM

Quote:

Originally Posted by ChrisLM2001
That did the trick, I didn't add these details....

Code:

Varname: messagetag
Setting Group: Site Name / URL / Contact Details
Title: Message Tag
Description: Tag to be appended at the front of the subject line in messages send by the forums.
Option Code: (blank)
Default: (blank)
Display Order: 35

Now it displays perfectly. :)

Chris

Glad you have it OK now.

Keep in mind, that if you want, you may use this tag in other messages as well. For example, I have added in every e-mail send out by my forums, the registration e-mail, the welcome e-mail etc. Then your members can filter on that tag, and move all their forums messages in a folder of their choice. I know they can do it with the e-mail address too, but what if the admin wants to e-mail someone for some reason? If you are filtering with the e-mail address the admin's e-mail will end up in the Forums folder and might not be seen.

Just a thought!

mcyates 11-25-2004 03:18 PM

Quote:

Originally Posted by sv1cec
Glad you have it OK now.

Keep in mind, that if you want, you may use this tag in other messages as well. For example, I have added in every e-mail send out by my forums, the registration e-mail, the welcome e-mail etc. Then your members can filter on that tag, and move all their forums messages in a folder of their choice. I know they can do it with the e-mail address too, but what if the admin wants to e-mail someone for some reason? If you are filtering with the e-mail address the admin's e-mail will end up in the Forums folder and might not be seen.

Just a thought!

Its the Number Of Days Members Are Banned which is messing things up.

1st warning (4 points) issued on 01/01/01 (ends on 11/01/01)
2nd warning (2 points) issued on 07/01/01 (ends on 18/01/01)
3rd warning (6 points) issued on 09/01/01 (ends on 20/01/01)

The member will only be banned for 2 days (after he received the 3rd warning) untill the 1st warning has expired. Its better to remove the "Number Of Days Members Are Banned" and just let the warnings work on their own, like the above one did. If they go over the warning limit, then they just have to wait untill one of the warnings have expired which will make them unbanned.

Is there anyway I can disable the Number Of Days Members Are Banned on my forum?

It is a great hack btw i already banned someone lol!!

SamirDarji 11-25-2004 03:31 PM

Quote:

Originally Posted by sv1cec
The question is...Do you still keep his warning points after he is banned, or do you erase them and let him start from scratch when he is unbanned?

I think that the warnings themselves define whether a user should start with a blank slate or not. For example:

A user is warned with a warning that has a duration of 5 days
The same user is warned with a warning that has a duration of 90 days (serious offense)
The same user is warned with another warning that has a duration of 10 days. This warning causes the user to be banned for 30 days.

Now, once the user is unbanned, the lessor offense warnings have expired, so the points don't count anymore. But the more serious offense is still on record, so another few minor offenses or one major one can get them banned again.

I think it is important for them to not have a clean slate because some things are too serious to give them a completely fresh start.

sv1cec 11-25-2004 04:19 PM

Quote:

Originally Posted by mcyates
Its the Number Of Days Members Are Banned which is messing things up.

1st warning (4 points) issued on 01/01/01 (ends on 11/01/01)
2nd warning (2 points) issued on 07/01/01 (ends on 18/01/01)
3rd warning (6 points) issued on 09/01/01 (ends on 20/01/01)

The member will only be banned for 2 days (after he received the 3rd warning) untill the 1st warning has expired. Its better to remove the "Number Of Days Members Are Banned" and just let the warnings work on their own, like the above one did. If they go over the warning limit, then they just have to wait untill one of the warnings have expired which will make them unbanned.

Is there anyway I can disable the Number Of Days Members Are Banned on my forum?

It is a great hack btw i already banned someone lol!!


What you are asking is not the simplest thing to do, with just a parameter. It requires logic change, the unbanning method is now based on the standard algorithm provided by vB. If I were to implement your way, we had to have a different algorithm, which would check the warning points of the banned members versus the maximum number of points, and if below, it will unban them.

It's not a bad idea, but it is a totally different method of handling the problem.

Maybe in release 2.0, I 'll build in different scenarios, and let the admin select which one he/she likes to use. Until now, I have three in my mind, the existing one, another one where the warning points and the warnings of a banned member are deleted and yours. The second one can be easily implemented with a conditional and a Warning Option, in the code, as it is today. Yours needs more work, but hey if the twins allow me, I'll do it.

Rgds
-----------
John

sv1cec 11-25-2004 07:06 PM

Quote:

Originally Posted by SamirDarji
I think that the warnings themselves define whether a user should start with a blank slate or not. For example:

A user is warned with a warning that has a duration of 5 days
The same user is warned with a warning that has a duration of 90 days (serious offense)
The same user is warned with another warning that has a duration of 10 days. This warning causes the user to be banned for 30 days.

Now, once the user is unbanned, the lessor offense warnings have expired, so the points don't count anymore. But the more serious offense is still on record, so another few minor offenses or one major one can get them banned again.

I think it is important for them to not have a clean slate because some things are too serious to give them a completely fresh start.

I tend to agree with you.

The only problem is, that with the system as it is now, when a member reaches the maximum points and he is banned, his total warning points get reset to the maximum warning points. When the lesser warnings start getting removed, he artificially ends up with fewer points than he should have. In your example above, and assuming that the first offense was worth 2 points, the second 7 and the third 5, when the user was banned, he had 14 points, but the moment he gets banned he is left with 10 (let's assume the limit is 10). When the two minor warnings expire, (2+5) he is left with only 3 points.

I think that this is something I should address, by not resetting his total points to 10, but leaving them at whatever they were the moment he got banned, i.e. 14 in this case. In that way, even when the minor offenses are removed, he still has the 7 points from the major one, and with 3 more he gets banned again.

What do you people think?

------------

John

Shack Networks 11-25-2004 07:45 PM

The problem that I have is my added groups can not be warned/banned by Mods.

I have 2 user groups VIP and VIP+ and the mods can not see any way of warning them as the links do not show up for this group.

They can only warn/ban the default registered user group.

Admin can warn/ban all groups..

Any work around for this or will they be immune to being warned forever...

H

Shack Networks 11-25-2004 07:47 PM

ALSO

Can this be adapted so say for instance a member types a banned word or link to a website that is in a banned list he is automaticaly added a set amount of points with no mod intervention needed ?

If this feature could be added this hack would be 101% fantastic as aposed to 100% it is at the moment...

H

mcyates 11-25-2004 07:56 PM

Quote:

Originally Posted by sv1cec
I tend to agree with you.

The only problem is, that with the system as it is now, when a member reaches the maximum points and he is banned, his total warning points get reset to the maximum warning points. When the lesser warnings start getting removed, he artificially ends up with fewer points than he should have. In your example above, and assuming that the first offense was worth 2 points, the second 7 and the third 5, when the user was banned, he had 14 points, but the moment he gets banned he is left with 10 (let's assume the limit is 10). When the two minor warnings expire, (2+5) he is left with only 3 points.

I think that this is something I should address, by not resetting his total points to 10, but leaving them at whatever they were the moment he got banned, i.e. 14 in this case. In that way, even when the minor offenses are removed, he still has the 7 points from the major one, and with 3 more he gets banned again.

What do you people think?

------------

John

I think that this is something I should address, by not resetting his total points to 10, but leaving them at whatever they were the moment he got banned, i.e. 14 in this case. In that way, even when the minor offenses are removed, he still has the 7 points from the major one, and with 3 more he gets banned again.

What do you people think?

That would be better, just let the points warning do the job. and when one warning is removed and the points go below the banned limit he is unbanned

sv1cec 11-25-2004 09:57 PM

Quote:

Originally Posted by Shack Networks
The problem that I have is my added groups can not be warned/banned by Mods.

I have 2 user groups VIP and VIP+ and the mods can not see any way of warning them as the links do not show up for this group.

They can only warn/ban the default registered user group.

Admin can warn/ban all groups..

Any work around for this or will they be immune to being warned forever...

H

I'll see what I can do about your VIPs, as for the list, this needs more investigation. I have to see how the forbidden words are handled, and see if this can be incorporated in the hack. Possibly somewhere in the postbit or when you post a new post.

And I was planning to do some chores tomorrow morning.....

Rgds
-------
John


All times are GMT. The time now is 12:09 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.02245 seconds
  • Memory Usage 1,932KB
  • 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
  • (12)bbcode_code_printable
  • (3)bbcode_php_printable
  • (28)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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