vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Custom characters problem

This is a discussion on Custom characters problem within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I have an russian language forum running in UTF8. i have added this to the config_vbseo.php $vbseo_custom_char_replacement = array( 'А' ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 02-03-2008, 09:43 AM
Member
 
Real Name: Niko
Join Date: Nov 2007
Posts: 35
Custom characters problem

I have an russian language forum running in UTF8.

i have added this to the config_vbseo.php

Quote:
$vbseo_custom_char_replacement = array(
'А' => 'A',
'а' => 'a',
'Б' => 'B',
'б' => 'b',
'В' => 'V',
'в' => 'v',
'Г' => 'G',
'г' => 'g',
'Д' => 'D',
'д' => 'd',
'Е' => 'E',
'е' => 'e',
'Ё' => 'Jo',
'ё' => 'jo',
'Ж' => 'Zh',
'ж' => 'zh',
'З' => 'z',
'з' => 'z',
'И' => 'I',
'и' => 'i',
'Й' => 'J',
'й' => 'j',
'К' => 'K',
'к' => 'k',
'Л' => 'L',
'л' => 'l',
'М' => 'M',
'м' => 'm',
'Н' => 'N',
'н' => 'n',
'О' => 'O',
'о' => 'o',
'П' => 'P',
'п' => 'p',
'Р' => 'R',
'р' => 'r',
'С' => 'S',
'с' => 's',
'Т' => 'T',
'т' => 't',
'У' => 'U',
'у' => 'u',
'ф' => 'F',
'ф' => 'f',
'Х' => 'H',
'х' => 'h',
'Ц' => 'C',
'ц' => 'c',
'Ч' => 'Ch',
'ч' => 'ch',
'Ш' => 'Sh',
'ш' => 'sh',
'Щ' => 'Th',
'щ' => 'th',
'ъ' => '-',
'Ы' => 'Y',
'ы' => 'y',
'ь' => '-',
'Э' => 'Ey',
'э' => 'ey',
'Ю' => 'Ju',
'ю' => 'ju',
'Я' => 'JA',
'я' => 'ja'
);
but now, after the edit i can not use the forum, i have the following error:

Unable to add cookies, header already sent.
File: /home/jewropa/public_html/includes/config_vbseo.php
Line: 1

p.s. i saved the config_vbseo.php in utf8 format
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 02-03-2008, 04:01 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
Hello,

you should not save php files in UTF-8 format as that may cause PHP parse errors. At least, remove UTF identifier bytes at the top of the file.
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 02-03-2008, 04:03 PM
Member
 
Real Name: Niko
Join Date: Nov 2007
Posts: 35
ok, but in which coding should i save, cause if i let it standard coded the russian languages gonna broken (it saves as question marks)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 02-03-2008, 04:05 PM
Member
 
Real Name: Niko
Join Date: Nov 2007
Posts: 35
please, can you send me a modified config_vbseo.php file with this content in right code:

$vbseo_custom_char_replacement = array(
'А' => 'A',
'а' => 'a',
'Б' => 'B',
'б' => 'b',
'В' => 'V',
'в' => 'v',
'Г' => 'G',
'г' => 'g',
'Д' => 'D',
'д' => 'd',
'Е' => 'E',
'е' => 'e',
'Ё' => 'Jo',
'ё' => 'jo',
'Ж' => 'Zh',
'ж' => 'zh',
'З' => 'z',
'з' => 'z',
'И' => 'I',
'и' => 'i',
'Й' => 'J',
'й' => 'j',
'К' => 'K',
'к' => 'k',
'Л' => 'L',
'л' => 'l',
'М' => 'M',
'м' => 'm',
'Н' => 'N',
'н' => 'n',
'О' => 'O',
'о' => 'o',
'П' => 'P',
'п' => 'p',
'Р' => 'R',
'р' => 'r',
'С' => 'S',
'с' => 's',
'Т' => 'T',
'т' => 't',
'У' => 'U',
'у' => 'u',
'ф' => 'F',
'ф' => 'f',
'Х' => 'H',
'х' => 'h',
'Ц' => 'C',
'ц' => 'c',
'Ч' => 'Ch',
'ч' => 'ch',
'Ш' => 'Sh',
'ш' => 'sh',
'Щ' => 'Th',
'щ' => 'th',
'ъ' => '-',
'Ы' => 'Y',
'ы' => 'y',
'ь' => '-',
'Э' => 'Ey',
'э' => 'ey',
'Ю' => 'Ju',
'ю' => 'ju',
'Я' => 'JA',
'я' => 'ja'
);

p.s. at time i run my forum without special chars replace, so you can not see the errors on the forumhome
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 02-03-2008, 07:52 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
Replied to your ticket.
update: the following code in functions_vbseo_url.php worked to convert utf8 to win-1251 and then apply custom characters replacement:
PHP Code:
  $text=iconv("UTF-8""WINDOWS-1251",$text); 
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Custom Download Problem rishimodi1 Troubleshooting 4 11-21-2007 11:50 PM
special characters in member profiles problem dutchbb Troubleshooting 12 02-15-2007 12:38 PM
Characters that need replacing for Non English Characters Olney Feature Requests 0 05-26-2006 12:19 AM


All times are GMT -4. The time now is 01:36 AM.


Powered by vBulletin Version 3.8.0 Release Candidate 2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.