Advanced search  

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]

Pages: 1 2 3 4 [5] 6 7 8 9 ... 11   Go Down

Author Topic: Image Scroller - based on Filmstrip  (Read 270939 times)

0 Members and 1 Guest are viewing this topic.

Rallemann

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Image Scroller - based on Filmstrip
« Reply #80 on: March 02, 2005, 11:22:08 pm »

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 =)

Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Image Scroller - based on Filmstrip
« Reply #81 on: March 02, 2005, 11:24:21 pm »

You need to add anycontent to that list.
Logged

Rallemann

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Image Scroller - based on Filmstrip
« Reply #82 on: March 02, 2005, 11:27:02 pm »

well

now a fatal error appears

Quote
Fatal 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Image Scroller - based on Filmstrip
« Reply #83 on: March 03, 2005, 12:49:16 am »

Please post your anycontent code.
Logged
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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Image Scroller - based on Filmstrip
« Reply #84 on: March 03, 2005, 02:37:40 pm »

Code: [Select]
<?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  />

Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #85 on: March 03, 2005, 04:47:50 pm »

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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Image Scroller - based on Filmstrip
« Reply #86 on: March 03, 2005, 05:02:42 pm »

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.
Logged
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

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #87 on: March 03, 2005, 05:09:33 pm »

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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Image Scroller - based on Filmstrip
« Reply #88 on: March 03, 2005, 09:05:06 pm »

thanks a lot

now it works fine :)

@ rphMedia

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

canelli

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 36
  • Fetched by CpmFetch
    • Centro Vela Dervio Sailing club
Re: Image Scroller - based on Filmstrip
« Reply #89 on: March 04, 2005, 11:54:37 am »

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

to meet internationalization I suggest change the line
Code: [Select]
starttable($CONFIG['picture_table_width'], 'Random scroll from our gallery.');

with
Code: [Select]
starttable($CONFIG['picture_table_width'], $lang_meta_album_names['random']);

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

Logged

typhooner

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
    • jasonschwab.com
Re: Image Scroller - based on Filmstrip
« Reply #90 on: March 08, 2005, 11:06:02 am »

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
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Image Scroller - based on Filmstrip
« Reply #91 on: March 10, 2005, 09:37:48 am »

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
Logged

Dogman

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • http://www.thedogman.de
Re: Image Scroller - based on Filmstrip
« Reply #92 on: March 14, 2005, 03:47:39 pm »

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)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Image Scroller - based on Filmstrip
« Reply #93 on: March 14, 2005, 08:20:33 pm »

no support for nuke on this board, read http://forum.coppermine-gallery.net/index.php?topic=13667.0

Joachim
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #94 on: March 14, 2005, 09:11:04 pm »

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

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
    • http://www.thedogman.de
Re: Image Scroller - based on Filmstrip
« Reply #95 on: March 15, 2005, 05:05:59 pm »

Got it...

Thank you for this great Mod... ;D

Dogman  8)
Logged

raummusik

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: Image Scroller - based on Filmstrip
« Reply #96 on: April 13, 2005, 11:25:31 pm »

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 :



Code: [Select]
<?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  />
« Last Edit: April 14, 2005, 12:08:00 am by raummusik »
Logged

cyber6

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Image Scroller - based on Filmstrip
« Reply #97 on: May 02, 2005, 09:13:47 am »

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.
Logged

rphMedia

  • Contributor
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 515
  • ***muvipix.com***
    • muvipix - Music | Video | Pictures
Re: Image Scroller - based on Filmstrip
« Reply #98 on: May 02, 2005, 01:30:57 pm »

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

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

cyber6

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Image Scroller - based on Filmstrip
« Reply #99 on: May 02, 2005, 05:00:32 pm »

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. ???
Logged
Pages: 1 2 3 4 [5] 6 7 8 9 ... 11   Go Up
 

Page created in 0.03 seconds with 20 queries.