[MOD-DB] NV advanced last topic titles 1.3.3
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
- Christian Spitzhüttl
- Mitglied
- Beiträge: 211
- Registriert: 21.07.2006 20:11
- Wohnort: Donaueschingen
- Kontaktdaten:
- nickvergessen
- Ehrenadmin
- Beiträge: 11559
- Registriert: 09.10.2006 21:56
- Wohnort: Stuttgart, Germany
- Kontaktdaten:
- nickvergessen
- Ehrenadmin
- Beiträge: 11559
- Registriert: 09.10.2006 21:56
- Wohnort: Stuttgart, Germany
- Kontaktdaten:
Code: Alles auswählen
<p class="topicdetails"><!-- IF forumrow.LAST_TOPIC_TITLE_SUBSTR --><a href="{forumrow.U_LAST_TOPIC}" title="{forumrow.LAST_TOPIC_TITLE}">{forumrow.LAST_TOPIC_TITLE_SUBSTR}</a><!-- ELSE IF forumrow.LAST_POST_SUBJECT_SUBSTR --><a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}">{forumrow.LAST_POST_SUBJECT_SUBSTR}</a><!-- ENDIF --></p>
Code: Alles auswählen
<!-- IF forumrow.LAST_TOPIC_TITLE_SUBSTR --><a href="{forumrow.U_LAST_TOPIC}" title="{forumrow.LAST_TOPIC_TITLE}">{forumrow.LAST_TOPIC_TITLE_SUBSTR}</a><!-- ELSE IF forumrow.LAST_POST_SUBJECT_SUBSTR --><a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}">{forumrow.LAST_POST_SUBJECT_SUBSTR}</a><!-- ENDIF -->
kein Support per PN
- nickvergessen
- Ehrenadmin
- Beiträge: 11559
- Registriert: 09.10.2006 21:56
- Wohnort: Stuttgart, Germany
- Kontaktdaten:
Code: Alles auswählen
<!-- IF forumrow.LAST_TOPIC_TITLE_SUBSTR --><a href="{forumrow.U_LAST_TOPIC}" title="{forumrow.LAST_TOPIC_TITLE}">{forumrow.LAST_TOPIC_TITLE_SUBSTR}</a><!-- ELSE IF forumrow.LAST_POST_SUBJECT_SUBSTR --><a href="{forumrow.U_LAST_POST}" title="{forumrow.LAST_POST_SUBJECT}">{forumrow.LAST_POST_SUBJECT_SUBSTR}</a><!-- ENDIF -->
Code: Alles auswählen
<a href="{forumrow.U_LAST_TOPIC}" title="{forumrow.LAST_POST_SUBJECT}">{forumrow.LAST_POST_SUBJECT_SUBSTR}</a>
Code: Alles auswählen
if ($last_post_title != 1)
{
$last_topic_title = $row['topic_title'];
$last_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&t=' . $row['topic_id']);
$last_topic_title_substr = ( utf8_strlen($last_topic_title) > 30 )? (utf8_substr($last_topic_title,0,25) . '...') : ($last_topic_title);
$last_post_subject_substr = '';
}
else
{
$last_topic_title = '';
$last_topic_url = '';
$last_topic_title_substr = '';
$last_post_subject_substr = ( utf8_strlen($last_post_subject) > 30 )? (utf8_substr($last_post_subject,0,25) . '...') : ($last_post_subject);
}
Code: Alles auswählen
$last_topic_title = '';
$last_topic_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&t=' . $row['topic_id']);
$last_topic_title_substr = ( utf8_strlen($last_topic_title) > 30 )? (utf8_substr($last_topic_title,0,25) . '...') : ($last_topic_title);
$last_post_subject_substr = ( utf8_strlen($last_post_subject) > 30 )? (utf8_substr($last_post_subject,0,25) . '...') : ($last_post_subject);
kein Support per PN
- nickvergessen
- Ehrenadmin
- Beiträge: 11559
- Registriert: 09.10.2006 21:56
- Wohnort: Stuttgart, Germany
- Kontaktdaten:
stell malauf 0
Code: Alles auswählen
; // values: 0 and 1 //if 0 it'll take last TOPIC title
kein Support per PN
Ich bräuchte mal eine Fehleranalyse!
-------------------------------------------------
Installiertes Board: phpBB3 RC5
Aktivierter Style: ProSilver
Mod: NV last post topic title (Version 1.1.0)
-------------------------------------------------
MEIN PROBLEM:
Die Mod 'NV last post topic title' (Version 1.1.0) funktioniert - nach meiner Ansicht richtig durchgeführten Installation - nicht!
Beim Ausführen der SQL-Befehle kommt bei mir folgende Meldung:
Könnte mir jemand sagen, was ich falsch nache?
Link zum Board:
gelöscht
Die 3 nach Anleitung geänderten Dateien:
gelöscht
![Lachend :lol:](./images/smilies/icon_lol.gif)
-------------------------------------------------
Installiertes Board: phpBB3 RC5
Aktivierter Style: ProSilver
Mod: NV last post topic title (Version 1.1.0)
-------------------------------------------------
MEIN PROBLEM:
Die Mod 'NV last post topic title' (Version 1.1.0) funktioniert - nach meiner Ansicht richtig durchgeführten Installation - nicht!
Beim Ausführen der SQL-Befehle kommt bei mir folgende Meldung:
Code: Alles auswählen
Fehler
SQL-Befehl:
INSERT INTO phpbb_config( config_name, config_value )
VALUES (
'last_post_title', '0'
)
MySQL meldet: Dokumentation
#1062 - Duplicate entry 'last_post_title' for key 1
Link zum Board:
gelöscht
Die 3 nach Anleitung geänderten Dateien:
gelöscht
Zuletzt geändert von Onyx am 05.10.2007 15:37, insgesamt 1-mal geändert.