EnlargeIt! AJAX GUI for CPG 1.5.x - Page 10 EnlargeIt! AJAX GUI for CPG 1.5.x - Page 10
 

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

EnlargeIt! AJAX GUI for CPG 1.5.x

Started by Timos-Welt, January 05, 2009, 01:19:00 AM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

nambroque

I would like to change one little thing in ths plugin:

When you activate the "Display BBCode" option in the config area, and you click on the button, two "Bbcodes" are displayed
But I'd like only the absolute URL to appear there
May anyone help me?
Thanks in advance
My gallery:
Galería Fotometeo

ron4mac

In the folder for the plugin, there is a file bbcode.php. Near the bottom of the file, delete (or hide) the row for the url that you don't want. The rows will start with <tr> and end with </tr>.

To hide instead of delete, insert <!-- and -->  around the row:
<!-- <tr>
<td class="tableb" align="center">
<h5 style="margin:0px;padding:0px;line-height:0.8em;">[url]title[/url]</h5>
<textarea rows="3" cols="40" class="textinput" style="overflow:off;">{$name_url}</textarea>
{$copy_url_string}
</td>
</tr> -->


nambroque

Thanks for your reply, ron4mac
That`s useful for hide wthat is currently displayed when you click on the Bb button.
But I'd like the absolute URL to be displayed instead of it.
For example, at the moment, if I click on it, this is what is displayed:



[b][url][img][/url][/b]
[url=http://fotometeo.ame-web.org/albums/userpics/10742/1168/Nubes_orogenicas.jpg][IMG]http://fotometeo.ame-web.org/albums/userpics/10742/1168/thumb_Nubes_orogenicas.jpg[/IMG][/url]
[b][url]title[/url][/b]
[url=http://fotometeo.ame-web.org/albums/userpics/10742/1168/Nubes_orogenicas.jpg]Nubes orogénicas[/url]


But in this example, I would like only this to appear:


http://fotometeo.ame-web.org/albums/userpics/10742/1168/Nubes_orogenicas.jpg


So, I'd like only the absolute URL to be dsplayed
Thanks again, I hope you can help me...

PD: This question is for a photo contest... people will have to upload their photos to the gallery and then copy and paste the URL's of their photos in the gallery into a document, so I want the URL as much easy to find for them as possible
My gallery:
Galería Fotometeo

ron4mac

Quote from: nambroque on April 18, 2016, 02:58:10 PM
But I'd like the absolute URL to be displayed instead of it.
Sorry .. I didn't totally understand what you are looking for.

Replace the associated table rows with this:
<tr>
<td colspan="2" class="tableh1" align="center">
<h2>{$lang_plugin_enlargeit['bbcode']}</h2>
</td>
</tr>
<tr>
<td class="tableb">
<h5 style="margin:0px;padding:0px;line-height:0.8em;">URL:</h5>
<textarea style="width:100%">{$CONFIG['ecards_more_pic_target']}{$fullsize_url}</textarea>
</td>
</tr>
<tr>
<td class="tableb" align="center">
<!-- <h5 style="margin:0px;padding:0px;line-height:0.8em;">[url][img][/url]</h5>
<textarea rows="5" cols="40" class="textinput" style="overflow:off;">{$img_url}</textarea>
{$copy_image_string} -->
</td>
</tr>
<tr>
<td class="tableb" align="center">
<!-- <h5 style="margin:0px;padding:0px;line-height:0.8em;">[url]title[/url]</h5>
<textarea rows="3" cols="40" class="textinput" style="overflow:off;">{$name_url}</textarea>
{$copy_url_string} -->
</td>
</tr>


It is what I could come up with that didn't destroy the visual too much.

nambroque

Thank you very much... that's exactly what I needed!  :)

There is another thing about this plugin that I would be very happy wether it may be changed, but I fear probably it would be more complicated:
If you are seeing the thumbnails of a meta_album, or the ones from an album which contains linked files, you enlarge any photo from there, and then you click on the "i" button for seeing the info of the photo, vote it, etc., then you will see the image displayed from the album were the photo was uploaded to by the user.
I wonder if it could somehow be possible that the image is displayed from the meta_album you were in (from the one you enlaged the thumbnail from)
My gallery:
Galería Fotometeo

ron4mac

Quote from: nambroque on April 18, 2016, 04:31:18 PM
I wonder if it could somehow be possible that the image is displayed from the meta_album you were in (from the one you enlaged the thumbnail from)
Meta albums contain no images. They only provide links to images that exist in the albums where they were uploaded (or linked).

nambroque

Quote from: ron4mac on April 18, 2016, 07:10:10 PM
Meta albums contain no images. They only provide links to images that exist in the albums where they were uploaded (or linked).

Ok, thanks, I feared that maybe it was not possible... :-\
Well, I'll wait until the voting function is implemented, as it's said in the to do section of the Plugin Documentation.
My gallery:
Galería Fotometeo

Αndré

Honestly, I wouldn't expect much development on this plugin, at least there was no progress for over 5 years now. Someone else than Timo needs to volunteer (or paid) to continue the development of this plugin.

nambroque

#188
Quote from: Αndré on April 19, 2016, 11:07:14 AM
Honestly, I wouldn't expect much development on this plugin, at least there was no progress for over 5 years now. Someone else than Timo needs to volunteer (or paid) to continue the development of this plugin.

That's a pity, as this is a great plugin.
On the other hand, I have detected another problem with it: when it is enabled, then the personal albums indexes appear like this and you can not open them, instead of appear the thumbs  :-\


Edit André: attached pictures
My gallery:
Galería Fotometeo

ron4mac

Quote from: nambroque on April 19, 2016, 11:20:17 AM
On the other hand, I have detected another problem with it:

Here's a quick fix for that:

In the plugin file, codebase.php, on line 70 right after:

    if (!USER_ID && !$CONFIG['plugin_enlargeit_guestmode']) {
        return $params;
    }

add:

    if (!isset($thumb['filename'])) {
        return $params;
    }

nambroque

My gallery:
Galería Fotometeo

ron4mac

Quote from: nambroque on April 19, 2016, 02:32:48 PM
Solved.. thank you!

The beautiful images in your gallery might also look good in my slideshow plugin: http://forum.coppermine-gallery.net/index.php/topic,75994.0.html
Though some of your images may be small for the plugin's full-screen format, you might want to check it out.

nambroque

Quote from: ron4mac
The beautiful images in your gallery might also look good in my slideshow plugin: http://forum.coppermine-gallery.net/index.php/topic,75994.0.html
Though some of your images may be small for the plugin's full-screen format, you might want to check it out.

I didn´t know it... it's installed now.. thanks!
My gallery:
Galería Fotometeo

kamad3

Dear all,

could somebody tell me, that if I would like the plugin to close the picture if I press the left mouse button outside the picture where I should write the "enl_shrink()" function?

Thanks in advance,
Adam