Add thumbnails to Lightbox - Page 4 Add thumbnails to Lightbox - Page 4
 

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

Main Menu

Add thumbnails to Lightbox

Started by Walkinman, February 08, 2006, 04:00:58 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lordprodigy

Yah I would also be interested in adding the photo to the Lightbox from the intermediate size and not from the thumbnails. If it is not too complicated maybe it could be an option in the config as where to place the "add to lightbox" button.

akulion

Thanks for this plugin - just what I needed and works wonderfully :D

Joachim Müller

@pcp20us & lordprodigy : stop requesting new features on announcement threads.

ir803

Can I still ask a support question on this thread?? I have put this plugin on two sites it works great on mine http://www.ghsimages.co.uk/
but on the site I'm working on http://www.featuredesk.co.uk/featuredesk/index.php you can add favourites but on the favorites (lightbox) page I don't see the check box to remove selected images any ideas please.

Qayyom

#64
I think it is not good that any guest / un-loged user can use this option.

it's mean if any guest/user use this option, and it proceed, how can data base save his activity/profile? without any identity of visitor.???

It's mean this is all useless for any visitor

you can visit at PICSnCLIPS.net
Qayyom Ashraf .:|:. Karachi-PK
*Image Removed*

Nibbler

Favourites are stored in a cookie for guests and the database for registered users. This is not related to the plugin.

Qayyom

can i disable this option for guests and unlogged visitors

or alert massage just like "Only for register users" when any guest/ unlogged user click at this option.

=================
Another Question:
----------------------

can i change the title "lightbox" to "favorite"

          or

can i rename "my favorite" to "my lightbox"

actually i want to use same name for this option.

because if any user use this option then he must confuse to find out [where is Lightbox] and where can i find my selected files stored.
Qayyom Ashraf .:|:. Karachi-PK
*Image Removed*

kiama

how to change the "Add to lightbox" font to non-bold type?

neil fitzgerald

#68
I've been using this plugin with no problems for ages on my 1.4.10 gallery, and with 1.4.12 manual fix. However, I've made a test gallery with a new 1.4.12 install and this is giving me the same problem Carl was having; check boxes are there but no "Add selected" button and no "Add to lightbox" text.  I made another clean install in case some of the settings or hacks reused from my working gallery were at fault, but no change. After staring at it all day I made a new gallery with a 1.4.10 install and the text an buttons are back!
I don't know what anyone needs to know help solve this so please just ask.


ps, I've always found every problem I've had previously has been discussed and solved here. The support is much apreciated. Now, I just hope I haven't missed something obvious on this one :-[

Sami

Edit {gallery-root}/plugins/album_fav_boxes/codebase.php
And add this

$pluginid = CPGPluginAPI::installed('album_fav_boxes');
$thisplugin = cpg_get_scope($pluginid);


to both thumb_caption_add_to_favs and thumb_caption_remove_from_favs functions right after global variable definition
‍I don't answer to PM with support question
Please post your issue to related board

neil fitzgerald

Thanks Sami, must be on the right track, but I'm not very fluent in these things. I tried a few places that looked like right after global variable definition, for both those functions, but while this does give me the "Add to lightbox" text I still have no "Remove" text or button. So I must be doing it wrong or something else is also needed.
Cheers,
Neil.

Nibbler

Fixed in 1.2.4 - see start of thread.

neil fitzgerald

Sweeeeet ;D
but, needs a <br /> between the thumb caption and checkbox text.

Nibbler

No it doesn't. The lack of space between the thumb caption and checkbox text is caused by your own changes to the css. Put the spacing back in and it will be fine.


.thumb_title {
        padding: 2px;
        display : block;
}

neil fitzgerald

That'll do it. My bad. Works perfectly.
Ta.

eka

Hi Nibbler,

I installed the plugin and got this message:

Fatal error: Cannot redeclare theme_display_thumbnails() (previously declared in /home/photogr1/public_html/plugins/album_fav_boxes/codebase.php:122) in /home/photogr1/public_html/themes/classic/theme.php on line 1685

I can't access my cpg pages now.

I read your reply to lordprodigy on the same problem:

"Instead of having this in your theme
Code:
function some_function_name() {
xxx
}

you would have
Code:
if (!function_exists('some_function_name')){
function some_function_name() {
xxx
}


"

I'm not sure I understand what needs to be done.

can you help please.

Thanks.


Nibbler


eka

Hi Nibbler,

here's my theme.php attached.

Nibbler

That's the entire sample theme.php isn't it? Remove everything from the file and only copy what you want to change,

eka

Hi Nibbler,

Thank you so much - I did as you suggested.  It worked. Thank you again..

Just one question relating to this problem I faced.
Would deleting the "Add thumbnails to lighbox" folder in the cpg***plugins directory in my database
effectively remove this feature ( instead of unplugging using the plugin manager)?

Just a thought...