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] 2   Go Down

Author Topic: "Add thumbnails to favorites" for cpg1.5.x  (Read 33087 times)

0 Members and 1 Guest are viewing this topic.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
"Add thumbnails to favorites" for cpg1.5.x
« on: June 22, 2009, 07:03:08 pm »

The plugin "Add thumbnails to favorites" will add a checkbox underneath each thumbnail that enables the visitor to add the file corresponding to the thumbnail quickly to his favorites (the coppermine meta-album named "Favorites", not the bookmarks in his browser).
This plugin is a port from the cpg1.4.x-plugin "Add thumbnails to Lightbox" created by Nibbler.

The plugin is available as a tarball archive directly from the subversion repository: http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.5.x/plugins/album_fav_boxes/

Download: http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_album-fav-boxes_v2.4.zip/download


Note:
This plugin is not compatible with cpg1.5.3 or better.
-> Look here for a working alternative.
« Last Edit: April 05, 2011, 02:45:01 pm by Αndré »
Logged

fefed22

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 30
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #1 on: April 01, 2010, 01:47:36 pm »

I've installed your version 2.4 instead of 1.2.5 on my CPG 1.5.3 with curve theme
but it doesn't work
I've no error and it doesn't appear in search result or latust update or else (i've also configure the plugin)
it only work on favpics with a select button under pic
i don't understand
I've try tu disable all other plugin with no effect
i've no function "theme_display_thumbnails" in my theme ...
Can you help me ?
thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #2 on: April 01, 2010, 06:27:38 pm »

nor does the absence of the mandatory link to your gallery make us more willing to look into yur issues. [...] If you're looking for support only, then post on the support board (respecting board rules).
Please post a link to your gallery.
and so on and so on. For the last time: no link posted => no support. Simple as that.
Logged

fefed22

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 30
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #3 on: April 02, 2010, 09:24:50 am »

i'm sorry but i can't post my localhost
i have installed the plugin on my local version before published online... i think i've reason
i don't want to crash my online website by installing anything

I'm sorry to post without link gallery
But what can i post (code, error, ...) for you to help me
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #4 on: April 02, 2010, 09:38:58 am »

i have installed the plugin on my local version before published online...
Well, then let us know the URL of your live gallery even though the plugin isn't installed there.
But what can i post (code, error, ...) for you to help me
Nothing, I told you already: no link => no support. No need to discuss this any further.

i don't want to crash my online website by installing anything
One of the key benefits of plugins (versus using core code modifications) is the fact that they don't hurt: they are extremely easy to get rid off. So no, I won't let this concern count. I want to see your live gallery. You haven't posted reference to it in any of your 26 postings so far. There's a reason why the policy is in place that you need to post a link to your gallery and I will not let you get away with a remark that you're only evaluating things locally before going live. You have spent many hours on this forum - someone with a record that looks like yours is beyond evaluation, so there must be a reason why you act  up as far as posting a simple little link to your gallery is concerned.
Logged

fefed22

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 30
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #5 on: April 02, 2010, 09:54:08 am »

so i post my gallery link but can you erase the link when the problem where closed ... http://collection-christophel.fr/ i don't want to have any registration by any user who just passing by this forum (i'm just "paranoiac")
if you want an account i'm sending you the info by PM
Fred
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #6 on: April 02, 2010, 10:01:56 am »

so i post my gallery link but can you erase the link when the problem where closed
No, that's not an option.
if you want an account i'm sending you the info by PM
That's not an option. And you don't have permission so send PMs anyway, so that would not work even if I wanted that.
Logged

fefed22

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 30
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #7 on: April 02, 2010, 10:05:39 am »

i've create an account for you login "test"  and pass "test"
Logged

fefed22

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 30
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #8 on: April 02, 2010, 01:43:54 pm »

i've test to install a fresh install in local with CPG 1.5.3 and install this plugin and nothing just in favpics ...
i don't undestand what is the problem because in favpics album it work and i have checkbox but when i do a search there are nothing
Logged

fefed22

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 30
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #9 on: April 02, 2010, 03:48:19 pm »

I've solve the problem by adding this code on codebase.php of your plugin

Code: [Select]
// Enable the selector in search results
$thisplugin->add_filter('thumb_caption_search','thumb_caption_add_to_favs');

I think that there is a problem with this code

Code: [Select]
foreach ($existing_meta_albums_array as $key) {
    if (in_array($superCage->server->getEscaped('SCRIPT_FILENAME'), $album_fav_boxes_pages_array) == TRUE && $CONFIG['plugin_album_fav_boxes_' . $key] == '1') {
        $thisplugin->add_filter('thumb_caption_' . $key, 'thumb_caption_add_to_favs');
    }
}
Logged

Heroe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 124
    • abroadbg.com
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #10 on: April 24, 2010, 12:33:15 pm »

I did mistake and wrote my problem with this plugin in wrong topic!!
Please, admins, delete my post in this topic Here

GauGau, your plugin seems doesn't work with my browsers(Firefox,Opera,Google Chrome) and OS (Linux/Debian). If i install the plugin my album properties icons above the thumbnails disappear, all i have is:

    * {MODIFY_ICO}
    * {PARENT_CAT_ICO}
    * {EDIT_PICS_ICO}
    * {ALBUM_MGR_ICO}

Also if i open the configiguration page of the plugin and try to check any option there, i receive this:

"There have been no change"
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #11 on: April 24, 2010, 07:06:22 pm »

Please try if the problem occurs with a theme that comes with Coppermine (i.e. the standard theme "Curve").
Logged

Heroe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 124
    • abroadbg.com
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #12 on: April 24, 2010, 10:29:22 pm »

Please try if the problem occurs with a theme that comes with Coppermine (i.e. the standard theme "Curve").

The problem appear in all the themes, i attach one screenshot to my post.

 
Logged

Heroe

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 124
    • abroadbg.com
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #13 on: April 25, 2010, 01:18:42 pm »

One database error after installing this plugin. This is the topic http://forum.coppermine-gallery.net/index.php/topic,64715.0/topicseen.html

abroadbg.com
user:test
pass:123654
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #14 on: April 26, 2010, 08:04:12 am »

This plugin is not compatible with cpg1.5.3 or better. Don't use it as long as the compatibility issues have not been fixed. I have changed the code in the subversion repository accordingly to keep users from installing it in error - went into rev 7470.
Plugin hooks theme_thumbnails_wrapper_start and theme_thumbnails_footer have been added to the core that should be used instead of overriding the function theme_display_thumbnails, which clearly doesn't belong into a plugin's code, but into a theme. The plugin should work with all themes. I'm sorry, but I have lost interesst in developing this plugin. Anyone who would like to look into it is welcome. For all others who can not come up with the needed code changes: don't use the plugin at all.

Joachim
Logged

FBleu

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Posts: 133
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #15 on: December 18, 2010, 12:57:26 am »

Hello  :)


Wanting to do the translation plugin, I wanted to try it before unfortunately
I can not activate the plugin in the plugin manager

Coppermine 1.5.10
Plug version on SVN

cordially Franck
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #16 on: December 18, 2010, 09:47:33 am »

This plugin is not compatible with cpg1.5.3 or better.
Logged

FBleu

  • Translator
  • Coppermine frequent poster
  • **
  • Offline Offline
  • Posts: 133
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #17 on: December 18, 2010, 11:36:15 am »

Oups, thanck André  ;D
Logged

swurr

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #18 on: January 15, 2011, 06:01:06 pm »

Wir das Plugin für die neusten Versionen noch überarbeitet?
Wäre für mich sehr wichtig!
Vielen Dank!

Gruss
Sönke
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: "Add thumbnails to favorites" for cpg1.5.x
« Reply #19 on: January 17, 2011, 04:42:02 pm »

Wir das Plugin für die neusten Versionen noch überarbeitet?
Wäre für mich sehr wichtig!
Vielen Dank!

Gruss
Sönke
You're not allowed to post in German here. Your question has already been answered:
I'm sorry, but I have lost interesst in developing this plugin. Anyone who would like to look into it is welcome.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.045 seconds with 21 queries.