PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Installation & Upgrades (http://www.photopost.com/forum/photopost-pro-installation-upgrades/)
-   -   & symbol turns into &amp in fields (http://www.photopost.com/forum/photopost-pro-installation-upgrades/126440-symbol-turns-into-amp-fields.html)

Fortissimo August 5th, 2006 12:40 PM

& symbol turns into &amp in fields
 
Whenever you type a & into a field, it turns into &amp. Is there a fix for this?

Fortissimo August 8th, 2006 04:11 PM

Anyone on this please?

Chuck S August 8th, 2006 11:06 PM

& should be &amp but that should never be displayed unless its a url

Fortissimo August 9th, 2006 08:25 AM

Quote:

Originally Posted by Chuck S (Post 1167674)
& should be &amp but that should never be displayed unless its a url

It is in a URL. We have the option to link to an outside source, which means posting a link. When it changes the &, it messes up the link. Is there a way to fix this? I know that there are other Photopost galleries that have it so that it does not change it in the fields...

Chuck S August 9th, 2006 08:28 AM

where are you talking about in the program though?

Fortissimo August 9th, 2006 11:09 AM

Here is an example:
http://www.gottapixel.net/gallery/sh...00/ppuser/5767

Scroll down to where it says "Link to Kit: (please link to kit not site):"

It is converting this link
http://www.scrapbookersplayground.co...oducts_id=2149
into this:
http://www.scrapbookersplayground.co...oducts_id=2149

Chuck S August 9th, 2006 04:22 PM

If thats say extra 1 field try removing this in showphoto.php

Code:

Content visible to verified customers only.

Fortissimo September 8th, 2006 04:44 PM

Removed that from the code, however it the issue is still there.

Here is an example
http://www.gottapixel.net/gallery/sh...00/ppuser/2564

I pasted in the URL of
http://www.scrapbookersplayground.co...oducts_id=2149

It converts it incorrectly.

Chuck S September 8th, 2006 05:49 PM

Code:

Content visible to verified customers only.

Fortissimo September 8th, 2006 08:13 PM

I do not have that code in showphoto.php

Chuck S September 8th, 2006 08:19 PM

Make the line that ;)

Fortissimo September 12th, 2006 10:17 AM

I changed

$extra1 = convert_markups($extra1);

to

$extra1 = un_htmlspecialchars($extra1);

Still does not fix it.

Chuck S September 12th, 2006 11:35 AM

My post was an example you need to do that to $extra4 since that is the variable that has the url on your specific install.

Fortissimo September 12th, 2006 02:05 PM

I'm sorry, but your replies are bit to cryptic for me to understand. Can you please explain exactly what needs to be found in the code and exactly what it needs to be changed to? Thanks.

Chuck S September 12th, 2006 02:10 PM

Code:

Content visible to verified customers only.
Your $extra4 line should read that above

Fortissimo September 12th, 2006 04:54 PM

I do not have any code, even remotely resembling the above in my showphoto.php

Chuck S September 12th, 2006 05:40 PM

http://www.photopost.com/forum/showp...24&postcount=7

You have an $extra4 line that looks like that make it this

http://www.photopost.com/forum/showp...7&postcount=15


All times are GMT -5. The time now is 05:00 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97