The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I'm using the vBulletin Tag system to create virtual forums based on zipcode. I'm trying to target ads to zipcode, and there is a vBulletin variable called {vb: raw criteriaDisplay} that appears to be first defined in vb/search/resultsview.php (line 180):
Code:
$criteria = $this->results->get_criteria();
//When we have better template features, the display strings should be passed as
//an array to the template and handled there.
$this->template->register('criteriaDisplay', implode('; ', $criteria->get_display_strings()));
$this->template->register('displayCommon', $criteria->get_common_words_string());
Code:
require_once(DIR . '/vb/search/resultsview.php'); According to the instructions from the ad server, the SHA1 should look like this: Code:
Signature should be: sha1('' . '' . '{vb: raw criteriaDisplay}' . '' . '' . '' . '' . '' . 'my_password')
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|