PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old November 5th, 2009, 04:17 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 39
Html Code in Description Box Not Recognized

Over time I've added a lot of links in the description box under the photos, but now since I've upgraded, the html isn't recognized. I've looked and looked I don't see any options than need changing in the admin.

It still works fine in my old setup on my other site's gallery.

Please help. I'd lose a lot of links if I can't get the html to work again.
tvcrazyman is offline   Reply With Quote
Old November 5th, 2009, 04:51 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
well what do you mean here?

example?

If I enter a link it works for me here
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 5th, 2009, 05:08 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 39
Look in the Photo details box

Superhero Art Gallery - Smallville

It says "<a href="http://www.amazon.com/exec/obidos/ASIN/B000G1R4SO/ref=nosim/amazoncode?SubscriptionId=09FVDRT8TEJ64C2A7Y02">
<font color="#0000ff"><br>
Buy The Fifth Season DVD set</font></a>"

The code worked right before. Now all it does is show the code instead of the link I posted. It still works when I post links like that in the comments boxes. Just not in the description boxes.
tvcrazyman is offline   Reply With Quote
Old November 5th, 2009, 05:30 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
oh your typing html no that does not work we dont render html for security reasons.

Typing this in a description works

Amazon.com: Smallville - The Complete Fifth Season: Tom Welling: Movies & TV

See you want to use html so I would suspect you have modified your other sites to allow html

It is really as simple as adding an extra line like this where desc is defined

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 5th, 2009, 05:43 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 39
Ok, well it works on my older version at my other site, and it worked right before I upgraded.

So all I got to do is add this line?

$desc = un_htmlspecialchars($desc);


Can you tell me exactly where to add it to. Or if you could just give me the line I need to do a search for in my html-kit. Is that on the showphoto.php page?

I'd appreciate it.

Thanks
tvcrazyman is offline   Reply With Quote
Old November 5th, 2009, 05:45 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
yeah thats what I think you would have had to do in your other version.

Yeah you just need an extra one of those lines in the showphoto.php file

Add it right under the other $desc lines
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 5th, 2009, 05:46 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 39
Another thing I need to tell you if it helps. When I put back the old showphoto.php the html works, but then the next images and previous images are gone if I do that.
tvcrazyman is offline   Reply With Quote
Old November 5th, 2009, 05:48 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 39
Added it under

$desc = un_htmlspecialchars(convert_markups($desc));

and it still doesn't work.
tvcrazyman is offline   Reply With Quote
Old November 5th, 2009, 05:57 PM   #9 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
Dont add it within any if loops

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old November 5th, 2009, 06:16 PM   #10 (permalink)
Member
Verified Customer
 
Join Date: Mar 2006
Posts: 39
Awesome, that works!
tvcrazyman is offline   Reply With Quote
Old November 5th, 2009, 07:10 PM   #11 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,659
have a good evening
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML in product description MoMan2 ReviewPost How do I...? 6 February 2nd, 2008 09:29 AM
How to change html code box largudon General Discussion 1 October 4th, 2006 07:39 AM
HTML in Description tommyxv ReviewPost How do I...? 1 June 14th, 2006 09:25 AM


All times are GMT -5. The time now is 12:54 PM.

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