PDA

View Full Version : use "+" instead of "," in Tags defenition


enteha
09-24-2009, 04:12 PM
Hi, I want to know if there is possible to seperate tags with "+" instead of "," in Tags defenition.
thanx

enteha
09-26-2009, 05:57 PM
any comment?

Lynne
09-26-2009, 07:52 PM
Look in function fetch_tagbits in functions_bigthree.php to change it. I think that is the right place.

enteha
09-29-2009, 11:35 AM
thanx Lynne, I found it but I didnot know where can I make change? can you explain simply?

Lynne
09-29-2009, 03:31 PM
Did you look at the function? This line right here puts the comma in between the tags:
$tag_list .= ($tag_list != '' ? ', ' : '');Read it as.... if $tag_list is not empty, put a comma after it, otherwise, put nothing.

enteha
09-29-2009, 05:46 PM
Thank you Lynne, I changed that but still COMMA seoerates tags and when thread sent, tags are shown with + seperation. in fact tags are shown correctly but when I wrote for example SONY+ERICSSON that submitted as ONE word.

Lynne
09-29-2009, 07:05 PM
I thought you wanted to show the tags in the tags list as separated by +. That isn't what you want? Can you explain more clearly what you want.

Lautaro
09-29-2009, 08:04 PM
What he wants to do is, on the input field where you write the tags, instead of separating tags with a comma he want to be able to separate tags with + ..

Lynne
09-29-2009, 09:30 PM
What he wants to do is, on the input field where you write the tags, instead of separating tags with a comma he want to be able to separate tags with + ..
Um, and the Tag Separators option under vboptions > Tagging Options isn't working right?
Tag Separators
You may specify additional separators for tags. The comma is the default separator and cannot be removed, regardless of what is set here.

Simply place a space between each separator. For example, "| &" would mean that tags would be separated by a comma (,), pipe (|), or ampersand (&). Separators may be multiple characters, if desired.

If you wish to include a space as a separator or within a separator, you must wrap the separator in { and }. For example, to make space a separator, you would use "{ }". To put a space within a separator, you would use something like "{| |}"; this would mean that to separate tags you would have to use "| |".

Note that adding separators may make previous tags unusable. For example, if you had a tag "American cars" and added space as a separator, users that try to add that tag will add two tags, "American" and "cars".

When adding separators to this list, you may wish to modify the contents of two phrases to respect the additional separators:
separate_tags_using_comma
tag_no_comma

enteha
09-30-2009, 01:32 PM
Thanks a million, my problem was solved.