Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mike's Warning System 1.0 Details »»
Mike's Warning System 1.0
Version: 1.00, by Beorn Beorn is offline
Developer Last Online: Feb 2006 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 05-30-2003 Last Update: Never Installs: 66
 
No support by the author.

Hello all. This is a sort of alternative to g-force2k2's Warnings System Hack. He gets all credit for the idea.

Before anyone starts to accuse me of trying to steal his glory, let me explain. The admin of a well sized board that I super-mod asked me to revise g-force2k2's warning system (it was already installed). I downloaded it, looked through it, and decided that I couldn't: he requested that people respect his hack, and not modify it. So, I didn't, and decided to take a swing at it. Since people don't like change, I made it look the same as the original, but work differently.

Features:
  • Expireable warnings. Each warning type has a default length and value. (can turn this off too)
  • Warning values can be selected by issuer as per severity of the offense. This can be disabled by the administrator; the default value of warning will be used.
  • Warning lengths can be selected by issuer as per severity of the offense. This can be disabled by the administrator; the default length of warning will be used.
  • Relatively quick install: a few file mods, template mods, and then running a script.
  • Email on warning option (Never, Issuer's choice, Always)
  • PM on warning option (Never, Issuer's choice, Always)
  • Email on banning option (yes, no)
  • Changeable banning threshold
  • Which usergroups can warn, which can view the sum, which can view all the warnings
  • Mostly template driven
  • Add, remove, edit warnings
  • Add, remove, edit warning types
  • Stronger admin interface.

That's all I can think of now....

Stats:
  • Queries added per page: 0
  • Queries modified: 3 (indirectly: $templatesused needs to be modified)
  • Queries extra per day: 3+ceil(TheNumberOfUsersWithPointsExpiringToday/10)
  • Files to modify: 3
  • Files to add: 3
  • Install time: 10-15 minutes

Stipulations
  • Support requests will take a bit (a day or two) to reply due to a somewhat tight schedule.
  • Please click Install if you use it
  • DO NOT install this if you have g-force2k2's hack in place. USE THE UPGRADE if you have g-force2k2's hack installed

The package is attached. Screenshots are zipped next. Please click install if you use it.

If you are upgrading from g-force2k2's verison, use MWS-Upgrade.txt, and warn-upgrade.php.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 09-06-2003, 10:59 PM
ciaranirl ciaranirl is offline
 
Join Date: Jul 2003
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 11:48 PM Beorn said this in Post #89
Use <smallfont></smallfont> and <normalfont></normalfont> in the templates...

Where abouts in the template. Just giving a code and saying in the templates isnt very helpful :speechless:

What I mean is this "Warning Level: 0" I want to change that to small. I have done everything I can think off. But it is still large. Kinda like 12 or 10 point
Reply With Quote
  #93  
Old 09-06-2003, 11:47 PM
Beorn Beorn is offline
 
Join Date: Jun 2002
Location: Long Island, NY
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
can we choose any usergroup to ban em to ?

say i never wanted em to go to total ban but had certain bits of board restricted is this possible
Yes, set Banned Usergroupid in the options to the user group you want banned members to be moved to. If you so please, you could even move them to administrative positions, but somehow I don't think you'd like that.


Quote:
Where abouts in the template.
Sorry. Go to the warn_postbitaddin template. Add <smallfont> on the front of it, and </smallfont> on the end. If that's not what you're looking for, remove those, and add <normalfont> to the front and </normalfont> to the end. If that still isn't what you're looking for, add this to the front of warn_postbitaddin:
<span style="font-size: 10pt">

And add this to the end:

</span>
Reply With Quote
  #94  
Old 09-16-2003, 05:12 AM
TutorialForums TutorialForums is offline
 
Join Date: Feb 2002
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I noticed a few minor problems that may have caused some issues for some users...

In the MWS-Upgrade.txt, it instructs at the end to upload...
The modified versions of:
admin/index.php
admin/functions.php
admin/template.php
global.php


... but member.php & showthread.php were left out. To the tired hack-installer who just wants to get finished installing and on with life, and thus follows the exact instructions he reads, it may slip his mind that not all the needed files are listed.
I believe the absence of member.php is what caused drumsy's insane server load problem (the same happened to me, and the problem was gone the moment I uploaded member.php).... before I uploaded it, my load on my finely tuned dedicated server (with dual scsi drives, 1gb ram, dual-xeon 2ghz processors)... was instantly over 25 points.

The absence of showthread.php makes the warnings/options not show up in posts, potentially causing a wild goose chase to figure out what's gone wrong hehe


Anyhow on another note.... would it be possible to have the Warning Level: 0 be automatically masked out on the posts of moderators/admins? It's not an especially big deal, though it would be an improvement, as having it shown implies to members that the forum staff can be warned, which could potentially degrade their awe/respect for them a bit (well, hypothetically).

Thanks!
Reply With Quote
  #95  
Old 10-25-2003, 12:37 AM
Jakor Sevel Jakor Sevel is offline
 
Join Date: Oct 2002
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed it and it works fine.

But when i modify the member.php i get a blank member profile page and the Warning Options give me "The requested URL /forums/admin/admin_warning.php was not found on this server."

and in the pm when it says The post for which you were warned is located at:
the link shows an empty page.
http://www.nemxx.net/forums/showthre...st&postid=4949


someone please try to help.

And thanx so much for this hack. It's great
Reply With Quote
  #96  
Old 10-25-2003, 10:48 PM
Burley Burley is offline
 
Join Date: Aug 2003
Location: Apeldoorn
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FIrst of a great hack, install went flawless and i'm a incredible noob!

but i can't find the numbers of the usergroups my forum uses. Can someone tell me how & where to find em?
Reply With Quote
  #97  
Old 10-26-2003, 12:14 AM
Beorn Beorn is offline
 
Join Date: Jun 2002
Location: Long Island, NY
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jakor Sevel, are you sure you followed the instructions in the install file correctly? Did you try again? I can't quite remember exactly what the modifications were, so I'd just like you to make sure before I start off an official investigation...

Burley: go to http://www.yoursite.com/forums/admin/usergroup.php?action=modify. Maximize your broswer window. Hover over the 'edit' link for each group to find it's id -- the id is on the 'usergroupid=x' part of the URL.
Reply With Quote
  #98  
Old 10-26-2003, 04:06 AM
Jakor Sevel Jakor Sevel is offline
 
Join Date: Oct 2002
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, i have checked and everything in the instructions have been done except member.php, since it gives me a blank page. I'm not too worried about that coz if i'm not wrong, that just add a place for the warning amount in member profile.

About the warning options, i'm sorry i think that is from a previous hack that i installed but didnt work.

And the PM still doesnt work.
Reply With Quote
  #99  
Old 10-28-2003, 12:07 PM
Burley Burley is offline
 
Join Date: Aug 2003
Location: Apeldoorn
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay, thanks!
Reply With Quote
  #100  
Old 11-03-2003, 05:51 AM
PranK PranK is offline
 
Join Date: Apr 2003
Location: Sydney, Aus
Posts: 163
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i dig it. nice work Mike.

*clicks install*
Reply With Quote
  #101  
Old 11-04-2003, 01:33 AM
exTracT exTracT is offline
 
Join Date: Apr 2002
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great hack, one of the best additions we've made yet. one small question. when a user gets banned by points and is moved into the "banned by moderaters" group, their user title stays the same. it doesnt show banned.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:43 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.05050 seconds
  • Memory Usage 2,311KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete