| View previous topic :: View next topic |
| Author |
Message |
sam2kb da ruski mafia
Joined: 02 Dec 2007 Posts: 2927
   votes: 53
|
Posted: Sun May 04, 2008 2:33 Post subject: [Plugin] Translit URLs - nice urls from non-ASCII titles |
|
|
Read in Russian / Русская страница плагина
Do you use non-ASCII characters in post titles? If you do you probably know how your links look like
Download v0.3
It replaces post title's characters using a given pattern. By default it set to transliterate all Russian/Ukrainian letters to Latin, but you can set 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 want.
| Quote: |
Version 0.2
fixed: plugin generated wrong url titles for existing posts
Version 0.3
New: now it's possible to crop url titles to selected number of characters |
_________________ Russian b2evolution | Download
Last edited by sam2kb on Fri Nov 13, 2009 20:48; edited 4 times in total |
|
| Back to top |
|
 |
sam2kb da ruski mafia
Joined: 02 Dec 2007 Posts: 2927
   votes: 53
|
Posted: Mon May 26, 2008 16:19 Post subject: |
|
|
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 _________________ Russian b2evolution | Download |
|
| Back to top |
|
 |
tilqicom Guru

Joined: 14 Nov 2007 Posts: 1624
       votes: 20
|
Posted: Sat Oct 18, 2008 10:20 Post subject: |
|
|
| 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 _________________
.: linkback ≠ spam, yes to linkback, no to spam  |
|
| Back to top |
|
 |
sam2kb da ruski mafia
Joined: 02 Dec 2007 Posts: 2927
   votes: 53
|
Posted: Sat Oct 18, 2008 10:26 Post subject: |
|
|
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. _________________ Russian b2evolution | Download |
|
| Back to top |
|
 |
tilqicom Guru

Joined: 14 Nov 2007 Posts: 1624
       votes: 20
|
Posted: Sat Oct 18, 2008 10:31 Post subject: |
|
|
| 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 _________________
.: linkback ≠ spam, yes to linkback, no to spam  |
|
| Back to top |
|
 |
tilqicom Guru

Joined: 14 Nov 2007 Posts: 1624
       votes: 20
|
Posted: Sun Oct 26, 2008 7:37 Post subject: |
|
|
| 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 ? _________________
.: linkback ≠ spam, yes to linkback, no to spam  |
|
| Back to top |
|
 |
sam2kb da ruski mafia
Joined: 02 Dec 2007 Posts: 2927
   votes: 53
|
Posted: Sun Oct 26, 2008 8:00 Post subject: |
|
|
If you already have 40+ on 2.4.5 just edit the plugin. _________________ Russian b2evolution | Download |
|
| Back to top |
|
 |
tilqicom Guru

Joined: 14 Nov 2007 Posts: 1624
       votes: 20
|
Posted: Tue Nov 04, 2008 13:40 Post subject: |
|
|
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 _________________
.: linkback ≠ spam, yes to linkback, no to spam  |
|
| Back to top |
|
 |
sam2kb da ruski mafia
Joined: 02 Dec 2007 Posts: 2927
   votes: 53
|
|
| Back to top |
|
 |
tilqicom Guru

Joined: 14 Nov 2007 Posts: 1624
       votes: 20
|
Posted: Tue Nov 04, 2008 14:12 Post subject: |
|
|
ty  _________________
.: linkback ≠ spam, yes to linkback, no to spam  |
|
| Back to top |
|
 |
tilqicom Guru

Joined: 14 Nov 2007 Posts: 1624
       votes: 20
|
Posted: Wed Nov 05, 2008 20:28 Post subject: |
|
|
i have done the changes as prompted, but the plugin still allows me between 10-40 ::/ _________________
.: linkback ≠ spam, yes to linkback, no to spam  |
|
| Back to top |
|
 |
sam2kb da ruski mafia
Joined: 02 Dec 2007 Posts: 2927
   votes: 53
|
Posted: Wed Nov 05, 2008 23:13 Post subject: |
|
|
It's true, the plugin compares b2evo versions (and it's still < 2.5)
Open it and edit lines 79,80
| PHP: |
$s = '40';
$maxlength = 2;
|
to
| PHP: |
$s = '200';
$maxlength = 3;
|
_________________ Russian b2evolution | Download |
|
| Back to top |
|
 |
tilqicom Guru

Joined: 14 Nov 2007 Posts: 1624
       votes: 20
|
Posted: Sat Mar 20, 2010 9:06 Post subject: |
|
|
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 _________________
.: linkback ≠ spam, yes to linkback, no to spam  |
|
| Back to top |
|
 |
sam2kb da ruski mafia
Joined: 02 Dec 2007 Posts: 2927
   votes: 53
|
Posted: Sat Mar 20, 2010 11:12 Post subject: |
|
|
The current version doesn't work in b2evo 3 _________________ Russian b2evolution | Download |
|
| Back to top |
|
 |
tilqicom Guru

Joined: 14 Nov 2007 Posts: 1624
       votes: 20
|
Posted: Sat Mar 20, 2010 14:34 Post subject: |
|
|
it does work when i manually type in the title.
it just doesnt with that plugin i ve mentioned.
So any clues ? _________________
.: linkback ≠ spam, yes to linkback, no to spam  |
|
| Back to top |
|
 |
|