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: bbcode URL below intermediate image  (Read 21391 times)

0 Members and 1 Guest are viewing this topic.

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
bbcode URL below intermediate image
« on: July 29, 2006, 01:17:11 pm »

this plugin adds the fullsize image url below the intermediate image in bbcode img tags (http://)
check the code... you can let it display bbcode for thumb/ intermediate too

clothahump

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 42
Re: bbcode URL below intermediate image
« Reply #1 on: August 11, 2006, 10:42:58 am »

Where do I adjust the settings, unable to see anything in the admin panel?
Is there any way to create code such as this so members can just cut and paste the code into Forums?
Code: [Select]
[url=FULL SIZED IMAGE][img]THUMBNAIL[/img][/url]
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: bbcode URL below intermediate image
« Reply #2 on: August 11, 2006, 10:51:04 am »

have a look at codebase.php

clothahump

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 42
Re: bbcode URL below intermediate image
« Reply #3 on: August 11, 2006, 11:28:02 am »

404 Not Found???
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: bbcode URL below intermediate image
« Reply #4 on: August 11, 2006, 12:12:59 pm »

you downloaded a zip, unpack it, have a look at the stuff you just unzipped, one of the two files in here's codebase.php... open/ edit with notepad

clothahump

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 42
Re: bbcode URL below intermediate image
« Reply #5 on: August 11, 2006, 12:59:02 pm »

Is codebase.php supposed to be in Root or in Plugins?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: bbcode URL below intermediate image
« Reply #6 on: August 11, 2006, 01:13:23 pm »

as mentioned in the docs, plugins reside in their own folder within the plugins folder. To install this plugin you should extract it into the plugins dir

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#plugin

clothahump

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 42
Re: bbcode URL below intermediate image
« Reply #7 on: August 11, 2006, 01:20:20 pm »

Installed via pluginmgr.php and it does not work, I can see the edited file in plugins/img_lnk/codebase.php but if you try to call this up you get Not in Coppermine...
Logged

clothahump

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 42
Re: bbcode URL below intermediate image
« Reply #8 on: August 11, 2006, 01:28:31 pm »

http://www.digitalgalleryhosting.com/inebg/index.php
Uninstalled, deleted, reinstalled still does not show.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: bbcode URL below intermediate image
« Reply #9 on: August 11, 2006, 01:37:56 pm »

it's your theme... default text color is white and the image table bg is white too
you can change that to fit your needs in codebase.php. Depending on your needs eg
Code: [Select]
$pic_data['html'] = $pic_data['html'].'<br><span class="you decide_and_put_it_in_the_css">[IMG]'.$CONFIG['ecards_more_pic_target'].$fullsize_url.'[/IMG]</span><br>';

clothahump

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 42
Re: bbcode URL below intermediate image
« Reply #10 on: August 11, 2006, 01:47:53 pm »

So you need a theme that will allow you to see the text, that sort of makes the others Themes obsolete?
I have reverted the default theme to Classic, it now shows in intermediate image but not in thumb or full image???
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: bbcode URL below intermediate image
« Reply #11 on: August 11, 2006, 01:52:26 pm »

if you define a class for the text as suggested in my last post you can use it how and where you want

your last question... please have a look at the topic

clothahump

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 42
Re: bbcode URL below intermediate image
« Reply #12 on: August 11, 2006, 01:59:15 pm »

This topic?
I have edited the codebase.php if that is what you mean?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: bbcode URL below intermediate image
« Reply #13 on: August 11, 2006, 02:01:32 pm »

topic: bbcode URL below intermediate image

and the edit... you replace class="you decide_and_put_it_in_the_css" with whatever class name you want and apply it to your css accordingly

clothahump

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 42
Re: bbcode URL below intermediate image
« Reply #14 on: August 11, 2006, 02:03:38 pm »

if you define a class for the text as suggested in my last post you can use it how and where you want

your last question... please have a look at the topic


I am not a php programmer Stramm so do not know how to define a class.........
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: bbcode URL below intermediate image
« Reply #15 on: August 11, 2006, 02:09:21 pm »

that hasn't to do much with programming. That's html and css
In your themes dir find style.css and add the following if the class name you refer to is some_class

Code: [Select]
.some_class
{
color: #000000;
font-size: 10px;
}


then you need to have in codbase.php class="some_class"

clothahump

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 42
Re: bbcode URL below intermediate image
« Reply #16 on: August 11, 2006, 02:26:54 pm »

That did not work, I give up.
Let me know when this works please.
Logged

clothahump

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 42
Re: bbcode URL below intermediate image
« Reply #17 on: August 11, 2006, 02:40:50 pm »

I have set the theme to igames with choice of themes disabled, is there any way we can implement this.

Code: [Select]
[url=FULL SIZED IMAGE][img]THUMBNAIL[/img][/url]
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: bbcode URL below intermediate image
« Reply #18 on: August 11, 2006, 02:48:56 pm »

Let me know when this works please.
It actually is working, you're just lacking the basic skills needed. Coppermine (and subsequently this plugin) is aimed at webmasters who know how to install a plugin, who are ready to read the docs and who have basic HTML and CSS skills.
If you need basic HTML and CSS teaching, please google for some tutorials on those fields - they aren't related to this plugin, but a pre-requisite. Please do not clutter plugin threads that actually discuss a plugin by asking for pretty basic HTML stuff.
Logged

clothahump

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 42
Re: bbcode URL below intermediate image
« Reply #19 on: August 11, 2006, 03:23:22 pm »

It actually is working, you're just lacking the basic skills needed. Coppermine (and subsequently this plugin) is aimed at webmasters who know how to install a plugin, who are ready to read the docs and who have basic HTML and CSS skills.
If you need basic HTML and CSS teaching, please google for some tutorials on those fields - they aren't related to this plugin, but a pre-requisite. Please do not clutter plugin threads that actually discuss a plugin by asking for pretty basic HTML stuff.

So very sorry, I did not realise asking for help was against the Law.
Logged
Pages: [1] 2   Go Up
 

Page created in 0.021 seconds with 19 queries.