Remove URL BBCode tag Remove URL BBCode tag
 

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

Remove URL BBCode tag

Started by bobbritt, December 15, 2010, 02:57:53 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

bobbritt

Greetings:
really like what I have seen of Coppermine so far. I have a Joomla! site that worked well for us when we first started but hindsight being what it is I would likely go another route today. But that's not the point of this post.

We are testing and configuring Coppermine with the Joomla! bridging. Everything is working great but we'd just like to get it tweaked for our needs, which is very depended on BBCode on forums. What I would like is multiple options for BBCode lines under images. Currently I have BBCode Control (bbcode_control): v1.8 and Album Share Codes (album_share_codes): v1.1 working.

What we would like is a line for just the "img" tag with fullsize and one with both "url" and "img" with fullsize.

I see where it's rather simple to edit and customize this stuff but I would rather ask the question here instead of trail and error guess work on my part.

http://www.modelersalliance.com/gallery/

Let me know if you need a user and I can supply that ASAP

Αndré

So you want to adjust/extend the row in the file information that the plugin BBCode control adds?

bobbritt

I believe so, yes.

what we would like to see is a line of BBCode with just the "img" tag to the fullsize image, and a line with the "img" and "url" tags for the full size.

Forgive me for not using correct terminology, I will pick up on the lingo as I learn more. Really appreciate how much work you all put into supporting your products. We see a lot of potential in Coppermine.

bobbritt

I got it!

Just removed the url tag from this line of codebase.php
$info['BBCode'] = '<textarea onfocus="this.select();" onclick="this.select();" class="textinput" rows="1" cols="64" wrap="off" style="overflow:hidden; height:15px;">'.$thumb.'</textarea>';


rolfino

I have the the same question like "bobbritt".

Quote from: bobbritt on December 15, 2010, 05:32:53 PM
I got it!

Just removed the url tag from this line of codebase.php
$info['BBCode'] = '<textarea onfocus="this.select();" onclick="this.select();" class="textinput" rows="1" cols="64" wrap="off" style="overflow:hidden; height:15px;">'.$thumb.'</textarea>';



This way will allways show the bbcode for the thumbnail.
But how it's possible to get bbcode with fullsize picture.

I think the "$thumb" parameter have to change. What is the right parameter to show te fullsize picture?

rolfino


Αndré

Quote from: rolfino on April 24, 2011, 07:38:07 PM
Problem is solved. ;)
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
If you have found an answer to your question, resolve your thread. Don't just post "I have found the answer", but tell others what you actually did to solve your issues. Posting a link to the page where you found the answer might help. Describing what you did might help as well.