The Arcive of vBulletin Modifications Site. |
|
Refine this search and pasteable search URL pseudo-features Details »»
|
|||||||||||||||||||||||||||
|
Refine this search and pasteable search URL pseudo-features
Developer Last Online: Nov 2023
This is not really a new feature but just surfaces one that was readily available, though in such a way that it was hard to notice.
The feature does two things:
In the search_results template look for : Code:
<a href="search.php?$session[sessionurl]$searchquery"><strong>$vbphrase[search]:</strong></a> Code:
<if condition="$displayWords"><!--Edit search Hack--><strong> $vbphrase[search] (<a href="search.php?$session[sessionurl]$searchquery" style="text-decoration: underline;">$vbphrase[edit]</a>):</strong><else /><a href="search.php?$session[sessionurl]$searchquery"><strong>$vbphrase[search]:</strong></a></if> No new phrases are needed as i am only re-using phrases. And works for all languages. The conditional is used to avoid the feature being shown on search results that are not quite such things, such as 'New Posts'. Before and after screen dumps enclosed (keywords look like links in both cases because they are underlined. Not very intuitive really (they are not links), but the fix for this needs editing search.php where the <b> codes reside) : Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
the above code can be found in the search_results template
|
|
#3
|
|||
|
|||
|
Indeed, i forgot that very important piece of info. I have edited the initial post. Thanks.
|
![]() |
|
|