The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
hey,
im trying to do a realy simple thing - i just want to register a boolean variable that will be avaible in the "search_threadbit" template . so ive added the following code with the location of "search_results_thread_process" hook : PHP Code:
Quote:
any suggestions? I`M Sorry, this thread should have been under *vB4 Programming Discussions * please move the thread to this forum . |
#2
|
||||
|
||||
![]()
If I'm understanding what you want, then something like this should work:
PHP Code:
|
#3
|
|||
|
|||
![]()
now i dont get an error though this if :
<vb:if condition="$diffPrev['bool']=true"> 555 </vb:if> always gives true (even if in the last URL didnt have "pitronot" in it) and this : {vb:raw $diffPrev.bool} gives nothing . btw, why do i need to preRegister the variable if its a hook ? * ofcourse im writing this codes in the search_threadbit template * |
#4
|
|||
|
|||
![]() Quote:
Quote:
Quote:
|
#5
|
|||
|
|||
![]() Quote:
thanks, working ! your help is appreciated . |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|