PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   Filmstrip at bottom (http://www.photopost.com/forum/photopost-pro-how-do-i/114363-filmstrip-bottom.html)

mjm June 8th, 2005 03:20 AM

Filmstrip at bottom
 
Very cool with the 5.11 easy admin option to change location of thumbnail preview filmstrip! Thanks!!

Hopefully one day this will be viewer or member optional.

Dang it, after all this I want to leave the filmstrip where it was in 5.03.

Can I trouble you to provide a replacement for the current filmstrip-bottom template with it as shown in 5.03?

-------------SHOWPHOTO--------------
Click on image to view larger image
---------------Filmstrip-----------------

My wife/installer is losing too much sleep over this one.
But my reasoning won out that this is the best way to have it if `one glove must fit all'.

Thanks,
Mark
Looking forward to the day that it's viewer optional

Michael P June 8th, 2005 07:07 AM

Looks like I owe Chuck $5.

Chuck S June 8th, 2005 08:10 AM

Just take this code on line 330 and move to line 84 of showphoto.tmpl

$filmstrip_bottom

mjm June 8th, 2005 08:37 AM

:)xox:)

oceanart June 13th, 2005 07:39 PM

I implemented this and I got an error:
Parse error: parse error, unexpected T_ECHO on line 86.

I simply took line 330 and moved it to line 84 of showphoto.tmpl (meaning I removed line 330)

Do I need to do anything else ?

I also preffer the filmstrip in 5.03 (old habits never die)

Paul

Chuck S June 13th, 2005 08:07 PM

If all you moved is $filmstrip_bottom and moved it where told you should not get an error.

oceanart June 14th, 2005 12:47 AM

Hi Chuck,

I don't know what I could be doing wrong - it's a simple change :confused:

The error looks like this:
Quote:

Parse error: parse error, unexpected T_ECHO in /...../gallery/templates/vb3enhanced/showphoto.tmpl on line 85
The code looks like this after I moved the phrase to line 84:

Quote:

if ( $Globals['disptitle'] == "yes" ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['menubar']}" align="center"><b>$title</b></td>
</tr>
PPPRINT;
}
$filmstrip_bottom
echo<<<PPPRINT
</table>
</td>
</tr>
</table>
$videodisp
$altlink<br />
PPPRINT;

Chuck S June 14th, 2005 07:26 AM

Okay something has changed in that template LOL its line 86 now

if ( $Globals['disptitle'] == "yes" ) {
echo<<<PPPRINT
<tr>
<td class="{$Style['menubar']}" align="center"><b>$title</b></td>
</tr>
PPPRINT;
}

echo<<<PPPRINT
$filmstrip_bottom
</table>
</td>
</tr>
</table>
PPPRINT;

oceanart June 14th, 2005 09:57 AM

1 Attachment(s)
I am not getting the error anymore ... (now that I realized where I put it - above the echo - it makes sense .. aj, jaj - a real newbee)

.. but the display (see attached) has the first thumbnail alligned under the large, and the rest is offset.

:)

Paul

Chuck S June 14th, 2005 10:47 AM

<td class="{$Style['tdbackground']}" valign="top" align="center" colspan="$colspan2">


make the colspan 5 instead $colspan2. Your changing things from the default coding so one more easy tweak

oceanart June 16th, 2005 01:06 AM

Hi Chuck,

Finally I figured it out the fix is to move line 330 $filmstrip_bottom to line 90 (v5.11)


Quote:

echo<<<PPPRINT
</table>
</td>
</tr>
</table>
$filmstrip_bottom
$videodisp
$altlink<br />
PPPRINT;
... solving one problem at a time ...

:)

Paul

funkmiester January 25th, 2006 12:06 AM

For 5.3 - where do I make the change to have the $filmstrip_bottom display the thumbs on the bottom of the page vs. the top when in showphoto.php??

I tried the changes mentioned above, but don't get anything showing on the bottom. I can remove the filmstrip by removing $filmstrip_top but I would prefer to have them, but on the bottom :)

Thanks in advance.

EDIT:
Nevermind - figured it out....it's late :)

funkmiester January 25th, 2006 10:38 AM

Huh....thought I had this licked, but apparently not!!

So as I asked earlier....where do I make the change to have the $filmstrip_bottom display the thumbs on the bottom of the page vs. the top when in showphoto.php??

I tried the changes mentioned above, but don't get anything showing on the bottom. I can remove the filmstrip by removing $filmstrip_top but I would prefer to have them, but on the bottom only.

Chuck S January 25th, 2006 10:59 AM

If you use the default files no hacking in Admin => Show Photo Options set this to bottom and it will display on the bottom

Default location of the photo previews?
Determines the location of the film-strip previews on the showphoto page

funkmiester January 25th, 2006 11:25 AM

Quote:

Originally Posted by Chuck S
Default location of the photo previews?
Determines the location of the film-strip previews on the showphoto page

I don't see that option!

funkmiester January 25th, 2006 12:06 PM

Ok, figured out what was going on.

The upgrade.php failed to insert the string for that option, so I manually entered into the database after looking for the right syntax in the upgrade code!! I now have that entry in Show Photo and it's working fine.

My only worry now is that I'm missing other things!

Can you provide a list of what similar new options should be in the database so I can query it and if necessary, manually add them in there.

Any ideas how this happened - I got no errors from the upgrade script when I ran it yesterday?

Chuck S January 25th, 2006 12:29 PM

It would appear to me then you never ran upgrade 5.1 as that is where that query was added.

funkmiester January 25th, 2006 12:55 PM

Quite possibly - guess I will pay closer attention to those, the last few haven't required running upgrade - although I'm pretty sure I ran it when moving from 5.1x to 5.2x - was this extra info added in the 5.1 to 5.11 upgrade? If so, that might be it.

Anyway, things appear ok now, as far as this goes anyways ;) I looked through all the other updates in the upgrade.php and ran queries and it appears I have everything in place and up to date now.

Thanks.

Chuck S January 25th, 2006 02:38 PM

Actually except for 5.2 to 5.21 every single release has required an upgrade script in the past year I do know that ;)

It was in the 5.1 => 5.2 upgrade and there was only that query and one to change the version number


All times are GMT -5. The time now is 08:10 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