Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 09-24-2009, 04:12 PM
enteha enteha is offline
 
Join Date: Dec 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default use "+" instead of "," in Tags defenition

Hi, I want to know if there is possible to seperate tags with "+" instead of "," in Tags defenition.
thanx
Reply With Quote
  #2  
Old 09-26-2009, 05:57 PM
enteha enteha is offline
 
Join Date: Dec 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any comment?
Reply With Quote
  #3  
Old 09-26-2009, 07:52 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look in function fetch_tagbits in functions_bigthree.php to change it. I think that is the right place.
Reply With Quote
  #4  
Old 09-29-2009, 11:35 AM
enteha enteha is offline
 
Join Date: Dec 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanx Lynne, I found it but I didnot know where can I make change? can you explain simply?
Reply With Quote
  #5  
Old 09-29-2009, 03:31 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you look at the function? This line right here puts the comma in between the tags:
Code:
            $tag_list .= ($tag_list != '' ? ', ' : '');
Read it as.... if $tag_list is not empty, put a comma after it, otherwise, put nothing.
Reply With Quote
  #6  
Old 09-29-2009, 05:46 PM
enteha enteha is offline
 
Join Date: Dec 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 09-29-2009, 07:05 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 09-29-2009, 08:04 PM
Lautaro's Avatar
Lautaro Lautaro is offline
 
Join Date: Jan 2009
Location: United States
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 + ..
Reply With Quote
  #9  
Old 09-29-2009, 09:30 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lautaro View Post
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?
Quote:
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
Reply With Quote
  #10  
Old 09-30-2009, 01:32 PM
enteha enteha is offline
 
Join Date: Dec 2008
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a million, my problem was solved.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06474 seconds
  • Memory Usage 2,242KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete