View Full Version : Upload Description Issue &amp;amp;
October 5th, 2008, 11:49 AM
Vi besökte Sofia &amp;amp;amp; Johan den 12 Juli 2008
You may not understand what it means but there should just be an &
So when I wrote & on the main page I got an & instead on the first page and on the second I got &amp; and so on until I got &amp;amp;amp; on the fourth...
October 5th, 2008, 01:39 PM
maybe something to do with language files?..
October 5th, 2008, 02:42 PM
no no, this is just entered text in the description field for a photo... and when you use an & it turns into an & ... but then photopost on the next batch of 10 photos (next page) sees the & in & and changes it again!
What Michael needs to do is make sure that the transformation from & to & only happens when the entry is stored in the database or even better only when it's displayed in the showphoto page...
October 5th, 2008, 04:17 PM
actually easy fix in showphoto.php this block of code remove the // and things should display fine.
//if ( VB3_ENHANCEDINT == "on" )
// $desc = un_htmlspecialchars(convert_markups($desc));
$desc = convert_returns(convert_markups($desc));
October 5th, 2008, 04:24 PM
well, this is already commented out in the latest version...
The problem is while uploading... in the bulkuploader called after the flash uploader has done its deed.... then a & in a description or a keyword will make things bad on consecutive pages if you upload many files..
This is also connected to the fact that the last description of the first page as well as the keywords are copied to the next page...
Michael needs to store the inputs from the upload page so that will be unaltered for all the pages (when processing the thumbnails).... otherwise it will mess things up like I wrote in the first post in this topic...
October 5th, 2008, 07:15 PM
I think you misunderstood you need to remove the commenting out as in remove // from the code and it should display correct.
October 7th, 2008, 05:58 PM
Make sure you have the bulkupload.php from the last update; I believe this was resolved in that update.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.