• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Custom URL Romanization

Custom URL Romanization 2.0.1

No permission to download
License
http://creativecommons.org/choose/
Visible branding
No
This add-on will romanize URL character for XF2.
  • Works everywhere (forums, threads, etc.), with minimal conflict.
For those who have similar demands regarding url romanization simply modify it to your own need by modifying the src/addons/TurkishFriendlyLink/listener.php file.

Note: Testing showed that you need to disable the "Romanize url" option in order to make use of this add-on. It would be kind of unnecessary otherwise.

1511985968688.png


As you see below, username characters is not romanization before this add-on.

1511986812303.png


1511987248449.png


After the instalation,

1511987337651.png


For those who have similar demands regarding url romanization simply modify it to your own need by modifying the src/addons/Turkish Friendly Link/listener.php file

PHP:
static $mapLower = array(
            'o' => array('ö'),
            'c' => array('ç'),
            'g' => array('ğ'),
            's' => array('ş'),
            'u' => array('ü'),
            'a' => array('â'),
            'e' => array('ê'),
            'i' => array('ı', 'î', 'é'),
        );

        static $mapUpper = array(
            'O' => array('Ö'),
            'c' => array('Ç'),
            'g' => array('Ğ'),
            's' => array('Ş'),
            'u' => array('Ü'),
            'a' => array('Â'),
            'e' => array('Ê'),
            'i' => array('I', 'Î', 'Ê'),
        );
The first arrays are for lowercase letters (mapLower ) and the second set are for uppercase letters (mapUpper )
Write the letters you want to be Romanized to the right like you see above.

Special thanks to xfrocks.
This add-on was created with reference to Vietnamese Friendly Link.

Turkish

XF2-URL Yapısını ->Romanize Ederek Düzenler
Eklentiyi kurmadan önce,

1511989296852.png


https://siteadresiniz.com/admin.php?options/groups/basicBoard/ alanında yer alan,
  • Arama motoru dostu URL yapısını kullan. (Seçeneği Aktif)
  • URL Türkçe karakterleri kullanma. (Seçeneği Pasif)
Olacak şekilde kontrollerinizi yaparak seçenekleri işaretleyiniz.

Bu işlemin ardından, Upload edilecek dosyaları sisteminize eklemeniz eklentinin kurulumu için gerekli aşamaları gerçekleştirmiş olacaktır.

Eklenti URL yapısını kontrol için aşağıdaki Demo adresini kullanabilirsiniz.

Demo: https://sapofis.com
Author
Ovunc Dinc
Downloads
28
First release
Last update
Rating
5.00 star(s) 2 ratings

Latest updates

  1. Changed Listener.php

    Listener.php file has been changed.
  2. Fixed a bug

    - Fixed bug and added new hashes.json

Latest reviews

This add-on is going to be very useful for us. I have been waiting for a long time. Thank you for contributing to XenForo.
It is a very useful add-on to make the URL structure romanization.
Thanks Brother....
We will develop it with together.