forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: crashfab on December 18, 2012, 07:07:54 pm

Title: Hyperlink Code
Post by: crashfab on December 18, 2012, 07:07:54 pm
So on my other gallery (early version and not usre what version exactly) I have it so when you view a picture the hyperlink code is shown below it (img tags). I have searched high/low thru the settings and documentation and I cannot find where this is an option on 1.5.20.

Am I blind or is it not there?
Title: Re: Hyperlink Code
Post by: Αndré on December 18, 2012, 07:45:01 pm
That feature never existed in any Coppermine version out of the box. However, there's a plugin for cpg1.5.x (http://forum.coppermine-gallery.net/index.php/topic,74043.0.html).
Title: Re: Hyperlink Code
Post by: crashfab on December 18, 2012, 08:40:05 pm
Thank you Andre. I installed it so long ago I had forgotten.

Again thanks for the support  8)
Title: Re: Hyperlink Code
Post by: Αndré on December 18, 2012, 08:42:23 pm
Please
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.
Title: Re: Hyperlink Code
Post by: crashfab on December 19, 2012, 01:33:49 am
Ok so I have downloaded the zip file on the thread you posted Andre. The zip file contains 3 files and when I try to install any of them I get an error
Quote
The file uploaded is not a plugin package

I am doing right from what I can tell...
Title: Re: Hyperlink Code
Post by: Jeff Bailey on December 19, 2012, 01:40:24 am
Didn't you want to remove that plugin?

If not: http://documentation.coppermine-gallery.net/en/plugins.htm#plugin_manager_upload
Title: Re: Hyperlink Code
Post by: crashfab on December 19, 2012, 02:20:39 am
No I didn't want to remove anything but add below the picture a copy/paste window. After some research on my old gallery I had a plugin
Quote
Copy /Paste BB Code image url v1.2
by Stramm. I have searched thru all available plugins for 1.5.x and there is nothing like that available from what I can tell..
Title: Re: Hyperlink Code
Post by: Jeff Bailey on December 19, 2012, 03:21:59 am
Sorry I misread the thread. The plugin Αndré posted should work fine.
Title: Re: Hyperlink Code
Post by: crashfab on December 19, 2012, 03:54:19 am
So I wasn't able to get the plugin to upload via the first method (Browse, pick zip file and upload). It would do something with no result-odd.

So I had to use the second method of ftp "embed" folder into the plugin folder.  Since there were 3 files I tried each one with errors on 2 files and codebase.php gave me
Quote
Not in Coppermine...

Went to the plugin management area and it showed as there. I installed it and clicked all the boxes for all options and I see nothing.

Again at a loss...
Title: Re: Hyperlink Code
Post by: Jeff Bailey on December 19, 2012, 04:06:50 am
Did you open the file information?
Title: Re: Hyperlink Code
Post by: crashfab on December 19, 2012, 04:22:42 am
Do you mean here Jeff?

Title: Re: Hyperlink Code
Post by: Jeff Bailey on December 19, 2012, 04:32:32 am
Those should be checked depending on what settings you want. I meant the file information displayed on the intermediate image page (displayimage.php). The links should show there after you check the boxes you want.
http://documentation.coppermine-gallery.net/en/configuration.htm#admin_image_comment_info_visible
Title: Re: Hyperlink Code
Post by: crashfab on December 19, 2012, 05:15:21 am
Ok now I can see it. I just need to figure out how to move the bbcode to under the picture.

Title: Re: Hyperlink Code
Post by: Jeff Bailey on December 19, 2012, 05:23:36 am
That plugin most likely uses the file_info plugin hook. If you know a little php, you can edit the plugin to use the html_image plugin hook.
Title: Re: Hyperlink Code
Post by: crashfab on December 19, 2012, 05:27:49 am
I guess its time for me to learn something new. I have been doing allot the last few years with VBB forums--guess I will have to do more reading on this to figure it out.
Title: Re: Hyperlink Code
Post by: Jeff Bailey on December 19, 2012, 05:30:11 am
I don't have time to look at it tonight but I can tomorrow if you run into a problem.
Title: Re: Hyperlink Code
Post by: crashfab on December 19, 2012, 05:40:57 am
Thank you Jeff....
Title: Re: Hyperlink Code
Post by: Αndré on December 19, 2012, 07:01:10 am
Maybe Stramm's plugin can be ported to cpg1.5.x (or even used as-is). Can you please post a link to the plugin's announcement thread?
Title: Re: Hyperlink Code
Post by: crashfab on December 19, 2012, 05:44:55 pm
Been searching and found this.


http://forum.coppermine-gallery.net/index.php/topic,36302.0.html

I have an early version of this I believe on my older gallery but this is exactly what I am looking for,
Title: Re: Hyperlink Code
Post by: crashfab on December 20, 2012, 03:50:51 am
At the end of that thread its stated that version is also for 1.5.x but I haven't found it.

If I was smart enough to make a version for 1.5.x I would be all over it...
Title: Re: Hyperlink Code
Post by: Αndré on December 28, 2012, 10:42:33 am
I just installed cpg1.4.x_plugin_bbcode-below-intermediate_v1.3.zip on my cpg1.5.x gallery and it seems to work as expected as-is.