Seite 1 von 1
Quick Reply ES
Verfasst: 26.12.2005 14:08
von Wegi
Ich habe den Mod ohne Probleme installiert nur wenn ich im ACP unter Allgemeine Konfiguration
Quick Reply standartmäßig anzeigen ja[x]
mache
(also aktiviere)
geht er automatisch wieder auf nein wenn man auf Absenden drückt.
Und dadurch sieht den Quick-Reply keiner.
Verfasst: 26.12.2005 14:34
von rabbit
hast du das datenbank update durchgeführt?
Verfasst: 26.12.2005 15:05
von Wegi
rabbit hat geschrieben:hast du das datenbank update durchgeführt?
ja ich hab jetzt auch rausgefunden worans lag
Code: Alles auswählen
#-----[ FIND ]------------------------------------------------
#
if( isset($HTTP_POST_VARS['submit']
{
#
#-----[ BEFORE, ADD ]-----------------------------------------
#
//-- mod : quick post es -------------------------------------------------------
//-- add
$user_qp = $user_qp_show = $user_qp_subject = $user_qp_bbcode = $user_qp_smilies = $user_qp_more = 0;
$anon_qp = $anon_qp_show = $anon_qp_subject = $anon_qp_bbcode = $anon_qp_smilies = $anon_qp_more = 0;
if (!empty($board_config['users_qp_settings']))
{
list($user_qp, $user_qp_show, $user_qp_subject, $user_qp_bbcode, $user_qp_smilies, $user_qp_more) = explode('-', $board_config['users_qp_settings']);
}
if (!empty($board_config['anons_qp_settings']))
{
list($anon_qp, $anon_qp_show, $anon_qp_subject, $anon_qp_bbcode, $anon_qp_smilies, $anon_qp_more) = explode('-', $board_config['anons_qp_settings']);
}
$params = array(
'user_qp', 'user_qp_show', 'user_qp_subject', 'user_qp_bbcode', 'user_qp_smilies', 'user_qp_more',
'anon_qp', 'anon_qp_show', 'anon_qp_subject', 'anon_qp_bbcode', 'anon_qp_smilies', 'anon_qp_more',
);
for($i = 0; $i < count($params); $i++)
{
$$params[$i] = ( isset($HTTP_POST_VARS[$params[$i]]) ) ? intval($HTTP_POST_VARS[$params[$i]]) : $$params[$i];
}
$users_qp_settings = array($user_qp, $user_qp_show, $user_qp_subject, $user_qp_bbcode, $user_qp_smilies, $user_qp_more);
$anons_qp_settings = array($anon_qp, $anon_qp_show, $anon_qp_subject, $anon_qp_bbcode, $anon_qp_smilies, $anon_qp_more);
$new['users_qp_settings'] = implode('-', $users_qp_settings);
$new['anons_qp_settings'] = implode('-', $anons_qp_settings);
//-- fin mod : quick post es ---------------------------------------------------
#
Es gibt in der Datei aber zweimal:
deswegen hatte ich den Text an eine andere Stelle kopiert.
Wegi
