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)
-   -   Warning Hack V1.5 (https://vborg.vbsupport.ru/showthread.php?t=65336)

SnowBot 08-26-2004 09:54 PM

Thats got it :)

I realy appreciate the help mate, THANKS :)

hello 08-27-2004 09:28 AM

It only works for me but the other admins and smods get a blank page when they try to warn someone. why is that

sv1cec 08-27-2004 10:19 AM

Quote:

Originally Posted by SnowBot
Thats got it :)

I realy appreciate the help mate, THANKS :)

Glad if I can be of help.

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

SnowBot 08-27-2004 10:04 PM

Quote:

Originally Posted by sv1cec
Glad if I can be of help.

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.

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

These would be great and just what i need, if you maybe could run me through it i would be greatful.

Rociel 08-27-2004 10:11 PM

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?

TosaInu 08-30-2004 12:23 AM

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.

TosaInu 08-30-2004 01:51 AM

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?

TosaInu 08-30-2004 11:16 AM

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?

Tayeb 08-30-2004 08:55 PM

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.

TosaInu 08-30-2004 11:04 PM

Quote:

Originally Posted by Tayeb
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.

Hello Tayeb,

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.


All times are GMT. The time now is 10:56 AM.

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.01328 seconds
  • Memory Usage 1,747KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete