Codoforum related discussions
Bug in using UTF8 Characters in URL / Router

Hi, this is my first post here smile

I have installed your great software in my local xampp , I can't use UTF8 Characters in the "category name", when I use a completely Utf8 name like "آزمایش سرفصل" I can see the name and Icon in front page of site but I get this URL:

http://localhost/codoforum/index.php?u=/category/

and when I click it nothing happen,

when I use "test category" as the name of category, everything is ok and I get this URL :

http://localhost/codoforum/index.php?u=/category/test-category

I found similar problem here:

http://stackoverflow.com/questions/13601477/zf2-utf8-characters-in-url-router

but I don't know How to fix It,

thank you for your great forum,

best regards,
Hamid

Hi, this is my first post here :) I have installed your great software in my local xampp , I can't use UTF8 Characters in the "category name", when I use a completely Utf8 name like "آزمایش سرفصل" I can see the name and Icon in front page of site ** but I get this URL**: http://localhost/codoforum/index.php?u=/category/ and when I click it nothing happen, when I use "test category" as the name of category, everything is ok and I get this URL : http://localhost/codoforum/index.php?u=/category/test-category I found similar problem here: http://stackoverflow.com/questions/13601477/zf2-utf8-characters-in-url-router but I don't know How to fix It, thank you for your great forum, best regards, Hamid

I have tested it using the "How to write a hello world plugin" Article

https://codoforum.com/documentation/how-to-write-a-hello-world-plugin

and used this code:

<?php

  dispatch("سلام-دنیا/", function(){

    echo "Hello, World!";

  });

and tried this url:

http://localhost/codoforum/index.php?u=سلام-دنیا/

And it worked without any problem !
I have been confused smile

sorry for my bad English !

I have tested it using the &quot;How to write a hello world plugin&quot; Article https://codoforum.com/documentation/how-to-write-a-hello-world-plugin and used this code: ```` &amp;lt;?php dispatch(&quot;سلام-دنیا/&quot;, function(){ echo &quot;Hello, World!&quot;; }); ```` and tried this url: http://localhost/codoforum/index.php?u=سلام-دنیا/ And it worked without any problem ! I have been confused :) sorry for my bad English !

I Have installed a new fresh "Codoforum" again, without any change, I created a category with name "
آزمایش دسته بندی فارسی" , But problem exist smile

I Have installed a new fresh &quot;Codoforum&quot; again, without any change, I created a category with name &quot; آزمایش دسته بندی فارسی&quot; , But problem exist :S

Hi,

We have found the bug.
It happens because only the characters A-Z, a-z and 0-9 are allowed in the function that generates the url friendly title.

We will fix this in our next version.

Hi, We have found the bug. It happens because only the characters A-Z, a-z and 0-9 are allowed in the function that generates the url friendly title. We will fix this in our next version.
edited Dec 14 '14 at 11:45 am

Thank you smile

Another problem, perhaps it is not a problem !

when I try to edit a topic, I can't change the category, so when a user post a topic in a wrong place, how to move it to another category?

Thank you ;) Another problem, perhaps it is not a problem ! when I try to edit a topic, I can&#039;t change the category, so when a user post a topic in a wrong place, how to move it to another category?

We have yet to add the moderation features like move, merge, split etc.

We have yet to add the moderation features like move, merge, split etc.
220
5
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft