Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: AnythingSlider plugin  (Read 8135 times)

0 Members and 1 Guest are viewing this topic.

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
AnythingSlider plugin
« on: September 01, 2013, 10:26:02 pm »

Hi all,

This plugin add a photo slider to index page.

I integrated AnythingSlider script to Coppermine. Add a few parameters to Control panel directly for better use, but if you an advanced user, can write custom javascript or add more custom parameters.

Very and big thanks to original developer, because this plugin made from one of the best slider script.
License under GPL, but for more parameters, license, script go to this website for developer:
https://github.com/CSS-Tricks/AnythingSlider

With this plugin can:
- add photo title to slider
- setup delay
- setup photo title position
- setup navigation shows (arrows, navigation bar, slideshow start/stop, keyboard navigation)
- choose theme
- setup wrapper div width
- custom div class and slider id
- autoplay on/off
- add custom parameter
- add custom javascript
- select random, last additions, most viewed, top rated albums
- setup number of pics
- setup link to picture (none, to picture, to album)
- use normal or full sized picture

More parameters see attached preview, and read Readme.txt file after plugin installation!
Attention: if use any addon JQuery on site, then turn off JQuery in this plugin settings (default is off)!

I tested, but with First Visit Hint plugin not runned correctly to me after install this plugin!
I hope this will working correctly to you.

If you upgrade from previous versions follow these steps:
- go to plugin settings, and write or copy your parameters to safe place
- uninstall plugin in Plugin manager
- upload new version (or replace files manually)
- activate plugin
- setup your parameters

--------------------------------------------------------
Update 1.2 (2014/07/11):
- Updated script to 1.9.4 version
- Slider show on gallery page only
- Optimized code

Update from 1.1 to 1.2 version:
- download AS_Update_1.1_to_1.2.zip
- unpack to an empty folder
- copy files to your site\plugins\anythingslider folder and replace files. That's all!
« Last Edit: September 27, 2014, 10:11:23 am by mykee »
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

pols1337

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 240
Re: AnythingSlider plugin
« Reply #1 on: September 02, 2013, 05:54:38 pm »

I've tested this out on a live gallery, and it works great.  A lot of custom configuration options, with great documentation. 

My only suggestion is (in configuration) you allow an option to open the original image.   
Logged

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: AnythingSlider plugin
« Reply #2 on: September 02, 2013, 06:02:46 pm »

Thanks for tip, and link is generated under picture: if move with cursor to top of picture, and click it!

Or need you more option?  ???
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

pols1337

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 240
Re: AnythingSlider plugin
« Reply #3 on: September 03, 2013, 12:30:53 am »

No that's perfect.  Goal is to allow users to explore the gallery. 
Logged

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: AnythingSlider plugin
« Reply #4 on: September 03, 2013, 06:51:56 am »

Thanks, I attached modified version where picture link goes to album. Please check cpg1.5.x_plugin_anythingslider_v1.0a version!
But if you need an option a link to album (no to picture), then I will make it soon.
« Last Edit: September 03, 2013, 07:03:49 am by mykee »
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

pols1337

  • Coppermine frequent poster
  • ***
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 240
Re: AnythingSlider plugin
« Reply #5 on: September 04, 2013, 03:35:23 am »

Great job, I'll check it out later. 

Maybe you can include options in the config?  This way you don't need to maintain different versions.   
Logged

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: AnythingSlider plugin
« Reply #6 on: September 04, 2013, 06:44:27 am »

Ok, I will add this option, and will add an options to next version:
- use normal pictures too, not only full picture

New, 1.1 version is out with upgrade info in first post, please check it!
« Last Edit: September 04, 2013, 09:11:09 am by mykee »
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

sharpo

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 177
Re: AnythingSlider plugin
« Reply #7 on: November 23, 2013, 11:51:50 pm »

Just installed this plugin in my test gallery - and it works very well!

Thanks, it's interesting to try different plugins.
Logged
Sharpo (not an expert, just a Coppermine user)

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: AnythingSlider plugin
« Reply #8 on: January 12, 2014, 05:07:03 pm »

I have a little mod, if you need: slider only on first page, no show on catalog page. (Updated <2014/07/11> to 1.2 version)

Open codebase.php, and find this:
Code: [Select]
// Add filter for page head
$thisplugin->add_action('page_start','anythingslider_head');
// Add search display action
$thisplugin->add_filter('plugin_block','anythingslider_mainpage');
//Add plus styles for metas
$thisplugin->add_filter('gallery_header','anythingslider_header_addons');
//Add script to footer
$thisplugin->add_filter('gallery_footer','anythingslider_footer_addons');

And replace with:
Code: [Select]
function anythingslider_noindex () {
  global $superCage;
   if ($superCage->get->keyExists('cat') or $superCage->get->keyExists('file')) {
      return "1";
    } else {
      return "0";   
    }
}
$anythingslider_noindex = anythingslider_noindex();

if ($anythingslider_noindex == "0"){
// Add filter for page head
$thisplugin->add_action('page_start','anythingslider_head');
// Add search display action
$thisplugin->add_filter('plugin_block','anythingslider_mainpage');
//Add plus styles for metas
$thisplugin->add_filter('gallery_header','anythingslider_header_addons');
//Add script to footer
$thisplugin->add_filter('gallery_footer','anythingslider_footer_addons');
}
« Last Edit: July 11, 2014, 03:05:44 pm by mykee »
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 824
  • +Tinyportal Support team.
Re: AnythingSlider plugin
« Reply #9 on: January 12, 2014, 08:06:46 pm »

Nice job mykee.  Any way to make it display on an external page please?  In a lot of cases the gallery is only part of a website, and it be useful to display such things on forum index, or home pages etc.  Just thinking aloud.  ;)
« Last Edit: January 12, 2014, 08:15:31 pm by lurkalot »
Logged
Running SMF 2.0.13  / Tinyportal 1.2, bridged with Coppermine 1.5.34, plus cpmfetch 2.0.0

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: AnythingSlider plugin
« Reply #10 on: January 13, 2014, 07:31:05 pm »

AnythingSlider is a very flexible script, because I use this on my PHPBB forum too for topic lists. I just connected to coppermine too with simple settings. :)
If you need a bridge to coppermine, then need write to your forum or other pages, but source from coppermine. I think make a query with PHP, and result send to AnythingSlider.
Or need you to a standalone page or iframe to coppermine?  ??? Hmmm... If can I make a standalone page under Coppermine, then I will think about it.
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 824
  • +Tinyportal Support team.
Re: AnythingSlider plugin
« Reply #11 on: January 13, 2014, 08:38:57 pm »

AnythingSlider is a very flexible script, because I use this on my PHPBB forum too for topic lists. I just connected to coppermine too with simple settings. :)
If you need a bridge to coppermine, then need write to your forum or other pages, but source from coppermine. I think make a query with PHP, and result send to AnythingSlider.
Or need you to a standalone page or iframe to coppermine?  ??? Hmmm... If can I make a standalone page under Coppermine, then I will think about it.

Thanks mykee, I already have Coppermine bridged with SMF which also has a portal installed.  So what about calling and displaying the AnythingSlider from a php, or html / javascript block for example?

Logged
Running SMF 2.0.13  / Tinyportal 1.2, bridged with Coppermine 1.5.34, plus cpmfetch 2.0.0

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: AnythingSlider plugin
« Reply #12 on: January 19, 2014, 09:49:34 am »

If use this slider on other page, use iframe, like this:
Code: [Select]
<iframe  style="width:100%;height:(what you want)"  src="(your site path)#anythingcontainer"  seamless="seamless" scrolling="no" frameborder="0" allowtransparency="true"></iframe>This is a simpliest solution.  :)
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: AnythingSlider plugin
« Reply #13 on: July 11, 2014, 03:20:53 pm »

Plugin updated! Check first post to update or new version!
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php

mykee

  • Contributor
  • Coppermine frequent poster
  • ***
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 140
    • One moment from Hungary
Re: AnythingSlider plugin
« Reply #14 on: September 27, 2014, 10:13:36 am »

Plugin updated to 1.3 version! See first post to full plugin or 1.3 update (for 1.2 version). Changed: added restriction to sql select.
Logged
My gallery and demo for AnythingSlider, Photocols and CollagePlus plugin: http://foto.acegem.hu/index.php
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 21 queries.