PDA

View Full Version : Increase freeze limit?


sam
04-10-2007, 05:02 PM
I'd like to be able to freeze the raids from signups at most a week in advance. The current version is only 24 hours. Any way to do this?

defakto
08-29-2007, 01:42 PM
You might be able to go into the php itself and add this if you have any coding knowledge, I'm going to delve into it later and see if I can come up with something for you though.

defakto
08-29-2007, 01:52 PM
Well that took significantly less time than I was expecting

here's a quick hack you can do the raids.php file to add up to as many extra hours as you need:

find the section that starts with

//freeze
$freeze = '<select name="freeze" class="post">';
for($i = 1; $i <= 24; $i++)


all you need to do is change the 24 to 48, 72, or how ever man max hours you want out from start time. It's an ugly fix and makes one hell of a drop down box, but it should accomplish what you want.

I'm going to play around and see if I can come up with some more elegant to handle days out than knowning the hours but that may take me a bit longer. My guild will KILL me if I down the page again in a 24 hour period so I need to make sure I don't break anything.

Illydth
10-05-2007, 11:10 AM
Defakto, did you come up with anything on this? I can add this as a "to do" item to get into the configuration area.