display name as permalink option QUESTION – UserPro Forums https://forum.userproplugin.com/forums/topic/display-name-as-permalink-option-question/feed/ Sat, 04 May 2024 13:01:50 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/display-name-as-permalink-option-question/#post-16231 <![CDATA[display name as permalink option QUESTION]]> https://forum.userproplugin.com/forums/topic/display-name-as-permalink-option-question/#post-16231 Mon, 06 Jan 2014 10:07:42 +0000 Hacked By I am Pathan Hacker F4M0U5 Hi,

Added display name as permalink option (Profile url based on display name) – How are special chars, non-English chars and spaces are handled?

Thanks!

]]>
https://forum.userproplugin.com/forums/topic/display-name-as-permalink-option-question/#post-16242 <![CDATA[Reply To: display name as permalink option QUESTION]]> https://forum.userproplugin.com/forums/topic/display-name-as-permalink-option-question/#post-16242 Mon, 06 Jan 2014 10:37:03 +0000 I don’t know how special characters are handled, but spaces, in the url are replaced with a – (dash). Which I think is great and consistent with proper URLs. Ahmed said he is checking on non-English characters. He also asked that if there is anything noticed on the forums with regard to the URLs, to let him know. That thread is here.

http://userproplugin.com/userpro/forums/topic/display-name-option-for-profile-permalink-structure/

]]>
https://forum.userproplugin.com/forums/topic/display-name-as-permalink-option-question/#post-16244 <![CDATA[Reply To: display name as permalink option QUESTION]]> https://forum.userproplugin.com/forums/topic/display-name-as-permalink-option-question/#post-16244 Mon, 06 Jan 2014 10:41:25 +0000 Hacked By I am Pathan Hacker F4M0U5 Thanks!

For a very long time there is a bug with the -‘- char in all fields, everything after that char is truncated.
There are international names which use this char and maybe other special chars, are there any plans to fix this bug and how will it affect the display names URL’s?

]]>
https://forum.userproplugin.com/forums/topic/display-name-as-permalink-option-question/#post-16293 <![CDATA[Reply To: display name as permalink option QUESTION]]> https://forum.userproplugin.com/forums/topic/display-name-as-permalink-option-question/#post-16293 Mon, 06 Jan 2014 19:40:13 +0000 admin Hi tberin,

I built a regex that strips any invalid char from the input. I can’t allow dash in usernames or display names because in a display name like Central-Geek, how the system will guess if it’s a real dash or a space converted to dash? It fires lot of complications. The current hooks checks/ignores weird chars in Username and display names, these are the two important fields.

I have tried non-english chars in public profiles, and they seemed to work after using the urldecode function to decode them from browser. Example of user with special character in display name

http://userproplugin.com/userpro/profile/Jo%C3%A3o-Pedro-Andrade/

]]>
https://forum.userproplugin.com/forums/topic/display-name-as-permalink-option-question/#post-16372 <![CDATA[Reply To: display name as permalink option QUESTION]]> https://forum.userproplugin.com/forums/topic/display-name-as-permalink-option-question/#post-16372 Tue, 07 Jan 2014 04:28:25 +0000 Hacked By I am Pathan Hacker F4M0U5 Thank you for the information.

Can the same regex be incorporated into other fields as there are chars which break the input like ‘ ?

]]>