"Add thumbnails to favorites" for cpg1.5.x "Add thumbnails to favorites" for cpg1.5.x
 

News:

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

Main Menu

"Add thumbnails to favorites" for cpg1.5.x

Started by Joachim Müller, June 22, 2009, 07:03:08 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Joachim Müller

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:
Quote from: Joachim Müller on April 26, 2010, 08:04:12 AM
This plugin is not compatible with cpg1.5.3 or better.
-> Look here for a working alternative.

fefed22

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

Joachim Müller

Quote from: Joachim Müller on March 24, 2010, 05:01:05 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).
Quote from: Αndré on March 23, 2010, 11:05:41 AM
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.

fefed22

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

Joachim Müller

Quote from: fefed22 on April 02, 2010, 09:24:50 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.
Quote from: fefed22 on April 02, 2010, 09:24:50 AM
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.

Quote from: fefed22 on April 02, 2010, 09:24:50 AMi 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.

fefed22

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

Joachim Müller

Quote from: fefed22 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
No, that's not an option.
Quote from: fefed22 on April 02, 2010, 09:54:08 AMif 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.

fefed22

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

fefed22

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

fefed22

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


// 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

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');
    }
}

Heroe

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"

Αndré

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

Heroe

Quote from: Αndré 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").

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


Heroe

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

Joachim Müller

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

FBleu

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

Αndré


FBleu


swurr

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

Gruss
Sönke

Αndré

Quote from: swurr 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
You're not allowed to post in German here. Your question has already been answered:
Quote from: Joachim Müller on April 26, 2010, 08:04:12 AM
I'm sorry, but I have lost interesst in developing this plugin. Anyone who would like to look into it is welcome.