PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
TheosEleos
Life Cycles Becoming CPU Cycles


Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Sun Oct 19, 2003 9:52 am Reply with quote Back to top

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".
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Oct 19, 2003 10:22 am Reply with quote Back to top

I don't see any difference ???
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
TheosEleos
Life Cycles Becoming CPU Cycles


Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Sun Oct 19, 2003 10:28 am Reply with quote Back to top

Oy!

Welcome to pHenyl's House!
View user's profile Send private message Visit poster's website AIM Address ICQ Number
TheosEleos
Life Cycles Becoming CPU Cycles


Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Sun Oct 19, 2003 10:29 am Reply with quote Back to top

WOW!

I paste it one way and your board shows it different. Can I email this to you?
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Oct 19, 2003 10:31 am Reply with quote Back to top

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
TheosEleos
Life Cycles Becoming CPU Cycles


Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Sun Oct 19, 2003 10:39 am Reply with quote Back to top

What email you want me to send it to?
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Oct 19, 2003 10:42 am Reply with quote Back to top

Just click on my email button in my posts Smile
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
TheosEleos
Life Cycles Becoming CPU Cycles


Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Sun Oct 19, 2003 10:46 am Reply with quote Back to top

I guess I am blind. I don't see it! Laughing
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Oct 19, 2003 10:48 am Reply with quote Back to top

Now do you? I reset the indicator.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
TheosEleos
Life Cycles Becoming CPU Cycles


Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Sun Oct 19, 2003 10:51 am Reply with quote Back to top

Yup.

It's on its way!
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Oct 19, 2003 10:58 am Reply with quote Back to top

&#039 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?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
TheosEleos
Life Cycles Becoming CPU Cycles


Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Sun Oct 19, 2003 11:01 am Reply with quote Back to top

I don't think so.

The only thing I remember doing is a few changes to try and get the avatar issue fixed.
View user's profile Send private message Visit poster's website AIM Address ICQ Number
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Oct 20, 2003 6:04 am Reply with quote Back to top

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 &#039 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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
TheosEleos
Life Cycles Becoming CPU Cycles


Joined: Sep 18, 2003
Posts: 960
Location: Missouri

PostPosted: Mon Oct 20, 2003 9:02 am Reply with quote Back to top

Quote:
you could modify the message in Your_Account/index.php to translate all &#039 to a single tick mark


How do I do this one?
View user's profile Send private message Visit poster's website AIM Address ICQ Number
devilchi
New Member
New Member


Joined: Aug 21, 2006
Posts: 6

PostPosted: Sun Jan 18, 2009 8:30 pm Reply with quote Back to top

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.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Jan 18, 2009 10:11 pm Reply with quote Back to top

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. Smile

I have locked the thread because of the age Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum