Author |
Message |
TheosEleos
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/452277fe41264f95e30eb.gif)
Joined: Sep 18, 2003
Posts: 960
Location: Missouri
|
Posted:
Sun Oct 19, 2003 9:52 am |
|
I had someone forward me a copy of their confirmation email and the site name has some weird symbols in it.
Quote: | Welcome to pHenyl's House! |
It is supposed to be called "pHenyl's House". |
_________________ Only registered users can see links on this board! Get registered or login! |
|
![ICQ Number ICQ Number](themes/RavenIce/forums/images/lang_english/icon_icq_add.gif) |
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sun Oct 19, 2003 10:22 am |
|
I don't see any difference ??? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
TheosEleos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 19, 2003 10:28 am |
|
Oy!
Welcome to pHenyl's House! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
TheosEleos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 19, 2003 10:29 am |
|
WOW!
I paste it one way and your board shows it different. Can I email this to you? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 19, 2003 10:31 am |
|
Sure, but are you saying this is a confirmation email from your site to a new registrant? If so, you will need to also send me your zipped language file that has the confirmation email text in it, because that will probably be the problem. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
TheosEleos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 19, 2003 10:39 am |
|
What email you want me to send it to? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 19, 2003 10:42 am |
|
Just click on my email button in my posts ![Smile](modules/Forums/images/smiles/icon_smile.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
TheosEleos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 19, 2003 10:46 am |
|
I guess I am blind. I don't see it! ![Laughing](modules/Forums/images/smiles/icon_lol.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 19, 2003 10:48 am |
|
Now do you? I reset the indicator. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
TheosEleos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 19, 2003 10:51 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 19, 2003 10:58 am |
|
' is the html entity code for a single quote mark. I was not aware that nuke was filtering that message or the site url. That will take some digging. Are you using any mods to the Your_Account module? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
TheosEleos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Oct 19, 2003 11:01 am |
|
I don't think so.
The only thing I remember doing is a few changes to try and get the avatar issue fixed. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 20, 2003 6:04 am |
|
It looks like that's the default behavior (or misbehavior). If you look in admin/modules/settings.php you will find this line:
$xsitename = htmlentities($xsitename, ENT_QUOTES);
That's where the sitename contents get converted to special entities if there is a single or a double quote in it. You could try commenting that line out or you could modify the message in Your_Account/index.php to translate all ' to a single tick mark. Keep in mind that if you modify the $xsitename variable, I don't know how that may be tied to some other code. It's probably not to dangerous to comment it out, but just test it well. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
TheosEleos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 20, 2003 9:02 am |
|
Quote: | you could modify the message in Your_Account/index.php to translate all ' to a single tick mark |
How do I do this one? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
devilchi
New Member
![New Member New Member](modules/Forums/images/ranks/1star.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Aug 21, 2006
Posts: 6
|
Posted:
Sun Jan 18, 2009 8:30 pm |
|
I don't know if this will help out anyone else but my quick fix for this was to make this change in
File: admin/modules/settings.php
Change Line: $xsitename = htmlentities($xsitename, ENT_QUOTES);
To This: $xsitename = htmlentities($xsitename, ENT_COMPAT);
This will make it so double quotes will be striped but single quotes will be left alone.
Even if you wrap the site name in single quotes it displays no problem.
Now I have taken the whole line out and tested and if for some reason people were to put double quotes around the whole site name. It would not show up in the preference page but would still work in the title and emails etc.
Hope this helps out a few people as this sites helped me out so many times. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sun Jan 18, 2009 10:11 pm |
|
devilchi,
Welcome to the forums and thank you for adding your experience with this. However, this thread is over 5 years old and the cause/fix probably no longer applies. We do try not to open threads more than a year or so old.
I have locked the thread because of the age ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|