Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Warning Hack V1.5 Details »»
Warning Hack V1.5
Version: 1.00, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 05-19-2004 Last Update: 07-12-2004 Installs: 161
 
No support by the author.

Version 1.5 Note: You must have v1 installed to upgrade, the upgrade process is small so there was no need to write out a fresh install.

It has come to my attention that a "decent" warning system isn't available here on vbulletin.org, which is quite a shame, and because forums like mine, and probably yours need a simple yet advanced warning system to keep things under wraps

Anyway, i thought i might aswell release what i made, prior to me getting off my ass... lol

Administration Features:
View Warning Logs
- Displays all warnings, warned user, warned by, link to the warned post, date, warning type, and the comment specified when the warning was given, and a remove warning link
(Remove will remove the log and also put the members warning level back down in accordance to how much it was increased by the selected warning removed)
Unban Banned Members
- A simple page that you should visit every few days, it will automatically ban any auto banned users by the warning system where there ban time has expired
Warning Options
- Here you can set the following:
-- Number of warn points before member is auto banned
-- Number of days a member is auto banned for
-- View Warnign Types
-- Add Warning Type
-- Add warning type has the following fields:
---- Name/Description/Warn Points Given

Forum Features:
Every post has "Warn [Name]" and "View [Names] Warnings"
These are only accessiable by a member group which is allowed to "moderate" (Moderating groups are auto detected)
Clicking the Warn link will bring you to a page where you view the user your warning, a link to review the warned post, members current warning level, and below the warning types, has a drop down menu to select the warning type, and a text field to put your comment for why this warning is been issued
Upon completing the warning form, the warned user will be Pm'ed from the person who warned them, with the comment put down and a link to the post

View Warnings link will display logs of only that specified user's warnings, the same features as the admin cp warning logs, only just for this user

Members can access only 1 page of the warning system, which is "View My Warnings", this link is added to the quick links drop down menu
Here they simple view there warnings, just like a moderator would, only without the remove warning link

V1.5 Features:
Protectable Usergroups:
No user's in these defined groups can be warned, or banned.
Root Admin Force Protection:
Userid 1 cannot be warned, canned be banned, this is not optional, this is forced for security.
New Unban Members Set Up:
Now displays all currently banned user's, what time they were banned, what time they are supposed to be unbanned. You may unban the user even if there time has not expired (You will be notificed if they have not served the time issued upon ban, but not stopped). Upon unbanning, you choose the members 'new' warning level and the user's usergroup to move them into
Set banned usergroup:
You can now easily choose from a drop down menu which usergroup user's are sent to if after been warned they are banned.

V1.5 Bug Fixes:
- User locations in 'Users online' shown as unknown if they are warning/viewing warnings (Priority: Medium)
- Unban members system renovated and now fully works (Priotity: Maximum)
- No mysql errors upon sending a pm if the PM table had been altered (Priotity: Maximum)
- New protectable usergroups to stop any group of your choice been banned (Priotity: Maximum)
- Last time visited didn't appear when error page occured (Priotity: Low)
- Un-used global in PM function (Priority: Low)

I hope you enjoy the system, my staff teamare very pleased with it and find it of great use, enjoy the hack

- Zero Tolerance

Show Your Support

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

Comments
  #332  
Old 10-15-2004, 06:24 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xtreme-mobile
ive downloaded the templates file that you told me to downlaod and im following it all the way down

only problem is ive got as far as editing the POSTBIT templates and in postbit it asks you to find some text and replace it.

ive managed to find the first set of text and replaced that but i cant find the second half it says not found

im looking for:

Also in postbit, find the code below:

<if condition="$show['reputation']">$post[reputationdisplay]</if>


but this says not found

any ideas what i can do?
This is what I can see in my postbit template:

PHP Code:
$vbphrase[posts]: $post[posts]

                        <if 
condition="$show['reputation']">$post[reputationdisplay]</if> 
Right below that, add:

PHP Code:
<if condition="$post[usergroupid]==2">
<if 
condition="$post[warning_level]>0">
<
font color="#ff0000">
</if>
<
BR>Warnings Level$post[warning_level]
<
font color="#000000">
</if> 
I hope you can find it, I just checked it.

Rgds
Reply With Quote
  #333  
Old 10-15-2004, 06:25 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JimpsEd
A suggestion sv1; to be able to clear warning history for a user/all users via the admin panel.
That's a good idea, I might get on with it, if I manage to solve my ADSL installation issues.

Rgds and tnx for the input.
Reply With Quote
  #334  
Old 10-15-2004, 06:43 PM
xtreme-mobile xtreme-mobile is offline
 
Join Date: Jul 2004
Posts: 366
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi mate thanks for the code you posted but it says not found

ive done everything except found this code in postbit

15. Template postbit

In postbit, find the following code:

if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new"><strong>$post[postcount]</strong></a> &nbsp

what do you have in yours? could i just copy and paste my postbit from my other template? or wouldnt that work?

dean
Reply With Quote
  #335  
Old 10-16-2004, 06:50 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xtreme-mobile
hello SV1CEC

ive done above please disregard last post

BUT i do have one final question to complete this _

ive got 2 skins on my forum

lihghtning and pixel tech

ive managed to follow the instructions and have managed to get the Warning points to show ok in the lightning tempalte but the pixel tech template its showing fine but its a little high and is overlapping the username

please see here: http://www.extreme-mobile.com/forums...read.php?p=854

ive followed the text but i couldnt find the follwing etxt so theerfore could not change it maybe this is what is causing the problem? but how can i add it if i cant find it?

cheers mate and i promise this will be the last time i bother you lol

dean
I can't help dean, I do not have that skin so I just can't check it out. Go through the code, and see where you need to add a <br> or something.

Rgds
Reply With Quote
  #336  
Old 10-17-2004, 12:48 AM
Takamine334 Takamine334 is offline
 
Join Date: Aug 2004
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't see TABLE_PREFIX in mysql. Is that weird? I installed 1.0 but can't install 1.5
Reply With Quote
  #337  
Old 10-17-2004, 06:51 PM
tHe Rk tHe Rk is offline
 
Join Date: Jan 2004
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack took some hacking and rehacking to get what I wanted, but in the end is quite nice
Reply With Quote
  #338  
Old 10-18-2004, 12:04 AM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Justing installed 1.0 and trying to upgrade but I have no clue to what this means in the instructions can someone lend me a hand

PHP Code:
Run this query: (change TABLE_PREFIX to your settingsthis is defined within includes/config.php, if it is blank then just simply remove TABLE_PREFIX from the query)

alter table TABLE_PREFIXwarning_options
add 
`banned_usergroup_idint(15not null default '0',
add `protected_usergroupsvarchar(255not null default ''
Especialy where it says change talbe_prefix to your settings, this is defined within....

Also, how do I add a query?
Reply With Quote
  #339  
Old 10-18-2004, 02:07 AM
Takamine334 Takamine334 is offline
 
Join Date: Aug 2004
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by muscle-mustangs
Justing installed 1.0 and trying to upgrade but I have no clue to what this means in the instructions can someone lend me a hand

PHP Code:
Run this query: (change TABLE_PREFIX to your settingsthis is defined within includes/config.php, if it is blank then just simply remove TABLE_PREFIX from the query)

alter table TABLE_PREFIXwarning_options
add 
`banned_usergroup_idint(15not null default '0',
add `protected_usergroupsvarchar(255not null default ''
Especialy where it says change talbe_prefix to your settings, this is defined within....

Also, how do I add a query?
Looks like you and I will never get our questions answered. I have the same problem. The owner of the hack should really browse this thread more often.
Reply With Quote
  #340  
Old 10-18-2004, 02:43 AM
Remi Remi is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Can some one kindly tell me how to disable sending the PM when warning a member.

All what I need realy is changing the usergroup ID.

Thanks
Reply With Quote
  #341  
Old 10-18-2004, 05:59 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

TABLE_PREFIX is a variable you define when you installed the vB software. It can be found in includes/config.php

As for running a query, go into your AdminCP and scroll the left column all the way to the end. You should see something like "Execute SQL Query". Click on it and a window will open in the right side, where you type the query the author suggests.

Rgds
Reply With Quote
Reply

Thread Tools

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:50 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04967 seconds
  • Memory Usage 2,332KB
  • 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
  • (4)bbcode_php
  • (4)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
  • (2)pagenav_pagelinkrel
  • (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