1 sam2kb May 04, 2008 09:33
3 tilqicom 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 sam2kb 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 tilqicom 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 tilqicom 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 sam2kb Oct 26, 2008 14:00
If you already have 40+ on 2.4.5 just edit the plugin.
8 tilqicom 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
9 sam2kb Nov 04, 2008 19:51
[url=http://www.beatease.com/web-design.php/b2evolution-hacks/allowing-longer-urls-for-permalinks]Allowing Longer URLs for Permalinks[/url]
10 tilqicom Nov 04, 2008 20:12
sam2kb wrote:
[url=http://www.beatease.com/web-design.php/b2evolution-hacks/allowing-longer-urls-for-permalinks]Allowing Longer URLs for Permalinks[/url]
ty B)
11 tilqicom Nov 06, 2008 02:28
sam2kb wrote:
[url=http://www.beatease.com/web-design.php/b2evolution-hacks/allowing-longer-urls-for-permalinks]Allowing Longer URLs for Permalinks[/url]
i have done the changes as prompted, but the plugin still allows me between 10-40 ::/
12 sam2kb 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 tilqicom 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 sam2kb Mar 20, 2010 17:12
The current version doesn't work in b2evo 3
15 tilqicom 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 sam2kb Mar 20, 2010 23:27
Try changing plugin priority. I don't know why it doesn't work.
17 tilqicom 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 tilqicom 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 sam2kb 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 grem Jan 12, 2011 08:45
Looks like it doesn't work for title with space.
b2evo 4.0.3
21 sam2kb Jan 14, 2011 07:21
What errors do you get? What happens when you save a post?
22 grem Feb 08, 2011 19:52
Something like this :)
This error appears every time I try to save post
23 sam2kb 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 tilqicom 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 sam2kb Feb 18, 2012 16:50
Plugin updated.
New version 1.0.0 is compatible with b2evolution v4.1 and v5
26 sam2kb 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 tilqicom 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
28 tilqicom Feb 18, 2012 20:06
sam2kb wrote:
[url=http://www.beatease.com/web-design.php/b2evolution-hacks/allowing-longer-urls-for-permalinks]Allowing Longer URLs for Permalinks[/url]
BTW, the link is dead for core hack for making the url's longer in 2.4.5 +
Any pointers ?
29 tilqicom 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 sam2kb 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 tilqicom 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 sam2kb 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
33 tilqicom Mar 04, 2012 21:24
sam2kb wrote:
The darn files were not updated after I uploaded a newer version.
Please re-download the plugin and reinstall it
Wrong thread, duplicate post ? : http://forums.b2evolution.net/viewtopic.php?p=112726#112726
or should i re-download this plugin as well ?
34 sam2kb 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 tilqicom 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 sam2kb 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.
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