Page 1 of 2

[BETA]Jail Mod.

Posted: Wed May 16, 2007 5:21 pm
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.

Re: [BETA]Jail Mod.

Posted: Wed May 16, 2007 10:28 pm
by Peter77sx
Did you have to make any updates to/clean the code since it's been a while?

Re: [BETA]Jail Mod.

Posted: Thu May 17, 2007 12:53 am
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.

Re: [BETA]Jail Mod.

Posted: Thu May 17, 2007 1:46 pm
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.

Re: [BETA]Jail Mod.

Posted: Thu May 17, 2007 1:57 pm
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. :)

Re: [BETA]Jail Mod.

Posted: Thu May 24, 2007 1:53 pm
by vrflyer
I will do my best to compile "its" loose ends... :mrgreen:

Re: [BETA]Jail Mod.

Posted: Mon May 28, 2007 2:43 pm
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.

Re: [BETA]Jail Mod.

Posted: Tue May 29, 2007 9:26 am
by william987
it wont work with easymod, it's the copys to start with
edit change the "to's" to "->"

Re: [BETA]Jail Mod.

Posted: Wed May 30, 2007 4:01 pm
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) /////

Re: [BETA]Jail Mod.

Posted: Wed May 30, 2007 5:30 pm
by william987
I'm having trouble I don't have proficp/def files

Re: [BETA]Jail Mod.

Posted: Mon Jun 11, 2007 3:18 am
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 :)

Re: [BETA]Jail Mod.

Posted: Tue Jun 12, 2007 6:37 pm
by william987
yes

Re: [BETA]Jail Mod.

Posted: Tue Jul 03, 2007 7:40 am
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

Re: [BETA]Jail Mod.

Posted: Thu Jul 12, 2007 3:30 pm
by playerfr
Any imrovment on this Mod as it seem to be a very cool mod :)

thanks :)

Re: [BETA]Jail Mod.

Posted: Sat Sep 22, 2007 10:52 am
by Xclavo
What is the court house for? do other members decide/vote when/if a user can get out of jail?