Recent Topics

1 May 04, 2008 09:33    

[url=http://ru.b2evo.net/show.php/translit-urls-transliteraciya-ssylok]Read in Russian / Русская страница плагина[/url]

Do you use non-ASCII characters in post titles? If you do you should know how your links look like... :-/ >:XX Install this plugin and forget about weird post URLs

[url=http://www.sonorth.com/travel/download/VALC14CR2X]Download v1.0.0[/url]

http://b2evo.sonorth.com/media/images/9.JPG

It replaces post title's characters using a given pattern. By default it is set to transliterate all Russian/Ukrainian letters to Latin, but you can define any pattern.

Example: if the title is "Привет всем" your permalink will be "privet_vsem".
You can also set it to change "Hi" to "hello_everybody" :>> or whatever you can imagine.

v1.0.0
Compatible with b2evolution v4.1 and v5

v0.3
New: now it's possible to crop url titles to selected number of characters

v0.2
fixed: plugin generated wrong url titles for existing posts

2 May 26, 2008 23:19

Plugin updated, now it's possible to crop url titles to selected number of characters.
10-40 for b2evo 2.x
10-200 for b2evo 2.5 and up

3 Oct 18, 2008 17:20

sam2kb wrote:

Plugin updated, now it's possible to crop url titles to selected number of characters.
10-40 for b2evo 2.x
10-200 for b2evo 2.5 and up

i ve tried making it 60 but failed, still says it should be between 10-40.. i am using b2 2.5 with translit 0.3

and btw, thank you very much for such a plugin.. this was exactly what i was looking for..

i had to regenerate 20 some posts, but that's very fine looking from the optimistic angle, i could be editing hundreds of them if i havent noticed and you havent responded so fast , thanks

4 Oct 18, 2008 17:26

You're using b2evolution 2.4.5, but long url titles are supported from b2evo 2.5 and up.
2.5.0-beta was renamed to 3.0 a while ago.

5 Oct 18, 2008 17:31

sam2kb wrote:

You're using b2evolution 2.4.5, but long url titles are supported from b2evo 2.5 and up.
2.5.0-beta was renamed to 3.0 a while ago.

pff, yer right, it was 2.4.5, i miscalled thanks

6 Oct 26, 2008 13:37

sam2kb wrote:

10-40 for b2evo 2.x
10-200 for b2evo 2.5 and up

what if i hacked the core files to support 40+, would that hurt ?

7 Oct 26, 2008 14:00

If you already have 40+ on 2.4.5 just edit the plugin.

8 Nov 04, 2008 19:40

so do you know if i can and if i can where i can hack the core to support 40+ char. url's in the 2.4.5

12 Nov 06, 2008 05:13

It's true, the plugin compares b2evo versions (and it's still < 2.5)
Open it and edit lines 79,80

$s = '40';
$maxlength = 2;


to

$s = '200';
$maxlength = 3;

13 Mar 20, 2010 15:06

plugin does not work with my custom title plugin. it works if i manually type in the title but does not work using with that cat_wrote title plugin of mine.

why do you think it does not ? because it adds the content to the title ? and how do you think i could fix it

14 Mar 20, 2010 17:12

The current version doesn't work in b2evo 3

15 Mar 20, 2010 20:34

it does work when i manually type in the title.

it just doesnt with that plugin i ve mentioned.

So any clues ?

16 Mar 20, 2010 23:27

Try changing plugin priority. I don't know why it doesn't work.

17 Mar 20, 2010 23:53

didnt help : | thanks for the guess

instead of using translit urls, i ve thought of a temprorary solution; i could use str_replace to replace turkish characters with latin ones before the url gets posted, so i wrote this:

//added bits.
			$trkar = array("ş", "ü", "ı", "ö", "Ş", "Ğ", "ğ", "ç", "İ", "Ç", "Ö", "Ü");
			$enkar = array("s", "u", "i", "o", "S", "G", "g", "c", "I", "C", "O","3");
			$title = str_replace( $trkar, $enkar, $title );
//added bits end.
			$title = str_replace( '[cat wrote]', $foo['cat_name'] . ' wrote: ' . $content, $title );	

any idea why the above did not work either ?

18 Mar 21, 2010 19:40

ok i got around it.. i had to place mine after that part not before.. its that bug in php str_replace function i believe.

Btw, i ve looked at your transliturl plugin code, i couldnt see any reason why it wouldnt work with 3.x.. all those params Item title etc are the same in 3.x afaik.

19 Mar 21, 2010 20:22

Well, your version is actually working ;) But I have no time to update the download link.

The thing is in v3 the error message displays if urltitle is changed during validation (it's too annoying, I think). This error prevents the post from being updated.

20 Jan 12, 2011 08:45

Looks like it doesn't work for title with space.
b2evo 4.0.3

21 Jan 14, 2011 07:21

What errors do you get? What happens when you save a post?

23 Feb 09, 2011 04:45

I guess it's an older version of the plugin. I'll upload the recent version, and let you know.

24 Feb 18, 2012 13:35

I am getting the below errors after upgrade to 4.1.3. My version of the plugin says 0.4

Notice: Undefined property: Messages::$messages in /home/tilqi/public_html/plugins/translit_urls_plugin/_translit_urls.plugin.php on line 122

Notice: Undefined property: Messages::$messages in /home/tilqi/public_html/plugins/translit_urls_plugin/_translit_urls.plugin.php on line 126

Warning: Cannot modify header information - headers already sent by (output started at /home/tilqi/public_html/plugins/translit_urls_plugin/_translit_urls.plugin.php:122) in /home/tilqi/public_html/inc/_core/_template.funcs.php on line 59

Warning: Cannot modify header information - headers already sent by (output started at /home/tilqi/public_html/plugins/translit_urls_plugin/_translit_urls.plugin.php:122) in /home/tilqi/public_html/inc/_core/_template.funcs.php on line 248

Warning: Cannot modify header information - headers already sent by (output started at /home/tilqi/public_html/plugins/translit_urls_plugin/_translit_urls.plugin.php:122) in /home/tilqi/public_html/inc/_core/_template.funcs.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at /home/tilqi/public_html/plugins/translit_urls_plugin/_translit_urls.plugin.php:122) in /home/tilqi/public_html/inc/_core/_template.funcs.php on line 250

Warning: Cannot modify header information - headers already sent by (output started at /home/tilqi/public_html/plugins/translit_urls_plugin/_translit_urls.plugin.php:122) in /home/tilqi/public_html/inc/_core/_template.funcs.php on line 251

25 Feb 18, 2012 16:50

Plugin updated.
New version 1.0.0 is compatible with b2evolution v4.1 and v5

26 Feb 18, 2012 16:52

By the way, I'm planning to make it possible in b2evo v5 to define custom character maps in each locale.

27 Feb 18, 2012 19:51

sam2kb wrote:

By the way, I'm planning to make it possible in b2evo v5 to define custom character maps in each locale.

great ! thanks

29 Feb 18, 2012 20:26

And i still get there annoying iconv error !! Everything is fine with ALL the characters in Turkish, except for 1 ! "ı" that is. (dotless i)

We discussed it here: http://forums.b2evolution.net/viewtopic.php?p=107814&sid=9c4ba0090b097a724ba7ee28aa75f7db
But couldnt find a solution

i have tried many variations of (_charset.funcs.php line 95)


	$newstr = iconv( 'UTF-8', 'ISO-8859-9//TRANSLIT', $str );

But nothing changed.When i comment out the line, i dont get the url just get title-5 , title-6 etc.

Do i really need that line ?! Even with this plugin ?

30 Feb 18, 2012 22:16

You don't need that line with this plugin.

b2evo 2 is dead, anyone using anything other than v4.1 should upgrade

31 Feb 18, 2012 22:42

Okay.. Any idea about that "ı" character problem with iconv ?

It's SO annoying, that i am upgrading the whole server hoping maybe it would get rid of the error.

I mean for god's sake, there are 12 Turkish characters (ÇçĞğİÖöŞşÜüı)
why is there a problem with this certain character (ı) dotless i.

32 Mar 04, 2012 20:40

The darn files were not updated after I uploaded a newer version.

Please re-download the plugin and reinstall it

34 Mar 04, 2012 21:28

It's not a wrong thread, it's bad permissions on my uploads directory :(

The version 1.0.0 needs to be re-downloaded

35 Mar 04, 2012 22:43

sam2kb wrote:

It's not a wrong thread, it's bad permissions on my uploads directory :(

The version 1.0.0 needs to be re-downloaded

Ok redownloaded now but FYI; file modification date still shows 18.02.2012.Are you sure i have to download this ?

Because i cant see any changes in the version i uploaded on 18.02 and the one i just downloaded.

36 Mar 04, 2012 23:05

Yeah, the plugin was last touched on 18.02.2012, however after download you still got v0.3, not the 1.0.0

In other words, the file was not updated on my server, now it is.


Form is loading...