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
Warnings System Hack v2.1 Details »»
Warnings System Hack v2.1
Version: 1.00, by g-force2k2 g-force2k2 is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 09-06-2002 Last Update: Never Installs: 206
 
No support by the author.

Latest Version Warnings System Hack v2.1 Can be Found [ Here ]

After a Successful first release i decided to make a more customizeable and more optimizeable Warnings Hack well here it is...

For new installers simply run the auto installer (install_warning.php) and then use the installation_txt.php to make template and file modifications.

For members that have used my version 1.0 simply make the changes listed in the warn_upgade.php then delete all custom templates and run one query listed in the upgrade file. Then run the installer.

Thanks as always for GoldKnight's assistance

Version 2.1?
Comes with the Warning System Settings Inserted Directly into the VBulletin Settings to prevent problems...

Features
// ++++++++++++++++++++
Warnings Hack System (version 2.0)
* Easy Installation / Uninstallation with Warning Installer (includes all queries & templates) [new]
* Now instead of based upon a set warning level it includes seperate distict warning points [new]
* Includes new warning customization for different levels of warning [new]
* Includes new Email Warning feature for regular useage or more importantly pm disabled users [new]
* Ban Limit is now activated once a user's Warning Level is over the configured amount of Warning Points (Not Just Single Warnings) [new]
* Includes New Customizeable Templates [new]
* Emailing and Private Messaging Warning [new]
* Emailing Ban Message [new]
* Warnings Listings [new]
* Includes Viewable List of all Admin Created Warnings for reference to know what is not accepted [new]
* In a sense its a rules hack included with the Warning Hack [new]
* Categorized And Ordered According to Admin Preferences [new]
Warn Config (extremely optimizeable)
* Includes Setable Banned by Warnings usergroup
* Includes Setable Warning Level (maximum warning points)
* Includes Easy Usergroup Configuration For [new]
* Usergroups that can Warn [new]
* Usergroups that can View Warnings [new]
* Usergroups that can view their Warning Levels [new]
* Usergroups that are exempt from warning [new]
* Includes New Warning Functions & Optimizes all Permissions [new]
* Includes Emailing Banning Option [new]
Admin CP Based
* Create Custom Warnings [new]
* Includes Customizeable New Configuration for Different Level Warnings [new]
* Create your own Categories of Warning Levels [new]
* Configure Warning Points to each different Warning [new]
* Includes a list of Warning Logs
* Who warned who?
* Date & Warning Type & Warning Comments [new]
* Post from which warning resulted
* Includes List of All Warned Users
* Includes Warning Point Deductor [new]
* Includes Email Notification after Banning [new]

Hope that everyone enjoys this hack as much as the first Comments and Suggestions are welcomed...

If you like this hack i'd be greatful if you clicked install thanks in advance and Enjoy...

Screenshots are nex

[Edit]See link below for more information regarding the upcoming vb3 version
vb3 version coming soon

Note: the file warnconfig.php does not exist anymore instead the configurations are kept and updated in the vbulletin option panel.

For any further questions or help you may address them here or instead pm me.

As requested by Freezerator if you want a link in the pm/email that is sent to the user follow the instructions below.
Warned Post Link In PM Or Email

g-force2k2

Show Your Support

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

Comments
  #452  
Old 05-14-2003, 01:46 AM
sajjid sajjid is offline
 
Join Date: Jul 2002
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am getting the following error when i try to install any help please

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: INSERT INTO settinggroup VALUES (40, 'Warnings System', 40)
mysql error: Duplicate entry '40' for key 1

mysql error number: 1062

Date: Wednesday 14th of May 2003 02:45:20 AM
Script: http://www.spinzone.org/forums/forums/admin/query.php
Referer:
Repair Report: This type of error cannot be automatically repaired.
Reply With Quote
  #453  
Old 05-14-2003, 02:08 AM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like you already have it installed.
Reply With Quote
  #454  
Old 05-14-2003, 11:21 AM
maxxxxxx maxxxxxx is offline
 
Join Date: Feb 2003
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello i have installed this hack and become this message if i will see a user profile:

Fatal error: Call to undefined function: checkwarnlink() in /home/www/web3/html/vbulletin2/forum/member.php on line 1388


and on this line is this code
PHP Code:

$warntype 
checkwarnlink($bbuserinfo[usergroupid], 0); 
cu
thomas
Reply With Quote
  #455  
Old 05-14-2003, 07:42 PM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 08:21 AM maxxxxxx said this in Post #453
Hello i have installed this hack and become this message if i will see a user profile:

Fatal error: Call to undefined function: checkwarnlink() in /home/www/web3/html/vbulletin2/forum/member.php on line 1388


and on this line is this code
PHP Code:

$warntype 
checkwarnlink($bbuserinfo[usergroupid], 0); 
cu
thomas
You did not properly make the changes in functions.php
Reply With Quote
  #456  
Old 05-15-2003, 12:49 AM
atomic fireball's Avatar
atomic fireball atomic fireball is offline
 
Join Date: Apr 2003
Location: California
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, I just wanted to say thanks for this excellent hack!

I installed 2.1 on my vB 2.30 system and it works great.

However, I am running into one issue with the showthread template in regards to the usertrade (eBay feedback tyep) hack I also have installed.

It looks like they both call for a window to be opened in their scripts, and since they are located in the same spot, it causes some code to be shown at the bottom of the showthread, and then the entire showthead repeats.

I know this isn't an issue related to this hack, but I'd like to have both working properly. Here's the problem area in showthead:

<script language="javascript" type="text/javascript">
<!--
function aimwindow(aimid) {
window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank","toolbar=n o,location=no,menubar=no,scrol lbars=no,width=175,height=275,resizeable=yes,statu s=no")

}
function whotrade(userid) {

window.open("usertrade.php?s=$session[sessionhash]&action=show&rateuser="+userid, "whorated", "toolbar=no,scrollbars=yes,resizable=yes,width=640 ,height=480,left=0,top=0") ; }

// -->
<!-- Warnings Hack v2.0 [ g-force2k2 ] -->

function showwarnings(userid) { window.open

("warn.php?s=&action=show_warn&userid="+userid,

"show_warn", "toolbar=no,scrollbars=yes,resizable=yes,width=600 ,height=350"); }

function addwarnings(postid) { window.open

("warn.php?s=&action=add_warn&postid="+postid,

"add_warn", "toolbar=no,scrollbars=yes,resizable=yes,width=400 ,height=200"); }

<!-- Warnings Hack v2.0 [ g-force2k2 ] -->
</script>
</head>

Could someone with some PHP guru skills, please point me in the right direction to a correction which can be made to get the script working correctly?

Thanks!
Reply With Quote
  #457  
Old 05-15-2003, 01:58 AM
Gary King's Avatar
Gary King Gary King is offline
 
Join Date: Jan 2002
Posts: 2,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got a screenshot of the problem?
Reply With Quote
  #458  
Old 05-15-2003, 03:17 AM
atomic fireball's Avatar
atomic fireball atomic fireball is offline
 
Join Date: Apr 2003
Location: California
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ewww...sorry, I don't. I just uninstalled the Warning System Hack until I could get it resolved. So I can't take a screenshot.

Basically, everything looked normal, but at the end of the page, you'd see:
----
w.open("usertrade.php?s=$session[sessionhash]&action=show&rateuser="+userid, "whorated", "toolbar=no,scrollbars=yes,resizable=yes,width=640 ,height=480,left=0,top=0") ; }
----

Then, the page would repeat. The header would follow again (at the bottom of the page...not a typo, it would be the header), and the entire thread would be displayed again, within one page.

Looks like both scripts are calling for the same open window action which is causing it to trip out.
Reply With Quote
  #459  
Old 05-17-2003, 05:28 AM
Dark Shogun Dark Shogun is offline
 
Join Date: Aug 2002
Location: The Underworld
Posts: 249
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to use this for the warning system and not for the banning because I am going to be using the miserable banning system and just need something so people know they are warned.

Dark Shogun
Reply With Quote
  #460  
Old 05-17-2003, 09:24 AM
Radgam Radgam is offline
 
Join Date: Jan 2003
Location: Scotland! :)
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess you could just set the amount of points given for each warning to 0, or if it doesn't allow that ((i've not tested) then set each warning to 1 point and the points people are banned at to 100. Eitherway, that's a lot of warnings
Reply With Quote
  #461  
Old 05-17-2003, 09:25 AM
PixelFx PixelFx is offline
 
Join Date: Dec 2002
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed it, works good
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 10:54 AM.


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.05732 seconds
  • Memory Usage 2,324KB
  • Queries Executed 27 (?)
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
  • (2)bbcode_php
  • (1)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_postinfo_query
  • fetch_postinfo
  • 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