PDA

View Full Version : Administrative and Maintenance Tools - "Smith" Warning System


akanevsky
11-20-2006, 10:00 PM
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*================================================= =====================*\
|| "Smith" Warning System
||
|| Author : Anton Kanevsky
|| Co-Author(s) : Mr_Devlin (German Translation)
|| Works on : vBulletin 3.5 / 3.6
|| Released : Nov 25, 2006
||
|| Time required to install: 1 minute
|| Difficulty: easy
\*================================================ ======================*/

DESCRIPTION

Have you been running into troublesome users ever since you have began administering your bulletin board? Have you been forced into banning these users because there was no other way to prevent them from wreaking havoc in your community? Look no further. "Smith" Warning System is a professional solution that features a system of warning points as an alternative to an immediate ban. A must-have tool for a serious administrator.

STATISTICS

File Uploads: 1
Template Changes: 5
Products to Install: 1


FEATURES


Configuration Options

Banning Threshold (defines the maximum number of points)
Banning Usergroup (defines where to move a user after the user has reached the threshold)
Automatically Create Warning Usernote for Warned User (yes / no)
Fake Warner (a fake person from whom warnings originate)
Forum for Information Threads (can be turned off completely)
Enable Conditional Display of "Issue New Warning" Link in Showthread and Showpost (Advanced Option; Takes Extra Queries)



Extensive Usergroup Permissions

Can Issue Warnings
Can Administer Warnings
Can Disable Notification
Can Be Warned
Can Override Warning Settings (Defines whether number of points, duration period, reputation effect and revokation cost may be customized per-warning)
Can View Own Warnings
Can View Others Warnings



Warning Type Manager

Title & Description
Default number of points (customizable per warning)
Default duration period (customizable per warning)
Default reputation effect (customizable per warning)
Default self-revokation cost (customizable per warning)
Each warning type can be deactivated or deleted if desired.



Warning History Manager

Extensive filter for a quick lookup of warnings that much certain criteria.
Ability to permanently revoke unexpired warnings as an alternative to complete deletion. That way they stay in the log, but have no further effect.



Smart, Full-Featured Front End

Amount of points and duration of a warning.
Real and "Verbal" (non-penalty) warnings, both of which are recorded into the warning log.
If certain setting (vBulletin Options -> Warning System) of the hack is misconfigured, an error message will be displayed when you attempt to issue a new warning, thus preventing your database from potential corruption.
Each post can only be warned once.
A person may not issue a self-warning.
Verbal warnings are displayed with a "verbal" sign in the log in place of the points.
Information about an issued warning is automatically recorded into user's usernotes page. If a warning is deleted, the usernote is deleted too. The feature can be turned off if desired.
Information about an issued warning is automatically posted in the form of a new thread in a designated forum. The feature can be turned off if desired.
If a post has an attached warning, the brief warning details are displayed at the bottom of the post.
If a person a positive warning level, it is displayed in the posts and in the profile of that person.
Warned posts are automatically locked from any further modifications by their owners.
Warning history, once a user has one or more warnings, is available from the user's profile and from posts.
Members who have a permission to issue warning are unable to issue warnings to higher-standing usergroups (such as moderator -> supermoderator or supermoderator -> admin).
A sophisticated "who's online" handler that shows exactly what a user is doing in the front-end warning system.
Only those links to which the viewer has access are displayed. For example, a moderator will not see an "issue new warning" link on a supermoderor's post, but an administrator will.
Reputation Effect: Amount of reputation points that will be subtracted from the user's account until the warning expires or is revoked/deleted.
Reputation-Based Self-Revokation Capability: Each warning can be set to allow the end user to buy the warning out in exchange for a certain amount of reputation points.



Bonus! The following importer has been included into the package:

Inferno Warning System v1.3




VERSION HISTORY

1.3.1
Corrected a postbit_legacy template bug.

1.3.0
The first free release that is officially cross-compatible with both vBulletin 3.5 and 3.6.

1.2.2
[F] Corrected a licensing issue.
[F] Corrected a cron bug, which caused an sql error.
[F] Changed behavior of "Can View ___ Warnings" permission to cover the warning level displayed in posts.

1.2.1
[+] Reputation Points Option was removed from vBulletin Options. Instead, Reputation Effect can now be defined per Warning Type and even per Warning.
[+] Reputation-Based Self-Revokation Capability: Each warning can be set to allow the end user to buy the warning out in exchange for a certain amount of reputation points.
[+] Feature to enable creation of warning information threads in a specific forum.
[+] More detailed and better formatted usernotes and notifications.

1.1.0
[+] Ability to Issue Verbal Warnings
[+] Ability to Define a Fake Warner
[+] Automatic Usernotes Creation
[+] Warned Posts May Not Be Modified by the Author
[+] More sophisticated who's online handler
[+] Warning sign on warned posts

1.0.0
Introductory Release

INTRODUCTION

This hack includes a cron, which you do not need to manually add to your cron manager. The cron is added automatically for you once you install the product XML.
If you wish to import your warning data from another warning system, upload warn_import.php from ./do_not_upload/ to ./admincp/ and run it from your browser.

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=132131)

akanevsky
11-21-2006, 07:05 PM
MORE SCREENSHOTS ARE ATTACHED TO THIS POST!

FAQ

Q: Why did this become a free product?
A: Seeing how there are plenty of alternative solutions that seem to satisfy users despite the fact they are full of bugs as well as the fact that vBulletin 3.6.0 has a warning system of its own, we decided that there is no point in having this hack as a commercial product anymore.

Q: How is this different from vBulletin's Infraction System?
A: This has much more features that are more reasonable and more interesting than those of vBulletin's. Read through the list of features and look at screenshots to see for yourself.

Q: How is this different from an alternative warning system called BLAH_BLAH_BLAH?
A: This has more features, less bugs (if any), and this is just a whole different project. See screenshots for yourself.

Nick H
11-21-2006, 07:13 PM
How is this any different from Advanced Warning System (AWS)?

akanevsky
11-21-2006, 07:17 PM
This has more features, less bugs (if any), and this is just a whole different project. See screenshots for yourself.

eilrahC
11-21-2006, 07:26 PM
looks nice

ChavMagnet
11-21-2006, 08:26 PM
Will this work for 3.6.3 ?

akanevsky
11-21-2006, 08:33 PM
Will this work for 3.6.3 ?

Yes, it will work with all vBulletin versions starting 3.5.0 and up to and including 3.6.3.

ChavMagnet
11-21-2006, 08:36 PM
Nice Work *INSTALLED*

Mattimus1984
11-21-2006, 08:40 PM
Great we dont have to pay now that rocks

taxick
11-21-2006, 09:02 PM
WOW nice :)

And now it free :)

Thx

INSTALL

projectego
11-21-2006, 09:23 PM
Thanks! ;)

Billspaintball
11-21-2006, 09:50 PM
This is what the built in infringment system should have been....
Look and learn vB

dragonhart
11-21-2006, 10:50 PM
thanks you so much whoot.......Dragonhart

evenmonkeys
11-21-2006, 11:23 PM
I like this. I think a neat idea ontop of this would be to make it similar to the warning system on AOL Instant Messenger. As you get more and more of a warning percentage, your IMs per minute is decreased. As an example, let's say a site allows one most per 60 seconds. For every warning point you have, you could tack on another second.

I'm just thinking outloud. In any case, I like this modification. It's simple, yet I'm sure it'd prove to be effective.

Shazz
11-21-2006, 11:30 PM
This is what the built in infringment system should have been....
Look and learn vB

I don't get how the vB 3.6 right now has bugs?
I understand though that this does have more options..

Josh1
11-21-2006, 11:56 PM
Installed.

NFLfbJunkie
11-22-2006, 12:09 AM
Does the vB warning system need to be deactivated or does this one install on top of the vB one?

akanevsky
11-22-2006, 12:10 AM
I don't get how the vB 3.6 right now has bugs?

Where does it say that 3.6 has bugs?

Installed.

LOL. Apparently, you have forgotten to click the button (like most others), cause it says "Status: Not Installed"...

Does the vB warning system need to be deactivated or does this one install on top of the vB one?

They are two different warning systems, and in fact this warning system came before vB's. So yeah, you need to deactivate vB's system since this one is self-sufficient. Or, you could use them both... Which would be pointless. :)

NFLfbJunkie
11-22-2006, 12:15 AM
How would I deactivate the vB warning system?

akanevsky
11-22-2006, 12:30 AM
How would I deactivate the vB warning system?

Simply turn off "User Infraction Permissions" for all usergroups.

NFLfbJunkie
11-22-2006, 12:36 AM
Just the infraction permissions and not the reputation permissions?

akanevsky
11-22-2006, 12:37 AM
Just the infraction permissions and not the reputation permissions?

Yeah. Reputation has nothing to do with infractions.

Josh1
11-22-2006, 12:41 AM
Woops, clicked installed now. This is an awesome addon :).

NFLfbJunkie
11-22-2006, 01:04 AM
CLicked Installed. Is there a way to remove the "add infraction" icon from the 'showthread' area of a users threads/posts?

kall
11-22-2006, 02:55 AM
Where does it say that 3.6 has bugs?

Probably here: :)
# Q: How is this different from BLAH_BLAH_BLAH?
A: This has more features, less bugs (if any), and this is just a whole different project. See screenshots for yourself.

Shazz
11-22-2006, 04:14 AM
Probably here: :)

^Yea thats what I mean
So your saying, this has less bugs then the vBulletin warning system itself?

Hornstar
11-22-2006, 05:08 AM
^Yea thats what I mean
So your saying, this has less bugs then the vBulletin warning system itself?

he would have meant it has less bugs then other warning systems around vb.org eg. AWS

and yeah, VB really should have these features by now, I bet they are just waiting until another big update eg. version 4.

But it is good to see a great product like this for free ^^

I may need some custom coding work done, So i may be in contact with you shortly.

Thanks.

Mattimus1984
11-22-2006, 07:01 AM
I cant find where warning type administration is or warning administration

projectego
11-22-2006, 10:21 AM
LOL. Apparently, you have forgotten to click the button (like most others), cause it says "Status: Not Installed"...

Oops!
* projectego clicks install ;)

Stingray27
11-22-2006, 10:46 AM
How is this different from the builtin infractions system ??

akanevsky
11-22-2006, 11:44 AM
^Yea thats what I mean
So your saying, this has less bugs then the vBulletin warning system itself?

Why do you always have to interpret things in a perverted way... I was referring to other warning system. Not vB's.

I cant find where warning type administration is or warning administration

Warning System in the vBulletin AdminCP Menu.

How is this different from the builtin infractions system ??

Much more features. And I mean - much.


P.S. Yay! One-star voter, I see you've already been here. Having fun, aye?

Spikeman
11-22-2006, 02:22 PM
* Spikeman Installs

Thanks Anthony, must be my lucky week, i was contemplating buying this ;) now looks like i can get your bug tracker instead what a double result.

NFLfbJunkie
11-22-2006, 04:20 PM
After issuing a warning to a user, the part of the thread display screen for the 'warned post', where the users profile information is, widens. Is this normal behavior (see image)?

NFLfbJunkie
11-22-2006, 04:22 PM
This looks funny. Can it be fixed?

akanevsky
11-22-2006, 04:25 PM
After issuing a warning to a user, the part of the thread display screen for the 'warned post', where the users profile information is, widens. Is this normal behavior (see image)?

No, it is not. I'll take a look at it.

This looks funny. Can it be fixed?

What the ....? How did you get those lines?

NFLfbJunkie
11-22-2006, 04:26 PM
The lines show in the private message that is sent after a warning has been issued.

akanevsky
11-22-2006, 04:37 PM
The lines show in the private message that is sent after a warning has been issued.

Impossible. Tested with 3.5.4 and 3.6.3, everything works fine. There isn't a way that these lines could appear (nothing even close to that was even coded). I recommend you check your computer for viruses or something... Also, make sure that the Page Zoom of your browser is 100%. From your screenshots, it appears to be about 70%...

NFLfbJunkie
11-22-2006, 04:45 PM
When a private message is sent for the warning, '2' messages show in the inbox for the warned user and only one warning message is in the inbox.

NFLfbJunkie
11-22-2006, 04:46 PM
Everything is okay on my browser end and still getting the lines in the PM. Anyone else test this MOD and getting the same results?

NFLfbJunkie
11-22-2006, 04:57 PM
When I go to forward the private message, this is what shows up in the forwarding box. Notice all of the <hr> tags.



You have been warned by FBJunkie for the following post:
http://www.site.com/forums/showpost.php?p=18

You have been given 2 warning points, which makes your warning level to be 2.
Be advised that warning threshold is 20.

Warning duration has been set to 30 days, with reputation effect of 20.

To avoid receiving future warnings, please make sure you get familiar with and obey the community rules.

FBJunkie has given the following reason for the warning:
<hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr>
Please do not talk about something different other than the posted topic. Thank you.
<hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr>

This is an automatically generated message and no reply is required.
However, if you think that you do not deserve this warning, feel free to initiate a dispute by replying.

Alternatively, if you have 100 or more reputation points, you may buy revokation of the warning for these points.
To do so, visit your warning history by clicking on the link in your profile, and then click "Revoke Warning".

akanevsky
11-22-2006, 05:04 PM
When I go to forward the private message, this is what shows up in the forwarding box. Notice all of the <hr> tags.



You have been warned by FBJunkie for the following post:
http://www.fantasyfootballgridiron.com/gforums/showpost.php?p=18

You have been given 2 warning points, which makes your warning level to be 2.
Be advised that warning threshold is 20.

Warning duration has been set to 30 days, with reputation effect of 20.

To avoid receiving future warnings, please make sure you get familiar with and obey the community rules.

FBJunkie has given the following reason for the warning:
<hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr>
Please do not talk about something different other than the posted topic. Thank you.
<hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr>

This is an automatically generated message and no reply is required.
However, if you think that you do not deserve this warning, feel free to initiate a dispute by replying.

Alternatively, if you have 100 or more reputation points, you may buy revokation of the warning for these points.
To do so, visit your warning history by clicking on the link in your profile, and then click "Revoke Warning".

No <hr> tags have even been coded into the system. There must be something wrong with your vBulletin installation.

NFLfbJunkie
11-22-2006, 05:27 PM
Anthony, I just did a clean install of vB, latest version, installed your MOD, and still getting the lines. Also, when a warning is issued and the PM sent, two messages show as being in the users inbox, but there is just the one message. After reading the message, it shows that there is still one unread message in the inbox.

akanevsky
11-22-2006, 06:08 PM
Anthony, I just did a clean install of vB, latest version, installed your MOD, and still getting the lines. Also, when a warning is issued and the PM sent, two messages show as being in the users inbox, but there is just the one message. After reading the message, it shows that there is still one unread message in the inbox.

The fact remains that no <hr>'s have ever been coded into the package. Furthermore, I don't think I have ever used <hr> tag in any of my modifications. Make a search through the files contained in the ZIP and you'll find that it's true. If a fresh installation of vBulletin gives you that problem, then either the installation is not fresh or the server at which you are installing vBulletin is malfunctioning.

NFLfbJunkie
11-22-2006, 09:16 PM
Any idea why when issuing a warning and the subsequent email why two messages show as being in the users inbox, but there is just the one message; and then after reading the message, it shows that there is still one unread message in the inbox.

akanevsky
11-22-2006, 09:58 PM
Any idea why when issuing a warning and the subsequent email why two messages show as being in the users inbox, but there is just the one message; and then after reading the message, it shows that there is still one unread message in the inbox.

That may be from a previous bad installation. Do a query:
UPDATE user SET pmunread = pmunread - 1 WHERE userid = YOURUSERID
Of course, replace YOURUSERID with the actual userid.

NFLfbJunkie
11-22-2006, 10:22 PM
Would I have to do this with every user ID? Mine, and each of the test users that I have set up? And then all other user ID's thereafter?

By the way Anthony, I fixed the lines problem. Don't ask me how; I did something that did fix it. Have you been able to fix the other problem?

NFLfbJunkie
11-22-2006, 10:32 PM
Ran the query with my user id "1" and got the following:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.user' doesn't exist

akanevsky
11-22-2006, 11:10 PM
Would I have to do this with every user ID? Mine, and each of the test users that I have set up? And then all other user ID's thereafter?

By the way Anthony, I fixed the lines problem. Don't ask me how; I did something that did fix it. Have you been able to fix the other problem?

I know what the fix is, but I won't be able to implement it if I have to keep answering your nonsense posts.

Ran the query with my user id "1" and got the following:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.user' doesn't exist

Just like with any other query, you have to prefix the table with the TABLE_PREFIX which you have defined in config.php.

NFLfbJunkie
11-23-2006, 12:00 AM
I am sorry if my intelligence level is well below yours. But thanks for the additional help and hopefully this is the last time I need to ask you for any help.

GoTTi
11-23-2006, 12:33 AM
Great we dont have to pay now that rocks

give him a week.

akanevsky
11-23-2006, 12:40 AM
I am sorry if my intelligence level is well below yours. But thanks for the additional help and hopefully this is the last time I need to ask you for any help.

I apologize if the post sounded offensive, but honestly - does it require a great level of intelligence to figure out that a coder in his right mind (and I consider myself one) would most likely not post a hack with a bug as obvious as fourty eight or something <hr>'s that don't make any sense. Would he?

give him a week.

I am not sure what exactly are you implying here, but if you mean that this hack will soon become commercial, then I'll point out specifically for you the following quote from the FAQ in the second post:

Q: Why did this become a free product?
A: Seeing how there are plenty of alternative solutions that seem to satisfy users despite the fact they are full of bugs as well as the fact that vBulletin 3.6.0 has a warning system of its own, we decided that there is no point in having this hack as a commercial product anymore

Which means that this hack has been commercial and now it is no more.
Now, thank you for being so nice to post in my thread, GoTTi, and have a nice day. :)

NFLfbJunkie
11-23-2006, 01:13 AM
Anthony, I still think this MOD is an awesome hack and would pay a nominal fee should you decide to start charging for it. I was only pointing out something that may have been a bug, and fortunately for this hack, and after I figured something out, was not one. It's the 'master coders' that make this, and all other hacks, possible for us 'members' to download and learn from, so maybe give us the respect that we usually give to you all. I hope I'm not sounding attacking; I'm just being appreciative of the work that you coders do for this community.

akanevsky
11-23-2006, 11:34 AM
Anthony, I still think this MOD is an awesome hack and would pay a nominal fee should you decide to start charging for it. I was only pointing out something that may have been a bug, and fortunately for this hack, and after I figured something out, was not one. It's the 'master coders' that make this, and all other hacks, possible for us 'members' to download and learn from, so maybe give us the respect that we usually give to you all. I hope I'm not sounding attacking; I'm just being appreciative of the work that you coders do for this community.

Hmm, thanks for positive feedback. Now I feel bad for being rude in the first place. Have you been able to eliminate the appeareance of incorrect unread messages count? And I'll probably post a fix for the postbit later today.

NFLfbJunkie
11-23-2006, 02:13 PM
Still can't figure out the double PM problem. Any help would be greatly appreciated Anthony, but no hurry. Thanks.

akanevsky
11-23-2006, 02:46 PM
Still can't figure out the double PM problem. Any help would be greatly appreciated Anthony, but no hurry. Thanks.

What are the steps required to reproduce the problem?

NFLfbJunkie
11-23-2006, 03:02 PM
When I (as the admin) issue a warning to a test user, I select the private message option to send a private message to the user receiving the warning. Then I log out as admin, log in as test user, and there are two messages that show as being in the inbox, but when going to the inbox, there is only one. Also, after deleting the one message, one message still shows as being in the inbox. Before running this test, I cleared all messages out of the test users inbox.

akanevsky
11-23-2006, 03:04 PM
Please do what I said here:
https://vborg.vbsupport.ru/showpost.php?p=1123275&postcount=45
But do replace "user" with YOUR TABLE PREFIXuser

NFLfbJunkie
11-23-2006, 05:47 PM
Have tried

UPDATE user SET pmunread = pmunread - 1 WHERE userid = fantasyf_vbuser

And still get

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.user' doesn't exist

Sorry if I am missing something so basic when it comes to ruuning queries.

My database prefix is fantasy_f and my table prefix is vb.

akanevsky
11-23-2006, 05:51 PM
You replaced the wrong thing. It should be:
UPDATE fantasyf_vbuser SET pmunread = pmunread - 1 WHERE userid = INSERT_YOUR_USERID_HERE

NFLfbJunkie
11-23-2006, 05:56 PM
Did

UPDATE fantasyf_vbuser SET pmunread = pmunread - 1 WHERE userid = 1

And get

vBulletin Message
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.fantasyf_vbuser' doesn't exist

Am I still missing something? Sorry for my inexperience.

akanevsky
11-23-2006, 06:00 PM
Are you sure that fantasyf_vb is the correct prefix used in your database? Double check config.php.

NFLfbJunkie
11-23-2006, 06:05 PM
Actually, it is fantasyf_forums. So i then change it and run

UPDATE fantasyf_forums_vbuser SET pmunread = pmunread - 1 WHERE userid = 1

And get

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.fantasyf_forums_vbuser' doesn't exist

Boy I'm lost.

akanevsky
11-23-2006, 06:07 PM
Try this:
UPDATE fantasyf_forumsuser SET pmunread = pmunread - 1 WHERE userid = 1

There is no '_' between prefix and actual table name. So, your table names for queries are written like this:
PREFIXNAME_OF_TABLE

If table name is user, and prefix is helloworld, then in a query, you would write:
helloworlduser

NFLfbJunkie
11-23-2006, 06:09 PM
Now get

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.fantasyf_forumsuser' doesn't exist

I don't want to waste your time with this, but is this something you're still trying to figure out on your end?

NFLfbJunkie
11-23-2006, 06:11 PM
Also tried

UPDATE fantasyf_forums_userid SET pmunread = pmunread - 1 WHERE userid = 1

And get an error.

akanevsky
11-23-2006, 06:12 PM
No, I am not trying to figure this out because I cannot without seeing the contents of your config.php file.

mikeylikesitz
11-24-2006, 01:17 AM
Fatal error: Call to undefined function: fetch_ws_level() in /usr/local/apache/htdocs/forum/warn.php on line 195

when i try to issue a warning for a user, any ideas?

and also the warn_import.php file still links to your site asking for a license key and doesnt allow continue.

o0Hubba0o
11-24-2006, 05:07 AM
That's cool that you released for free based on other mods like this and vB's included feature.

Now I just wish I could get that battle system for my graphics site. ;)

akanevsky
11-24-2006, 11:49 AM
Fatal error: Call to undefined function: fetch_ws_level() in /usr/local/apache/htdocs/forum/warn.php on line 195

when i try to issue a warning for a user, any ideas?

and also the warn_import.php file still links to your site asking for a license key and doesnt allow continue.

Yeah, I forgot to remove the licensing code from it. File re-uloaded. As for the error... make sure you imported the product XML and that plugins are enabled.

mikeylikesitz
11-24-2006, 01:10 PM
it is imported and plugins are enabled.

thanks for the new import file.

akanevsky
11-24-2006, 02:08 PM
it is imported and plugins are enabled.

What other hacks do you have installed on global_start hook?

mikeylikesitz
11-24-2006, 02:22 PM
i had a few, it seems there was an issue with an exclude forum plugin i got from here that i no longer use. Thank you, it seems to be fixed now.

Mr_Devlin
11-24-2006, 04:02 PM
I asked Psionic Vision to make a german translation of this fine addon and he agreed. Here it is (see attachment):

akanevsky
11-24-2006, 04:14 PM
Thanks for sharing. You have been listed as a supporter of this hack.

Mr_Devlin
11-24-2006, 04:26 PM
I just created a new thread @ vbhacks-germany.org (http://www.vbhacks-germany.org/showthread.php?t=6451) for this nice mod.

NFLfbJunkie
11-24-2006, 10:19 PM
When selecting the link "Warning History for User", did you intend for the results to open in a new window?

akanevsky
11-24-2006, 11:36 PM
When selecting the link "Warning History for User", did you intend for the results to open in a new window?

Of course. Otherwise the page that opens would have a logotype, a footer, and all the other elements that full pages have.

NFLfbJunkie
11-24-2006, 11:37 PM
Figured as such; was just curious. Any idea about how to remedy the duplicate PM sent issue?

mikeylikesitz
11-25-2006, 05:11 PM
i also have an issue of the page loading really slowly when i post a warning, it takes anywhere from 1min to 5 min. is there something i should look for?

akanevsky
11-25-2006, 05:12 PM
i also have an issue of the page loading really slowly when i post a warning, it takes anywhere from 1min to 5 min. is there something i should look for?

There is no reason why the page should load 1 to 5 minutes other than general slowness of your server.

mikeylikesitz
11-26-2006, 04:06 AM
the server isnt slow, its a dedi and everything else loads fine, i was wondering if there was a script checking something somewhere that might be slowing it up.

AMD_Warrior
11-26-2006, 10:17 AM
Works like a charm no bugs no speed dedrigation.

Great work
installed

akanevsky
11-26-2006, 12:03 PM
the server isnt slow, its a dedi and everything else loads fine, i was wondering if there was a script checking something somewhere that might be slowing it up.

No, it's not checking anything... On a fresh installation, and on a different non-hacked installation running a large database, the script works fine.

Kmaster
12-02-2006, 03:19 AM
I rec'd below error while trying install

Invalid SQL:

SELECT MAX(phrasetypeid) AS max
FROM phrasetype
WHERE phrasetypeid < 1000;

MySQL : Unknown column 'phrasetypeid' in 'field list'
error : 1054

akanevsky
12-02-2006, 12:25 PM
I rec'd below error while trying install

Invalid SQL:

SELECT MAX(phrasetypeid) AS max
FROM phrasetype
WHERE phrasetypeid < 1000;

MySQL : Unknown column 'phrasetypeid' in 'field list'
error : 1054

This is a vBulletin-related error. Please submit that to vBulletin.com.

Kmaster
12-02-2006, 03:00 PM
stranged, I try it again with new fresh vb364 no this error appeared.
but still can't work in my old forums vb363.

akanevsky
12-02-2006, 03:03 PM
stranged, I try it again with new fresh vb364 no this error appeared.
but still can't work in my old forums vb363.

Maybe there is some problem with your 3.6.3 installation? I suggest you upgrade.

Kmaster
12-02-2006, 03:13 PM
just upgraded it to 364.
still same error.

akanevsky
12-02-2006, 04:02 PM
just upgraded it to 364.
still same error.

Post that error at vbulletin.com. They should be able to help you.

Kmaster
12-07-2006, 03:41 AM
finally I got this solved, but seems few problem with below:-
1-The cron is not add automatically after installed the product XML.
2-Information about an issued warning is automatically posted in the form of a new thread in a designated forum. <----doesnt work. I have already set the correct forum ID as it need.
3-Revokation Cost of Reputation Points doesn't show up. (see enclosed picture)

akanevsky
12-07-2006, 06:08 PM
1-The cron is not add automatically after installed the product XML.

Will fix.

2-Information about an issued warning is automatically posted in the form of a new thread in a designated forum. <----doesnt work. I have already set the correct forum ID as it need.

Then it's not the correct forum id.

Revokation Cost of Reputation Points doesn't show up. (see enclosed picture)

It only shows up to the person who received it.

Kmaster
12-08-2006, 03:39 AM
Will fix.



Then it's not the correct forum id.



It only shows up to the person who received it.


1-100% sure, it's correct forum ID I fill up.
2-Switch to the ID, but still not show up.

farooqaaa
12-08-2006, 07:21 AM
Nice one. :) thanks alot.

Konstantinos
12-31-2006, 08:58 AM
should i have reputation system on for this to work ?

akanevsky
12-31-2006, 12:14 PM
No...

lukemax
01-06-2007, 05:14 AM
I tried to install this, how do I get to the Warning System Administration like in the screenshots?

akanevsky
01-06-2007, 01:34 PM
I tried to install this, how do I get to the Warning System Administration like in the screenshots?

via AdminCP.

lukemax
01-06-2007, 08:29 PM
ok (found it in the ACP)
Is the Administrtator allowed to give warnings cause I dont know how to.
Also on the first screenshot (drop down list when the users name is clicked on)
Mine doesn't appear to give me those options
Thanks....

akanevsky
01-06-2007, 08:45 PM
ok (found it in the ACP)
Is the Administrtator allowed to give warnings cause I dont know how to.
Also on the first screenshot (drop down list when the users name is clicked on)
Mine doesn't appear to give me those options
Thanks....

You give warnings by clicking on the user's name in a post then clicking "issue warning". But first please set up usegroup permissions.

lukemax
01-07-2007, 01:50 AM
ok, when I go to usergroup manager, under Administrator I adjust the warning permissions all to yes and I get this?
(Does that warning have anything to do with my problem?)
Thanks

akanevsky
01-07-2007, 03:17 PM
ok, when I go to usergroup manager, under Administrator I adjust the warning permissions all to yes and I get this?
(Does that warning have anything to do with my problem?)
Thanks

You need to rebuild the bitfields by going vBulletin Options -> Rebuild Bitfields. But before you do that, make sure to upload all of the files.

lukemax
01-08-2007, 12:14 AM
I'm sorry but are you sure the option "Rebuild Bitfields" exists the the vBulletin options list box?
(attachment)
I cant find it?

akanevsky
01-08-2007, 12:23 AM
It should be on the left (in the menu), and the debug mode needs to be turned on.

lukemax
01-08-2007, 12:26 AM
Oh, then how do I set it to the Debug mode?

akanevsky
01-08-2007, 12:44 AM
Oh, then how do I set it to the Debug mode?

Never mind that, instead go to the following URL:

http://www.site.com/path-to-forum/admincp/index.php?do=buildbitfields

lukemax
01-08-2007, 01:00 AM
ok, did that, but then I go to usergroups manager, choose Administrator and I get this warning

akanevsky
01-08-2007, 01:05 AM
ok, did that, but then I go to usergroups manager, choose Administrator and I get this warning

Then it's caused by another hack that you may have installed incorrectly.

lukemax
01-08-2007, 01:24 AM
you are right, I uninstalled the advancedbbcodesettings one and the warning went away!

lukemax
01-08-2007, 01:32 AM
As you can see I'm logged in as Administrator, created a test user and want to issue a warning to him (lets pretend his post is innapropiate). Isn't the option suposed to appear in the popup links?

akanevsky
01-08-2007, 10:38 PM
As you can see I'm logged in as Administrator, created a test user and want to issue a warning to him (lets pretend his post is innapropiate). Isn't the option suposed to appear in the popup links?

Yeah, but you need to correctly configure permissions for both groups (can be warned for the group being warned, can issue warning for the group issuing the warning).

slipknottin
01-10-2007, 08:09 PM
Im getting the same issue with the two PMs per warning.

akanevsky
01-10-2007, 09:22 PM
Im getting the same issue with the two PMs per warning.

You might want to consider clicking the button just once instead of clicking on it continuously until the picture changes.

Nerudo
01-10-2007, 10:03 PM
Hi, im getting a bug while trying to warn someone at my forum.


Database error in vBulletin 3.6.4:

Invalid SQL:

UPDATE user
SET
ws_warninglevel = 10, pmtotal = pmtotal + 1, pmunread = pmunread + 1, reputation = -463, reputationlevelid =
WHERE
userid = 210126
LIMIT 1;

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 'WHERE
userid = 210126
LIMIT 1' at line 4
Error Number : 1064
Date : Wednesday, January 10th 2007 @ 09:43:36 PM
Script : http://forum.hardmob.com.br/warn.php
Referrer : http://forum.hardmob.com.br/warn.php?do=warn&postid=4783609

akanevsky
01-10-2007, 10:15 PM
Hi, im getting a bug while trying to warn someone at my forum.


Database error in vBulletin 3.6.4:

Invalid SQL:

UPDATE user
SET
ws_warninglevel = 10, pmtotal = pmtotal + 1, pmunread = pmunread + 1, reputation = -463, reputationlevelid =
WHERE
userid = 210126
LIMIT 1;

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 'WHERE
userid = 210126
LIMIT 1' at line 4
Error Number : 1064
Date : Wednesday, January 10th 2007 @ 09:43:36 PM
Script : http://forum.hardmob.com.br/warn.php
Referrer : http://forum.hardmob.com.br/warn.php?do=warn&postid=4783609


Do you have any reputation levels defined in your admincp?

slipknottin
01-11-2007, 04:49 PM
You might want to consider clicking the button just once instead of clicking on it continuously until the picture changes.


I do only click it once.

Nerudo
01-11-2007, 05:20 PM
Do you have any reputation levels defined in your admincp?

Sure, here is a screenshot.

Nerudo
01-23-2007, 01:23 PM
Hi again,
I have another error while issue a warning:


Fatal error:

*xxx has exceeded their stored private messages quota and can not accept further messages until they clear some space.

Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 763

akanevsky
02-03-2007, 10:30 PM
Hi again,
I have another error while issue a warning:


Fatal error:

*xxx has exceeded their stored private messages quota and can not accept further messages until they clear some space.

Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 763


Well, that means that the guy has a full pmbox. This version does not check for a full pmbox, but the next one will.

Artificial_Alex
02-05-2007, 05:05 AM
I did everything it says todo, and got NO errors, but it doesn't show any links in postbit/profiles.


Even after i triple checked I put the right coding in.



I am running on 3.6.4, know what could have happened?


Also, i set up permissions in usergroups

yet when I go to the link I think it uses to warn posts (http://www.gaminggutter.com/warn.php?do=warn&postid=104201) I get this:


-----, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

akanevsky
02-05-2007, 05:23 PM
I did everything it says todo, and got NO errors, but it doesn't show any links in postbit/profiles.


Even after i triple checked I put the right coding in.



I am running on 3.6.4, know what could have happened?


Also, i set up permissions in usergroups

yet when I go to the link I think it uses to warn posts (http://www.gaminggutter.com/warn.php?do=warn&postid=104201) I get this:


-----, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Permissions.
Issuer - Can Warn
Receiver - Can Be Warned

Battle_Ring
03-03-2007, 03:11 AM
is there a way to disable the Reputation Effect

Also is there a way to warn froma members profile

Battle_Ring
03-03-2007, 04:17 AM
how can i add it to custom templates

Funky Diver
03-10-2007, 05:11 PM
I have to say, this is an AWESOME Mod!

I prefer it over the inbuilt vB one, as with multiple moderator adding infractions doesn't always trip the ban when required. This, does what it says on the tin.

One question though, is there an easy way to implement this so that it does not have to be related to a post to apply a warning (or am I missing something?)

akanevsky
03-10-2007, 07:33 PM
One question though, is there an easy way to implement this so that it does not have to be related to a post to apply a warning (or am I missing something?)

Sorry, but at the moment, warnings have to be based on posts. This may be changed in the future (altough I cannot promise anything).

Funky Diver
03-12-2007, 04:29 PM
K, thanks for the prompt response Psionic :)

Might have to uninstall or think of an alternative solution :D

akanevsky
03-12-2007, 05:50 PM
K, thanks for the prompt response Psionic :)

Might have to uninstall or think of an alternative solution :D

Ok, good luck looking for one.

Funky Diver
03-13-2007, 08:34 PM
With the surety of a fella that knows one doesn't exist, lol.

We've decided to keep this on, but, are having a few "issues". Someone received the max amount of warnings to trigger the threshold. they get put into the right usergroup on the AdminCP, yet, they receive messages that they are banned for life. And yet the time it shows for elapsed on the warning seems right.

I'm guessing it's set like that on purpose? Or is this time amount configurable?

akanevsky
03-13-2007, 10:13 PM
The ban is permanent and the time is not configurable.

Funky Diver
03-13-2007, 11:57 PM
Featureful, yes. Unfortunately, uninstalled. thanks Psionic, it's a bit too extreme for our needs.

WrestlingAcadem
03-20-2007, 10:08 PM
I'm having a problem with this on my forum.

Moderators can warn people for posts in any forum other than their own. Is there a way to limit them to just warning posts within their forum?

akanevsky
03-21-2007, 07:30 PM
I'm having a problem with this on my forum.

Moderators can warn people for posts in any forum other than their own. Is there a way to limit them to just warning posts within their forum?

At the moment, it is not possible, however it may be implemented in a future release.

akulion
03-25-2007, 12:23 AM
very nice system

just one suggestion

instead of saying "The user has been successfully awarded 50 warning points."

it should say "The user has been successfully penalized 50 warning points."

lol because i am sure no one wants that award for sure

or in case my english is incorrect just ignore it

zariyan
03-25-2007, 05:18 PM
akulion, that is simple.

In AdminCP go to "search in phrases", search "awarded" in all forums, search in "Phrase Text AND Phrase Variable Name"

Then you'll see it in ws_post i believe.
Then click Edit, And then Click the "copy default Text" button
Edit the text, and click save. all done.


Also, just for users who want to be able to ban a user from their profile, add this:

In template MEMBER INFO:

find:

<if condition="$show['giveinfraction']">
<td class="vbmenu_control"><a href="infraction.php?$session[sessionurl]do=report&amp;u=$userinfo[userid]">$vbphrase[give_infraction]</a></td>
</if>


REPLACE With:

<if condition="($bbuserinfo[usergroupid]==1">
<td class="vbmenu_control"><a href="modcp/banning.php?do=banuser&userid=$post[userid]" target="#blank"><b>Ban or Suspend $post[username]</b></a></td>
<td class="vbmenu_control"><a href="modcp/banning.php?do=liftban&userid=$post[userid]" target="#blank"><b>Lift Ban on $post[username]</b></span></td>


ALSO in line:

<if condition="($bbuserinfo[usergroupid]==1 || $bbuserinfo[usergroupid]==5">
<!-- ADD USERGROUPS ON THIS LINE -->

Add all Usergroups who should be able to see this in that line.

Hope this makes it easier for you.

hnjco
03-31-2007, 10:17 PM
Installed on VB 3.6.5

Looks great.

Thanks

hnjco
04-01-2007, 08:34 PM
my users are getting massages of 2 PMs but they getting only one and even they read that they still have massage of one unread massage on main page but when they check inbox there isn't any more.

I'm on 3.6.5

Deadly Assassin
04-04-2007, 05:47 AM
When i try to issue a warning i get this error?

Database error in vBulletin 3.6.4:

Invalid SQL:

UPDATE user
SET
ws_warninglevel = 3, pmtotal = pmtotal + 1, pmunread = pmunread + 1, reputation = -30, reputationlevelid =
WHERE
userid = 117
LIMIT 1;

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 'WHERE
userid = 117
LIMIT 1' at line 4

Thanks for any help :up:

akanevsky
04-04-2007, 02:50 PM
Make sure you are running the latest version of the hack...
Make sure you have defined reputation levels or disabled reputation change on warnings otherwise...

Deadly Assassin
04-05-2007, 03:13 AM
Make sure you are running the latest version of the hack...
Make sure you have defined reputation levels or disabled reputation change on warnings otherwise...

not sure how to do the second task :confused:

UPDATE

Reinstalled the hack, seems to be ok now.

Thanks :)

hnjco
04-05-2007, 04:30 PM
any one know how to fix 2 PMs bug?

Fungsten
04-05-2007, 04:56 PM
I put it on my "Test" Board.

akanevsky
04-05-2007, 06:21 PM
any one know how to fix 2 PMs bug?

Upgrade to the latest version.

Deadly Assassin
04-06-2007, 06:06 AM
In my quicklinks dropdown, the "view warn types" is showing twice?

Any ideas :confused:

UPDATE

The same error has reappeared. :(

akanevsky
04-06-2007, 07:09 PM
Perhaps you have entered the same code twice in the navbar template.

hnjco
04-08-2007, 06:07 PM
Upgrade to the latest version.

I have smith warning 1.3.1 installed and on VB 3.6.5.

I have latest version's
----------------------------------------------------------------------------------------


Is this mod can suspend users from posting for few days and then allow them posting back?

akanevsky
04-09-2007, 01:14 PM
Is this mod can suspend users from posting for few days and then allow them posting back?

No, it cannot.

livewirecebu
04-11-2007, 08:03 AM
Thank you for this hack. Do u have any good warning graphics to replaced the text file like warning level: x?

Terminatoronly
04-11-2007, 08:08 AM
go to your admincp and then vb options then u can find the hack name and there will be many options out there

akanevsky
04-12-2007, 01:02 AM
Thank you for this hack. Do u have any good warning graphics to replaced the text file like warning level: x?

I would have included them if there were.

Terminatoronly
04-13-2007, 08:35 PM
great mod just 5 templates not like other ones :s

akanevsky
04-13-2007, 10:22 PM
great mod just 5 templates not like other ones :s

Thanks. :)

Blaine0002
04-15-2007, 12:52 PM
in your bitfield file you are missing the second l on one of the 'install's

akanevsky
04-15-2007, 03:18 PM
Thanks for pointing it out, but it doesn't really matter.

isnichwahr
05-07-2007, 07:32 PM
hi, at first i have to say thanks for this beautiful script, but there is one problem when im using it:
when i click on a username in a thread, there should appear in the popup Warn this user or something like this (im using the german translation) but this entry in the popup only appears at 1 user (its an administrator), on simply users not - whats the problem? i tried the whole day, but i cant fix this problem, many thanks,

yours dave

akanevsky
05-08-2007, 12:22 AM
hi, at first i have to say thanks for this beautiful script, but there is one problem when im using it:
when i click on a username in a thread, there should appear in the popup Warn this user or something like this (im using the german translation) but this entry in the popup only appears at 1 user (its an administrator), on simply users not - whats the problem? i tried the whole day, but i cant fix this problem, many thanks,

yours dave

I am not sure I understand what you are saying.

isnichwahr
05-08-2007, 06:27 AM
ok ill try it again:

to warn a user you have to click on his nick in a post and then in the small popup you can click: Warn this user. this should be the normal way, BUT this "warn this user" only appears if i click on admin nicks, not at normal users? somebody can help me?

isnichwahr
05-08-2007, 12:00 PM
again in short form: i can only give Admins a warning...

please help

mikeylikesitz
05-08-2007, 04:38 PM
make sure you check your usergroups for the warning settings. for example, make sure that in registered users usergroup "Can Be Warned" is checked Yes

isnichwahr
05-08-2007, 08:28 PM
thank you very very much! i didnt believe that i have to change it there :P

Chicago_VLNU_4s
05-23-2007, 05:35 PM
it seems there MIGHT be a bug here. When you try to warn and take away rep. points a person might not have, I get this error.

Warning: file_get_contents(/home/.mojo/*****/******/forums/includes/database_error_message.html) [function.file-get-contents (http://www.offthaave.com/forums/function.file-get-contents)]: failed to open stream: No such file or directory in /includes/class_core.php on line 919

Warning: file_get_contents(/home/.mojo/*****/******/forums/includes/database_error_page.html) [function.file-get-contents (http://www.offthaave.com/forums/function.file-get-contents)]: failed to open stream: No such file or directory in /includes/class_core.php on line 943

Don't know if another hack is interferring or what but I can only use a warning selection for the reputation that they have. Say if they have 4000 rep. points, I can't warn and take away for a 30,000 rep point offense. I has to be at or below there rep level. Using 3.5.4 ... Any ideas?

akanevsky
05-23-2007, 06:31 PM
it seems there MIGHT be a bug here. When you try to warn and take away rep. points a person might not have, I get this error.



Don't know if another hack is interferring or what but I can only use a warning selection for the reputation that they have. Say if they have 4000 rep. points, I can't warn and take away for a 30,000 rep point offense. I has to be at or below there rep level. Using 3.5.4 ... Any ideas?

Those errors are vBulletin errors, and they have nothing to do with this hack. Please post at vBulletin.com.

Nathan2006
06-17-2007, 02:41 PM
Hi,

I have gone back to this again because I find it better than the infractions :D

Just 2 thing is there anyway I can change the warning thread to look more like this?

Original Post:
A copy of the warned post here

Copy of PM sent to user:
Adam,

You have been warned by Nathan for the following post:1382 (http://st.php?p=1382)

You have been given 5 warning points, which makes your warning level to be 5.
Be advised that warning threshold is 30.

Warning duration has been set to 30 days, with reputation effect of 0.

To avoid receiving future warnings, please make sure you get familiar with and obey the community rules.

Nathan has given the following reason for the warning:
---------------------------------------------------------------
test warning
---------------------------------------------------------------

This is an automatically generated message and no reply is required.
However, if you think that you do not deserve this warning, feel free to initiate a dispute by replying.

Thanks for any help :)

Re-installed

akanevsky
06-17-2007, 04:59 PM
What do you mean? Have thread look like PM?

Nathan2006
06-24-2007, 03:05 AM
What do you mean? Have thread look like PM?


Hi,

So when the warned thread is created it will include a copy of the
warned post, the pm sent to the member and the comment left by the
mod who warned the member. :)

djdonx
08-01-2007, 09:57 AM
Does this work fine with 3.6.8?

djdonx
08-01-2007, 11:37 AM
Okay I'm seriously lost on this, I've uploaded the files, done the template changes, installed the product and the only think that seems to be there is the page in 'vBulletin Options' in the Admin Cp :S

EDIT: I appear to have fixed it

yoyoyoyo
09-11-2007, 10:53 PM
THE Best Warning System for 3.6.8!

FleXy
09-22-2007, 09:07 PM
do you mean 3.6.8?

are this hack work correct with this version?

FleXy
09-23-2007, 01:53 AM
no it does not work with latest vbulletin.
it was tested by me and I got the error: You do not have the appropriate rights required to access this script.

Pcparts
09-26-2007, 08:04 AM
been using this since it was launched in older versions, and still works for me in 3.6.8.



there is a little bug though, so came here to see if there was anyone else having the same thing?

hnjco
10-08-2007, 08:13 PM
any idea how to clear expire warnings from users profile? i mean even warning is expired but it still shows in users info in posts or profile page.

CoryNickerson
10-18-2007, 02:06 AM
i got it working. just cant get it to display on threads. help?

jscieza
10-27-2007, 01:05 PM
no it does not work with latest vbulletin.
it was tested by me and I got the error: You do not have the appropriate rights required to access this script.

I have the same issue. Anyone knows how it could be fixed?

Please help us. Thank you very much for your time :)

jscieza
10-27-2007, 01:26 PM
I have the same issue. Anyone knows how it could be fixed?

Please help us. Thank you very much for your time :)

Fixed! :D

Just edit the permissions for the usergroups that you want to make able to use the Warning System.

BUT THERE IS A BUG!

When you send a warning v?a PM, it increases the unread PMs counter +1. For example, if one user have 0 PM and he get warned, his PM counter will be now 2 and when he read the warning there is a 1 unread and unexistent PM :confused:

Sorry for my english, my native language is spanish.

MSheraz86
10-30-2007, 04:38 PM
Clicked Install.

There seems to be a conflict in usergroups. Some of my Moderators have additional usergroups and because of the additional usergroups the moderators can be warned as well :(

How can I remove this conflict?

Besides this the mod looks great!

tienbm
03-26-2008, 02:51 AM
Will this work for 3.6.3 ?
Thanks

comicus
04-19-2008, 04:02 AM
anyone know if this is functional with 3.6.8?

ShMilO
04-23-2008, 03:00 PM
i've just installed it on 3.6.8
i got it to work
i installed the latest version 1.3.1

but it still sends 2 pm's to a user
when actually there's only one pm
and another one always remains unread

ShMilO
04-25-2008, 05:50 PM
i've just installed it on 3.6.8
i got it to work
i installed the latest version 1.3.1

but it still sends 2 pm's to a user
when actually there's only one pm
and another one always remains unread


found an answer myself
if anyone still has that problem then here's a solution

edit : warn.php

find :

$ws_userupdate[] = "pmtotal = pmtotal + 1";
$ws_userupdate[] = "pmunread = pmunread + 1";

change it to :

$ws_userupdate[] = "pmtotal = pmtotal + 1";
$ws_userupdate[] = "pmunread = pmunread + 0";

and it will work fine

yeku
04-27-2008, 03:34 PM
Installed

thank you Psionic Vision

shadowevil
05-19-2008, 03:43 AM
Does this work in 3.7 Gold ?

ShMilO
05-20-2008, 04:46 PM
i found a bug in the system
for some reason when i give someone a warning with points
it doesn't end , even after the expiration date it remains active

any solution ???

akanevsky
06-22-2008, 12:26 AM
Does this work in 3.7 Gold ?

It should. Install it and tell us if it works.

i found a bug in the system
for some reason when i give someone a warning with points
it doesn't end , even after the expiration date it remains active

any solution ???

Did you set it to expire? Are the cron jobs working properly? Are are all files uploaded?

rkunisch
07-11-2008, 01:51 PM
I think, I found a bug in the "expired_warnings.php" cron script. On our system this script didn't ran until recently so some of the warnings piled up. The problem is the UPDATE-statement which changes the expired flag. If you have more than one warning in the result set, only the first gets updated because of the "LIMIT 1" parameter. I completely removed the "LIMIT 1" parameter and the script runs now without problems.

Rolf.

ShMilO
08-22-2008, 06:33 PM
can this system work in 3.7

cause when i search the templates for i need to edit
it doesn't find anything

ShMilO
12-08-2008, 08:26 AM
can this system work in 3.7

cause when i search the templates for i need to edit
it doesn't find anything

anyone ?

akanevsky
01-31-2009, 09:58 PM
Does anyone want this ported to 3.7 / 3.8?
They have an infraction system, which basically has sufficient infraction features.
But this can still be ported if someone wants it.