Hello if you think can help us to improve our SEO extensions plz contact to board leader ( Meis@M ) , and become one of our team.

Our Projects are now in Github

Transliteration Russian and error phpBBasic

Discussion of non-phpBB SEO related topics with other phpBB-seo.org users.
hd321kbps
Posts: 1
Joined: Thu Mar 22, 2018 12:22 pm

Transliteration Russian and error phpBBasic

Post by hd321kbps » Thu Mar 22, 2018 12:50 pm

Good afternoon. I installed your extension. Enabled advanced mode. For transliteration into Russian, the edits in the file extension were made customise.php
After:

Code: Select all

public function inject()
	{
Add:

Code: Select all

$this->core->url_replace = array(
				'А' => 'A', 'а' => 'a',
			'Б' => 'B', 'б' => 'b',
			'В' => 'V', 'в' => 'v',
			'Г' => 'G', 'г' => 'g',
			'Д' => 'D', 'д' => 'd',
			'Е' => 'E', 'е' => 'e',
			'Ё' => 'E', 'ё' => 'e',
			'Ж' => 'J', 'ж' => 'j',
			'З' => 'Z', 'з' => 'z',
			'И' => 'I', 'и' => 'i',
			'Й' => 'Y', 'й' => 'y',
			'К' => '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',
			'Щ' => 'SHCH', 'щ' => 'shch',
			'Ъ' => '', 'ъ' => '',
			'Ы' => 'I', 'ы' => 'i',
			'Ь' => '', 'ь' => '',
			'Э' => 'E', 'э' => 'e',
			'Ю' => 'U', 'ю' => 'u',
			'Я' => 'YA','я' => 'ya',
			);
As a result works, but not everywhere.
1 screenshot is not the correct url on a clean forum
https://drive.google.com/open?id=1XM9Jh ... 09AVeQrTkt
2 screenshot is not the correct url with the extension phpBBasic
https://drive.google.com/open?id=16xJA4 ... r5rX2cbqbB
Red marked as correctly
Blue marked as not correct
Tell me how to make url correct?
In the 2nd case, who has the bug? Does your extension or phpBBasic?
Thanks for the extension.