ich habe diesen Snippet in mein Forum eingebaut, leider funktioniert er nicht 100% korrekt. Solange ein Thread nur eine der Eigenschaften hat ([Globale] Bekanntmachung, Wichtig, Umfrage), wird die entsprechende Kategorie richtig angezeigt. Wenn jedoch die Bekanntmachung oder wichtiges Thema gleichzeitig eine Umfrage ist, steht vor dem jeweiligen Thread immer "Umfrage: Umfrage:", das sieht genauso aus wie in diesem Bild:
[ externes Bild ]
Und hier noch die Zeile aus viewforum_body.html nach der Änderung:
Code: Alles auswählen
<dt<!-- IF topicrow.TOPIC_ICON_IMG and S_TOPIC_ICONS --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><!-- IF topicrow.S_TOPIC_MOVED --><strong>{topicrow.TOPIC_TYPE}</strong><!-- ENDIF --> <!-- IF topicrow.S_POST_STICKY --><strong>{topicrow.TOPIC_TYPE}</strong> <!-- ENDIF --> <!-- IF topicrow.S_POST_ANNOUNCE --><strong>{topicrow.TOPIC_TYPE}</strong> <!-- ENDIF --> <!-- IF topicrow.S_POST_GLOBAL --><strong>{topicrow.TOPIC_TYPE}</strong> <!-- ENDIF --> <!-- IF topicrow.S_HAS_POLL --><strong>{topicrow.TOPIC_TYPE}</strong> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
Mein Forum ist noch in der Version 3.0.7PL1.