Hat sich schon mal jemand dran gemacht, den Mod post icons mit dem recent topics Mod zu kombinieren??
Wäre schön, wenn die kleinen Bildchen auch in der recent.php angezeigt werden...
*edit*
es gibt einen Mod, der die Forumicons in den Suchergebnissen anzeigt:
Code: Alles auswählen
################################################################################################
## Mod Title: Post Icons in the Search Pages
## Mod Version: 0.0.2
## Date: 2005-06-03
##
## MOD Author: antoonvdr < antoonvdr@yahoo.com > (Antoon) http://www.chathamkiwanis.com
##
##
## Description: Addon to the Post Icon Mod from Ptirhiik, to have the topic icons also
## displayed in the search pages.
##
##
## Installation Level: easy
## Installation Time: 1 Minutes
## Files To Edit:
## search.php
## templates/subSilver/search_results_topics.tpl
## templates/subSilver/search_results_posts.tpl
##
## If you installed the Bookmarks Mod v1.1.1a MOD by PhilippK, or if you have phpBB2 Plus 1.52:
##
## templates/subSilver/search_results_bookmarks.tpl
##
##
################################################################################################
## For Security Purposes, Please Check: http://www.chathamkiwanis.com/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
################################################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
################################################################################################
#
#-----[ OPEN ]------------------------------------------
#
search.php
#
#-----[ FIND ]------------------------------------------
#
$template->assign_block_vars("searchresults", array(
#
#-----[ BEFORE ADD ]---------------------------------
#
// get the topic icons
$icon_installed = function_exists(get_icon_title);
$icon = '';
if ($icon_installed)
{
$type = $searchset[$i]['topic_type'];
$icon = get_icon_title($searchset[$i]['topic_icon'], 1, $type);
}
// end icon
#
#-----[ FIND ]------------------------------------------
#
'MESSAGE' => $message,
#
#-----[ AFTER, ADD ]------------------------------------------
#
//icon
'ICON' => $icon,
#
#-----[ FIND ]------------------------------------------
#
$template->assign_block_vars('searchresults', array(
#
#-----[ BEFORE ADD ]---------------------------------
#
// get the topic icons
$icon_installed = function_exists(get_icon_title);
$icon = '';
if ($icon_installed)
{
$type = $searchset[$i]['topic_type'];
$icon = get_icon_title($searchset[$i]['topic_icon'], 1, $type);
}
// end icon
#
#-----[ FIND ]------------------------------------------
#
'TOPIC_AUTHOR' => $topic_author,
#
#-----[ AFTER, ADD ]------------------------------------------
#
//icon
'ICON' => $icon,
#
#-----[ OPEN ]------------------------------------------
# pay special attention to the code if your board is heavily modded, it may be slightly different in your case!
#
templates/subSilver/search_results_topics.tpl
#
#-----[ FIND ]------------------------------------------
#
<th>{L_TOPICS}</th>
#
#-----[ REPLACE, WITH ]---------------------------------
#
<th colspan="2">{L_TOPICS}</th>
#
#-----[ FIND ]------------------------------------------
#
<td class="row1"><strong><a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_NAME}</a></strong></td>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<td class="row2" align="center" valign="middle" width="20">{searchresults.ICON}</td>
#
#-----[ FIND ]------------------------------------------
#
<td class="cat" colspan="7"> </td>
#
#-----[ REPLACE, WITH ]---------------------------------
#
<td class="cat" colspan="8"> </td>
#
#-----[ OPEN ]------------------------------------------
# pay special attention to the code if your board is heavily modded, it may be slightly different in your case!
#
templates/subSilver/search_results_posts.tpl
#
#-----[ FIND ]------------------------------------------
#
{searchresults.MINI_POST_IMG}
#
#-----[ FIND ]------------------------------------------
#
{L_SUBJECT}: <strong><a href="{searchresults.U_POST}">{searchresults.POST_SUBJECT}</a></strong>
#
#-----[ REPLACE, WITH ]---------------------------------
#
{L_SUBJECT}:{searchresults.ICON} <strong><a href="{searchresults.U_POST}">{searchresults.POST_SUBJECT}</a></strong>
#
#-----[ OPEN ]------------------------------------------
# pay special attention to the code if your board is heavily modded, it may be slightly different in your case!
#
templates/subSilver/search_results_bookmarks.tpl
#
#-----[ FIND ]------------------------------------------
#
<td class="row1"><span class="forumlink"><a href="{searchresults.U_VIEW_FORUM}" class="forumlink">{searchresults.FORUM_NAME}</a></span></td>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<td class="row2" align="center" valign="middle" width="20">{searchresults.ICON}</td>
#
#-----[ FIND ]------------------------------------------
#
<td class="cat" colspan="7" height="29"> {S_HIDDEN_FIELDS}
#
#-----[ REPLACE, WITH ]---------------------------------
#
<td class="cat" colspan="8" height="29"> {S_HIDDEN_FIELDS}
#
#-----[ SAVE/CLOSE ALL FILES ]--------------------------------
#