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

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

good to hear Scorp

Parker Clack just edit the warn_pmemail templates and add where you want:

PHP Code:
Comments$comment 
i believe that should do the trick... regards...

g-force2k2
Reply With Quote
  #133  
Old 09-12-2002, 12:09 PM
Parker Clack Parker Clack is offline
 
Join Date: Oct 2001
Posts: 351
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

g-force2k2:

Thanks.

Parker
Reply With Quote
  #134  
Old 09-12-2002, 06:59 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well i had to teach myself sql to revers the queries of the original hack... lol (probably wasn't needed but it was worth it)

then i changed a few things and did a complete re-install and got this working

Very nice system g-force...

- Mist
Reply With Quote
  #135  
Old 09-14-2002, 10:12 AM
Tetchu Tetchu is offline
 
Join Date: Apr 2002
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I must say, it's a good Hack, and the first one to make it onto my boards to.

I have one question though, how do i find out what the User group number is for each user group? Just so i can make sure that the right users can see the right stuff.

Also, how do i set it so that the banned user switched to a new user group? I saw it mentioned earlier but you needed to edit a warnconfig.php file that 2.1 didn't need. so any help would be nice.

Thanks again, and great hack.
Reply With Quote
  #136  
Old 09-14-2002, 04:15 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tetchu you have to right click the edit button for the usergroup in the admin cp while editing the usergroups... and for all of the configurations... its now intergrated into the vbulletin options... regards...

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

--- never mind--- fixed it trough phpadmin

Only one thing remains and that is a double notition of the warnfunctions in the vb options. (??)
Reply With Quote
  #138  
Old 09-15-2002, 04:09 AM
a43079's Avatar
a43079 a43079 is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please help when i click on view warning logs i get


Warning: Division by zero in /home/www/eroweb/admin/admin_warning.php on line 87



There seems to have been a slight problem with the Ero Web Services database.
Please try again by pressing the refresh button in your browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

this is line 87 what is wrong with it i cant figure it out.
PHP Code:
    $totalpages ceil($totalwarns[0] / $perpage); 
Reply With Quote
  #139  
Old 09-15-2002, 04:28 AM
Apok2002 Apok2002 is offline
 
Join Date: Feb 2002
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't see it...forgive me if it is already here...but is it possible to put a graphic in the postbit of someone who has been warned? That way all members can see that this person has recieved a warning, and why they did?

The above is simliar to the card hack from Lesane for his Store Hack. I like yours in that it is more professional and detailed. But Lesane's is great because of the postbit issue.

Again, sorry if this is already brought up...I'm blind if it's here.
Reply With Quote
  #140  
Old 09-15-2002, 04:39 AM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

a43079 you have to submit your vbulletin options

Apok2002... open admin/functions.php

find:

PHP Code:
          $post[warnlink].= "";
        }
// +++++++ Warning Hack 2.0 [ g-force2k2 ] +++++++ 
replace it with:

PHP Code:
          $post[warnlink].= "";
        }
                                  if(
$post[warninglvl] > 0) {
                                    
$post[warnimg] = "<img src='{imagesfolder}/warn.gif' border='0' alt='$post[username] currently has $post[warninglvl] Warn Points!'>";
                                  } else {
                                    
$post[warnimg] = "";
                                  }
// +++++++ Warning Hack 2.0 [ g-force2k2 ] +++++++ 
then place your image in the images folder of your forum... and place $post[warnimg] where ever you would like it to show on the postbit...

sorry i haven't tested it but it should work regards...

g-force2k2
Reply With Quote
  #141  
Old 09-15-2002, 10:58 AM
a43079's Avatar
a43079 a43079 is offline
 
Join Date: Aug 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

THankyou it works great..
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 07:43 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.08816 seconds
  • Memory Usage 2,313KB
  • 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
  • (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