The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
In which hook should I create a plugin so that I can access a variable in that plugin in the search_resultlist template?
Thanks Sunil |
|
#2
|
|||
|
|||
|
Do you referrer to search_threadbit template? search_resultbit does not exist.
|
|
#3
|
||||
|
||||
|
sorry, my bad. I meant search_resultlist template.
|
|
#4
|
|||
|
|||
|
You can use search_before_process or search_complete hook, depending on your need and what you want to do.
|
|
#5
|
||||
|
||||
|
here's what i'm doing:
I created a plugin in the tags_start hook and it looks like this: PHP Code:
in the search_resultlist template i have: Code:
{vb:raw tagid}
|
|
#6
|
||||
|
||||
|
bump ??
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|