miniBB Support Forums | 17 years on The Web
miniBB ® 

miniBB

®
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /   
 

special characters in username

 
Author hamburg53
Partaker
#1 | Posted: 16 May 2019 21:35 
Hi,

just set up a very new forum, and allowed to register by german special character as: $userRegName='_A-Za-z0-9 äÄéöÖüÜß-';

That works for the username when they login with special character in the name and all names are well displayed. Only the notification mail (email_user_register_ger) does display the ISO-Code which is confusing for the user. Where can I change anything to get the original special characters into the username of the notification mail ?

Stefan

Author Paul
Lead Developer
#2 | Posted: 16 May 2019 21:53 
So - have you set up your forums in UTF-8 or they are still in "iso-8859-1"?

We would definitely recommend to set up them in UTF-8 for German language. Despite the German language pack is available in ISO only by now, we couldn't change it a lot, 'cause German chars are not available on our country. But you could do it easily, converting the language pack and all templates supplied in the current language pack, to UTF-8 (for example, using Notepad2 or another simple editor).

If you still would like to run the forums in ISO, then at first you could try to modify templates/email_admin_userregister_ger.txt and maybe you'd need just to change a few characters there which your server might interpret improperly.

Second, make an attempt to modify the $emailCharset option (described in the Manual - remove commenting slashes to enable it), trying to set a proper email encoding which should be passed to the "charset" header while emailing. Example:

$emailCharset='iso-8859-1';


Author hamburg53
Partaker
#3 | Posted: 21 May 2019 14:14 
Now all is in utf-8 and seems to work ;)

Stefan

Author Paul
Lead Developer
#4 | Posted: 21 May 2019 14:45 
hamburg53
If you could re-submit to us the fixed German language packs in UTF-8, that would be great! :)

Specific miniBB Support Forums / Specific /
 special characters in username
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


 ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.

 ⇑