![]() |
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() Code:
function fetch_tagbits($tags) |
In Settings > Options > Tagging Options, there's a "Tag Separators" setting where you can enter additional separators, but for some reason you can't remove comma as a separator (you'd have to find the code that looks for commas and change it).
|
Yes I know that kh99. And I need help with that. I can't do that on my own. :(
|
Well, in includes/class_taggablecontent.php there's a function split_tag_list(), and around line 295 there's this:
Code:
$delimiters = array(','); which seems to be where comma is defined as a delimiter. You could try changing or deleting the comma from that line, but I haven't tried it and I don't know if it's the only place where you'd need to make a change. |
Already tried that one. Didn't help
|
Well, that's one place, and changing it to a semicolon allowed me to enter tags separated by semicolons, but some of the display code still uses commas. In that same file around line 894 there's this:
Code:
public function fetch_rendered_tag_list() and then in includes/functions_bigthree.php around line 435 there's function fetch_tagbits($tags) which expects a comma-separated list of tags. That function formats the list using a phrase $vbphrase['comma_space'] (and you probably don't want to change the text of that phrase because it's used in other places). |
Quote:
|
Yeah, you would have to change this (the comma in red):
Code:
public function fetch_rendered_tag_list() and then in includes/functions_bigthree.php around line 435, another comma in red (in the explode call), and the $vbphrase['comma_space'] you can replace a string: Code:
function fetch_tagbits($tags) there may be other places as well, but try this. |
Quote:
|
Quote:
|
All times are GMT. The time now is 09:30 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|