Advanced search  

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]

Pages: 1 ... 6 7 8 9 [10]   Go Down

Author Topic: EnlargeIt! AJAX GUI for CPG 1.5.x  (Read 226137 times)

0 Members and 1 Guest are viewing this topic.

nambroque

  • Coppermine regular visitor
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 85
    • Galería Fotometeo
Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #180 on: April 17, 2016, 11:08:20 am »

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
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #181 on: April 18, 2016, 02:34:39 pm »

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:
Code: [Select]
<!-- <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> -->
Logged

nambroque

  • Coppermine regular visitor
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 85
    • Galería Fotometeo
Re: Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #182 on: April 18, 2016, 02:58:10 pm »

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:

Code: [Select]

[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:

Code: [Select]
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
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #183 on: April 18, 2016, 03:49:12 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:
Code: [Select]
<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.
Logged

nambroque

  • Coppermine regular visitor
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 85
    • Galería Fotometeo
Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #184 on: April 18, 2016, 04:31:18 pm »

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)
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #185 on: April 18, 2016, 07:10:10 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).
Logged

nambroque

  • Coppermine regular visitor
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 85
    • Galería Fotometeo
Re: Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #186 on: April 18, 2016, 08:32:37 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #187 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.
Logged

nambroque

  • Coppermine regular visitor
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 85
    • Galería Fotometeo
Re: Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #188 on: April 19, 2016, 11:20:17 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
« Last Edit: April 19, 2016, 11:34:35 am by Αndré »
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #189 on: April 19, 2016, 02:26:11 pm »

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:
Code: [Select]
    if (!USER_ID && !$CONFIG['plugin_enlargeit_guestmode']) {
        return $params;
    }
add:
Code: [Select]
    if (!isset($thumb['filename'])) {
        return $params;
    }
Logged

nambroque

  • Coppermine regular visitor
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 85
    • Galería Fotometeo
Re: Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #190 on: April 19, 2016, 02:32:48 pm »

Here's a quick fix for that:

Solved.. thank you!
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #191 on: April 19, 2016, 02:57:23 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.
Logged

nambroque

  • Coppermine regular visitor
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 85
    • Galería Fotometeo
Re: Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #192 on: April 19, 2016, 05:30:57 pm »

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!
Logged

kamad3

  • Coppermine newbie
  • Country: hu
  • Offline Offline
  • Gender: Male
  • Posts: 10
Re: EnlargeIt! AJAX GUI for CPG 1.5.x
« Reply #193 on: June 20, 2016, 09:39:37 am »

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
Logged
Pages: 1 ... 6 7 8 9 [10]   Go Up
 

Page created in 0.027 seconds with 19 queries.