forum.coppermine-gallery.net

Support => cpg1.5 plugins => cpg1.5.x Support => cpg1.5 plugin contributions => Topic started by: Joachim Müller on June 22, 2009, 07:03:08 pm

Title: "Add thumbnails to favorites" for cpg1.5.x
Post by: Joachim Müller 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 (http://forum.coppermine-gallery.net/index.php/topic,71902.0.html) for a working alternative.
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: fefed22 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
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: Joachim Müller 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.
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: fefed22 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
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: Joachim Müller 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.
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: 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 ... http://collection-christophel.fr/ (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
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: Joachim Müller 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.
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: fefed22 on April 02, 2010, 10:05:39 am
i've create an account for you login "test"  and pass "test"
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: fefed22 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
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: fefed22 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');
    }
}
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: Heroe 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 (http://forum.coppermine-gallery.net/index.php/topic,58638.msg321439.html#msg321439)

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"
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: Α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").
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: Heroe 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.

 
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: Heroe 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
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: Joachim Müller 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
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: FBleu 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
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: Αndré on December 18, 2010, 09:47:33 am
This plugin is not compatible with cpg1.5.3 or better.
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: FBleu on December 18, 2010, 11:36:15 am
Oups, thanck André  ;D
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: 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
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: Αndré 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.
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: papukaija on February 12, 2011, 02:58:23 pm
For fredy11 and anyone else who has issues with this plugin:

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

and so on and so on. For the last time: no link posted => no support. Simple as that.
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: Walkinman on March 19, 2011, 04:25:16 am
Hey Folks,

That's too bad this plugin doesn't work with the newer version of cpg .. I'm upgrading from 1.4.x to a.1.5.12 at the moment, but would really like to have this feature added back in. I've looked over the plugins but don't see anything that matches this one for functionality. Am I missing something, is there a useable replacement for this feature? I would REALLY love to have it back on board.

NB . if there is NOT, maybe an admin might edit the initial announcement .. I just downloaded, uploaded, installed and tried to configure the plugin; it might save some folks time if the initial post is edited to let people know this plugin does not work with the newer versions (if that is indeed the case).

Thank you.

Cheers

Carl
Title: Re: "Add thumbnails to favorites" for cpg1.5.x
Post by: Αndré on March 19, 2011, 12:36:45 pm
maybe an admin might edit the initial announcement
Done as suggested.