If you want your search results to utilize the
Avatar in PM List &
PM Preview hacks:
In the
PM Search plugin,
FIND:
Code:
eval('$messagelistbits .= "' . fetch_template('pm_messagelistbit') . '";');
ADD ABOVE:
Code:
$sk_avurl = fetch_avatar_url($userid);
if($vbulletin->options['pm_preview'] AND $vbulletin->userinfo['pmpreview'])
{
$prvmessage = htmlspecialchars_uni($pm['message']);
if($vbulletin->options['pm_preview_strip_quotes'])
{
$prvmessage = strip_quotes($prvmessage);
}
$prvmessage = strip_bbcode($prvmessage);
if(strlen($prvmessage) > $vbulletin->options['pm_preview'] AND $vbulletin->options['pm_preview'] != -1)
{
$prvmessage = fetch_trimmed_title($prvmessage, $vbulletin->options['pm_preview']);
}
$prvmessage = fetch_censored_text($prvmessage);
eval('$pmpreview = "' . fetch_template('pm_preview') . '";');
}
In case you REALLY don't understand and need a screenshot..
Click -->
Attachment 67593