Hyperlink Code Hyperlink Code
 

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

Hyperlink Code

Started by crashfab, December 18, 2012, 07:07:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

crashfab

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?

Αndré

That feature never existed in any Coppermine version out of the box. However, there's a plugin for cpg1.5.x.

crashfab

Thank you Andre. I installed it so long ago I had forgotten.

Again thanks for the support  8)

Αndré

Please
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
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.

crashfab

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
QuoteThe file uploaded is not a plugin package

I am doing right from what I can tell...

Jeff Bailey

Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

crashfab

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

Jeff Bailey

Sorry I misread the thread. The plugin Αndré posted should work fine.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

crashfab

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

Jeff Bailey

Did you open the file information?
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

crashfab

Do you mean here Jeff?


Jeff Bailey

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
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

crashfab

Ok now I can see it. I just need to figure out how to move the bbcode to under the picture.


Jeff Bailey

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.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

crashfab

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.

Jeff Bailey

I don't have time to look at it tonight but I can tomorrow if you run into a problem.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

crashfab


Αndré

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?

crashfab

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,

crashfab

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