forum.coppermine-gallery.net
Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: Joe Carver on August 25, 2009, 04:34:03 pm
-
This plugin is based upon the good work of rphMedia (http://forum.coppermine-gallery.net/index.php?action=profile;u=9702) and his excellent mod. Image Scroller - based on iTunes [link to Intermediate]. (http://forum.coppermine-gallery.net/index.php/topic,48822.0.html) It will add a moving slideshow of thumbnails to the main and album list page . The thumbs "flip and turn" for a 3D effect.
Features
- Fast scroll and reverse direction by mouse click
- Light weight - low cpu/fast page for visitor
- Configuration page select - show most viewed, top rated, last comment or random
- Configuration page - number of thumbnails to show
- Configuration - adjust size of window
====================================================
To install:
1) Download the most recent iscroll zip package (see bottomn of this posting) file to your computer
2) Log in as admin and go to the Config page. Open Album list view, in setting for "The content of the
main page" add the value iscroll (example: iscroll/breadcrumb/catlist/.......)
3) Open General Settings - Manage Plugins, then use Browse - Upload - Install
to install the iscroll plugin. Check your home page for the new display.
4) You can now see "CONFIGURATION" in the plugin description.
Open that link to set your options. You will see "Success!" after you Submit acceptable
values.
5) Optional - To change the style/size of the thumbs you must replace file flow_link.swf. Within the
iscroll folder there are two extra folders named with different thumb settings. To change, upload
the newer flow_link.swf to your gallery root.
v2.2 is compatible with cpg version 1.4.26
Important Installation Notes: If your Gallery is in a write-protected folder (ex. 555 permission)
you might need to manually copy files flow_link.php and flow_link.swf to your gallery root.
The plugin relies on correct settings in Config/General Settings/URL of your coppermine gallery folder
To uninstall:
1) Use Plugin Manager to uninstall - use the advised instructions
====================================================
Credits for code snips and inspiration go to: rphMedia for creating the mod. and the .swf files, the Dev. Team for SEF URLS code snips and Timos Welt for Slider code snips.
====================================================
Support is limited.
Examples here: i-imagine.net (http://i-imagine.net/artists/index.php) and My personal gallery (http://gallery.josephcarver.com/natural/index.php)
Tested on cpg1.4.26 and works well with SEF URLs v1.44, LightBox v1.2, reCAPTCHA v2.1, Remove Comment Edit v1.1 and Live Links plugins. Tested with Firefox, IE8, Chrome, Safari and Opera.
Reports from users are kindly requested.
Styles in the package are shown below. The 17 image small with title is standard, the 5 image large is optional.
Have fun with it!
Tested to function with cpg version 1.4.26.
Use iScroll version 2.2
[Edit GauGau 2010-03-05]
This plugin has been added to the subversion repository: http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.4.x/plugins/
It has been updated as well to reflect the version checking routines in the plugin manager that are meant to make sure that galleries don't break because of plugins installed that aren't meant for that particular version of the gallery.
Download: https://sourceforge.net/projects/coppermine/files/Plugins/1.4.x/cpg1.4.x_plugin_iscroll_v2.2.zip/download
[/Edit]
-
Release of Version 1.1 - Security and Maintenance - Upgrade Mandatory
It is important that users of version 1.0 upgrade immediately.
List of revisions
- Change in codebase.php from 'allowScriptAccess','always' to 'allowScriptAccess','sameDomain'
- Change in flow_link.php to select 'files not like youtube' (beta change, need confirming test)
- Change default set of images from 5 large to 17 small
- Config page changes, default count and size setting adjusted
New version attached to first post.
-
Added plugin to the download repository. Get it from http://sourceforge.net/projects/coppermine/files/Plugins/1.4.x/cpg1.4.x_plugin_iscroll_v1.1.zip/download
-
Added plugin to the download repository. Get it from http://sourceforge.net/projects/coppermine/files/Plugins/1.4.x/cpg1.4.x_plugin_iscroll_v1.1.zip/download
Thank You very much.
-
Excellent plugin TNX i-imagine - See it in action at my site Zuphoria (http://www.zuphoria.com/oeuvre/)
-
Zyrac, You are welcome. However.....
Your gallery would be considered "not safe for work" by the standards of the Board Rules (please re-read) (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616) try to remember that and note it in your next postings.
Your site gave me an error with my Flash console and the show didn't work when I visited it with the 'www' prefix. With http only it was fine. There is a fix.
=================
To run this plugin with both www and http prefix.
Create a file named crossdomain.xml copy and paste the following. Add your domain where shown.
<?xml version="1.0"?><!-- crossdomain.xml -->
<cross-domain-policy>
<allow-access-from domain="*.your-domain.com" />
<allow-access-from domain="*www.your-domain.com" />
</cross-domain-policy>
Save (no extra spaces or lines at the end) and upload the file to your gallery root directory.
The same formats also apply to subdomains in crossdomain.xml.
The same formats also apply to galleries in folders ex. "......your-domain.com/coppermine" />
See this link for more info. (http://kb2.adobe.com/cps/142/tn_14213.html)
As an alternative you can change your gallery address in Admin/config/general settings to www, but you would have the same problem when visitors use http.
-
It's even easier (and better imo) to solve this issue for good with a small section in a .htaccess file in your webroot, as discussed in various threads, e.g. Re: i can't login admin (http://forum.coppermine-gallery.net/index.php/topic,36141.msg170992.html#msg170992) or how cookies simultaneously work for both url one with www. and one does not (http://forum.coppermine-gallery.net/index.php/topic,60922.msg302214.html#msg302214) or Change Coppermine's Cookie Domain? (http://forum.coppermine-gallery.net/index.php/topic,26521.0.html)
-
Hello,
i've installed the iscroll plugin and installed it following the readme but it doesn't work. See:
http://danielco.ro/photos
The main page in the Album list view is setup to show: iscroll/breadcrumb/alblist/catlist/random,2/lastup,2
I also created the crossdomain.xml file. Any hint? Thanks in advance for your replies.
-
It looks like the files needed to run were not copied during the installation. I am not sure why.
Copy files: flow_link.php and flow_link.swf to your gallery root directory.
(ex. /photos/flow_link.php)
-
It works now, thanks.
-
Is it my imagination or... if i choose "latest" uploads to be show it doesn't update with the photos that are uploaded after the plugin configuration is saved?
-
With no link to your Coppermine I can only guess what/where your issue might be from. However I just ran 2 quick batch adds/uploads on my test gallery and the scrolling display was updated.
Some browsers will not refresh the thumbnail selection until the cache/temporary internet files are deleted.
[Edit]
After another test it looks like it misses the very last uploaded picture. (album=lastup&cat=0&pos=0)
But it gets the next to last picture for the display (album=lastup&cat=0&pos=1)
The same thing occurs with top rated and most viewed. I will call it a known bug at the moment.
I am not sure why and how to fix it. However I will look into it and post a solution if I find it.
[/Edit]
-
Sorry if i didn't post the link but seemed to me that it wasn't necessary... any way... i leave it now: http://www.daudiok.com/gallery/index.php
the funny think is that if i select random images... the latest ones appears immediatly... maybe this will help you.
Thank you for this great plugin.
-
Hello,
I use Coppermine since more two years for me and my family without any big problems that i can't resolve.
I try to use this great plugin, evrything seems ok but nothing is displayed.
i follow install steps, read previous posts, and i don't understand where is my problem.
It's not my PC (try on other) and i can see this plugin working on i-imagine.net. It's like on Danielco's gallery: the space is reserved, flash loaded but without pictures.
My gallery (1.4.25) is installed on root and use: iscroll/breadcrumb/catlist/alblist/lastcom,1/lastup,1/updatehistory/minicms/onlinestats
You can visit at 6en33.free.fr (http://6en33.free.fr)
Let's me know if tou need more
Thanks for help in advance
Philippe
-
Hello,
I use Coppermine since more two years for me and my family without any big problems that i can't resolve.
I try to use this great plugin, evrything seems ok but nothing is displayed.
i follow install steps, read previous posts, and i don't understand where is my problem.
It's not my PC (try on other) and i can see this plugin working on i-imagine.net. It's like on Danielco's gallery: the space is reserved, flash loaded but without pictures.
My gallery (1.4.25) is installed on root and use: iscroll/breadcrumb/catlist/alblist/lastcom,1/lastup,1/updatehistory/minicms/onlinestats
You can visit at 6en33.free.fr (http://6en33.free.fr)
Let's me know if tou need more
Thanks for help in advance
Philippe
I visited your site and I can see iScroll working.
Try to empty the cache of your browser.
-
Thanks Rockas for the replies and reports.
For the issue of the first image in a Meta Album (pos=0) not showing I have no solution after much trying. There might be something in the file flow_link.swf that doesn't "like" the value of 0. Since I can't look into or edit that file I am stuck for an immediate answer, but am still looking.
Thanks Again
-
@ Rockas
I have allready do that and try with IE, Firefox and with PC's from my local lan that never goes on the site.
Allways the same thing: nothing is displayed
-
@ Rockas
I have allready do that and try with IE, Firefox and with PC's from my local lan that never goes on the site.
Allways the same thing: nothing is displayed
It's weird... I can still see it.
Have you tried to uninstall and reinstall it again?
Have you tried to update your flash player?
Check my gallery to check if you can see my iScroll: http://www.daudiok.com/gallery/index.php
@i-imagine
Thank you for trying.
I checked the random option and it works fine... i use coppermine default "latest" list so all is ok.
Keep up the great work.
-
It's weird... I can still see it.
Have you tried to uninstall and reinstall it again?
Have you tried to update your flash player?
Check my gallery to check if you can see my iScroll: http://www.daudiok.com/gallery/index.php
I uninstall and install again, remove other plugins and change the order, allways the same.
My flash player is up to date
I have allready visit your gallery during last night tests and all i see is a nice black background but no scolling pictures like on the Danielsco's gallery, but i see Iscroll in action on i-imagine's websites.
Incredible ???
-
Phipir, The plugin looks OK on your site from here using Firefox and Chrome browsers. Your local network. ISP or firewall settings might be interfering.
You could try creating the crossdomain.xml file as shown above. My own sites use crossdomain.xml which could make a difference - I am still learning about it and cannot speak with authority on it's effects on the end user's browsing.
The reference to "Danielsco's gallery" is invalid (unfortunately). The owner has changed the value in Admin/config/general settings/URL of your coppermine gallery folder to a subdomain (photos.danielco.ro/gallery/) instead of the actual URL of the site (danielco.ro/gallery/). The plugin will not work on that site until the error is corrected.
-
Hello i-imagine,
Thanks for your help.
Your local network. ISP or firewall settings might be interfering
I ask some of my family's members to look at my site, nobody see the scrolling pictures, just the reserved block. I have also try whitout firewall and by adding my site in trusted sites in IE. Allways the same.
So, we can say that is not the lan, not my ISP (not all my family have the same) and not firewall.
You could try creating the crossdomain.xml file as shown above. My own sites use crossdomain.xml which could make a difference
I also try last night, with and without crossdomain.xml on my site root, visit Adobe web site (where i don't understand everything) without success. I take a look at your crossdomain.xml file and it's look similar of mine:
<?xml version="1.0" ?>
- <!-- crossdomain.xml
-->
- <cross-domain-policy>
<allow-access-from domain="*.free.fr" />
</cross-domain-policy>
I'am not sure what i have to put in it.
Here the result of an nslookup off 6en33.free.fr
C:\>nslookup
Serveur par dÚfaut : dns3.proxad.net
Address: 212.27.53.252
> 6en33.free.fr
Serveur : dns3.proxad.net
Address: 212.27.53.252
Réponse ne faisant pas autorité :
Nom : perso105-g5.free.fr
Address: 212.27.63.105
Aliases: 6en33.free.fr
>
but it's sure than i can't reach my site with the name perso105... or with the IP address
Ok for "Danielsco's gallery" and what about the Rockas 's site http://www.daudiok.com/gallery/index.php (http://www.daudiok.com/gallery/index.php) where i just see the background like on my own site ?
-
I hope this can help you and anyone with the same trouble in the future.
To debug problems with Adobe Flash Player and Action Script.
Visit this link and download Adobe Flash Player 10 — Debugger Version (http://www.adobe.com/support/flashplayer/downloads.html)
This will add an error console to your browser's Flash that will tell you where/what the error is. You must download the version for your operating system and follow the instructions for how to activate it.
///////////////////////
Your crossdomain.xml is wrong. It needs to show you are in a subdomain.
<?xml version="1.0"?><!-- crossdomain.xml -->
<cross-domain-policy>
<allow-access-from domain="*.6en33.free.fr" />
<allow-access-from domain="*www.6en33.free.fr" />
</cross-domain-policy>
It goes to your gallery root directory: 6en33.free.fr/crossdomain.xml as I posted above.
Remember - with IE you always need to clean your cookies/temp. files after you make changes. As a webmaster you need to start using different browsers for testing too.
Ok for "Danielsco's gallery" and what about the Rockas 's site http://www.daudiok.com/gallery/index.php (http://www.daudiok.com/gallery/index.php) where i just see the background like on my own site ?
Seems to happen only with your settings. Two of us have seen those work and also yours too.
-
Yes, I've changed back the URL in the settings back to http://photos.danielco.ro. It works. Thank you i-imagine.
-
Hi there,
Love this plugin but having a small problem with it.
my site http://www.lornascakes.co.uk/photos uses it quite nicely but when it renders images that have the symbol for 'and' in it it.. whereever there is an & it displays the image as '&'
I have now changed the original image attributes to not have the & symbol they original image has changed but the isroller is stull showing them as having a title of '&and'
any ideas?
Regards
Dave
-
Yes, I am aware of that and don't have a quick answer for you. I'll take a look in the next couple of days. Any solution will be posted as soon as it proves to be functional.
By the way you will want to upgrade your Coppermine as soon as possible, this thread will provide more information:
http://forum.coppermine-gallery.net/index.php/topic,63510.0.html
(Your website looks to be quite delicious too!)
-
Thank you!!!
-
Bug Fix: Wrong Characters in Titles version 1.1 only
1) Unzip the file: cpg1.4.x_plugin_iscroll_v1.1.zip on your computer
2) Open/edit file: flow_link.php - change as below
Find:
while ($row = mysql_fetch_array($result))
{
$type = max($row['pwidth'], $row['pheight']) > $CONFIG['picture_width'] ? 'thumb' : 'thumb';
$xml .= "<image><path><![CDATA[" . $path . get_pic_url($row, $type) . "]]></path><description><![CDATA[" . $row['title'] . "]]></description><data><![CDATA[" . $path . "displayimage.php?pos=-" . $row['pid'] . "]]></data></image>";
}
$xml .= '</content>';
Replace with:
while ($row = mysql_fetch_array($result))
{
$title = $row['title'];
$title = str_replace(array('&', '"', '<', '>', '''), array('&', '"', '<', '>', "'"), $title);
$type = max($row['pwidth'], $row['pheight']) > $CONFIG['picture_width'] ? 'thumb' : 'thumb';
$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>";
}
$xml .= '</content>';
Save and upload flow_link.php to your gallery root directory. You will be replacing the existing flow_link.php.
-
Awesome!!
working perfectly now
well done and thank you!
Regards
Dave
-
Hi there,
I move my entire gallery from www.lornascakes.co.uk/photos to www.lornascakes.co.uk basically moved it to the webroot.
I re-intalled the iscroll plugin and now when i go to reinstall it i get the database error
any ideas?
-
First you you should upgrade as I recommended previously.
As regards the plugin - you can either delete the iScroll records from the database or wait until later today when I issue a new release.
-
would love to wait!!
looking forward to it
-
Release of Version 2.0 - Maintenance - Bugfix
Changes made based on recent posts by plugin users. Details in readme.txt.
Users of older versions should uninstall/delete/reinstall through plugin manager.
New version also added to first post in thread.
-
Release of Version 2.1 - Maintenance - Bugfix
Changelog
- Change codebase.php - $PHP_SELF check to add .js only on index pages
- Change codebase.php for XHTML compliance
[Edit GauGau]
File attached to initial posting in this thread (http://forum.coppermine-gallery.net/index.php/topic,61385.msg304536.html#msg304536)
[/Edit]
-
Hi there,
its just stopped working for me now? nothing displays.. i have put the two flow files into my webroot, alas nothing?
Any ideas?
www.lornascakes.co.uk
-
apols
working again
-
Hey
I have this problem.
on my side I see an empty flash www.sztukapogodzinach.pl
plugin does not choose the photos.
thank for help
-
I see 2 things in your home page.
1) You are also running the Slider plugin
2) The iScroll header code is not being written into the <head>
Sometimes two plugins can cause a conflict - try first moving the iScroll to the bottom of the plugin list.
Example: Admin >> Config >> General Settings >> Manage Plugins
Installed Plugins
"Sample"
"Slider"
"iScroll"
Also make sure that you have iscroll listed in Admin >> Config >> Album list view >> The content of the main page. Example: iscroll/topn/breadcrumb/random,2/lastup,2/alblist/catlist/
You could also temporarily uninstall Slider for a test.
-
Witaj.
odinstalowałem slider.
iscrol jest na dole listy.
nie rozumiem co mam zrobić z punktem 2.
-
Hello.
uninstalled slider.
iscrol is at the bottom of the list.
I do not understand what to do with point 2
-
Hello.
uninstalled slider.
iscrol is at the bottom of the list.
I do not understand what to do with point 2
-
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.
-
Sorry for the duplicate posts.
In the 'URL of your coppermine gallery folder' I have the entry www.sztukapogodzinach.pl
-
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
TypeError: 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)
-
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
-
<!--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
-
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!!!
-
Thanks, I'll try.
-
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.
-
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.
-
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.
-
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
-
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!
-
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
-
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!
-
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 (http://www.unclealice.com/coppermine/index.php)
-
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.
'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.
-
Thanks for the reply Joe. I will do some more investigating as you suggested.
-
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
-
Sorry, I meant to post a link to my gallery:
http://pics.nhgc.asn.au/ (http://pics.nhgc.asn.au/)
Dawson
-
Upgrade!
-
Upgrade!
Upgraded!
-
This is a great plugin, thanks.
Your welcome.
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?
No on both counts, it would not be trivial. There would be more to it than just moving the display.I am also not working on anything "heavy" at the moment, including new cpg 1.4.x plugins.
If you like the scrolling concept for the filmstrip then I suggest that you take a look at cpg 1.5.x. See the Demo Link (http://coppermine-gallery.net/demo/cpg15x/) or the link below for my cpg 1.5.x demo.
-
I see now that 1.5.x is already in rc, so I understand that you'd not be working on 1.4.x plugins.
I do like the scrolling filmstrip in 1.5, but I very much prefer your i-tunes based one, and would love to see it working for the filmstrip in the album pages. Do you think you might look to doing it in 1.5.x at some time in the future?
Thanks,
Dawson ( who is now considering upgrading to 1.5.x )
-
.....and would love to see it working for the filmstrip in the album pages.
Do you think you might look to doing it in 1.5.x at some time in the future?
I will keep the request in mind. It would need to be a completely different, separate plugin.
-
hi all
ive read this section of the forum about 5 times now aswell as the install instuctions :) ive got it installed on cpg ok and can change settings in admin and get the "success" when done it, but no matter what i do im getting just a blank panel ?? im running 1.4.26 and have had it running on other web servers and it wont show there either :( can sum1 point out the no doubt stupid mistake ive made or havnt done plz im pulling my hair out here :D, ive been to other sites with it on and i can see them running fine, ive tried 3 or 4 different pc's with different browsers and cant see it on any of them. ive tried all the fixes on here and none seem to work !
http://www.hilevel1.co.uk/cpg14/index.php (http://www.hilevel1.co.uk/cpg14/index.php)
any help appreciated
thanx Dessy
-
You have another plugin in place that interferes. You need to decide for one of them, as they can not co-exist.
-
thanks joachim for the quick reply :) that was my first thought too but ive disabled all plugins, there still in the plugin folder but not enabled. ive tried it on a clean install and still no go :(. as it is now there seems to be a pic holder in the centre of the strip when i click on it i get this error :
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at flow_link_fla::MainTimeline/onButtonClick()
dont no if this helps, all plugins are disabled hope i can get this sorted as it looks an amazin plugin to have :D
thanx again Dessy
-
File http://www.hilevel1.co.uk/cpg14/flow_link.php returns nothing.
You might have set "Meta album for thumbnails" to Top rated
or
you might have set "image/thumb count" to 0.
To be certain, uninstall the plugin, select "yes" to remove the plugin files from the gallery root.
Then delete the plugin, upload and install a clean copy.
Check your home page before you make any config, changes.
Please use "normal/standard" capitalization in your future postings. All lower case typing might be easy for you, but is difficult to read for the rest of us.....
-
File http://www.hilevel1.co.uk/cpg14/flow_link.php returns nothing.
You might have set "Meta album for thumbnails" to Top rated
or
you might have set "image/thumb count" to 0.
To be certain, uninstall the plugin, select "yes" to remove the plugin files from the gallery root.
Then delete the plugin, upload and install a clean copy.
Check your home page before you make any config, changes.
Please use "normal/standard" capitalization in your future postings. All lower case typing might be easy for you, but is difficult to read for the rest of us.....
Sorry about the capitalisation ill try to remember ! :) Ive just uninstalled, removed, reinstalled all at defaults. The strip is still doing the same ?? You mentioned thumbnails top Rated and image/thumb to 0, where would i check those as i dont remember setting anything like that? Would it be anything to do with it being in a sub folder of root? As you said im still getting nothing for www.hilevel1.co.uk/cpg14/flow_link.php even though ive done the crossdomain.xml file ?? Ive also tried it on my other web space and getting the same result, www.majestic-clan.co.uk/cpg14x/index.php I just cant see whats wrong no matter how many times i look at it !
thanx Dessy
-
You mentioned thumbnails top Rated and image/thumb to 0, where would i check those as i dont remember setting anything like that?
In plugin manager - once you have installed the plugin a menu item will appear in the iScroll plugin description field. It is in all caps 'ISCROLL CONFIGURATION'
im still getting nothing for www.hilevel1.co.uk/cpg14/flow_link.php even though ive done the crossdomain.xml file ?
The output of flow_link.php does not depend on crossdomain.xml. It only generates an xml file that flow_link.swf can read. It gets the data from the Coppermine data base. It is generating an .xml file that has nothing in "content", therefore it looks to be reading nothing from your database.
I have no quick and certain answers for you - since both galleries have fewer pics than the default value of 24 thumbs you could try uploading some more content/pics to see if that works (or try setting the number of thumbs to 9 or whatever in the iScroll config).
The only way I can reproduce your problem is by setting the META album to Top rated and then having less than 2 rated files. Sorry that I can't help more but I don't really have much time at the moment.
-
Ok thanks for all help ill look deeper . It's prob staring me in the face I just can't see it :) . If I work it out ill post my findings !
Thanx again Dessy
-
Hi all again !
After a couple of days playing, and actually getting it to work on my other webspace. Ive come to the conclusion my host provider is the culprit. My other host i couldnt get going was just a path change in the config Doh ! But the same set up on my culprit host will not work ! What also pointed something was the fact i couldnt use the browse/upload option in the plugins, i can only ftp up. So my final question is :D What could my host be blocking or have turned off by default which would stop any part of the code in flow_link.php working? And what would stop me being able to upload ? I can turn what ever on php wise using the .htaccess file if needed.
Thanx again Dessy
-
flow_link.php is a simple script that needs to be able to read values from your database.
The plugin will set some values in Coppermine's "config".
If there is nothing to read, then there will be no output in the content.
Use phpmyadmin or similar to look for these values in config after you have installed iScroll.
'iscroll_cfg_meta'
'iscroll_cfg_count'
'iscroll_cfg_width'
'iscroll_cfg_height'
If there is nothing to find then the db is not being updated when you install the plugin.
Why that would happen is beyond me at the moment.
-
Hi all
Back again! But this time with the answer to my problem which has taken a few days to track down. As i said "Its probably staring me in the face" , its was. The problem was in the flow_link.php file, the line referencing;
$result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename LIKE '%.jpg' AND filename not like 'youtube_%' $FORBIDDEN_SET $this_meta LIMIT $i_count");
filename like '%.jpg' was my problem. As all my pics in the gallery are .gifs !! So i thought id share my results with anyone else getting the blank scroll box. So my last and final question is how can i modify the code to pull both .jpg & .gifs onto the strip? Once again thankyou all for your help and time.
thanx Dessy
-
Sorry that I don't have much time to look deeper, but before I do could you please post what change you made to make the .gif's work? I ask because I had no luck with the mix of .gif and .jpg and want to start with what you did to get the .gif to work.
(It might be a day or two before I have enough time....)
Thanks
-
hi
Yes basically all i did was replace the like '%.jpg' with like '%.gif' , but no matter wot i added into the equation with and like '%.jpg' and or like '%.jpg' i couldnt get it to work with both jpg and gif in the equation. But then again im no coder or programmer and my php is basic at the best of times :) But im sure itll be no match for you ;) In your own time will be fine as ive said my gallery will only be at the mo .gifs but l8r on i will be using jpg aswell. So any time you have to try to sort it would be appreciated. I was thinking is it possible to have a drop down of choice for the extension in the config screen, a couple of choices ie jpg or gif or jpg/gif or all the extensions available in coppermine itself ? I will leave that in your capable hands :D
thanx
Dessy
-
hi
Yes basically all i did was replace the like '%.jpg' with like '%.gif' , but no matter wot i added into the equation with and like '%.jpg' and or like '%.jpg' i couldnt get it to work with both jpg and gif in the equation. But then again im no coder or programmer and my php is basic at the best of times :) But im sure itll be no match for you ;) In your own time will be fine as ive said my gallery will only be at the mo .gifs but l8r on i will be using jpg aswell. So any time you have to try to sort it would be appreciated. I was thinking is it possible to have a drop down of choice for the extension in the config screen, a couple of choices ie jpg or gif or jpg/gif or all the extensions available in coppermine itself ? I will leave that in your capable hands :D
thanx
Dessy
I had noticed before that the Image Scroller didn't display .gifs, but never bothered to figure out why, I just assumed it was a licensing thing. Anyhow, with your pointers above, I've chagned the query to include both .gif & .jpg, but the image scroller doesn't seem to be able to apply transparency to transparent gifs.
use this:
$result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE (filename LIKE '%.jpg' or filename LIKE '%.gif') AND filename not like 'youtube_%' $FORBIDDEN_SET $this_meta LIMIT $i_count");
if you wanted .png as well, use the following, but I've not tested this yet.
$result = cpg_db_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE (filename LIKE '%.jpg' OR filename LIKE '%.gif' OR filename LIKE '%.png') AND filename not like 'youtube_%' $FORBIDDEN_SET $this_meta LIMIT $i_count");
You can see what happens with transparent gif's at http://pics.nhgc.asn.au/.
Dawson
-
Thanks Dawson
Much appreciated, ahhh it was the brackets i was missing :D lol yeh i work with images all time at work transparent gifs and pngs are not the best behaved at the best of times :) But youve sorted a problem no doubt a lot of ppl have been suffering with! All of my images are white or coloured backgrounds to match the theme, it doesnt take a tick to replace a background anyway so im sure ppl wont mind doing it to get this great effect of the plugin on there site !
Thanx again to all
Dessy
-
DementedManiac,
Thank you - nice work.
-
hi, nice plugin. but one question. is it possible to put a white border around each picture? what do i have to chance?
-
hmm but first of all I have to get it running. i followed the installation steps, but it isnt working? what can be the reason for that?
here is the link to my gallery http://michelon.bplaced.de/
-
hmm well i seems as it doesnt run on coppermine 1.4.25
-
hmm well i seems as it doesnt run on coppermine 1.4.25
You should upgrade to cpg version 1.4.27 plugin or no plugin.
It looked to be not installed at all when I looked at your page. After you upgrade, make sure that other plugins might not be interfering. Return then when you have iSroll installed.
-
I've uploaded your plugin... Thank you for creating it BTW, but I cannot seem to get it to work...
http://photoshowdown.com/main/coppermine/index.php?cat=0
I do not get the "CONFIGURATION" in the plugin description in step #4. What did I do wrong. I uninstalled and re-installed and still had the same issue.
http://photoshowdown.com/main/coppermine/pluginmgr.php
4) You can now see "CONFIGURATION" in the plugin description.
Open that link to set your options. You will see "Success!" after you Submit acceptable
values.
-Gunther
-
We cannot see your pluginmgr nor any other admin area. Instead of posting links to admin only sections please attach a screenshot.
-
guntherize, Your Coppermine link above is completely useless - it returned.
"In order to login you must be registered"
What a waste of time. Try posting a real link or login details the next time that you want help.
All I can say with no other information is that some 100's of users have downloaded this plugin without
any trouble close to what have have you tried to describe.
I've uploaded your plugin...
Try installing too, it might work better that way.
-
Sorry - Here is the link to my site - the other links were to the admin area:
http://photoshowdown.com/main/coppermine/index.php?cat=0
I don't know what you can see - I don't get the configuration promt in you step #4
Thanks - Gunther
-
Your link redirects to a phpBB forum. Joe was asking for log in credentials.
-
This is what is written in the description area:
Link target (iscroll): v1.2
Author: Coppermine dev team
Description Changes the way external links are being opened: when this plugin is enabled, all links that contain the attribute rel="external" will open in a new window (instead of the same window).
-
You are posting the same url in cpg 1.4.x and cpg1.5.x boards. Make up your mind. Use iScroll for 1.5.x if you are indeed running it.
Remember the next time you post a request for help you must post a working link to your Coppermine. Your problem would be solved by now had you done that the first time.
Sorry - Here is the link to my site - the other links were to the admin area:
http://photoshowdown.com/main/coppermine/index.php?cat=0
I don't know what you can see - I don't get the configuration promt in you step #4
Thanks - Gunther
Never mind - I place the theme name in the url address and it work. This is weird to me! :'( Thanks again
http://photoshowdown.com/main/coppermine/index.php?theme=rainy_day
-
You know what - I have no clue of what you are talking about. Can't you guys be a little less rude! Jesus- I followed the directions it didn't work and I thought I would ask you what to do. How plainly can I ask without getting dished by you? Thanks for your valuable time.
-
I am not posting in two different areas. I merely follow the replies to my post and answer. So, an apology might be nice. You can log in using a user name I set up "guntherize" and the password "albert1":
http://www.photoshowdown.com/main/coppermine/index.php
-
Bye.
-
Well here I am again since I have updated to 1.4.27 in order to run that nice plugin.
First point I have recognized, it should have run on 1.4.26 either :o
So I tried again, but there wasn still any success. Now I try to describe what I have done so far, so that hopefully someone can tell me what I did wrong.
1. I uploaded the Plugin and installed it.
2. I added "iscroll" to "the content of the main page"/iscroll/minicms/breadcrumb/catlist/alblist/random/lastup
3. i changed configuration to: Most viewed (2); width:600 height:220; iscroll count:5
4. i added both flow_link.php and flow_link.swf to the gallery root
what i can see now is just an empty space where the scrollbar should appear. At this It doesnt make any difference if I use the www prefix or not. Black remains black.
The link to my gallery is http://www.michelon.bplaced.de/
if you need any addidional data such as screenshots or information let me know. My Shockwafe Flash is version 10.1.82.76
-
It works fine using: http://michelon.bplaced.de/ (no www).
Read through this thread - look for "setting the url of your home page in config" and "crossdomain.xml" and ".htaccess".
-
thanks, i cant believe that. it seems i have a similar problem as our friend Phipir about a year ago.
there are different pages i can see the plugin running excellent. except at my page. its still black. I meanwhile added crossdomain.xml to the root. but nothing changed. I also asked a friend of mine to tell me if he can see anything....unfortunately negative. its kind of weird since i can see the plugin running at e.g.
http://photos.danielco.ro/
http://gallery.yareparhia.ru/index.php
http://i-imagine.net/artists/index.php
http://gallery.josephcarver.com/natural/index.php
http://gallery.josephcarver.com/natural/index.php
-
You have set "URL of Coppermine" in Config >> General Settings to a setting with no www.
Flash security will consider that to be a different source and therefore illegal.
http://i-imagine.net/artists/index.php works with and without www because it has a properly configured crossdomain.xml file.
Perhaps you have made an error, see this post, in this thread:
http://forum.coppermine-gallery.net/index.php/topic,61385.msg310338.html#msg310338
Or try the .htaccess suggestion made by Joachim Müller, again in this thread:
http://forum.coppermine-gallery.net/index.php/topic,61385.msg308720.html#msg308720