[BETA]Jail Mod.

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
Wolfpawz
Registered User
Posts: 10
Joined: Mon May 07, 2007 7:38 pm

[BETA]Jail Mod.

Post by Wolfpawz »

In note that Dr. DLP has abandoned the jail mod ((a moderator locked the topic)). I've decided to take over the modification development... and offer it up for download. I will maintain hosting for the mod and will try to add new features in the future, but currently I'm only putting up the old version for download. The jail mod is basicly a fancy temp-ban. You can even bail them out and have a court! See below for the mod overview.

Code: Select all

##############################################################
## MOD Title: Jail MOD
## MOD Author: Dr DLP < > ( Malicious Rabbit ) http://lapin-malin.com/
## MOD Description: A funny temporary ban system for your forum
##
## MOD Version: 0.2.0
##
## Installation Level: Easy
## Installation Time: 25 minutes ( 2 minutes with easymod )
##
## Files To Edit (11) :   
##			posting.php    
##			viewtopic.php
##			includes/constants.php
##			includes/page_header.php
##			includes/usercp_viewprofile.php
##			language/lang_english/lang_admin.php
##			language/lang_english/lang_main.php
##			templates/subSilver/overall_header.tpl
##			templates/subSilver/profile_view_body.tpl
##			templates/subSilver/subSilver.cfg
##			templates/subSilver/viewtopic_body.tpl
##
## Included Files (16) :  
##			cell.php
##			courthouse.php
##			admin/admin_cell.php
##			admin/admin_cell_general.php
##			images/cell.gif
##			includes/functions_jail.php
##			language/lang_english/lang_jail.php
##			templates/subSilver/cell_body.tpl
##			templates/subSilver/cell_courthouse_body.tpl
##			templates/subSilver/cell_courthouse_judge_body.tpl
##			templates/subSilver/cell_courthouse_list_body.tpl
##			templates/subSilver/images/icon_justice.gif
##			templates/subSilver/images/icon_mini_justice.gif
##			templates/subSilver/admin/config_cell_body.tpl
##			templates/subSilver/admin/config_cell_general_body.tpl
##			templates/subSilver/admin/config_cell_users_body.tpl 
##
############################################################## 
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the 
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code 
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered 
## in our MOD-Database, located at: http://www.phpbb.com/mods/ 
############################################################## 
## Author Notes: 
##
## Thanks to Ptirhiik for having learned me how to make such mods !
## The code for the avatar dislay has been made by Moogie .
##
############################################################## 
## MOD History:
##
## 0.2.0 ( 25/02/04)
## FIXES : many again
## ADD : ability for admin to define punishment : can't access the forums , can't post or can't read the posts
##
## 0.1.0 ( 24/01/04 )
## FIXES : many , many fixes .... Thanks to bummer < http://forums.webxtractions.com/ >
##
## 0.1.0 ( 24/01/04 )
## ADD : Courthouse ( users judge the prisonners , and can free them )
##       Ablility to pay the sledge of the imprisonned users
##	 List of the imprisoned users 
## 	 Jail history ( user , date , sledge , sentence and liberation type )
##       Ability for users to clean their police record
##       Total imprisonments into profile and topics
##
## 0.0.3 ( 01/01/04 )
## FIX : Wrong redirection into the admin panel after submit - Pokemaster
## ADD : Admin can now define a text sentence
##       Profile Control Panel compliance
##
## 0.0.2 ( 30/12/03 ) : First beta
##
## 0.0.1 ( 29/12/03 ) : First alpha
Regular Version Download Download here
Profile Control Panel Version Download: Download here.
Peter77sx
Registered User
Posts: 3260
Joined: Wed Nov 09, 2005 2:51 pm

Re: [BETA]Jail Mod.

Post by Peter77sx »

Did you have to make any updates to/clean the code since it's been a while?
User avatar
Wolfpawz
Registered User
Posts: 10
Joined: Mon May 07, 2007 7:38 pm

Re: [BETA]Jail Mod.

Post by Wolfpawz »

Actually, No. It worked fine when I installed it to my forums, and I tested it with easy-mod it's 100% compatible. :)
However, the PCP version is not going to be devoloped any longer, since profile control panel ceases to exist! Yet, I've put it up for download anyway.
User avatar
vrflyer
Registered User
Posts: 503
Joined: Mon Feb 17, 2003 8:27 pm

Re: [BETA]Jail Mod.

Post by vrflyer »

Yeah it works, there's a lot of improvements needed though, however I don't have my notes accessible (might of lost them already) right now.
Always Under Construction !
User avatar
Wolfpawz
Registered User
Posts: 10
Joined: Mon May 07, 2007 7:38 pm

Re: [BETA]Jail Mod.

Post by Wolfpawz »

vrflyer wrote: Yeah it works, there's a lot of improvements needed though, however I don't have my notes accessible (might of lost them already) right now.
Yeah, I'm open to suggestions. :)
User avatar
vrflyer
Registered User
Posts: 503
Joined: Mon Feb 17, 2003 8:27 pm

Re: [BETA]Jail Mod.

Post by vrflyer »

I will do my best to compile "its" loose ends... :mrgreen:
Always Under Construction !
User avatar
Wolfpawz
Registered User
Posts: 10
Joined: Mon May 07, 2007 7:38 pm

Re: [BETA]Jail Mod.

Post by Wolfpawz »

vrflyer wrote:I will do my best to compile "its" loose ends... :mrgreen:
Great :) I'd love to fix it... Sorry for the delay in answering, I'm on vacation and just got to a WIFI hotspot.
william987
Registered User
Posts: 11
Joined: Sun May 27, 2007 2:05 pm

Re: [BETA]Jail Mod.

Post by william987 »

it wont work with easymod, it's the copys to start with
edit change the "to's" to "->"
User avatar
vrflyer
Registered User
Posts: 503
Joined: Mon Feb 17, 2003 8:27 pm

Re: [BETA]Jail Mod.

Post by vrflyer »

Wolfpawz wrote:
vrflyer wrote:I will do my best to compile "its" loose ends... :mrgreen:
Great :) I'd love to fix it... Sorry for the delay in answering, I'm on vacation and just got to a WIFI hotspot.

Ha ha!

You're suppossed to be on vacation, not working on php stuff! :P

Anywho....

1) Not a bug, but a deficiency: When you're in viewtopic & click on imprisoments it should take you to the current full view of user's imprisionment & not the entire board history (if there is no current sentence for user then it should go to user's history only) .

2) Be able to Jail from viewtopic/profileview, etc...

3) The cell.gif and avatar are stretched to the forum's max width/height when someone is imprisoned. This section appears to be hardcoded.

4) There's more (been busy) /////
Always Under Construction !
william987
Registered User
Posts: 11
Joined: Sun May 27, 2007 2:05 pm

Re: [BETA]Jail Mod.

Post by william987 »

I'm having trouble I don't have proficp/def files
User avatar
Wolfpawz
Registered User
Posts: 10
Joined: Mon May 07, 2007 7:38 pm

Re: [BETA]Jail Mod.

Post by Wolfpawz »

Nice suggestions, I'll be happy to take an attempt at them. :)
william987 wrote:it wont work with easymod, it's the copys to start with
edit change the "to's" to "->"
Are you using the latest easy mod? I installed it with easy mod myself :)
william987
Registered User
Posts: 11
Joined: Sun May 27, 2007 2:05 pm

Re: [BETA]Jail Mod.

Post by william987 »

yes
clareman
Registered User
Posts: 23
Joined: Thu Jun 28, 2007 11:53 am

Re: [BETA]Jail Mod.

Post by clareman »

does anyone have a link for this? The 2 on the top page don't seem to be working for me. I had this mod installed on my board before it crashed and it was 1 of the best going, up there with the bookmakers mod
User avatar
playerfr
Registered User
Posts: 851
Joined: Fri Jul 18, 2003 9:50 am
Location: France - Paris

Re: [BETA]Jail Mod.

Post by playerfr »

Any imrovment on this Mod as it seem to be a very cool mod :)

thanks :)
All kind of help for your Forums / Sites. Installing for you the forum, the Mods, creating Custom Mods : for small fee http://www.phpbbhelpers.com
User avatar
Xclavo
Registered User
Posts: 185
Joined: Thu Sep 20, 2007 1:54 am

Re: [BETA]Jail Mod.

Post by Xclavo »

What is the court house for? do other members decide/vote when/if a user can get out of jail?
Post Reply

Return to “[2.0.x] MODs in Development”