The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Change Tag Separators
Tags are separated by comma by default. How can I change this to a other character?
EDIT: Solved!! 1. in includes/class_taggablecontent.php there's a function split_tag_list(), and around line 295 there's this: Change ',' to '\\\\' Code:
$delimiters = array(','); Code:
public function fetch_rendered_tag_list() { $taglist = $this->fetch_existing_tag_list(); return fetch_tagbits(implode(", ", $taglist)); } Code:
function fetch_tagbits($tags) { global $vbulletin, $vbphrase, $show, $template_hook; $tagcount = 0; $tag_list = array(); if ($tags) { $tag_array = explode(',', $tags); foreach ($tag_array AS $tag) { $row = array(); $tag = trim($tag); if ($tag === '') { continue; } $tagcount++; $row['tag'] = fetch_word_wrapped_string($tag); $row['url'] = urlencode(unhtmlspecialchars($tag)); $row['comma'] = '$vbphrase['comma_space']'; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|