serkanbile
New member
- Katılım
- 29 Mar 2006
- Mesajlar
- 41
- Reaction score
- 0
- Puanları
- 0
buna forum entegre edebilen varmı arkadaşlar?
INSERT INTO `phpbb_config` VALUES ('registration_status', '0');
INSERT INTO `phpbb_config` VALUES ('registration_closed', '');
$disable_board_yes = ( $new['board_disable'] ) ? "checked=\"checked\"" : "";
$disable_board_no = ( !$new['board_disable'] ) ? "checked=\"checked\"" : "";
// hackhell phpbb deregistration start
$registration_status_yes = ( $new['registration_status'] ) ? "checked=\"checked\"" : "";
$registration_status_no = ( !$new['registration_status'] ) ? "checked=\"checked\"" : "";
// hackhell phpbb deregistration closed by prowl
$new['sitename'] = str_replace('"', '"', strip_tags($new['sitename']));
// hackhell phpbb deregistration start
$new['registration_closed'] = str_replace('"', '"', $new['registration_closed']);
// hackhell phpbb deregistration closed by prowl
"L_DISABLE_BOARD_EXPLAIN" => $lang['Board_disable_explain'],
// hackhell phpbb deregistration start
"L_REGISTRATION_STATUS" => $lang['registration_status'],
"L_REGISTRATION_STATUS_EXPLAIN" => $lang['registration_status_explain'],
"L_REGISTRATION_CLOSED" => $lang['registration_closed'],
"L_REGISTRATION_CLOSED_EXPLAIN" => $lang['registration_closed_explain'],
// hackhell phpbb deregistration closed by prowl
"S_DISABLE_BOARD_NO" => $disable_board_no,
// hackhell phpbb deregistration start
"S_REGISTRATION_STATUS_YES" => $registration_status_yes,
"S_REGISTRATION_STATUS_NO" => $registration_status_no,
"REGISTRATION_CLOSED" => $new['registration_closed'],
// hackhell phpbb deregistration closed by prowl
// ---------------------------------------
// Load agreement template since user has not yet
// agreed to registration conditions/coppa
//
// hackhell phpbb deregistration start
if( $board_config['registration_status'] && !$userdata['session_logged_in'] )
{
if( $board_config['registration_closed'] == '' )
{
message_die(GENERAL_MESSAGE, 'registration_status', 'Information');
}
else
{
message_die(GENERAL_MESSAGE, $board_config['registration_closed'], 'Information');
}
}
// hackhell phpbb deregistration closed by prowl
?>
// hackhell phpbb deregistration start
$lang['registration_status'] = 'Disable registrations';
$lang['registration_status_explain'] = 'This will disable all new registrations to your board.';
$lang['registration_closed'] = 'Reason of closed registrations';
$lang['registration_closed_explain'] = 'Text that explain why are the registrations closed, that would appear if a user try to register. Leave blank to show default explanation text.';
// hackhell phpbb deregistration closed by prowl
$lang['Board_disable'] = '
// hackhell phpbb deregistration start
$lang['registration_status'] = 'Sorry, but registrations on this board are currently closed. Please try again later.';
// hackhell phpbb deregistration closed by prowl
<tr>
<td class="row1">{L_DISABLE_BOARD}<br /><span class="gensmall">{L_DISABLE_BOARD_EXPLAIN}</span></td>
<td class="row2"><input type="radio" name="board_disable" value="1" {S_DISABLE_BOARD_YES} /> {L_YES} <input type="radio" name="board_disable" value="0" {S_DISABLE_BOARD_NO} /> {L_NO}</td>
</tr>
<tr>
<td class="row1">{L_REGISTRATION_STATUS}<br /><span class="gensmall">{L_REGISTRATION_STATUS_EXPLAIN}</span></td>
<td class="row2"><input type="radio" name="registration_status" value="1" {S_REGISTRATION_STATUS_YES} /> {L_YES} <input type="radio" name="registration_status" value="0" {S_REGISTRATION_STATUS_NO} /> {L_NO}</td>
</tr>
<tr>
<td class="row1">{L_REGISTRATION_CLOSED}<br /><span class="gensmall">{L_REGISTRATION_CLOSED_EXPLAIN}</span></td>
<td class="row2"><input class="post" type="text" size="40" maxlength="255" name="registration_closed" value="{REGISTRATION_CLOSED}" /></td>
</tr>
enginsar' Alıntı:avseq01 abi sen bazı değişiklikler felan yapmıştın hani resim olayı video olayı felan sen hepsini paket yapsan ize sunsan çok makbule geçerdi yaww![]()
ProwL' Alıntı:Bu kadar hazirci olma arkadaşım henüz bitmedi diyor verse bile yapabilmen zor henüz hepsi hazır değil. Yaratıcı olmaktan ziyade paylaşım etiklerini öğrenelim en azından.
HeyTurk' Alıntı:Hala bulamadım ben bu azdg nin admin açıgı veya ifdate'in sendeki tr dil dosyalı versionunu ikisinden birini anlatırmısın bana nasıl yaparım yani kurlum deil sadece dosyayı alayım... ifdate olursa daha iyi olur veya azdg admin hatası.:vur