Image Scroller - based on Filmstrip - Page 5 Image Scroller - based on Filmstrip - Page 5
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Image Scroller - based on Filmstrip

Started by rphMedia, December 05, 2004, 05:18:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rallemann

Sorry .. I have a problem with this hack, too

I added the script into anycontent.php
I've also uploaded the flash files and the flashthumb.php

www.ugly-king.de/fotos/anycontent.php
(perhaps you are not allowed to see some pictures...it does not care)

How the filmstrip of anycontent.php appears on the frontpage of my gallerie??

I know that I can change the preference in the admin preference section.

Quote/lastup/onlinestats/breadcrumb/catlist/alblist/

But
What have I to add?

Pls help me..

thanx for support and the whole coppermind dev team =)


Tranz

You need to add anycontent to that list.

Rallemann

well

now a fatal error appears

QuoteFatal error: Cannot redeclare cpggetuserdata() (previously declared in /www/htdocs/v032632/fotos/include/init.inc.php:45) in /www/htdocs/v032632/fotos/include/init.inc.php on line 45

http://ugly-king.de/fotos

kegobeer

Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Rallemann

<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.2                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002-2004 Gregory DEMAR                                     //
// http://www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// (http://coppermine.sf.net/team/)                                          //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify      //
// it under the terms of the GNU General Public License as published by      //
// the Free Software Foundation; either version 2 of the License, or         //
// (at your option) any later version.                                       //
// ------------------------------------------------------------------------- //
// CVS version: $Id: anycontent.php,v 1.5 2004/07/24 15:03:52 gaugau Exp $
// ------------------------------------------------------------------------- //

define('IN_COPPERMINE'true);
require(
'include/init.inc.php');

starttable($CONFIG['picture_table_width'], 'Random scroll from our gallery.');
?>

<tr>
    <td class="tableb" >
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="190" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
                <param name="menu" value="false">
                <param name="bgcolor" value="#000000">
                <param name="movie" value="main.swf" />
                <param name="play" value="true" />
                <param name="loop" value="false" />
                <param name="quality" value="high" />
                <embed src="main.swf" width="600" height="190" loop="false" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" swliveconnect="true">
                </embed>
            </object>
    </td>
</tr>
<?php endtable(); ?>
<br  />


rphMedia

It appears to be a permissions problem.  If you don't have any "public" images, the original script won't work. In other words, all of your images are in private albums, correct? And if this is true, how are you going to show random images? I guess you could try logging in to see if it works, not really sure about that though (or the error above).

kegobeer

Don't require init.inc.php in your anycontent.php file.  init.inc.php has already been included, so by doing a require statement you are attempting to redeclare functions which results in your error message.  Remove your require line and you should be ok.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

rphMedia

Ooo, didn't catch that....but there's still issues with the flashthumb.php file.  It's not picking up any images, just so you know.  You need to make one or more albums public.

Rallemann

thanks a lot

now it works fine :)

@ rphMedia

you're right...
I'll make it soon

canelli

great mod.   I will just use it in my web site !!

to meet internationalization I suggest change the line

starttable($CONFIG['picture_table_width'], 'Random scroll from our gallery.');


with

starttable($CONFIG['picture_table_width'], $lang_meta_album_names['random']);


so you can keep the filmstrip title from the translated "random" album name


typhooner

Hey does anyone have the original .fla file for this...I have been trying to do something like this for some time and would love to see how this thing works....Thanks
If you have it an don't want to post it could you send it to

jasonwsaz@gmail.com

Thanks
Hey everyone,  Help a poor college student get a free laptop (ibook)...follow this link and sign up for one of the offers...Then cancel it before the free trial ends.  Thanks
http://www.notebooks4free.com/default.aspx?r=266256

Joachim Müller

I removed the other thread where you requested the very same thing - do not cross-post in the future. One reason for your request not being answered may be: nobody has got the fla file anymore, or nobody is willing to give it away. It is more likely that the owner of the fla file will read this thread than any other thread you start, so if there's no answer, you probably simply can't have it. I guess there are good reasons why the fla file hasn't been published in the first place.

Joachim

Dogman

Is there a chance to get this Mod work for "Coppermine Photo Gallery v1.2.2b-Nuke"...???

I think the pathes in the ".swf"- Files ( especially: "main.swf" ) differ/depend on coppermine-ROOT in the different coppermine-Versions...???

Dogman 8)

Joachim Müller


rphMedia

OK, I'm back.  GauGau is right.  I don't want to give away the fla files for a few reasons, one being, I don't have the time to "support" the internals of what's going on.  It's actually two fla's for this particular mod.  I'm not trying to be mean or anything, but if you know Flash well enough, you could really create these yourselves.  If you don't, then we get back to you needing help with them, and I'm really sorry; just don't have the time lately.  The way I learned (besides knowing a bit of flash itself) was by trial and error, manipulating the php files and getting the xml parse output.  Not that hard if you spend some time with it.

The "nuke" part.  Don't have a clue.  I couldn't even begin to start to know what that structure is like, sorry.  You may be able to point to a folder or folders, but that's as far as I'll reach for that  :)

I will be in and out if there are any questions with the generalities of the mod.

Dogman

Got it...

Thank you for this great Mod... ;D

Dogman  8)

raummusik

#96
hoi,

nice mod, i changed now 3times my post hehe.. i just had an idea... is it possible just to add this moving filmstrip inside a normal html file ? also i need the "filmstrip" swf to be "clickable" -> which points to the gallery itself. this would be more than phat... <- solved that by doing a 0815 a href around the object tag. fine! ;) . now i just need to know how to remove the annoying filmstrip. the .swf has to be edited or ?

can somebody help me out , also i dont need those "film strip" (hollywood super 8 like ) , i just need the pictures... any ideas ? im fool, i thought thumbvert.swf would solve it hehe ;) but its for vertical not horizontal. perhaps someone got an idea ?   below my code :




<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.0                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002,2003 Gregory DEMAR                                     //
// http://www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify      //
// it under the terms of the GNU General Public License as published by      //
// the Free Software Foundation; either version 2 of the License, or         //
// (at your option) any later version.                                       //
// ------------------------------------------------------------------------- //
/*
$Id: anycontent.php,v 1.7 2004/03/16 09:26:18 gaugau Exp $
*/

starttable('100%''Filmstreifen.');
?>

<tr>
   <td class="tableb" >
           <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="715" height="190" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
               <param name="wmode" value="transparent">
               <param name="menu" value="false">
               <param name="bgcolor" value="#000000">
               <param name="movie" value="main.swf" />
               <param name="play" value="true" />
               <param name="loop" value="false" />
               <param name="quality" value="high" />
               <embed src="main.swf" wmode="transparent" width="715" height="190" loop="false" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" swliveconnect="true">
               </embed>
           </object>
   </td>
</tr>
<?php endtable(); ?>
<br  />

cyber6

Here is my anycontent.php;

<?php
/*************************
 Coppermine Photo Gallery
 ************************
 Copyright (c) 2003-2005 Coppermine Dev Team
 v1.1 originaly written by Gregory DEMAR

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 ********************************************
 Coppermine version: 1.3.3
 $Source: /cvsroot/coppermine/stable/anycontent.php,v $
 $Revision: 1.6 $
 $Author: gaugau $
 $Date: 2005/04/19 03:17:10 $
**********************************************/

?>

starttable($CONFIG['picture_table_width'], 'Random scroll from our gallery.');
?>
<tr>
<td class="tableb" >
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="600" height="190" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
<param name="menu" value="false">
<param name="bgcolor" value="#000000">
<param name="movie" value="main.swf" />
<param name="play" value="true" />
<param name="loop" value="false" />
<param name="quality" value="high" />
<embed src="main.swf" width="600" height="190" loop="false" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" swliveconnect="true">
</embed>
</object>
</td>
</tr>
//<?php endtable(); ?>
<br />

I get the error 'call to undefined function' that you can see at;
http://www.cybertek.cc/coppermine/anycontent.php

...although the movie runs OK.

Please help a newbie sort out his php!

Thanks in advance.

rphMedia

You need to add the anycontent to your config in the Admin Control Panel.

ie - breadcrumb/catlist/alblist/anycontent/lastup,2

cyber6

Thanks for the quick reply rphMedia.
I have added anycontent to the config but still get the same error message you can see here;

http://www.cybertek.cc/coppermine/anycontent.php

The image scroller functions in the gallery but there is still a problem;

http://www.cybertek.cc/coppermine

...code showing and bottom of gallery distorted. ???