Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: 1 [2] 3   Go Down

Author Topic: Slider animation on album list page for cpg1.5.x  (Read 98497 times)

0 Members and 1 Guest are viewing this topic.

scohen125

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 100
    • Retina Gallery
Re: Slider animation on album list page for cpg1.5.x
« Reply #20 on: November 07, 2010, 04:10:06 pm »

It was in the English Language File.  Thank you for the suggestions.  I changed the site so now it reads 'Sample Images' on top of the homepage.

www.retinagallery.com
Here is the line I changed in the English Language File for anyone interested.
$lang_meta_album_names['random'] = 'Sample Images';
Logged

Cmaniac

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 40
Re: Slider animation on album list page for cpg1.5.x
« Reply #21 on: November 26, 2010, 01:46:58 pm »

Hello.

Have you coded 0.7 version of slider2? Currently slider2 0.5 is causing my gallery to crash and when installing together with 0.7 of slider enlargetit! wont work.

Thanks
Logged

sbrenna

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Slider animation on album list page for cpg1.5.x
« Reply #22 on: December 14, 2010, 04:28:21 pm »

Great plugin!
I would like to have the slideshow displayed on all pages in the header (not just on the front page), so I need to put the code to call the slideshow in the template.html (I guess). I did this with the flashcloud plugin, however I can't figure out how to do this with this one. Any help would be appreciated.

Thanks
Logged

saleks

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Slider animation on album list page for cpg1.5.x
« Reply #23 on: December 16, 2010, 09:55:50 am »

Hi,
Great work. Is there possibility to automaticly resize thumbnails in Slider and show all in equal heigh.
Logged

fmk

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • FMKz Test Bed
Re: Slider animation on album list page for cpg1.5.x
« Reply #24 on: January 02, 2011, 07:14:48 am »

Great plug-in. But security issue persists.

Unregistered users are able to see pics from private albums.
Logged
FMK

Love doesn't stop by my door, I am always infatuated with new things.

spider666

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Re: Slider animation on album list page for cpg1.5.x
« Reply #25 on: January 25, 2011, 11:04:18 pm »

Hello. I discover another issue. Thge slide show pictures who have not be validated by the admin :-( any update ?

Many thanks for your grat job
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: Slider animation on album list page for cpg1.5.x
« Reply #26 on: March 06, 2011, 02:44:32 pm »

Any ideas on how to make this slider work with PNG files?  Please.  They don't seem to display, all my jpg's do just fine.

Any help would be appreciated.

EDIT:  I can get the PNG files to show by editing the codebase.php file, and replacing instances of jpg with PNG.  I can't seem to get both types to display though, and that's what I need.
« Last Edit: March 06, 2011, 05:04:55 pm by lurkalot »
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

TCWORLD

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 21
Re: Slider animation on album list page for cpg1.5.x
« Reply #27 on: May 15, 2011, 09:45:26 am »

I have been having problems with this addon. It installs properly, but when it appears on the gallery page, all i get is 1 image in the centre that moves a couple of pixels back and forth.
(I am using cpg1.5.8 and IE9).

I'm not sure why there is a problem, but I have switched to using the imageflow plugin instead, but I thought it worth reporting here that there seems to be a problem with the slider plugin.
Logged

Cath22

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Female
  • Posts: 77
    • Fotofantastic
Re: Slider animation on album list page for cpg1.5.x
« Reply #28 on: July 09, 2011, 05:35:35 pm »

The previous slider (for 1.4) showed on the first page a random selection, but when going into a category, it showed only photos from that particular category (or album). I like that very much.
But in this new version (for 1.5) you always get a random selection from all photos instead of the particular category or album....

Can something to be done at this in the code, or is it waiting for a newer version?

example http://www.fotofantastic2.nl

Thanks
Logged
qui custodiet ipsos custodes

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Slider animation on album list page for cpg1.5.x
« Reply #29 on: July 20, 2011, 10:49:14 am »

If you want to embed the slider on an external page, put the attached file into the slider plugin directory and call it via index.php?file=slider/fetch. It just returns the slider without any other Coppermine output.

Examples how you might use it on every external website:
Code: (inline frame) [Select]
<iframe src="http://yoursite.com/gallery_directory/index.php?file=slider/fetch" width="100%" frameborder="0" /></iframe>
Code: (PHP) [Select]
echo file_get_contents('http://yoursite.com/gallery_directory/index.php?file=slider/fetch');

Edit 2011-07-22: updated attachment
« Last Edit: July 22, 2011, 11:54:23 am by Αndré »
Logged

hobert

  • Contributor
  • Coppermine novice
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 29
Re: Slider animation on album list page for cpg1.5.x
« Reply #30 on: July 20, 2011, 07:41:21 pm »

Any ideas on how to make this slider work with PNG files?  Please.  They don't seem to display, all my jpg's do just fine.

Any help would be appreciated.

EDIT:  I can get the PNG files to show by editing the codebase.php file, and replacing instances of jpg with PNG.  I can't seem to get both types to display though, and that's what I need.

Well, switching JPG and PNG will just pick one or the other, but it sounds like you want both, so, change it to...

Code: [Select]
WHERE (filename LIKE '%.jpg' OR filename LIKE '%.png') AND filename not like 'youtube_%'
Please note the parenthesis locks the two with OR together, so either of these conditions will be met, as well as the rest of the WHERE statement.
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 947
  • +Tinyportal Support team.
Re: Re: Slider animation on album list page for cpg1.5.x
« Reply #31 on: July 22, 2011, 08:12:56 pm »

If you want to embed the slider on an external page, put the attached file into the slider plugin directory and call it via index.php?file=slider/fetch. It just returns the slider without any other Coppermine output.

Examples how you might use it on every external website:
Code: (inline frame) [Select]
<iframe src="http://yoursite.com/gallery_directory/index.php?file=slider/fetch" width="100%" frameborder="0" /></iframe>
Code: (PHP) [Select]
echo file_get_contents('http://yoursite.com/gallery_directory/index.php?file=slider/fetch');

Edit 2011-07-22: updated attachment

Fantastic, thanks Andre, it works very nicely, and is just what I wanted. ;)

Well, switching JPG and PNG will just pick one or the other, but it sounds like you want both, so, change it to...

Code: [Select]
WHERE (filename LIKE '%.jpg' OR filename LIKE '%.png') AND filename not like 'youtube_%'
Please note the parenthesis locks the two with OR together, so either of these conditions will be met, as well as the rest of the WHERE statement.

Thanks hobert, this is handy to know, I'll give that a try. ;)
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

wildenborch

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.wildenborch.com
Re: Slider animation on album list page for cpg1.5.x
« Reply #32 on: July 23, 2011, 07:07:51 am »

Hi,

If you want to embed the slider on an external page, put the attached file into the slider plugin directory and call it via index.php?file=slider/fetch. It just returns the slider without any other Coppermine output.

Is it possible to open the slider images in a _blank page instead of opening in the same page?
Is it possible to make the slider not clickable at all?

Best regards

link to my website: [url]http://www.vanveen-nl.com//url]
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Slider animation on album list page for cpg1.5.x
« Reply #33 on: July 23, 2011, 09:11:25 am »

Is it possible to open the slider images in a _blank page instead of opening in the same page?
Replace
Code: [Select]
<a href=\"{$CONFIG['ecards_more_pic_target']}displayimage.php?pid=$slider_key\">with
Code: [Select]
<a href=\"{$CONFIG['ecards_more_pic_target']}displayimage.php?pid=$slider_key\" target=\"_blank\">three times.


Is it possible to make the slider not clickable at all?
Remove
Code: [Select]
<a href=\"{$CONFIG['ecards_more_pic_target']}displayimage.php?pid=$slider_key\">and
Code: [Select]
</a>completely (three times).
Logged

wildenborch

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://www.wildenborch.com
Re: Slider animation on album list page for cpg1.5.x
« Reply #34 on: July 23, 2011, 10:16:31 am »

Super!
Thank you very much for this quick reply!.

Logged

mr.bena

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Re: Slider animation on album list page for cpg1.5.x
« Reply #35 on: March 26, 2012, 02:28:33 pm »

Issue with this plugin:

* IE always crash. (I use IE 8)
* Last upload pictures shown even before approved by the gallery admin.

Question : How can I set a specific album in my gallery for the slider. It only offers "Last upload, Random Files, Mot Viewed and Top Rated".


Logged

mr.bena

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 117
Re: Slider animation on album list page for cpg1.5.x
« Reply #36 on: April 03, 2012, 02:25:19 am »

This plugin would be very great if it offers "Choose Album" option apart form "Last Upload, Random, Most Viewed, Top Rated".

Can anyone suggest me how would I set one of my albums for this sliding pictures..
Logged

hobert

  • Contributor
  • Coppermine novice
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 29
Re: Slider animation on album list page for cpg1.5.x
« Reply #37 on: May 21, 2012, 12:55:10 am »

I don't know this particular plugin at all, but I am familiar with the slider code.  You need to change this line in codebase.php:

Code: [Select]
$slider_query = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename like '%.jpg' AND filename not like 'youtube_%' $slider_FORBIDDEN_SET $META_ALBUM_SET ORDER BY RAND() LIMIT $sliderlimit";by replacing $META_ALBUM_SET with AND aid IN (95, 96, 97)   (the number being the album(s) you want).
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: Slider animation on album list page for cpg1.5.x
« Reply #38 on: March 11, 2013, 01:21:24 pm »

Open codebase.php, find
Code: [Select]
// Add search display action
$thisplugin->add_filter('plugin_block','slider_mainpage');
// Add filter for page head
$thisplugin->add_action('page_start','slider_head');
and replace with
Code: [Select]
if (!$superCage->get->keyExists('cat')) {
    // Add search display action
    $thisplugin->add_filter('plugin_block','slider_mainpage');
    // Add filter for page head
    $thisplugin->add_action('page_start','slider_head');
}

I tried this code but it causes an error in php and displays a message saying something like "not an object". I do not remember the exact message. Anyway, I could not use it.

Then, as the slider appears in all categories, is it possible to show only the latest files for each category where the slider is displayed instead of displaying the latest files uploaded in the gallery?.
Logged

Niecher

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 191
Re: Slider animation on album list page for cpg1.5.x
« Reply #39 on: March 11, 2013, 01:31:10 pm »

I tried this code but it causes an error in php and displays a message saying something like "not an object". I do not remember the exact message. Anyway, I could not use it.

Then, as the slider appears in all categories, is it possible to show only the latest files for each category where the slider is displayed instead of displaying the latest files uploaded in the gallery?.

Sorry ;D I meant random files in each category where the slider is displayed instead of random files from the gallery.
Logged
Pages: 1 [2] 3   Go Up
 

Page created in 0.029 seconds with 21 queries.