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] 2   Go Down

Author Topic: Hyperlink Code  (Read 7950 times)

0 Members and 1 Guest are viewing this topic.

crashfab

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Hyperlink Code
« 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?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hyperlink Code
« Reply #1 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.
Logged

crashfab

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Hyperlink Code
« Reply #2 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)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hyperlink Code
« Reply #3 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.
Logged

crashfab

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Hyperlink Code
« Reply #4 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...
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Hyperlink Code
« Reply #5 on: December 19, 2012, 01:40:24 am »

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

crashfab

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Hyperlink Code
« Reply #6 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..
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Hyperlink Code
« Reply #7 on: December 19, 2012, 03:21:59 am »

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

crashfab

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Hyperlink Code
« Reply #8 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...
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Hyperlink Code
« Reply #9 on: December 19, 2012, 04:06:50 am »

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

crashfab

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Hyperlink Code
« Reply #10 on: December 19, 2012, 04:22:42 am »

Do you mean here Jeff?

Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Hyperlink Code
« Reply #11 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
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

crashfab

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Hyperlink Code
« Reply #12 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.

Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Hyperlink Code
« Reply #13 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.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

crashfab

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Hyperlink Code
« Reply #14 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.
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1322
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Hyperlink Code
« Reply #15 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.
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

crashfab

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Hyperlink Code
« Reply #16 on: December 19, 2012, 05:40:57 am »

Thank you Jeff....
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Hyperlink Code
« Reply #17 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?
Logged

crashfab

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Hyperlink Code
« Reply #18 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,
Logged

crashfab

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Hyperlink Code
« Reply #19 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...
Logged
Pages: [1] 2   Go Up
 

Page created in 0.022 seconds with 19 queries.