![]() |
Quote:
Damn I am blind... Thanks. |
Quote:
|
I was the 100th install ^___^ do i win a prize XD
Great hack |
I have installed everything and even made the upgrade with no problem but when I go to Warn a test member, I have NO OPTIONS.
I can click on the drop down and all I get is "Choose A WARNING" Need help in finding what did not get uploaded or do I have to put in my own warnings??? Thanks |
Quote:
Rgds |
sv1cec How could i add buttons/links to the dropdown menu in the postbit, where the "view users profile" & " visit users homepage" links are?
I would like it so that Admins and S/Mods and the user himself to see the how many warnings they have BUT other users cant, they can see there own but not others. Like Erwins hack did. Can you help do this? Thanks Snowy |
I can't seem to edit the banned usergroups and the amount of points it takes to ban someone. All I get is the error message:
Database error in vBulletin 3.0.1: Invalid SQL: update warning_options set banned_limit='14', points_before_banned='5', banned_usergroup_id='4', protected_usergroups='' where oid='1' mysql error: Unknown column 'banned_usergroup_id' in 'field list' mysql error number: 1054 Date: Thursday 26th of August 2004 05:34:43 AM Script: http://www.rolldeepcrew.com/forums/a...admin_warn.php Referer: http://www.rolldeepcrew.com/forums/a...n.php?act=view Username: Rociel IP Address: xx.xxx.xxx.xx |
Quote:
I am trying to find that dropped-down menu you are talking about and I can't . All I can find, which looks like the menu you are talking about, is the one which appears if you click on the user name, above each post. Is that the one you are talking about? In any case, what I've done in my site, is to have a couple of links in the postbit, through which the admins/mods and the owner of the post can see the warnings this particular user has received. The code for those links is: HTML Code:
<!-- checks for warning system --> Let me know which menu it is and I'll try to be more specific. Rgds ----- John |
Hi John,
Yes its the menu with the username. I just think it would be better. Can we include the supermod group also, i notice you dont use that but i do. Thanks Liam |
Well, in postbit template, find the following:
HTML Code:
</table> HTML Code:
<!-- checks for warning system --> Rgds ------- John |
Thats got it :)
I realy appreciate the help mate, THANKS :) |
It only works for me but the other admins and smods get a blank page when they try to warn someone. why is that
|
Quote:
I wish I had noticed down all the changes I 've done in this hack, so that I could pass them along to you guys. I've added the followings: 1. A Warning Maturity field, which specifies for how many days the warning points will stay in the member's record. After the Warning Maturity is over, the points are automatically cleared. The admin can set the Maturity to his likings and a cron script takes care of the deletion. 2. I added another field, called "Permanent Ban", which can be also selected by the admin. If selected, then the member which gets warned for that particular offence is permanently banned from the forum. 3. I've also modified the program to use a template for the PM. In that way, those unfortunate ones to get a warning, get a more readable message, with more details. If someone is willing to swim through my mods, I can send him my files and hopefully, he can do the same things I've done. Sorry for not recording everything. Rgds |
Quote:
|
Now I have two problems with this hack, first is the one I mentioned above and the other one is when I try and ban someone. It gives this error message:
Database error in vBulletin 3.0.1: Invalid SQL: update user set usergroupid='8'',warning_level='5' where userid='3449' 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 '5' where userid='3449'' at line 1 mysql error number: 1064 Can anyone help me please? |
Thanks for the great hack Zero Tolerance,
Nice additions sv1cec. We had a custom warnhack in Ikonboard and we have a bit of experience in using it (unfortunately). The purpose of a warning system should of course be to correct a person when he causes troubles in the forums (sometimes just a friendly PM doesn't stop it and a complete ban isn't justified). Our floodsystem was linked to the amount of warnings. 1 warning added say 30 seconds, 2 warnings added 2^2 * 30 seconds, 3 added 3^2 * 30 seconds and so on (admin could set this to 60 as well). The extra flood was a pretty motivation to get back in line. There's another thing: users posting a bait and removing the evidence once a few others took it and replied with a counter, then acting as the attacked innocent victim. Users who have 2 warnings can't edit their posts anymore. I like this auto ban and it fits in nicely. I too feel that 2 auto ban types are nice. |
Hello,
I didn't use the parent style when installing the hack, the warn templates are now only loaded for 1 Style, not the others. How do I get them into the others? I already upgraded to 1.5, running the installer again will break things now? |
This is what I found so far. The installer only installs to the template set as default in vBulletin Options / Style & Language Settings. So, if you have many Styles it's most convenient to have one common grandmother and set that one as default during install.
The installer also splits template addition and database additions (Warn tables): two steps two buttons. So, in my case I set the grandmother as default (a child was) and just run the first part of the install again to get the templates in all styles and it won't mess the 1.5 upgrade. Correct? |
Hello:
I nistalled version 1.0 and upgrade but I see nothing that allows warning. Where ought this warning link be? I am Admin and have full priviledges on my site. I'd appreciate any help or clues on why the warning doesn't appear in every post bit. My site is at www.myiwc.com/forums Thanks in advance. |
Quote:
Make sure you follow the instructions in the readme: running the installer is just one step, some files have to be edited too. Also note that ONLY the default Style will get the new warn templates (unless it's parent of all other Styles). -^ I forgot to do a page refresh F5 and saw nothing in the adminCP. |
Quote:
I see the templates in Style Manager of Admincp. What puzzles me where the link ought to be? Shouldn't I have to edit the Forumhome templates? Also in Admincp there's isn't any Warning system link, so it seems v.1.0 installer (found in Warning_System.zip) doesn't install everything correctly? I thank antecipately any help. |
It's a great hack..... But the fact that the 'warn (user)' and 'view (user)'s warnings' links are visible for anyone (instead of only the ones that are allowed to warn) makes it a bit messy.
I would also welcome it when you could select in the control panel what usergroups in what forums can warn users. |
Quote:
|
You're welcome Tayeb.
Make sure you read the other posts TCB especially sv1cec, it's not as easy as just running an installer, but it's not hard to do. I'm not a coder at all, but just reading and experimenting will give you the result you want. This post seems to be the most important one for you. It did help me a lot https://vborg.vbsupport.ru/showpost....&postcount=192 His code only allows moderators to warn user in their own forum, and admins being global mods in all forums. Not really my business, but I think you want to give this only to moderators/supmods. You risk a civil war on your site when people who are not staffmembers can warn. If you need it, just edit the code from sv1cec: HTML Code:
<if condition="$post[usergroupid]!=6 AND $post[usergroupid]!=7 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])"><a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[username]</a> ? HTML Code:
<if condition="$post[usergroupid]!=6 AND $post[usergroupid]!=7 AND ($bbuserinfo[userid]== 10 OR can_moderate($forum[forumid], '', $bbuserinfo[userid]))"><a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[username]</a> ? |
Tayeb, upgrade 1.5 has extra install instructions too. Need to update the SQL database by running a query and have to edit a file.
|
And a suggestion for v2.0 of this great hack.
It forces sending a PM, very good thinking here. But it's possible that the user disabled (accidentely or not) the message system. It's luck if he sees the message then. It would be nice if it did also forcefully sent an e-mail. sv1cec's code -^ will allow staff and warned members to check their status which also includes the PM. I added a flag in the forumview that will notify staff and warned members instantly: In Postbit (or legacy) find: HTML Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> HTML Code:
<if condition="$post[warning_level]>=3 OR $bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==6 OR ($post[userid]==$bbuserinfo[userid] AND $post[warning_level]>0)"><BR>Warn Level: $post[warning_level]</if> HTML Code:
<if condition="$post[warning_level]>=3 OR (($bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==6 OR $post[userid]==$bbuserinfo[userid]) AND $post[warning_level]>0)"><BR>Warn Level: $post[warning_level]</if> I also updated the moderator comments in Warn_AddWarn template to get a larger box for composing the PM: HTML Code:
Moderator Comments:</td> |
Quote:
:) |
Just posting here so Ill get an update when V2 is out... Will wait for it before I install. :)
|
Database error in vBulletin 3.0.1:
Invalid SQL: CREATE TABLE `warnings` ( `wid` int(15) NOT NULL auto_increment, `warned_user` int(15) NOT NULL default '0', `warned_by` int(15) NOT NULL default '0', `warned_time` int(15) NOT NULL default '0', `warned_reason` text NOT NULL, `warned_post` int(15) NOT NULL default '0', `warned_warning_id` int(15) NOT NULL default '0', PRIMARY KEY (`wid`) ) TYPE=MyISAM; mysql error: Table 'warnings' already exists mysql error number: 1050 Date: Sunday 05th of September 2004 10:55:20 AM Script: http://xxxxx/forum/admincp/install_warn.php Referer: http://xxxxx/forum/admincp/install_warn.php Username: Blaminator IP Address: xxxxxxxx help |
Zero Tolerance I have one problem with the hack, maybe you or another member can help
OK the hack is GREAT but lets say the member DOES NOT post but just sends a PM, there is no way you can add a warning for them :( Is there a way we can include this? Thanks for any help on this. Snowy |
Quote:
Sorry, but I do not have the time to search for it. Rgds |
Sv1,
Any idea how to make the postbit mod you did where it shows the number of warnings each user has viewable to everyone? |
Quote:
|
Quote:
Right below: HTML Code:
<if condition="$show['reputation']">$post[reputationdisplay]</if> HTML Code:
<if condition="$post[usergroupid]==2"> Rgds ---------- John |
I ran it, and everything works absolutely great after doing all the steps, however it never added the custom templates to my other skins. Just the default VB3 skin for my forum.
I'll be damned if I'm going to add all those custom templates to 8 skins. :p Help anyone? |
Hello coRtALoS,
I had the same problem. It only installs to the skin that's set to default in vB options. It will only install to the other skins if that one is the parent Style of all others. The only alternative I know about is using a SQL tool, that can be some work. |
Great hack.
2 thumbs up! |
Any update on the warning in PMs guys, i have looked through the thread and cant find anything :(
|
I've had some problems with my moderators in the past abusing the warning system.
Is there anyway to remove moderator privilages to remove warning points (so a Staff or Admin has to remove it manually), or a way to keep a log of all warnings issued, active, removed and expired? |
Read through the thread :)
|
All times are GMT. The time now is 03:12 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|