Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2013, 12:06 PM
Gardarika Gardarika is offline
 
Join Date: May 2009
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to increase length of forum title

So as the title say's... What and where should I edit?
Reply With Quote
  #2  
Old 06-23-2013, 02:52 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The two database fields, title and title_clean, in the forum table is set to 100 characters. So, if you want a longer title, you would need to actually modify the fields in the database.

Please make a database backup prior to doing any changes to your database.
Reply With Quote
  #3  
Old 06-24-2013, 02:21 PM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
....is set to 100 characters. So, if you want a longer title, you would need to actually modify the fields in the database.
The problem is that for non-English sites operating in UTF-8 the limit is much less as there are letters getting even 4 symbols space.
Reply With Quote
  #4  
Old 06-24-2013, 04:02 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 Christos Teriakis View Post
The problem is that for non-English sites operating in UTF-8 the limit is much less as there are letters getting even 4 symbols space.
Yep, I've run into that problem before which is why I remembered that it was a database limit, not some vbulletin limit, on the length of the title.
Reply With Quote
  #5  
Old 06-24-2013, 04:09 PM
Gardarika Gardarika is offline
 
Join Date: May 2009
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Lynne
I'd searched already in Internet and see the same problem, and to all that I have non-English forum. I completely forgot to mention about that.

And I got to know that datebase and forum should be in the same coding (language), I missed it completely.

Coding for datebase - itf8_general_ci for Russian is what I need or it's wrong?
Reply With Quote
  #6  
Old 06-24-2013, 04:31 PM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Lynne: The problem is that such limits are oudated. Lenght limits are coming from the early database days when there was db space limits from Hosting providers especially for users of MS_SQL (Microsoft's tricks ). I believe that many users will remember those hosting plans: 100 MB webspace, 1 database max 10MB. I think that is good in a next update to have these values changed to varchar(255).

@Gardarika: If you're running a forum in Russian you're in worst position than Greeks. Without to be 100% sure, I believe that all Russian characters (Cyrillic alphabet) are getting 4 symbols. That means that in real you've not more than 40 characters available. My suggestion is to follow what Lynne wrote. It's not that difficult, but I don't know if there are other sections needing modification. eg search table??

Edited: In case that you'll see strange characters at the end of the title, it means that somewhere there is a restriction on how many characters to show. As an example: I've seen many mods (I'm also doing it) giving you the ability to show xx characters of title (usally in widgets or forum sidebar blocks). Let's say that you set it to 30 characters. If the 30th character is a special character getting double quote space, then you'll see that strange symbol instead the real character.
Reply With Quote
  #7  
Old 06-24-2013, 06:30 PM
Gardarika Gardarika is offline
 
Join Date: May 2009
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Christos

The main problem for me was accordance of language (coding) datebase and the forum, with the same language all problem's disappeared. I have russification for my forum, so all is ok now.
Reply With Quote
Reply


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 08:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05445 seconds
  • Memory Usage 2,213KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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