Refine this search and pasteable search URL pseudo-features
This modification is in the archives.
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) : Download No files for download. Screenshots |