Seite 1 von 1

Smilees in Themen-/Forentitel

Verfasst: 12.08.2004 21:05
von Acid
Beschreibung: Mit dieser kleinen Codeänderung kann man in dem Thementitel bzw. als Admin in dem Forentitel/der Forenbeschreibung phpBB-interne Smilees über die Smilee-Kürzel anzeigen lassen.
phpBB Version: 2.0.x

Code: Alles auswählen

#
#--------- [ DATEI ÖFFNEN ] -----------------------------
#
# /viewtopic.php (wenn notwendig)
#
#--------- [ FINDE ] -----------------------------
#
          'TOPIC_TITLE' => $topic_title,

#
#--------- [ MIT FOLGENDEM ERSETZEN ] -------------------------
#
          'TOPIC_TITLE' => smilies_pass($topic_title),


#
#--------- [ DATEI ÖFFNEN ] -----------------------------
#
# /viewforum.php
#
#--------- [ FINDE ] -----------------------------
#
include($phpbb_root_path . 'common.'.$phpEx);
#
#--------- [ DARUNTER EINFÜGEN ] -------------------------
#
include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx);
#
#--------- [ FINDE ] -----------------------------
#
			'TOPIC_TITLE' => $topic_title,
#
#--------- [ MIT FOLGENDEM ERSETZEN ] -------------------------
#
			'TOPIC_TITLE' => smilies_pass($topic_title),


#
#--------- [ DATEI ÖFFNEN ] -----------------------------
#
# /index.php
#
#--------- [ FINDE ] -----------------------------
#
include($phpbb_root_path . 'common.'.$phpEx);
#
#--------- [ DARUNTER EINFÜGEN ] -------------------------
#
include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx);
#
#--------- [ FINDE ] -----------------------------
#
								'FORUM_NAME' => $forum_data[$j]['forum_name'],
								'FORUM_DESC' => $forum_data[$j]['forum_desc'],
#
#--------- [ MIT FOLGENDEM ERSETZEN ] -------------------------
#
								'FORUM_NAME' => smilies_pass($forum_data[$j]['forum_name']),
								'FORUM_DESC' => smilies_pass($forum_data[$j]['forum_desc']),


# 
#--------- [ DATEI ÖFFNEN ] -----------------------------
#
# /admin/admin_forums.php
#
#--------- [ FINDE ] -----------------------------
#
include($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
#
#--------- [ DARUNTER EINFÜGEN ] -------------------------
#
include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx);
#
#--------- [ FINDE ] -----------------------------
#
					'FORUM_NAME' => $forum_rows[$j]['forum_name'],
					'FORUM_DESC' => $forum_rows[$j]['forum_desc'],
#
#--------- [ MIT FOLGENDEM ERSETZEN ] -------------------------
#
					'FORUM_NAME' => smilies_pass($forum_rows[$j]['forum_name']),
					'FORUM_DESC' => smilies_pass($forum_rows[$j]['forum_desc']),


#
#--------- [ DATEI ÖFFNEN ] -----------------------------
#
# /includes/bbcode.php
#
#--------- [ FINDE ] -----------------------------
#
			$repl[] = '<img src="'. $board_config['smilies_path'] . '/' . $smilies[$i]['smile_url'] . '" alt="' . $smilies[$i]['emoticon'] . '" border="0" />';
#
#--------- [ MIT FOLGENDEM ERSETZEN ] -------------------------
#
			$admin_smilees = ( defined('IN_ADMIN') ) ? '../' : '';
			$repl[] = '<img src="'. $admin_smilees . $board_config['smilies_path'] . '/' . $smilies[$i]['smile_url'] . '" alt="' . $smilies[$i]['emoticon'] . '" border="0" />';
Keywords: smilie+smilee+themen+foren+titel