The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
{vb:raw criteriaDisplay} Where is this defined?
{vb:raw criteriaDisplay}
In a templates search this only shows up where it is called in the template search_resultlist: HTML Code:
<p class="description"> {vb:raw criteriaDisplay} </p> Tag: the search term Where can I find where this is defined? I want to get rid of the word 'Tag:' so I can use just the search term as a variable for an ad server. Thanx |
#2
|
||||
|
||||
A quick search of the files turned this up:
Quote:
|
#3
|
||||
|
||||
How did you do that? I searched my local copies of the files using the standard Microsoft search thingy, and it didn't turn up, even though it's there.
|
#4
|
||||
|
||||
I used Total Commander's search files feature. It searches inside files and is fairly quick. Best file manager available for Windows.
|
#5
|
||||
|
||||
Thanks.
I still can't figure out how: <p>{vb:raw criteriaDisplay}</p> generates: <p>Tag: <b><u>my tag search term</u></b></p> How is the word 'Tag:' being inserted, and where is the inline formatting coming from that adds the underline and bolding? ********EDIT********** I found this in vb/search/criteria.php at line 1048: $this->display_strings['tag'] = "$vbphrase[tag]: <b><u>" . $tag->fetch_field('tagtext') . "$syn_text</u></b>"; and changed it to: $this->display_strings['tag'] = "" . $tag->fetch_field('tagtext') . "$syn_text"; That gets rid of the word "Tag:" and also removes the bold and underline. But, is this the right way to do this since I still need the end result - criteriaDisplay - as a variable I can use to build some other functions around? Would it be better to just get either 'tagtext' or '$syn_text' directly, and if so, how? Thanx |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|