Topic: Search result - unclickable forum name

Hi
I think forum names on search result list should be as a links.

search.php (line 372)

$forum_page['item_body']['info']['forum'] = '<li class="info-forum"><strong>'.$cur_set['forum_name'].'</strong> <span class="label">'.(($cur_set['num_replies'] == 1) ? $lang_forum['Reply'] : $lang_forum['Replies']).'</span></li>';

change to:

$forum_page['item_body']['info']['forum'] = '<li class="info-forum"><a href="'.forum_link($forum_url['forum'], array($cur_set['forum_id'], sef_friendly($cur_set['forum_name']))).'">'.$cur_set['forum_name'].'</a> <span class="label">'.(($cur_set['num_replies'] == 1) ? $lang_forum['Reply'] : $lang_forum['Replies']).'</span></li>';

Temporary you can just use my extension:
http://punbb.informer.com/forums/topic/ … ch-result/

YonasH's repository + Extensions Directory = PunBB Extensions Online Library (in progress....)

Away. I will be back soon.

2

Re: Search result - unclickable forum name

+1

Forum, Art, Architecture, Passion.

Have you ever visited the textpattern forum?

Re: Search result - unclickable forum name

Fixed.