| Birthday Hack | |
Posted: 01/11/2006 6:15 AM |
|
|
|
|
Sparrow |
Posts |
13 |
Word Cnt. |
561 |
BDay |
N/A |
Sign |
N/A |
|
|
|
|
|
Joined: Jan 11, 2006
Local time: 2:05 AM
|
|
|
|
|
|
I edited the script as Nightrider asked me and this is the error im getting now?
Critical Error
FIND FAILED: In file [includes/usercp_register.php] could not find:
$avatar_sql = user_avatar_gallery(
}
$user_age=(date('md')>=$b_md.(($b_day <= 9) ? '0':'').$b_day) ? date('Y') - $b_year : date('Y') - $b_year - 1 ;
// Check date, maximum / minimum user age
if (!checkdate($b_md,$b_day,$b_year))
{
$error = TRUE;
if( isset($error_msg) )$error_msg .= " ";
$error_msg .= $lang['Wrong_birthday_format'];
} else
if ($user_age>$board_config['max_user_age'])
{
$error = TRUE;
if( isset($error_msg) )$error_msg .= " ";
$error_msg .= sprintf($lang['Birthday_to_high'],$board_config['max_user_age']);
} else
if ($user_age<$board_config['min_user_age'])
{
$error = TRUE;
if( isset($error_msg) )$error_msg .= " ";
$error_msg .= sprintf($lang['Birthday_to_low'],$board_config['min_user_age']);
} else
{
$birthday = ($error) ? $birthday : mkrealdate($b_day,$b_md,$b_year);
$next_birthday_greeting = (date('md')<$b_md.(($b_day <= 9) ? '0':'').$b_day) ? date('Y'):date('Y')+1 ;
}
} else
{
if ($board_config['birthday_required'])
{
$error = TRUE;
if( isset($error_msg) )$error_msg .= " ";
$error_msg .= sprintf($lang['Birthday_require']);
}
$birthday = 999999;
}
// End add - Birthday MOD
MOD script line #1062 :: FAQ :: Report
Dont know what it can be? Anyone? |
|
|
|
|
Back to Top |
|
|
| Birthday Hack | |
Posted: 01/11/2006 6:23 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 3:05 AM
Location: St Pete, FL
|
|
|
|
|
|
Can you provide a text link to your includes/usercp_register.php file???
|
|
|
|
|
Back to Top |
|
|
| Re: Birthday Hack | |
Posted: 01/11/2006 6:41 AM |
|
|
|
|
Sparrow |
Posts |
13 |
Word Cnt. |
561 |
BDay |
N/A |
Sign |
N/A |
|
|
|
|
|
Joined: Jan 11, 2006
Local time: 2:05 AM
|
|
|
|
|
|
I think i can do you know how to delete a mod? |
|
|
|
|
Back to Top |
|
|
| Birthday Hack | |
Posted: 01/11/2006 6:57 AM |
|
|
|
|
Site Admin |
Posts |
30756 |
Word Cnt. |
2,628,678 |
BDay |
Jul 28 |
Sign |
Leo |
Sex |
|
|
|
|
Joined: Sep 25, 2004
Local time: 3:05 AM
Location: St Pete, FL
|
|
|
|
|
|
Yes, you can delete your MODs in reverse order that you installed them using EM. Go into your EM History and click on Details or something like that. At the bottom, you will see a drop down combobox where you can select Remove MOD or something along those lines. Click it and press the Ok or Go button...
|
|
|
|
|
Back to Top |
|
|
| Information | |
|