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

Author Topic: Remove URL BBCode tag  (Read 5851 times)

0 Members and 1 Guest are viewing this topic.

bobbritt

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Remove URL BBCode tag
« on: December 15, 2010, 02:57:53 pm »

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
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Remove URL BBCode tag
« Reply #1 on: December 15, 2010, 03:03:21 pm »

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

bobbritt

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Remove URL BBCode tag
« Reply #2 on: December 15, 2010, 04:13:37 pm »

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

bobbritt

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Remove URL BBCode tag
« Reply #3 on: December 15, 2010, 05:32:53 pm »

I got it!

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

rolfino

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Remove URL BBCode tag
« Reply #4 on: April 23, 2011, 10:53:09 am »

I have the the same question like "bobbritt".

I got it!

Just removed the url tag from this line of codebase.php
Code: [Select]
$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?
Logged

rolfino

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Remove URL BBCode tag
« Reply #5 on: April 24, 2011, 07:38:07 pm »

Problem is solved. ;)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Remove URL BBCode tag
« Reply #6 on: April 26, 2011, 01:51:42 pm »

Problem is solved. ;)
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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.