I'm running Photopost Pro 6.2 and vBulletin 3.8.1, and running some video tests.
When I upload a video and the optional thumbnail, the BBCode for the Linked Thumbnail is incorrect. It references the correct location (the "thumbs" directory), but the wrong file - "video.mpg", for example, rather than "video.jpg". As a result, when I use that BBCode in the forum, it correctly links to the video but I get a broken image for the thumb. The gallery page, however, displays the correct thumb.
Replaced the code as requested, but got the following when I tried to view anything using showphoto.php:
Parse error: syntax error, unexpected '}' in /home/content/m/a/r/marlinnut/html/pictures/showphoto.php on line 1684
Line 1684 corresponds to the closing bracket in the first nested "if" statement, so I added opening brackets in the 4th line (for the first "$showthumb" statement) and its corresponding statement in the second nested "if".
The good news is that got me past the parse error, but not to a functional solution. Using this code, the BBCode for a linked video thumb references a "mm-video.gif", which isn't among the items in the images folder, so it gives a broken image.
Making things even stranger, after the code change, the BBCode for a standard image no longer includes the thumbnail image in the statement - just a pair of opening and closing IMG tags - if you use the BBCode in a forum post, for example, they appear as text, linked back to the gallery image.
At this point, I can't tell if the issue is the code, the location of my added brackets, or some combination of the two.
The good news is that, using the new code, I don't get the parse error.
The bad news is I still have the same issues - the BBCode for a linked video thumb still calls out for the mythical "mm-video.gif" that doesn't exist, and the linked thumb for an image is still blank - just the URL tags.
For what it's worth, you seem to have the same problem I'm trying to fix ... check the linked thumbnail code in the test video below.
Interesting - there were _two_ differences - the famous "mm-video.gif" was in my version of the code ("mm-ms.gif" in yours) and the image for the Real Media was different ("mm-real.gif" in mine). Enough to make you think I've got some old code floating around.
That solved the broken video image, although I noticed that even if you have a custom thumbnail for a video, you still get the generic one?
My other problem - which was created by our first code change - remains: the blank URL for linked picture thumbnails.
Went back and pulled a fresh copy of showphoto.php, applied the edits from Post 2 and Post 10, and it seems to all be working. Guess there's a lot to be said for starting fresh sometimes - hack away at something long enough, and you'll find a way to corrupt it.
Thanks for all the help, and for showing how "Customer Support" is supposed to work!