bbcode URL below intermediate image bbcode URL below intermediate image
 

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

bbcode URL below intermediate image

Started by Stramm, July 29, 2006, 01:17:11 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Stramm

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

clothahump

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?
[url=FULL SIZED IMAGE][img]THUMBNAIL[/img][/url]

Stramm


clothahump


Stramm

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

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

Stramm

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

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

clothahump


Stramm

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

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

Stramm

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

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

Stramm

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

Quote from: Stramm 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


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

Stramm

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

.some_class
{
color: #000000;
font-size: 10px;
}



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

clothahump

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

clothahump

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

[url=FULL SIZED IMAGE][img]THUMBNAIL[/img][/url]

Joachim Müller

Quote from: clothahump on August 11, 2006, 02:26:54 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.

clothahump

Quote from: GauGau on August 11, 2006, 02:48:56 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.