Image Scroller - Based on iTunes - Slideshow for Main and Album List Pages - Page 3 Image Scroller - Based on iTunes - Slideshow for Main and Album List Pages - Page 3
 

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 iTunes - Slideshow for Main and Album List Pages

Started by Joe Carver, August 25, 2009, 04:34:03 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Joe Carver

You don't need to double post and quote yourself - I would get a notice when you reply the first time.

You do need to carefully re-read the first post in this thread or the readme.txt file with the plugin.

It is very likely that you have entered incorrectly .....

Admin >> Config >> General Settings >>  URL of your coppermine gallery folder (no 'index.php' or similar at the end

I can reproduce your error if I change/edit/make that error on my test gallery.

amigosek

Sorry for the duplicate posts.
In the 'URL of your coppermine gallery folder' I have the entry www.sztukapogodzinach.pl

Joe Carver

Try: http://www.sztukapogodzinach.pl/
Because that is what you get when you click the link that you posted!

This is the error I now get in my Flash error console
QuoteTypeError: Error #1088: The markup in the document following the root element must be well-formed.
   at MethodInfo-449()
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at flash.net::URLLoader/onComplete()

Since I am now having electrical power issues and because your problem is probably not one of Coppermine and the plugin - once again I will ask you to please re-read the posts in this thread and use the docs that came with your Coppermine.

I strongly recommend that you (and everyone) enable and use:

Config >> General Settings >> Enable help-icons (help available in English only)

hensler

Thank you for the wonderful plugin!
How to make the plugin work with windows-1251. I could not.
Or help me to hide the title image at the top.

plugin v.2.1
CPG v. 1.4.3
http://gallery.yareparhia.ru/index.php

phill104


<!--Coppermine Photo Gallery 1.4.3 (stable)--> :o

You need to start by upgrading to the latest release which is currently 1.4.26.

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade_why
It is a mistake to think you can solve any major problems just with potatoes.

Joe Carver

1) You need to upgrade your Coppermine to ver.1.4.26 - ver1.4.3 is very old - you could be hacked.

2) Try this first to change charset:

Open/edit file plugins/iscroll/flow_link.php:

Find:
$xml = '<?xml version="1.0" encoding="iso-8859-1"?><content>';

Change to:
$xml = '<?xml version="1.0" encoding="windows-1251"?><content>';

If that does not work you can remove the title from flow_link.php
Find:
$xml .= "<image><path><![CDATA[" . $path . get_pic_url($row, $type) . "]]></path><description><![CDATA[" . $title . "]]></description><data><![CDATA[" . $path . "displayimage.php?pos=-" . $row['pid'] . "]]></data></image>";

Replace with:
$xml .= "<image><path><![CDATA[" . $path . get_pic_url($row, $type) . "]]></path><data><![CDATA[" . $path . "displayimage.php?pos=-" . $row['pid'] . "]]></data></image>";

I do not know which "fix" will be better for you - I can not make any test to confirm.
But first ------ 1) You need to upgrade your Coppermine to ver.1.4.26 - ver1.4.3 is very old
Backup up your database and files and do your upgrade!!!



Joachim Müller

You haven't upgraded yet: I'm afraid that hackers won't hesitate to ruin your site, even though it appears to deal with regligious content. Your really, really need to upgrade instantly.

hensler

I upgraded to version 1.4.2.6
Replacing "iso-8859-1" to "windows-1251" does not help fix the problem with titlle. I had to remove the appearance titlle, as advised Joe Carver.
All thanks.

Joachim Müller

Quote from: hensler on February 22, 2010, 02:26:08 PM
Replacing "iso-8859-1" to "windows-1251" does not help fix the problem with titlle.
Because that's bad. Don't use proprietary nonsense like iso8859-1 or windows-1251. Instead, use utf-8 and nothing else.

altenae

Hi,

Thanks for this very nice plugin.

I have one question.

I want ISCROLL only to be visible on the main screen.
Right now when I go into a category the ISCROLL is still there.

Is this possible ?

Ed

Joe Carver

Yes it is possible + tested and might be a config. value in the future.

However, before I can post an easy 'fix' for you the moderators of this board will want you to
post a link to your Coppermine.

Post the link and I will be happy to reply!

altenae

Quote from: Joe Carver on March 01, 2010, 02:54:35 AM
Yes it is possible + tested and might be a config. value in the future.

However, before I can post an easy 'fix' for you the moderators of this board will want you to
post a link to your Coppermine.

Post the link and I will be happy to reply!

Here it is

www.wildlife-photos.net/gallery

and

www.edwardensacha.nl

Joe Carver

Modification: Show iScroll only on Main/Home Page

Changes based on iScroll version 2.1

Open/edit file: plugins/iscroll/codebase.php (make a  backup first)
Find:
// end head


//


Replace with:
// end head


//
if (!preg_match("/cat/i", $_SERVER['REQUEST_URI']) && !preg_match("/index-/i", $_SERVER['REQUEST_URI']))
{


Find:
?>

Replace with:
}
?>


Upload to your gallery - you are done. The iScroll will now show only on the home page. This mod. has been made and tested to work with and without SEF url's, LightBox Slideshow and reCaptcha.

@ altenae, Very nice photos!



Desert Rider

I'm using CPG 1.4.26, a modified Blackbirch theme and iScroll v. 2.2. The scroller is working fine on the home and album pages but the caption text that is displayed above the featured image in the scroller is a gray color and is almost invisible against the background color. I would like to change the text color to white. Is that a change I would make in one of the iScroll files (if so which one?) or is it something I need to change in the theme files (like the template.html)? As an alternative is there a way to eliminate the text entirely so just the images show?

Secondly, I would like the scroller to be above the theme menu buttons (album list, last uploads, last comments, etc.). Again, is this a iScroll file change or a theme file change?

Thanks for any assistance and this is a great plug in!

Site URL: http://www.unclealice.com/coppermine/index.php
Rick Wickert
If you think nobody cares about you, try missing a couple of payments.

Joe Carver

I am fairly certain that the text color is hard coded into the .swf file. That file is protected and might be impossible or difficult to edit. Your question is something that I have not been able to address yet although I have tried.

You could try opening/editing file plugins/iscroll/codebase.php and adjust these values. Make a back up copy first.

Quote'wmode', "transparent",
         'devicefont', 'false',
         'id', 'flow_link',
         'bgcolor', '',

I can not offer explicit instructions on the editing and effects of each value. I am sure a little searching would get you that info.

For the second part: That plugin is displayed within the {GALLERY} token. Again I am not sure if it is possible, but yes, you will have to do extensive editing to your theme.php. That type of editing might be have been posted somewhere else on this forum (maybe search a little in theming about moving menu below/within contents of the main page). However in any case I can't offer even vague advice where to start with that one.


Desert Rider

Thanks for the reply Joe. I will do some more investigating as you suggested.
Rick Wickert
If you think nobody cares about you, try missing a couple of payments.

DementedManiac

This is a great plugin, thanks.

I've been looking at modifying it so that the scroller can replace the filmstrip on the album pages, but so far my lack of knowledge of the coppermine plugin architecture, and even of php has prevented me from succeeding at it.

I've not been able to find a conveniently located hook to mod the filmstrip, think that it might only be easily achievable by also creating a custom theme.

Is this somethign you've looked at, or would like to work on?

Regards,

Dawson


Joachim Müller