forum.coppermine-gallery.net

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: Timos-Welt on March 22, 2008, 03:50:45 pm

Title: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 22, 2008, 03:50:45 pm
===========
   Slider
===========


What it does:
--------------

Displays a JavaScript slider of a meta album on album list page, compatible with any modern browser. Can use EnlargeIt! plugin to display the pictures.
This plugin has been created for cpg1.4.x.

=========================================================================

Browser Compatibility
-----------------------

The JavaScript slider is tested and works fine in these browsers:
- IE 6
- IE 6 sp1
- IE 7
- Firefox 1.5 (Win)
- Firefox 2.x (Win)
- Firefox 2.x (Linux)
- Opera 8.x (Win)
- Opera 9.x (Win)
- Opera 9.x (Linux)
- Konqueror 3.5.x
- Safari 3.x (Win)
It probably works fine in many other browsers, too.

=========================================================================

Demo:
------

http://cpgdev.timos-welt.de/cpg1416

=========================================================================

How to install:
---------------

* Download v2.11
* Unzip
* Uninstall any previous version via plugin manager
* Upload folder 'slider' into Coppermine's plugins folder
* Go to plugin manager page and install it
* Empty your browser cache

How to enable:
--------------

* To enable this plugin, you'll have to add "slider" to "the content of the main page" in coppermine's config in the section "Album list view". The setting should look like "breadcrumb/catlist/alblist/slider" or similar. For details, review the documentation that comes with coppermine (inside the docs folder) in the section "The gallery configuration page" > "Album list view" > "The content of the main page".

How to configure:
-----------------

* Use the additional button 'Slider' in admin menu.

=========================================================================

Credits:
--------

This plugin is written by Timos-Welt (http://www.timos-welt.de) based on the "Slider mod" by pbasmo for cpg1.4.x.
The plugin legally uses Javascript code "Conveyor belt slideshow script" by Dynamic Drive DHTML code library (www.dynamicdrive.com).
Parts of the code are adapted from the great CPG plugins 'Onlinestats' and 'Highslide' by Nibbler and Sami.
Don't try to contact the plugin author for support - post on the board publicly instead.

=========================================================================

Change log:
-----------


v2.12 (2008/12/11)
------------------
fixed: IE would display unwanted tooltips

v2.11 (2008/11/18)
------------------
Fixed global use of $matches in mainpage function.

v2.10 (2008/11/05)
------------------
EnlargeIt! can now be used to play youtube movies, though these will not appear as thumbs in slider

v2.09 (2008/09/11)
------------------
fixed a bug with invalid XHTML (double IDs) if not enough pics available for slider width

v2.08 (2008/07/26)
------------------
fixed a bug where slider in an empty category could lock the webserver

v2.07 (2008/07/15)
------------------
fixed a css issue

v2.06 (2008/07/11)
------------------
bugifx: slow animation in firefox under certain circumstances

v2.05 (2008/07/10)
------------------
* faster reaction on mouseclick with EnlargeIt!
* zoom mouse cursor with EnlargeIt!
* Javascript functions now in seperate js file for faster loading times

v2.03 (2008/06/30)
------------------
better integration with EnlargeIt - slider stops now while enlarging and shrinking

v2.02 (2008/06/30)
------------------
fixed: short flickering at page load

v2.01 (2008/06/27)
------------------
fixed: resizing wouldn't work when slider auto-width enabled and EnlargeIt! darkening was used

v2.00 (2008/06/16)
------------------
Now uses EnlargeIt! plugin engine

v1.73 (2008/05/11)
------------------
* New EnlargeIt! version 0.94 fixes two bugs
* Dutch language file added (thanks Hein)

v1.72 (2008/05/09)
------------------
* Fixed a bug where pics wouldn't be displayed when no intermediate pic had been
  generated when using EnlargeIt!
* New EnlargeIt! version 0.93 with more options

v1.71 (2008/05/05)
------------------
* fixed a small display bug in IE when 'Auto fit slider width' is set to 'no'
  and 'Slider align' set to 'center' or 'left'

v1.7 (2008/05/03)
-----------------
* new option 'Auto fit slider width' (experimental)
* new EnlargeIt! animation mode 'bump-glide'
* new EnlargeIt! version 0.92

v1.61 (2008/04/19)
------------------
* bug fix: slider wouldn't work with EnlargeIt! turned off

v1.6 (2008/04/18)
-----------------
* much better optics when enlarging the pics
* new option 'Show caption'
* new options 'Shadow' / 'Shadow size' / 'Shadow intensity'
* improved JS performance
* Enlarge to normal size or full size pic (selectable)
* improved stability in gallerys with pics of very different sizes

v1.52 (2008/04/16)
------------------
* now out of the box compatible with Highslide, Slider and most other Javascripts
* improved flickering in glide mode when EnlargeIt! is used
* slighter codebase, improved performance

v1.51 (2008/04/14)
------------------
* too much german in english language file - 'yes' and 'no' shouldn't be
  'ja' and 'nein' ;)
* new EnlargeIt! version with drop shadow, now packed only 7,3 KB

v1.5 (2008/04/12)
-----------------
* new option to select meta album (random files, last additions,
   most viewed, top rated)
* now works as intended in multi-user galleries
* EnlargeIt! integration
* if there's not enough pics in a category, they will be repeated to give
   at least 5 pics to prevent the Slider animation from crashing

v1.2 (2008/03/24)
-----------------
* new feature 'Slider align' (left, center, right), so it's adaptable to many more themes now
* now 100% valid XHTML 1.0, had to give up Netscape4 compatibility for that
* much faster, slighter code
* fixed few little bugs

v1.1 (2008/03/23)
-----------------
* fixed few little bugs
* new feature 'skip pics in portrait mode'

v1.0 (2008/03/22)
-----------------
* initial release


[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_slider_v2.16.zip/download
[/Edit]
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 22, 2008, 04:27:32 pm
To do for next version v1.3:
- Possibility of more than one slider on page
Title: Re: Slider (Javascript slider on album list page)
Post by: Pascal YAP on March 22, 2008, 05:54:09 pm
Hi Timos-Welt,
 Here is FRENCH.PHP (http://forum.coppermine-gallery.net/index.php?action=dlattach;topic=51324.0;attach=11011) lang file

Note : in codebase.php i need to change line 17 like that :
include_once ('./slider/include/init.inc.php');

Our French user PBasmo will be probably very proud about your work  ;D
Thank's

PYAP
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 22, 2008, 06:09:38 pm

Quote
Our French user PBasmo will be probably very proud about your work

I hope so - that's why he gets a lot of credits inside the code and the readme.  :)

Quote
Note : in codebase.php i need to change line 17 like that :
include_once ('./slider/include/init.inc.php');

Here is FRENCH.PHP lang file

Thanks for that, I've fixed that in the ZIP file and added the french language.

Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: Pascal YAP on March 22, 2008, 09:57:58 pm
Hello Timos-Welt,

Weird issue !
When i'm in Admin Mode all work clearly.
In Admin Mode and Admin-User Style it's OK too.

But in true User Mode, there is an access problem : There was an error while processing a database query.

Investigate....


Other :

In PLUGIN_CONFIG.PHP no need to add PX for Title !
 <input id="slider_title" name="slider_title" type="text" value="<?php echo $SLIDERSET['slider_title']?>"> px

PYAP
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 22, 2008, 10:25:24 pm
Please look in slider.php for line

Code: [Select]
$query = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename LIKE '%.jpg' $FORBIDDEN_SET ORDER BY RAND() LIMIT $limit";
Sounds to me as if "AS p" was missing (the very first version I uploaded had this error, but I corrected it 3 minutes later).

If the line is exactly like above, you could replace it (just for a test) with

Code: [Select]
$query = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' ORDER BY RAND() LIMIT $limit";
BTW: What's 'Skip portrait mode pics' in french?

Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: Pascal YAP on March 22, 2008, 10:45:29 pm
Quote
you could replace it (just for a test)
I'll Try it tomorow, i'm not on my TestMachine...

Quote
"Skip portrait mode pics' in french?"
Depend about context !
I think : "Ignorez les images verticales".

Maybe you can add "Skip Horizontal pics" (in FR " Ignorez les images horizontales")

PYAP
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 23, 2008, 03:23:00 am
Hi Pascal,

Quote
When i'm in Admin Mode all work clearly.
In Admin Mode but User Style it's OK too.

But in true User Mode, there is an access problem : There was an error while processing a database query.

I've found the problem. If v1.1 doesn't work for you either, another mod/script that queries the database is modifying the global variable $FORBIDDEN_SET. Find the modification and correct it, you find the information you need in this thread:
http://forum.coppermine-gallery.net/index.php/topic,6819.0.html

regards
Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 23, 2008, 08:09:27 pm
I have just released v1.2.

As far as no show stopper bug is found, this will be the last version for some time. Have fun with it.

Have fun  ;)
Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: Pascal YAP on March 23, 2008, 11:02:15 pm
Timos-Welt,
Quote
this will be the last version for some time. Have fun with it.
That's right. Your Slider 1.2 work as expected on various machines and browsers.
Nice work  ;D

In some days, i will translate your Topic to our French board.
Thank's.

PYAP
Title: Re: Slider (Javascript slider on album list page)
Post by: ngul on March 23, 2008, 11:08:26 pm
Hi Timos, your plugin is very cool!!!  :)
If i want put the sliders in top of a homepage, what type of html code (or php) put in the body of index.html file? (after plugin installed, obviously)

Regards
ngul
Title: Re: Slider (Javascript slider on album list page)
Post by: martinkatz on March 24, 2008, 05:55:18 am
Great Job!!
Spanish translation attached
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 24, 2008, 12:23:02 pm
Thanks martinkatz,

I've added the spanish translation to the 1.2 ZIP.

regards
Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 24, 2008, 01:23:45 pm
If i want put the sliders in top of a homepage, what type of html code (or php) put in the body of index.html file? (after plugin installed, obviously)

Regards
ngul

This thread deals with the PLUGIN for Coppermine. I think this thread about the MOD the plugin is based on will answer your questions:
http://forum.coppermine-gallery.net/index.php/topic,41197.0.html

Have fun  ;)
Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: ngul on March 24, 2008, 09:34:02 pm
Thank you for reply, i've solved!!!

For your great plugin, i've translated in Italian...and attached!!  ;)

p.s.: rename file in italian.php
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 24, 2008, 11:31:55 pm
Thanks ngul.

I've added the italian translation to the 1.2 ZIP.

Have fun  ;)
Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: jake on March 26, 2008, 04:09:48 am
Great plugin!
Any hope of getting Slider v1.2 to work with Highslide v3.02?  I have both on my album page, but the Slider plugin doesn’t have the Highslide functionality.
http://woodardphotos.net/coppermine
Also FYI . . . with Firefox (v2.0.0.12), the slider stops scrolling when the cursor moves on any part of the browser window (as opposed to the slider scrolling stopping only when the cursor is over the slider feature).  This does not happen in IE7.
Thanks for your time.
- Jake
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 26, 2008, 04:34:06 pm
Hi jake,

Coppermine 1.4x doesn't have an JS onload table. This means, you can't use more than one Javascript, that includes a line like this:
Code: [Select]
window.onload=....;
The plugins I know of, that won't work with each other ATM are:
- Highslide
- Slider
- Imageflow

There's only one way to solve this: The plugins must register their onload calls in a central instance.

There could be two solutions for that:
1. The developers include a mechanism for plugins to register their onload functions in a database table, and on which pages to call them. A few lines PHP read the table and call these functions one after the other with a single window.onload call.
2. Someone codes a "JavaScript OnLoader" plugin for the same purpose.

The second solution is nearest, but has a few disadvantages:
- Users would have to install the "JavaScript OnLoader" plugin separately, otherwise their plugins won't work at all.
- The "JavaScript OnLoader" plugin has to be installed before the first plugin is installed that needs it.
- Such a plugin would need an HTML filter function that slows down performance.

So I hope, some of the developers read this and think about this feature for CPG 1.5.

At this point of time, I can't help you - there's only one way to make these plugins work together ATM: Hack them.

regards
Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: Nibbler on March 26, 2008, 04:40:16 pm
Instead of window.onload = function you should use window.addEventListener('load', function, false);
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 26, 2008, 05:07:03 pm
Hi Nibbler,

quite some browsers don't support window.addEventListener, but nearly all of them support window.onload. Using it would stop many browsers working (e. g. Mozilla < 2, IE<6, Safari<3).

On the other hand: Someone who uses such an old browser won't probably have fun with these plugs at all...

regards
Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: hkr on March 26, 2008, 06:18:37 pm
hi,
could someone pls tell me how i can have the imageflow on top of the page as shown in the demo link, instead of at the bottom of the page.

thnx..
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 26, 2008, 06:25:56 pm
Hi hkr,

"breadcrumb/catlist/alblist/slider"
=>
"slider/breadcrumb/catlist/alblist"

 :)
Title: Use of Slider and Imageflow in the same gallery
Post by: Timos-Welt on March 28, 2008, 05:10:13 pm

EDIT: The following information is outdated. Actual versions of the plugins work together out of the box.

Both plugins will not work together out of the box, but it's not much work to make them co-operate peacefully.

1. Uninstall any versions of Slider and Imageflow and delete the folders in CPG plugin dir.
2. Download Slider (http://forum.coppermine-gallery.net/index.php/topic,51324.msg248235.html#msg248235) and unzip it to your harddisk.
3. Open codebase.php with a decent text editor.
4. Find the following line:
Code: [Select]
function cpgslideplug_fillup(){After it, paste this line:
Code: [Select]
mirdochegal = startimageflow();5. Save and upload folder slider to your CPG plugin dir.
6. Download Imageflow (http://forum.coppermine-gallery.net/index.php/topic,51386.msg248663.html#msg248663) and unzip it to your harddisk.
7. Find imageflow.js and open it with a decent text editor.
8. Find the following line:
Code: [Select]
window.onload = function()Replace it with this line:
Code: [Select]
function startimageflow()9. Save and upload folder imageflow to your CPG plugin dir.
10. Go to plugin manager page.
11. Now FIRST install slider.
12. Now SECOND install imageflow.

Please remember: If you ever want to uninstall one of them, you have to replace the other one with the version from the original ZIP or undo the above modification.

Have fun!  ;)
Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: Farnsi on March 30, 2008, 10:38:07 pm
Thanks for this great plugin, i really like the look on my mainpage!
Sounds like a stoopid question but i am trying to set the width of the slider to 650px and i can't get it to work. Could someone please point me in the right direction in the code? i changed all values which occured appropriate to me.
Thank you!
Title: Re: Slider (Javascript slider on album list page)
Post by: formulx on March 30, 2008, 10:45:26 pm
Thanks for this great plugin, i really like the look on my mainpage!
Sounds like a stoopid question but i am trying to set the width of the slider to 650px and i can't get it to work. Could someone please point me in the right direction in the code? i changed all values which occured appropriate to me.
Thank you!

Go to http://yourdomain.com/gallery/index.php?file=slider/plugin_config

Edit the settings there, :)
Title: Re: Slider (Javascript slider on album list page)
Post by: Farnsi on March 31, 2008, 12:15:30 am
ok thank you, this was too easy, i overlooked the new button.  ::)  ;D
I have an additional question, is there a way to show the slider to logged-in users only?
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on April 07, 2008, 07:59:22 am
Not at the moment.
Title: Re: Slider (Javascript slider on album list page)
Post by: Shane on April 11, 2008, 04:42:12 am
Timos, the plug-in is great.  Works right out of the box.  Thanks a ton!

I have a simple (I hope) question.  Is there any way, when portrait photos are allowed, to center the photos vertically in the space provided instead of having all photos run across the bottom of the space provided?

Thanks again!
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on April 11, 2008, 12:45:25 pm
Not at the moment.
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on April 12, 2008, 01:26:38 pm
This is a beta release that integrates EnlargeIt!, please test intensively before using it in a productive gallery with different browsers and report here. It shouldn't do any harm. For details, see README.TXT. Installation as always: Uninstall previous version, delete slider folder, then upload new slider folder, empty browser cache and install.

Have fun!  ;)
Timo

EDIT: Removed beta file because 1.5 is released.
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on April 18, 2008, 11:23:21 am
I have just released v1.6 and I'm really happy with it. :)
Title: Re: Slider (Javascript slider on album list page)
Post by: Megachip on April 19, 2008, 04:33:13 pm
seems that it doen't work if you disable enlageIt! .

Also it would be nice to have the possibility so set the width to 100%.

Another suggestion, don't know if it is realizable, if the 15 or 30 or what ever number of pictures shown, to push a new db request (e.g. with ajax, not reloading the whole page) do get 15 new pictures!?

Regards
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on April 19, 2008, 06:04:53 pm
seems that it doen't work if you disable enlageIt! .

Also it would be nice to have the possibility so set the width to 100%.

Another suggestion, don't know if it is realizable, if the 15 or 30 or what ever number of pictures shown, to push a new db request (e.g. with ajax, not reloading the whole page) do get 15 new pictures!?

Regards

Please update to 1.61 (bug fix). Regarding the AJAX loading of new pics: Not in the next few weeks, but I've noted it for a later version.
Title: Re: Slider (Javascript slider on album list page)
Post by: claude258 on April 25, 2008, 10:58:40 pm
I installed this plugin last week and it is working great.

I use the Eyeball theme and since I installed the plugin I have a ''blank space'' or a ''blank line'' on top of each pages.
claudebriere.net (http://claudebriere.net) 

Is there something I should do?

Thanks.
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on April 26, 2008, 11:04:18 am
There seems to be something wrong with the french language file of Coppermine 1.4. Look at your gallery in english ( http://claudebriere.net/coppermine/?lang=english ) or german ( http://claudebriere.net/coppermine/?lang=german ) or spanish (http://claudebriere.net/coppermine/?lang=spanish ) - works fine. This has nothing to do with the plugin, because everything in its language file will only be visible in admin mode.

BTW: Italian seems to have the same problem.

First thing I would do is generate valid XHTML, because your website doesn't:
Check here (http://validator.w3.org/check?uri=http%3A%2F%2Fclaudebriere.net%2Fcoppermine)

If this doesn't fix it, I recommend to ask your question here:
http://forum.coppermine-gallery.net/index.php/board,98.0.html
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on May 02, 2008, 01:07:55 pm
Just released v1.7 with slider auto size feature. Seems to work fine here with several themes and browsers, but please test it carefully and report if it doesn't work for you and with which theme and browser; please include a link to your gallery if possible. Thanks!

regards
Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on May 05, 2008, 12:41:24 am
Just released v1.71 (small bug fix release that was needed because I hate IE  ;)). If you already have installed v1.7, you can simply overwrite your plugin folder with the new one. If not, follow the install instructions in the first post of this thread as usual.
Title: Re: Slider (Javascript slider on album list page)
Post by: claude258 on May 06, 2008, 04:07:30 am
I installed v.1.7 and then v1.71 and it is working great but when I go from one page to the other on the site it shows a white page for a fraction of a second. It ''flash'' the eyes because it is a white page and my background is black (Eyeball theme). I use IE.

www.claudebriere.net (http://www.claudebriere.net)

I dont remember if it was like this with the previous versions.

If I uninstall the plugin Slider I dont see a white page between pages (everything is normal).

Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on May 06, 2008, 08:53:01 am
This is not a valid bug report, because you are quite unconvincible, aren't you? Like I already wrote here (http://forum.coppermine-gallery.net/index.php/topic,51324.msg253541.html#msg253541): Fix your HTML (http://validator.w3.org/check?uri=http://claudebriere.net/coppermine/index.php) before asking questions about why certain browsers do stupid things with your website.

The Eyeball theme that comes with Coppermine is valid XHTML 1.0 and works perfectly even in Internet-Explorer, even with french language, as you can see here (http://cpgdev.timos-welt.de/cpg1416/?theme=eyeball&lang=french). You modded the theme, now it's not longer valid XHTML.

Furthermore, as I already wrote, there's something wrong with the french language file of CPG 1.4.18; it contains a BOM (byte order mark) that should be removed for maximum browser compatibility. Please do a forum search on 'byte order mark'.
Title: Re: Slider (Javascript slider on album list page)
Post by: Hein Traag on May 09, 2008, 04:41:27 pm
Hi Timos,

I run a wordpress blog for myself and regularly post something new , often with pictures.
Would it be possible to use Slider for displaying the pictures ?

Somehow adding Slider to a post with iframe or a other method and then be able to tell Slider from which album it needs to get the pictures ?

Cheers
Hein
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on May 09, 2008, 05:55:33 pm
Hi Hein,

slider is a plugin version of a mod, what you ask me to do is the mod version of a plugin version of a mod.  ;)

How about using the mod (http://forum.coppermine-gallery.net/index.php/topic,41197.0.html) by pbasmo?

regards
Timo

Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on May 09, 2008, 05:57:16 pm
Just released v1.72 (bug fix).

Have fun!  :)
Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: ksawery on May 09, 2008, 06:38:55 pm
Great!
Title: Re: Slider (Javascript slider on album list page)
Post by: Hein Traag on May 09, 2008, 10:14:58 pm
That's what i needed Timo :) and thanks for the bug fix as well!
Title: Re: Slider (Javascript slider on album list page)
Post by: ngul on May 10, 2008, 12:02:52 am
Hi Timos, for me same problem than Imageflow. In IE6 don't work. Previous version (1.71) work like a charm in all browsers.
Maybe EnlargeIt new version have some problem in IE6?
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on May 10, 2008, 01:13:31 pm
Look here: http://en.wikipedia.org/wiki/Quirks_mode

EnlargeIt! at the moment likes to have valid (X)HTML; I'll probably fix this for IE6 with v0.94, but in the end, it's absolutely unpredictable what several browsers do with your website when not using valid HTML. Thanks for your bug report. For now, try out switching the option "Center on page" in EnlargeIt! options on slider config page!

regards
Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on May 11, 2008, 01:41:23 pm
Just released 1.73, with new quirksmode compatible EnlargeIt! version. ;-)
Title: Re: Slider (Javascript slider on album list page)
Post by: Hein Traag on May 12, 2008, 09:08:33 am
Thanks Timos. Works like a charm it does.
Dutch lang file added to this post.

Cheers
Hein
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on May 12, 2008, 01:44:59 pm
Thanks Hein, I've added it to the ZIP.
Title: Re: Slider (Javascript slider on album list page)
Post by: Audax on May 18, 2008, 01:13:57 am
Hello,

really great mod! Thank you for that.
Just a little feature request.
Would it be possible when I use EnlargeIt and "show caption" is on, to put a link on the caption,
linking to the picture in the gallery,
or alternatively to the album thumbnail page of the specific picture?
I know I can turn off enlargeIt to get directly to the album, but I like the popups very much.
And without the combination of both you can hardly find the picture in the gallery.

Or am I too dumb to find that option?;)
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on May 18, 2008, 02:55:04 pm
The EnlargeIt! option in this plugin will merge with the EnlargeIt! CPG plugin to come in the next weeks that will bring a complete AJAX gui for Coppermine. Look here (http://enlargeit.timos-welt.de/beta/demo0/demomachine.php) for a preview of EnlargeIt! v0.95, and then imagine a button for pic info, one for voting, one for comments, one for add to favourites and so on. A link to the intermediate page won't be neccessary then anymore, just like the whole intermediate page won't (though it will stay where it is for people without Javascript). That's why I won't add a link feature ATM - it's just not worth to spend the time IMHO.

Please have a little patience, there's good things to come!  ;)
Title: Re: Slider (Javascript slider on album list page)
Post by: Audax on May 18, 2008, 10:21:25 pm
Sounds promising! Ok, I will be patient until it's released. ;)
And thank you for the information!
Title: Re: Slider (Javascript slider on album list page)
Post by: perilpictures on June 03, 2008, 03:19:23 am
Hi,

how can i get the heading off?

Don´t wanna show the typing-heading (e.g. top rated, most viewed)

THX 4 help
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on June 03, 2008, 08:18:27 am
Quote
how can i get the heading off?

Open codebase.php with a text editor.

Find
Code: [Select]
starttable("100%", $lang_meta_album_names[$SLIDERSET['slider_album']]);
Change to
Code: [Select]
starttable("100%", "");
Title: Re: Slider (Javascript slider on album list page)
Post by: perilpictures on June 03, 2008, 12:26:22 pm
Open codebase.php with a text editor.

Find
Code: [Select]
starttable("100%", $lang_meta_album_names[$SLIDERSET['slider_album']]);
Change to
Code: [Select]
starttable("100%", "");

Hey special THX to YOU!! (vielen Dank ;) )

Do you know how i can include the Slider in the Pictures View?
Wie kann ich den Slider in der Fotoansicht anzeigen lassen?
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on June 03, 2008, 04:50:14 pm
Not at all.
Title: Re: Slider (Javascript slider on album list page)
Post by: net on August 26, 2008, 02:00:39 pm
Love the look of this slider, however i cannot use it, cause for some reason it consumes insane amount of CPU when placed on my gallery (not from server only from client ofcourse) but still.. In your gallery this slider consumes around 20% cpu on this computer at work, on my gallery it goes to 100% and stays there. I've tested all settings avaible, what might be causing this?
Title: Re: Slider (Javascript slider on album list page)
Post by: andyleery on August 26, 2008, 04:34:54 pm
Does somebody know a website for more cursors? I only found software...
Title: Re: Slider (Javascript slider on album list page)
Post by: andyleery on August 26, 2008, 05:40:50 pm
One problem with this plugin.
In IE7 the slider isnt displaying correct. Pictures go on the right side out of my design.
In Firefox it looks good.
-> http://www.bollybilder.de (bottom)
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on August 26, 2008, 06:13:44 pm
There is no slider on the page you posted.
Title: Re: Slider (Javascript slider on album list page)
Post by: andyleery on August 26, 2008, 06:17:33 pm
There should be. Maybe you have JS deactivated. May I get a screen?
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on August 26, 2008, 06:39:27 pm
Found it (it was a cache problem on my side).

Both scripts (slider and imageflow) have huge display problems. IMO it's a wonder that they work at all in this context. Your site's HTML is really really really invalid.
Check here:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.bollybilder.de%2F&charset=iso-8859-1&doctype=Inline&ss=1&group=0&user-agent=W3C_Validator%2F1.591

Please fix your html. All the positioning bugs should be gone then.

regards
Timo
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on August 26, 2008, 06:45:24 pm
BTW:
It might help you with ImageFlow to set "Show Imageflow in standard table of the theme" to "No".
It might make the slider more stable if you increase the number of pics from 15 to 30.
Title: Re: Slider (Javascript slider on album list page)
Post by: andyleery on August 26, 2008, 07:01:23 pm
Many of the Mods/Plugins must be bad codet, which I have installed over month.
I didnt do much by my self. But thx for your help. I will keep it like it is. In FF and IE it looks ok. Only this one problem I have right now.
Are other things also not working correct on the mainpage on your client?

I tried your solution but it didnt work.
Title: Re: Slider (Javascript slider on album list page)
Post by: Fabricio Ferrero on October 16, 2008, 07:08:28 am
Hi! I have been using this script for a while in my local installation and works great. The problem appears when I uploaded to the web. After trying very hard to fix it, I give up and I uninstalled. Then, I downloaded a fresh copy of this plugin and installed again, without luck. Still doesn't work. I don't use enlarge it. I just need the simple slider feature. Any advice?

Link: http://mevistoonline.com.ar/fotos/index.php (http://mevistoonline.com.ar/fotos/index.php)
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on October 16, 2008, 04:50:44 pm
Simply try the new version (from EnlargeIt! zip) and set "Use EnlargeIt!" to no. Does this work?
Title: Re: Slider (Javascript slider on album list page)
Post by: Fabricio Ferrero on October 16, 2008, 05:53:57 pm
Yes, I'm using the v1.73. And I have "Use EnlargetIt!" seted to No. And still doesn't work. Weird problem. It work perfect on my local installation. I check in 2 diferent browser. And I checked in other pc, doesn't work.

What to do now?  :(
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on October 16, 2008, 05:56:54 pm
Uninstall rcmenu plugin. Does it work now?
Title: Re: Slider (Javascript slider on album list page)
Post by: Fabricio Ferrero on October 16, 2008, 06:13:21 pm
Voila!!! Working perfect right now!! Thank you very much for the very fast support!

Great plugin!

Cheers,

P.S: Feel free to PM me in case you're going to write a new plugin and need a spanish tranlation. Thanks!
Title: Re: Slider (Javascript slider on album list page)
Post by: icobgr on October 25, 2008, 10:43:56 am
Hi, I have a little issue with the slider. My max thumb size (height) is set to 200px. So, in the slider it uses this size. If I set smaller height, for example 80px in the configuration of the slider, it still uses the max height of the thumbs but do not resize to this smaller height. Is it possible to resize images in the slider to smaller height that set for max thumbs height? If it is not possible in this version (I got it from enlargeit), can you help me what to change in the code?
Title: Re: Slider (Javascript slider on album list page)
Post by: Joachim Müller on October 25, 2008, 06:57:04 pm
Board rules / Forum policies: Post Links (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616)
Title: Re: Slider (Javascript slider on album list page)
Post by: icobgr on October 25, 2008, 08:55:57 pm
I can not find how to edit my previous post, so here is my gallery (http://gallery.icobgr.info/).
Title: Re: Slider (Javascript slider on album list page)
Post by: goku on November 06, 2008, 08:35:38 pm
im sorry im kind off confuse the main page says that this plugin have a version 2.01 but i can only see the download option for 1.73 w what should i do?
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on November 06, 2008, 08:46:46 pm
There's a slider_for_cpg1_4_x_vXXX.zip inside the EnlargeIt_plugin_vXXX_for_CPG14x.zip.
Title: Re: Slider (Javascript slider on album list page)
Post by: goku on November 06, 2008, 08:50:04 pm
There's a slider_for_cpg1_4_x_vXXX.zip inside the EnlargeIt_plugin_vXXX_for_CPG14x.zip.
oh ok thanks buddy!! i have installed it by plugin manager but nuthing is sliding on the page. i checked its settings through slider panel and tis on and enlarge it is also enabled. please help.
here is the link www.gokufanclub.com/cpg/
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on November 06, 2008, 08:53:16 pm
Read the Readme.txt.
Title: Re: Slider (Javascript slider on album list page)
Post by: goku on November 06, 2008, 09:01:05 pm
oh im so sorry i thoguht it would also be direct like other plugins :D . one more thing wht is this image flow its also in that download of enlarge it?
Title: Re: Slider (Javascript slider on album list page)
Post by: Joachim Müller on November 07, 2008, 03:00:07 pm
Read the thread that deals with ImageFlow instead of trying to hijack an announcement thread for something else. Respect board rules!
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on November 21, 2008, 08:39:58 am
Updated the version to 2.11 (current).
Title: Re: Slider (Javascript slider on album list page)
Post by: lineart on November 25, 2008, 01:02:30 am
can you add to your plugin similar settings?

Quote
To exclude some albums, first, you must know the id album and modify the line $query= as (if you want exclude album #15):
Code:
$query = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND aid <> 15 ORDER BY RAND() LIMIT $limit";

They are other possibilities if you want limit the choice of pictures to some albums (ie albums #15 and #20):
Code:
$query = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND aid = 15 OR aid = 20 ORDER BY RAND() LIMIT $limit";

or for only 1 album (ie album #15) :
Code:
$query = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} WHERE approved = 'YES' AND aid = 15 ORDER BY RAND() LIMIT $limit";

///Or I have not found them?
Title: Re: Slider (Javascript slider on album list page)
Post by: jake on December 02, 2008, 07:21:17 pm
Any possibility of getting your fantastic plugin to appear pages other than the Coppermine “home”?  (thumbnail, search, etc)
I currently have pbasmo’s mod (http://forum.coppermine-gallery.net/index.php/topic,41197.0.html (http://forum.coppermine-gallery.net/index.php/topic,41197.0.html)) on those pages on my site, but would prefer the integration with “Enlargeit!
See:
http://woodardphotos.net/coppermine (http://woodardphotos.net/coppermine)
http://woodardphotos.net/coppermine/search.php (http://woodardphotos.net/coppermine/search.php)

Thanks again for your time.
- Jake
Title: height of slider area
Post by: webhigh on December 07, 2008, 07:27:04 pm
how do you control the height of the slider area

I want my slider area to look like this

http://cpgdev.timos-welt.de/cpg1416/index.php?theme=water_drop

I like the way it's one line

But mine looks like this

http://stoughtonhighalumni.org/alumni_photo_gallery/index.php

I can't figure out what files to edit

Thanks
Title: Re: Slider (Javascript slider on album list page)
Post by: Hein Traag on December 07, 2008, 07:50:38 pm
You are using the imageflow plugin. If you want to have a slider like on Timos test website then use the Slider plugin by Timos.
Title: Re: Slider (Javascript slider on album list page)
Post by: webhigh on December 07, 2008, 08:15:38 pm
actually use EnlargeIt! and what was included in that package which was both Slider and Inmageflow.

I just want to know how to reduce the height of the area
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on December 08, 2008, 01:54:54 am
Please continue in the right thread (as Hein said, Imageflow is what you are using ATM). Thanks.
Title: Re: Slider (Javascript slider on album list page)
Post by: jake on December 08, 2008, 03:55:32 pm
Any possibility of getting your fantastic plugin to work with Timos-Welt's "Enlargeit" mod? see: http://forum.coppermine-gallery.net/index.php (http://forum.coppermine-gallery.net/index.php)/topic,53290.0.html
Thanks for your time,
Jake
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on December 08, 2008, 04:41:30 pm
No. It will never work with EnlargeIt!. The fact that slider is delivered with EnlargeIt! in the same ZIP is just to confuse you. The parameter 'Use EnlargeIt' on the config page is just a dummy, it does nothing and isn't even being saved at all, but everytime you switch it, a shaman will knit a fusion bomb out of used guitar strings.
Title: Re: Slider (Javascript slider on album list page)
Post by: Phill Luckhurst on December 08, 2008, 04:52:16 pm
Thanks Timos, I have just spat my drink over my keyboard laughing at that. Looks like anoher new keyboard is needed ;)
Title: Re: Slider (Javascript slider on album list page)
Post by: webhigh on December 08, 2008, 05:22:47 pm
actually use EnlargeIt! and what was included in that package which was both Slider and Inmageflow.

I just want to know how to reduce the height of the area

ok figured most of this out what I did not realize in terms of putting this all on the photo gallery was a couple of things

1. when I donwload Enlargeit I was actually downloading 3 separate things
2. You control the placement via the Album list in the Config area

Never figured out how to control the size of the black area but by putting the imageflow at the bottom of the page it works in terms of not eating up space at the top of the album.

Great plugins though.

This was asked a little bit ago but how do you put imageflow onto a different page yet have it linked to the photo album random images ?

Thanks
Title: Re: Slider (Javascript slider on album list page)
Post by: jake on December 08, 2008, 05:36:24 pm
Quote
No. It will never work with EnlargeIt!. The fact that slider is delivered with EnlargeIt! in the same ZIP is just to confuse you. The parameter 'Use EnlargeIt' on the config page is just a dummy, it does nothing and isn't even being saved at all, but everytime you switch it, a shaman will knit a fusion bomb out of used guitar strings.
I'm glad to provide such humor, I guess my post was not clear.  I was hoping to get your "Slider" plugin to work on pages other than the Coppermine “index”?  (thumbnail, search, etc)
I currently have pbasmo’s mod (http://forum.coppermine-gallery.net/index.php/topic,41197.0.html) on those pages on my site, but would prefer the integration with “EnlargeIt!
See:
http://woodardphotos.net/coppermine
http://woodardphotos.net/coppermine/search.php

Thanks again for your time.
- Jake
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on December 08, 2008, 06:39:58 pm
 >:( I don't use the mod. If you have questions about what pbasmo's mod can do for you, it may be a good idea to post your question in the corresponding thread, but not in this one. This thread is about the plugin slider that can be used with EnlargeIt! out of the box. You're question has nothing to do with the plugin, so you're hijacking this thread in hope that I will code the corresponding mod for you to suit your needs. Surprise: I won't. eenemeenemuu is absolutely right, have a look at his forum signature.
Title: Re: Slider (Javascript slider on album list page)
Post by: jake on December 08, 2008, 06:54:03 pm
Sorry to post in the wrong forum (I wasn't sure which one to post in).  I certainly didn't mean to offend (or "hijacking this thread").
I'll go over to pbasmo's thread.
- Jake
Title: Re: Slider (Javascript slider on album list page)
Post by: gabzee on December 15, 2008, 06:55:38 pm
Can make slider goes from down to up on left or right side of gallery?

Thx
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on December 15, 2008, 08:51:36 pm
No.
Title: Re: Slider (Javascript slider on album list page)
Post by: Heroe on January 24, 2009, 11:48:57 pm
Timmos how to edit the codebase.php to hide one gallery like pbasmo MOD slider.

i think this must be one of this 3 queries in codebase.php

Code: [Select]
// request string for meta album toprated
  if ($SLIDERSET['slider_album'] == "toprated") {
    $slider_query = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename like '%.jpg' AND filename not like 'youtube_%' approved = 'YES' $slider_FORBIDDEN_SET AND votes >= '{$CONFIG['min_votes_for_rating']}' $META_ALBUM_SET ORDER BY pic_rating DESC, votes DESC, pid DESC LIMIT $sliderlimit";
  }
  // request string for meta album most viewed
  else if ($SLIDERSET['slider_album'] == "topn") {
    $slider_query = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename like '%.jpg' AND filename not like 'youtube_%' AND approved = 'YES' $slider_FORBIDDEN_SET AND hits > 0 $META_ALBUM_SET ORDER BY hits DESC, filename LIMIT $sliderlimit"; 
  }
  // request string for meta album last uploads
  else if ($SLIDERSET['slider_album'] == "lastup") {
    $slider_query = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename like '%.jpg' AND filename not like 'youtube_%' AND approved = 'YES' $slider_FORBIDDEN_SET $META_ALBUM_SET ORDER BY pid DESC LIMIT $sliderlimit"; 
  }
ore im wrong ???
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on January 27, 2009, 04:19:14 pm
i think this must be one of this 3 queries in codebase.php
ore im wrong ???

You are right, but I do not support messing around with the SQL queries. The plugin simply isn't meant to provide that kind of picture selection.
Title: Re: Slider (Javascript slider on album list page)
Post by: Heroe on January 27, 2009, 04:57:52 pm
Ok thank you Timos-Welt no private galleries with yr plugin  :)
Title: Re: Slider (Javascript slider on album list page)
Post by: lurkalot on January 28, 2009, 09:58:13 am
Timos,

I have upgraded to the latest version 212, and now the thumbnails won't elarge when I click on them.   I was using version 173 previously without any problems.   

Any ideas?  http://cameracraniums.com/gallery/
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on January 28, 2009, 01:20:26 pm
From version 2.0 upwards you'll need to install the EnlargeIt! plugin additionally. The slider plugin uses the engine from EnlargeIt! to generate the EnlargeIt! effect.
Title: Re: Slider (Javascript slider on album list page)
Post by: lurkalot on January 28, 2009, 07:20:45 pm
From version 2.0 upwards you'll need to install the EnlargeIt! plugin additionally. The slider plugin uses the engine from EnlargeIt! to generate the EnlargeIt! effect.

Thanks for the reply Timos.

I wasn't aware that you had taken the slider as a stand alone plugin away when I upgraded it, and I really don't want to change how my intermediate pics display throughout the gallery.   Do you have, or is there somewhere I can obtain the latest version prior to 2.0? Please. 
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on January 28, 2009, 07:46:24 pm
1. Install EnlargeIt! plugin.
2. Go to EnlargeIt! settings page.
3. Set
Enable EnlargeIt! in admin mode to 'no'
Enable EnlargeIt! for registered users to 'no'    
Enable EnlargeIt! for guests to 'no'
4. Go to slider settings page.
5. Set
Use EnlargeIt! to 'yes'

=> everything should behave exactly like with slider 1.x.
Title: Re: Slider (Javascript slider on album list page)
Post by: lurkalot on January 28, 2009, 08:37:31 pm
Thank you Timos, that seems to have done the trick.

Just one slight problem after the install.  Compared to your demo site, mine doesn't show the magnifying glass with the plus sign on it when you put the mouse over a thumbnail.  But once opened, it shows the magnifying Glass with the minus sign as expected.

I un-installed the slider plugin, and installed the EnlargeIt plugin.   Then reinstalled the slider plugin ver 2.12.   Is the slider plugin 2.12 I downloaded different from the one included with the EnlargeIt plugin download?  (if that makes sense).  :-[
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on January 28, 2009, 08:46:00 pm
Not different. Development simply continues - life goes on. Go here:
http://enlargeit.timos-welt.de/english/11/building_blocks.php
And create yourself a latest version of enlargeit.js just as you need it. This one will show the plus glass if you like.
Title: Re: Slider (Javascript slider on album list page)
Post by: lurkalot on January 28, 2009, 08:50:31 pm
That's cool, thanks, I'll have a play with that later tonight.  ;)
Title: Re: Slider (Javascript slider on album list page)
Post by: ff on February 08, 2009, 10:03:08 pm
To do for next version v1.3:
- Possibility of more than one slider on page

Uhm,

Did I miss v1.3 or this feature in the overview?

I'd like to have my latest images and random images sliding.

Or would this be to much to handle

BTW. like your plugins.
Title: Re: Slider (Javascript slider on album list page)
Post by: Fabricio Ferrero on February 09, 2009, 03:39:47 pm
Uhm,

Did I miss v1.3 or this feature in the overview?

I'd like to have my latest images and random images sliding.

Or would this be to much to handle

BTW. like your plugins.

That's an old post, ignore it. ;) The current version is 2.12 .
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on February 09, 2009, 04:14:06 pm
Only one slider per page for the time being, sorry. :)
Title: Re: Slider (Javascript slider on album list page)
Post by: ff on February 09, 2009, 05:09:46 pm
Only one slider per page for the time being, sorry. :)

Just found out from a friend that he sees the complete page (top = latest and bottom = random). It would be very busy for some ppl :D

As said, you're a wise man.
Title: Re: Slider (Javascript slider on album list page)
Post by: Megachip on March 27, 2009, 11:50:05 am
Regarding the AJAX loading of new pics: Not in the next few weeks, but I've noted it for a later version.
Anything new on it?
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on March 27, 2009, 03:17:22 pm
A new slider version with this feature will be released somewhen until december 2013.
Title: Re: Slider (Javascript slider on album list page)
Post by: edoitaly on May 13, 2009, 05:57:23 pm
Hi,
I have a problem, this plugin doesn't work with me:
I've downloaded it and activated but all I get is a white empty space where it should be.
I've cpm 1.4.22 at foto.edoitaly.com
right now I've uninstalled it because I don't want to people see that empty space.
TNX for any help!!!
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on May 14, 2009, 02:17:58 pm
If you trust me, create a new admin user and post me the login details via personal message. I'll see what I can do.
Title: Danish language file for Slider
Post by: Mimer on June 01, 2009, 12:51:59 am
Danish language file for Slider v2.12.
Revision 1.0

Mimer  8)
Title: Re: Danish language file for Slider
Post by: Timos-Welt on June 02, 2009, 12:15:43 am
Danish language file for Slider v2.12.
Revision 1.0

Mimer  8)

Thank you very much!
Title: Re: Slider (Javascript slider on album list page)
Post by: Mimer on June 02, 2009, 12:29:00 am
Again - your welcome.
This plugin is awsome.

Mimer  8)
Title: Re: Slider (Javascript slider on album list page)
Post by: lakersfan on June 15, 2009, 09:31:55 pm
Hi!

Great thanx for this plugin is realy awsome. But I've got problem. I don' use ENLARGE IT and when t pressed on photo i have error like this:

Code: [Select]
While executing query "SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT -1" on 0

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-1' at line 1

If anybody can help me to solve this problem?? Any ideas?? I thougt that is because of my hosting - mysql but i tried on another one and its the same.

Code: [Select]
USER:
------------------
Array
(
    [ID] => d7204a2e98252c67fc3717083e4bfa6c
    [am] => 1
    [lang] => polish
    [liv] => Array
        (
            [0] => 10
            [1] => 8
            [2] => 7
            [3] => 6
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => SELECT * FROM cpg14x_plugins (0s)
    [3] => SELECT * FROM cpg14x_mod_slider (0s)
    [4] => SELECT * FROM cpg14x_plugins (0s)
    [5] => SELECT * FROM cpg14x_mod_imageflow (0s)
    [6] => SELECT * FROM cpg14x_plugins (0s)
    [7] => SELECT * FROM cpg14x_plugin_enlargeit (0s)
    [8] => delete from `114_galeria`.cpg14x_sessions where time<1245090566 and remember=0; (0s)
    [9] => delete from `114_galeria`.cpg14x_sessions where time<1243884566; (0s)
    [10] => select user_id from `114_galeria`.cpg14x_sessions where session_id = 'f0382ffc8165d602979757bf5891614e' (0s)
    [11] => select user_id as id, user_password as password from `114_galeria`.cpg14x_users where user_id=1 (0s)
    [12] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `114_galeria`.cpg14x_users AS u INNER JOIN `114_galeria`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [13] => SELECT user_group_list FROM `114_galeria`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [14] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (1) (0s)
    [15] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [16] => update `114_galeria`.cpg14x_sessions set time='1245094166' where session_id = 'f0382ffc8165d602979757bf5891614e' (0s)
    [17] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [18] => SELECT name, value FROM cpg14x_config where name REGEXP '^plugin_displayfields_' (0s)
    [19] => SELECT 1 FROM cpg14x_pms WHERE owner=1 (0s)
    [20] => SELECT 1 FROM cpg14x_pms WHERE owner=1 AND showed=0 (0s)
    [21] => SELECT * FROM cpg14x_mark_users WHERE user_id = 1 (0s)
    [22] => SELECT * FROM cpg14x_mark_config (0s)
    [23] => SELECT aid from cpg14x_pictures WHERE pid='6'  LIMIT 1 (0s)
    [24] => SELECT title,keyword from cpg14x_albums WHERE aid='11' (0s)
    [25] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='11'  ) )   (0s)
    [26] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg14x_pictures WHERE ((aid='11'  ) )   ORDER BY filename ASC  (0s)
    [27] => SELECT title,keyword from cpg14x_albums WHERE aid='11' (0s)
    [28] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='11'  ) )   (0s)
    [29] => SELECT * from cpg14x_pictures WHERE ((aid='11'  ) )   ORDER BY filename ASC  LIMIT 2 ,1 (0s)
    [30] => SELECT * FROM cpg14x_plugin_active_search (0s)
    [31] => DELETE FROM cpg14x_banned WHERE expiry < '2009-06-15 21:29:27' (0s)
    [32] => SELECT * FROM cpg14x_banned WHERE (ip_addr='89.76.70.93' OR ip_addr='89.76.70.93' OR user_id=1) AND brute_force=0 (0s)
    [33] => SELECT aid from cpg14x_pictures WHERE pid='6'  LIMIT 1 (0s)
    [34] => SELECT title,keyword from cpg14x_albums WHERE aid='11' (0s)
    [35] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='11'  ) )   (0s)
    [36] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg14x_pictures WHERE ((aid='11'  ) )   ORDER BY filename ASC  (0s)
    [37] => SELECT title,keyword from cpg14x_albums WHERE aid='11' (0s)
    [38] => SELECT COUNT(*) from cpg14x_pictures WHERE ((aid='11'  ) )   (0s)
    [39] => SELECT * from cpg14x_pictures WHERE ((aid='11'  ) )   ORDER BY filename ASC  LIMIT 2 ,1 (0s)
    [40] => SELECT title, comments, votes, category, aid FROM cpg14x_albums WHERE aid='11' LIMIT 1 (0s)
    [41] => SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT -1 (0s)
    [42] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
)

==========================
GET :
------------------
Array
(
    [album] => random
    [cat] => 0
    [pos] => -6
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.0-8+etch15 - OK
------------------
mySQL version: 5.0.32-Debian_7etch10-log
------------------
Coppermine version: 1.4.24(stable)
==========================
Module: GD
------------------
GD Version: 2.0 or higher
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support:
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
module doesn't exist
==========================
Module: zlib
------------------
module doesn't exist
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
==========================
email
------------------
Directive | Local Value | Master Value |  |  |  |  |  |  |  |
==========================
Size and Time
------------------
Directive | Local Value | Master Value |  |  |  |  |  |  |  |
==========================
Page generated in 0.327 seconds - 43 queries in 0 seconds - Album set : ; Meta set: ;
Title: Re: Slider (Javascript slider on album list page)
Post by: coda514 on June 22, 2009, 07:53:00 pm
Thancs for the great plugin. Its exactly what I was looking for. Fantastic work. Did you happen to make a Photoshop action called Polaroid? Just curious.

Thanks again,
Coda514
Title: Re: Slider (Javascript slider on album list page)
Post by: donsenilo on July 05, 2009, 07:52:27 pm
hello

great plugin. works fine, looks good, but ...

when i click on a pic in the slider i get an database-error (Beim Ausführen einer Datenbank-Abfrage ist ein Fehler aufgetreten).
i use the slideshow-mod, not enlargeit. could this be the problem ?
Title: Re: Slider (Javascript slider on album list page)
Post by: Timos-Welt on July 05, 2009, 11:21:56 pm
This thread is about the plugin, not the mod. Go to the mod thread.
Title: Re: Slider (Javascript slider on album list page)
Post by: Heroe on July 16, 2009, 04:00:38 pm
Hi Timos-Welt

Is it possible the slider to show "lastup pictures" not random pictures from albums ?

Ivo
Title: Re: Slider (Javascript slider on album list page)
Post by: Ivo007 on September 08, 2009, 02:35:35 am
First of all, great plugin!!!! Thanks Timo!

I'd like to put 2 sliders on my page, one for random pics and one for last additions. Is that possible? What do I need to rename or do?

Thanks
Ivo

Title: Re: Slider (Javascript slider on album list page)
Post by: enpila on September 23, 2009, 07:14:39 pm
please i want to know where is plugin manager i didnt see that
Title: Re: Slider (Javascript slider on album list page)
Post by: Joe Carver on September 24, 2009, 12:04:44 am
enpila, You must be joking.

Since you do not see the button at the top of these pages here is another link:

Documentation (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm)
Title: Re: Slider (Javascript slider on album list page)
Post by: enpila on September 24, 2009, 04:03:46 pm
i talk about how install say go to plugin manager page an install i dont know if is in my gallery or what
How to install:
---------------
* Download v2.11
* Unzip
* Uninstall any previous version via plugin manager
* Upload folder 'slider' into Coppermine's plugins folder
* Go to plugin manager page and install it
* Empty your browser cache



enpila, You must be joking.

Since you do not see the button at the top of these pages here is another link:

Documentation (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm)
Title: Re: Slider (Javascript slider on album list page)
Post by: Joe Carver on September 24, 2009, 05:17:31 pm
enpila, You know how to write - do you not know how to read?

If no or if you don't want to read, then you are in trouble if you want to be a webmaster.

http://forum.coppermine-gallery.net/index.php/topic,55415.0.html

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#plugin
Title: Re: Slider (Javascript slider on album list page)
Post by: missparis on October 03, 2009, 03:46:59 pm
Thank you so much for this great plugin! ;D I just installed it and it is very simple to use.

However I would like to have some help with one thing, I would like to have the height of the slider changed. The thumbnails in my gallery are set to 90x in height and the slider height is set to 100x but it stays smaller than the thumbnails so they are cut. Is there any way to fix that?
I don't use EnlargeIt and here is my Gallery: http://www.melinda-clarke.org/gallery/index.php (http://www.melinda-clarke.org/gallery/index.php)
Title: Re: Slider (Javascript slider on album list page)
Post by: Cath22 on December 20, 2009, 03:04:31 pm
Hi Timo,

It seems that the Slider 2.12 does not run when Google Chrome is used. See my site http://www.fotofantastic.nl

Any idea?

Greetings
Cath
Title: Re: Slider (Javascript slider on album list page)
Post by: Cath22 on December 20, 2009, 04:51:13 pm
As an addition, I found this slider functioning, but it has no EnlargeIt integration:
http://forum.coppermine-gallery.net/index.php/topic,41197.msg195339.html#msg195339 (http://forum.coppermine-gallery.net/index.php/topic,41197.msg195339.html#msg195339)

After installing this one next to Timo's, then Timo's slider does work again, except for the fact you have then two sliders in screen, which is not desired.

Perhaps its an easy thing to fix, something to copy from one to another (I dont know what, i'm no programmer)?

Greetz
Cath
Title: Re: Slider (Javascript slider on album list page)
Post by: mrdee on December 31, 2009, 01:36:06 pm
This is a great plugin that is increasing the popularity of my site.  Thanks.

I can't comply with board rules ref posting a link as the site is not accessible to the Net at the moment.  Hope this is OK, but understand if not.

I heard regularly from an IE8 user that they could not get flash files to play in EnlargeIt without "stuttering" (stopping and starting, generally not playing smoothly).  I finally got my hands on the offending machine now, hence this post.  I found that the machine is fully updated (WinXP Pro, IE8, Flash player etc).  The problem only exists when playing a flash video (in Enlargit) from the Album List screen via the Lastup line (the homepage for the site).  If I play the same flash video via the Album Page for the specific album then it plays OK.  I found that the key to the problem is that Slider is running simultaneously in the background on the Album List, and when attempting to play a flash video in Enlargeit from there the machine in question simply does not have enough CPU (100% used, even though the file was fully buffered).

The reason I post here on the Slider page is that I found that simply leaving the Album List screen running on an IE8 browser consumes constant CPU.  I replicated it on several machines including Vista machines and found that Slider uses considerable (25-40%) CPU just sliding 15 thumbnails.  Is this normal?  Firefox 3.5.6 on the same machines does not suffer the same problem.  On my own machine I don't notice the problem much if I switch to IE8, but only because I have a dual core machine with plenty power (it still hits the CPU usage).

I just wanted to ask if this was a common/known problem?  I am using v2.15 of Slider (default options set) and Cpg v1.4.25.  I only use Firefox myself, but I see that many users hit the site using IE hence I would like to resolve the issue.  I would rather not adjust the site and take the Lastup line off if I can avoid it at all.

Thanks in advance, even if anyone is able only to confirm that they notice similar symptoms.

MrDee
Title: Re: Slider (Javascript slider on album list page)
Post by: Cath22 on January 06, 2010, 03:13:53 pm
No help for this one? I guess Google's Chrome will be used more and more.....
Title: Re: Slider (Javascript slider on album list page)
Post by: Joe Carver on January 06, 2010, 03:56:02 pm
@ Cath22 - It works just fine using Chrome - with and without Enlargeit! on my cpg 1.4.25 test gallery.

It looks like you are using a jquery plugin for your snow effect. That does interfere with Enlargeit! on your thumbnails pages. Test it yourself.

This is probably the cause of your problem - not any bug or issue with Slider.
Code: [Select]
www.fotofantastic.nl/snow/script/snowstorm.js"></script>
Title: Re: Slider (Javascript slider on album list page)
Post by: Cath22 on January 06, 2010, 04:22:32 pm
@ Cath22 - It works just fine using Chrome - with and without Enlargeit! on my cpg 1.4.25 test gallery.

It looks like you are using a jquery plugin for your snow effect. That does interfere with Enlargeit! on your thumbnails pages. Test it yourself.

This is probably the cause of your problem - not any bug or issue with Slider.
Code: [Select]
www.fotofantastic.nl/snow/script/snowstorm.js"></script>

Thanks Joe,

I had en have now again removed it, but still no show, but since you say it can have problems with jquery. I am also using  JUpload plugin Plugin v3.6.1
But when uninstalling that one, still no show, so I will be further searching in my setup for a culprit if you say it should work.

Cath
Title: Re: Slider (Javascript slider on album list page)
Post by: Cath22 on January 06, 2010, 04:57:22 pm
And again thanks Joe, I have cleaned up my directory (since it contained previous versions of all kinds of slider progs), and I also changed the order of slider and EnlargeIt (put them on top now).

Now it works again, yeeha.

Cath
Title: Re: Slider (Javascript slider on album list page)
Post by: Cath22 on January 06, 2010, 05:01:22 pm
And again thanks Joe, I have cleaned up my directory (since it contained previous versions of all kinds of slider progs), and I also changed the order of slider and EnlargeIt (put them on top now).

Now it works again, yeeha.

Cath

Damn, i hate it you cant edit your posts.... Clicked to fast on the post button. ;D

Save to say that the plugin "Right Click Menu v2.0.1" also blocked the slider from working.
Title: Re: Slider (Javascript slider on album list page)
Post by: DJNilo on March 27, 2010, 02:22:30 am
Can some one please explain to me this part:

Quote
How to enable:
--------------
* To enable this plugin, you'll have to add "slider" to "the content of the main page" in coppermine's config in the section "Album list view". The setting should look like "breadcrumb/catlist/alblist/slider" or similar. For details, review the documentation that comes with coppermine (inside the docs folder) in the section "The gallery configuration page" > "Album list view" > "The content of the main page".
I have read through the documentation and I still don't understand these codes!

My gallery: h t t p : / / w w w . c e l e b r i t y c u m s h o t s . n e t /   Link will try to open pop-ups + Link not safe for work

[Edit Joachim] That's a bit too much for my taste - I have crippled the link accordingly. You're encouraged to post a link, but as Joe suggested you need to post a warning with it and you're not allowed to refer to your overall site, but only to your gallery. We're all grown-ups here, but surfing on porn sites can get those of us into trouble who access your site from at work. I couldn't spot a Coppermine-driven gallery on that page, so I guess you just came here to dump spam.
Title: Re: Slider (Javascript slider on album list page)
Post by: Joe Carver on March 27, 2010, 02:11:50 pm
1) Read and follow the rules for posting

If your site contains adult content, make sure to post a warning together with your link! (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616)

2) Read your Coppermine Documents

4.12.4 Album list view (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#admin_album_list)

3) Next time post the actual link to your Coppermine - not a landing page that tries to open pop-ups
Title: Re: Slider (Javascript slider on album list page)
Post by: Ivo007 on December 26, 2010, 02:05:16 pm
First of all, great plugin!!!! Thanks Timo!

I'd like to put 2 sliders on my page, one for random pics and one for last additions. Is that possible? What do I need to rename or do?

Thanks
Ivo



Does no response mean its not possible?