![]() |
add parent forum link to search results?
Guys,
How to add full path to destination forum in search results (vb4.2)? For example: https://vborg.vbsupport.ru/external/2015/04/9.jpg In this image destination forum is "Android Applications" but it's sub-forum. And full path is Forum1 > Forum2 > Android Applications I want this full path to be shown. I looked in search_threadbit template : Code:
{vb:rawphrase forum}:<br /><a href="{vb:link forum, {vb:raw thread}, null, 'forumid', 'forumtitle'}" title="{vb:raw thread.forumtitleclean}">{vb:raw thread.forumtitle}</a> Code:
<a href="{vb:link forum, {vb:raw thread}, null, 'parentid', 'parenttitle'}" title="{vb:raw thread.parenttitle}">{vb:raw thread.parenttitle}</a> - |
There is nothing like that available. But you could use a plugin on hook search_results_thread_process to add it. There's an array called $vbulletin->forumcache that has info about all the forums, so you could use that and $thread[forumid] to build a string with the parent titles.
|
All times are GMT. The time now is 05:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|