Hallo.......
Ich habe folgendes Problem=
1. Wenn ich im Adminbereich eine neue Kategorie erstelle zeigt er sie zwar im
adminbereich an aber nicht im Index.
2. Wenn ich im Adminbereich unter eine Kategorie ein Forum erstellen will zeigt er dieses überhaupt nicht an obwohl er mir sagt das das Forum erstellt wurde.
Bei beiden werden keine Fehlermeldungen angezeigt.
Alle anderen Funktionen funktionieren ohne probleme.
Ich habe die phpBB version 2.0.11 und mehrere mod´s installiert.
MfG
===========================================
Ich habe gerade enddeckt das man unter Gruppen/Bedürfnisse die erstellten Forum´s sieht.
Dazu kommt noch ein weiteres Problem:
Im Index sieht man nicht mehr die Moderatoren der einzelden Forums!
MfG
Kategorie & Forum Problem
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.1, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
-
Nachtfalke-01
- Mitglied
- Beiträge: 50
- Registriert: 31.01.2005 20:28
- Wohnort: Boostedt/ S-H
- Kontaktdaten:
Re: Kategorie & Forum Problem
Im Forenindex sieht man die Kategorie nur, wenn sie ein Forum enthält.1. Wenn ich im Adminbereich eine neue Kategorie erstelle zeigt er sie zwar im adminbereich an aber nicht im Index.
Irgendwas an admin_forums.php und forum_admin_body.tpl geändert!?2. Wenn ich im Adminbereich unter eine Kategorie ein Forum erstellen will zeigt er dieses überhaupt nicht an obwohl er mir sagt das das Forum erstellt wurde.
(Vielleicht mal testweise mit originalen Dateien testen.)
Wurde vielleicht der dazugehörige Code aus der index_body.tpl entfernt (eventuell mit einer originalen subsilver-index_body.tpl vergleichen)!?Im Index sieht man nicht mehr die Moderatoren der einzelden Forums!
-
Nachtfalke-01
- Mitglied
- Beiträge: 50
- Registriert: 31.01.2005 20:28
- Wohnort: Boostedt/ S-H
- Kontaktdaten:
Danke für die schnelle Antwort:
Änderungen habe ich an der admin_forum.php vorgenommen für den notification_mod.
Und zwar musste ich das ändern:
Ist da vielleicht der Fehler drinnen?
Sorry ist ein wenig lang geworden, ich hoffe das stöert nicht
MfG
Änderungen habe ich an der admin_forum.php vorgenommen für den notification_mod.
Und zwar musste ich das ändern:
Code: Alles auswählen
#-----[ OPEN ]------------------------------------------
#
phpBB2/admin/admin_forums.php
#
#-----[ FIND ]------------------------------------------
#
$cat_id = $row['cat_id'];
$forumname = $row['forum_name'];
$forumdesc = $row['forum_desc'];
$forumstatus = $row['forum_status'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$forum_notify = $row['forum_notify'];
#
#-----[ FIND ]------------------------------------------
#
else
{
$l_title = $lang['Create_forum'];
$newmode = 'createforum';
$buttonvalue = $lang['Create_forum'];
$forumdesc = '';
$forumstatus = FORUM_UNLOCKED;
$forum_id = '';
$prune_enabled = '';
}
#
#-----[ REPLACE WITH ]------------------------------------------
#
else
{
$l_title = $lang['Create_forum'];
$newmode = 'createforum';
$buttonvalue = $lang['Create_forum'];
$forumdesc = '';
$forumstatus = FORUM_UNLOCKED;
$forum_id = '';
$prune_enabled = '';
$forum_notify = '1';
}
( $forum_notify == '1' ) ? $notify_enabled = "selected=\"selected\"" : $notify_disabled = "selected=\"selected\"";
$notifylist = "<option value=\"1\" $notify_enabled>" . $lang['Forum_notify_enabled'] . "</option>\n";
$notifylist .= "<option value=\"0\" $notify_disabled>" . $lang['Forum_notify_disabled'] . "</option>\n";
#
#-----[ FIND ]------------------------------------------
#
'S_PRUNE_ENABLED' => $prune_enabled,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'S_NOTIFY_ENABLED' => $notifylist,
#
#-----[ FIND ]------------------------------------------
#
'L_FORUM_STATUS' => $lang['Forum_status'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_FORUM_NOTIFY' => $lang['Forum_notify'],
#
#-----[ FIND ]------------------------------------------
#
$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, prune_enable" . $field_sql . ")
VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";
#
#-----[ REPLACE WITH ]------------------------------------------
#
$sql = "INSERT INTO " . FORUMS_TABLE . " (forum_id, forum_name, cat_id, forum_desc, forum_order, forum_status, forum_notify, prune_enable" . $field_sql . ")
VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['notify_enable']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";
#
#-----[ FIND ]------------------------------------------
#
$sql = "UPDATE " . FORUMS_TABLE . "
SET forum_name = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", forum_desc = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . "
WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
#
#-----[ REPLACE WITH ]------------------------------------------
#
$sql = "UPDATE " . FORUMS_TABLE . "
SET forum_name = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', cat_id = " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", forum_desc = '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', forum_status = " . intval($HTTP_POST_VARS['forumstatus']) . ", forum_notify = " . intval($HTTP_POST_VARS['notify_enable']) . ", prune_enable = " . intval($HTTP_POST_VARS['prune_enable']) . "
WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
#
#-----[ FIND ]------------------------------------------
#
if( $db->sql_numrows($result) > 0 )
{
$sql = "UPDATE " . PRUNE_TABLE . "
SET prune_days = " . intval($HTTP_POST_VARS['prune_days']) . ", prune_freq = " . intval($HTTP_POST_VARS['prune_freq']) . "
WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
}
else
{
$sql = "INSERT INTO " . PRUNE_TABLE . " (forum_id, prune_days, prune_freq)
VALUES(" . intval($HTTP_POST_VARS[POST_FORUM_URL]) . ", " . intval($HTTP_POST_VARS['prune_days']) . ", " . intval($HTTP_POST_VARS['prune_freq']) . ")";
}
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't Update Forum Prune Information","",__LINE__, __FILE__, $sql);
}
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
if( $HTTP_POST_VARS['notify_enable'] != '1' )
{
// delete all notifications for that forum
$sql = "DELETE
FROM " . FORUMS_WATCH_TABLE . "
WHERE forum_id = " . intval($HTTP_POST_VARS[POST_FORUM_URL]);
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't Update Forum Notify Information","",__LINE__, __FILE__, $sql);
}
}
#
#-----[ FIND ]------------------------------------------
#
$sql = "DELETE FROM " . AUTH_ACCESS_TABLE . "
WHERE forum_id = $from_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't delete forum", "", __LINE__, __FILE__, $sql);
}
$sql = "DELETE FROM " . PRUNE_TABLE . "
WHERE forum_id = $from_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't delete forum prune information!", "", __LINE__, __FILE__, $sql);
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
// delete all notifications for that forum
$sql = "DELETE FROM " . FORUMS_WATCH_TABLE . "
WHERE forum_id = $from_id";
if( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, "Couldn't Delete Forum Notify Information","",__LINE__, __FILE__, $sql);
}Sorry ist ein wenig lang geworden, ich hoffe das stöert nicht
MfG
-
Nachtfalke-01
- Mitglied
- Beiträge: 50
- Registriert: 31.01.2005 20:28
- Wohnort: Boostedt/ S-H
- Kontaktdaten:
Ok, hab mir jetz mal die admin_forums.php vorgenommen und nochmal neu geschrieben jetz Funktionierts
Wie ich schon erwähnt hatte wurden forums erschaffen werden aber nicht im Index und auch nicht im Adminbereich unter Forum/Einstellungen angezeigt
aber in der zuordnung des Moderrators sehe ich die Raüme.
Kann ich die Irgendwo löschen (z.b in der DB) wenn ja wo? Unter den Einstellungen geht es ja nicht.
MfG Nachtfalke
Wie ich schon erwähnt hatte wurden forums erschaffen werden aber nicht im Index und auch nicht im Adminbereich unter Forum/Einstellungen angezeigt
aber in der zuordnung des Moderrators sehe ich die Raüme.
Kann ich die Irgendwo löschen (z.b in der DB) wenn ja wo? Unter den Einstellungen geht es ja nicht.
MfG Nachtfalke
-
Nachtfalke-01
- Mitglied
- Beiträge: 50
- Registriert: 31.01.2005 20:28
- Wohnort: Boostedt/ S-H
- Kontaktdaten: