ушол от них к вам писал(а):Такой же вопрос про мод "Smilies in Topic Titles" - показывает смайлы только в просмотре форума, но на главной - index.php не работает
Не знаю... у меня стоит и всё работает... Вот если кто ещё подскажет, как выводить эти смайлы вкупе с модом 
last forum topic on index буду просто счастлив.
Код: Выделить всё
############################################################## 
## MOD Title: Smilies in Topic Titles 
## MOD Author: Suisse < chatwithbea@bluewin.ch > (Florian Segginger) http://www.techno-revelation.com
## MOD Description: Shows smilies in topic titles 
## MOD Version: 1.1.1 
## 
## Installation Level: Easy
## Installation Time: 5 Minutes 
## Files To Edit: viewforum.php, viewtopic.php, search.php
## Included Files: n/a 
############################################################## 
## Author Notes: 
##	If you want to disable certain smilies because they are too big or just plain ugly,
##	you have to put
##	$topic_title = str_replace("code for smiley","",$$topic_title);
##	just before
##	$topic_title = smilies_pass($topic_title);	
##	In viewforum.php
##	You obviously have to change 'code for smiley' with the actual bbcode of the smiley
##	Example:
##		$topic_title = str_replace(":)","",$topic_title);
############################################################## 
## MOD History: 
## 
##   2004-04-4 - Version 1.0.0 
##      - This is the first release
##   2004-04-14 - Version 1.1.1
##	- I have been notified of the fact that the smilies don't show in the search and getdaily page.
##	  The hack is still as easy to install as before(Thank you, Juan Antonio Illescas!)
##	 2004-04-15
##	- I removed the unexisting page to modify (getdaily.php). I don't know where it came from.
##	  Apparently, search.php has changed from my version of phpbb, so I can't garantee you the
##	  hack will display smilies on the search page if your version is greater than 2.0.6
## 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
############################################################## 
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php 
#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------
#
//Parse smilies to display topic title
$topic_title = smilies_pass($topic_title);
#
#-----[ OPEN ]------------------------------------------
#
viewforum.php
#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'common.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------
#
//Request the bbcode parsing php page, so we don't call an undefined function ;)
include($phpbb_root_path . 'includes/bbcode.' .$phpEx);
#
#-----[ FIND ]------------------------------------------
#
$topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $topic_rowset[$i]['topic_title']) : $topic_rowset[$i]['topic_title'];
#
#-----[ AFTER, ADD ]------------------------------------
#
//Parse smilies to show the title
//This is where you would put the code to disable certain smilies
$topic_title = smilies_pass($topic_title);
#
#-----[ OPEN ]------------------------------------------
#
search.php
 
#
#-----[ FIND ]------------------------------------------
#
if ( count($orig_word) )
{
 $topic_title = preg_replace($orig_word, $replacement_word, $searchset[$i]['topic_title']);
}
 
#
#-----[ AFTER, ADD ]------------------------------------
#
//Parse smilies to show the title
//This is where you would put the code to disable certain smilies
$topic_title = smilies_pass($topic_title);
 
#
#-----[ FIND ]------------------------------------------
#
					if ($board_config['allow_smilies'] && $searchset[$i]['enable_smilies'])
					{
						$message = smilies_pass($message);
 
#
#-----[ AFTER, ADD ]------------------------------------
#
						//Parse smilies to show the title
						//This is where you would put the code to disable certain smilies
						$topic_title = smilies_pass($topic_title);
						$post_subject = smilies_pass($post_subject);
 
# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM 
Код: Выделить всё
#
#-----[ OPEN ]------------------------------------------
# For <Get Last XX Hours Posts> MOD:
getdaily.php
#
#-----[ FIND ]------------------------------------------
#
					if ($board_config['allow_smilies'] && $searchset[$i]['enable_smilies'])
					{
						$message = smilies_pass($message);
 
#
#-----[ AFTER, ADD ]------------------------------------
#
						//Parse smilies to show the title
						//This is where you would put the code to disable certain smilies
						$topic_title = smilies_pass($topic_title);
						$post_subject = smilies_pass($post_subject);
#
#-----[ FIND ]------------------------------------------
#
if ( count($orig_word) )
{
 $topic_title = preg_replace($orig_word, $replacement_word, $searchset[$i]['topic_title']);
}
 
#
#-----[ AFTER, ADD ]------------------------------------
#
//Parse smilies to show the title
//This is where you would put the code to disable certain smilies
$topic_title = smilies_pass($topic_title);
# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ 
# 
# EoM 
ушол от них к вам писал(а):мод, который позволял бы к названию темы вставлять смайлики
видел такое на многих пхпББшках, но вот хз что за мод...