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

 
 
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
  #162  
Old 09-18-2002, 01:50 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay Nuclion try changing the whole code that you just posted into one line

PHP Code:
  $DB_site->query("UPDATE user SET profileview=profileview+1 WHERE userid='$userinfo[userid]'"); 
that should do the entire trick for that at least... then reapply my code and see what happens regards...

g-force2k2
Reply With Quote
  #163  
Old 09-18-2002, 02:05 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

error is moving to line 1737 after doing that.

// Store hack By Lesane

$storeadmin = $DB_site->query_first("SELECT * FROM <--- line 1737
storeadmin");
$pointname=$storeadmin[pointname];
$storename=$storeadmin[storename];

$store=$DB_site->query_first("SELECT storep FROM user WHERE userid='$userinfo[userid]'");
$storepoints=$store[storep];
Reply With Quote
  #164  
Old 09-18-2002, 03:47 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you want you can pm me the member.php and i will take a look for you... if you remove my code is this still a produced error? regards...

g-force2k2
Reply With Quote
  #165  
Old 09-18-2002, 04:15 PM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yep, error is gone when i remove the code out of the member.php!
I've send a pm with the member.php
Reply With Quote
  #166  
Old 09-18-2002, 07:06 PM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by g-force2k2
Nuclion did you make the file modification to the admin/functions.php yet? regards...

neo what do you mean text formatted? regards...

g-force2k2
Yup but I am more concerned about the the error in admin/functions.php
Reply With Quote
  #167  
Old 09-18-2002, 07:48 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

neo what error did you get in admin/functions.php?

regards...

g-foce2k2
Reply With Quote
  #168  
Old 09-19-2002, 10:36 AM
alpha2503 alpha2503 is offline
 
Join Date: Oct 2001
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm sorry for asking you again with this old problem, but when i klick on the links in the postbit template, there will only show up a blank popup and if i open the warn.php?s=... directly via the link in the forumhome template it's blank, too... i use version 2.1 of this hack... does anyone can help me ? maybe with my bad english,too !
Reply With Quote
  #169  
Old 09-20-2002, 04:15 AM
Apok2002 Apok2002 is offline
 
Join Date: Feb 2002
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about a master log that is viewable by the public? So that they can see all the warnings ever given out to everyone, by any admin/mod? Just like what we see in the admin cp?

I thought that is what the warn.php would do. But I guess that just displays the warning levels and points?

Also, in the template set that I have, I need to change the font color. It is currently white, which is difficult to see on my light blue background. Check it out here:

www.ez-company.net/forums/warn.php

What is the easiest way to do that?


Also, I installed this w/o a single glitch. No errors whatsoever. I think a few of these errors people are getting, are due to not setting the vBulletin Options - Warning System settings. But it really is a nice hack. I just need to work on the postbit icon addition...and somehow get a warning list of all users who have been given a warning, on a public page for all to see.
Reply With Quote
  #170  
Old 09-20-2002, 10:16 PM
drives fast's Avatar
drives fast drives fast is offline
 
Join Date: Nov 2001
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay....I have put this through some paces on my test forum and here is some interesting stuff:

First install:
1) Install when flawlessly
2) Noticed that it didn't update usertitle when the hack banned a member. **Fix posted by g-force2k2**
3) After doing some editing in the templates...all of a sudden I started getting a parse error when trying to view posts and the postbit template would not show. un-installing the hack completely did not solve th4e parse error and the database had to be overwritten to get it to go away.

Second Install:
1) Install went flawlessly
2) While customizing templates I noticed that a few of my hacks had stopped working: Moderator graphic and donator hack and site supporter hack......all had stuff to display in postbit.
3) un-installed hack in this order checking to see when the others would appear again,,,first un-installed the database parts.....my other hacks still did not show.....un-installed the script modifications.....my other hacks still did not show......un-installed the 3 template modifications....my other hacks showed back up again.
4) Also before I un-installed I tried some features and found that when you use the system to un-ban someone after the points system banned then their usertitle didn't change back to "member" but I think I can fix that.

Third install:
1) tried to run the installer but it kept telling me "duplicate value and referenced the number 40 so I changed all the 40's to 140 like was suggested in a post and it installed.
2) I had modified the installer with the template modifications of mine and the warnings list additions I wanted so it would install them first shot and I wouldn't have to go in a update all that again but I noticed that the templates (that I modified in the installer) showed up in the templates list as already edited instead of originals (started to think)
3) I then noticed that there was two sets of options in the vb options now but if I looked in the database....there was no settinggroup entries for the warnings system and a couple more that were there before were not present either.
4) I ran the un-installer again...it said successful just like every time. I also un-installed the template and script mods.
5) No matter how much I looked I couldn't find evidence that the hack still existed but it still showed 2 sets of setting groups in the admin panel.
6) I had to overwrite the settinggroup table to get that to go away. (thinking some more)

Fourth Install:
1) Changed the values to 33 (since that was next in line in my database) and installed fine once more.
2) everything seems fine...no problems like before....my other hacks still worked so I started using the functions again.
3) after asessing points to a member...I went to the admin panel and took them back and it said that there were no members warned......seemed correct.
4) I then asessed points to that member again and in the admin panel...took them back....seemed correct.
5) I then asessed enough points for that member to be banned and then went to the admin panel and through the warnings system unbanned that member and it said like it should that it was done, so I then went to the post I was testing all this in and clicked on the "[View Warnings]" link and the three warnings that should have been deleted showed up. A quick look in the database shows that they in fact had not been deleted.

So....it would apear that the uninstall doesn't work corectly and causes some strange stuff to happen in the database.

The templates showing up as already edited instead of original after modifying the install script suggests that some data was still in the database (although invisible) from the original install and edit.

the remove and delete warnings function isn't working even though it says it is from the admin panel

Would it be possible for you to look into these issues?

I love this hack and want to use it
Reply With Quote
  #171  
Old 09-22-2002, 12:23 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by g-force2k2
neo what error did you get in admin/functions.php?

regards...

g-foce2k2
I wasnt able to see... but what happend was the entire site turned to a white blank page.
Reply With Quote
 


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 06:57 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.05076 seconds
  • Memory Usage 2,318KB
  • 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
  • (1)bbcode_php
  • (2)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