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 3 4 5   Go Down

Author Topic: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x  (Read 136315 times)

0 Members and 1 Guest are viewing this topic.

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764

What it does:
  • Get control over the bbcodes. You can enable/disable the processing of each bbcode.
  • Add new bbcode tags to your gallery (size, tt, hr, quote, audio, youtube).
  • Add some buttons in the comment area for easy use of bbcodes. You can set who will see these buttons (nobody, admin only, everybody).
  • Set maximum width/height of images via [img] tag.
  • Show pre-built bbcode in file info. You can copy & paste the bbcode wherever you want. This feature has been outsourced to the Embed Code plugin since version 1.10

A new button appears in the admin menu. There you can set everything related to bbcodes.

Download: http://sourceforge.net/projects/coppermine/files/Plugins/1.5.x/cpg1.5.x_plugin_bbcode_control_v1.11.zip/download
« Last Edit: June 03, 2015, 10:50:49 pm by Αndré »
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Plugin: BBCode Control for CPG 1.5.x
« Reply #1 on: January 05, 2009, 02:15:43 pm »

Nice work work eenemeenemuu ! Definately going into a site i'm working. Thanks.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Plugin: BBCode Control (more bbcodes and adjustment) for CPG 1.5.x
« Reply #2 on: January 05, 2009, 02:26:10 pm »

Any translations are welcome :) Currently only english and german are included in the package. I've implemented a language fallback and the most output is for the admin only. That means, that my plugin can be used on websites in every language anyway, even if there don't exist a language file.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Plugin: BBCode Control (more bbcodes and adjustment) for CPG 1.5.x
« Reply #3 on: January 05, 2009, 03:08:04 pm »

And here is the dutch lang file.

Cheers
Hein
Logged

Fabricio Ferrero

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 1996
  • From San Juan, Argentina, to the World!
    • http://fabricioferrero.com/
Re: Plugin: BBCode Control (more bbcodes and adjustment) for CPG 1.5.x
« Reply #4 on: January 05, 2009, 07:06:11 pm »

And the Spanish one!

Again, Nice plugin!


Cheers

Fabricio.
Logged
Read Docs and Search the Forum before posting. - Soporte en español
--*--
Fabricio Ferrero's Website

Catching up! :)

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: Plugin: BBCode Control (more bbcodes and adjustment) for CPG 1.5.x
« Reply #5 on: January 05, 2009, 08:58:42 pm »

Nice plugin
attached french.php file
BTW you should add the header to your lang files.
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Plugin: BBCode Control (more bbcodes and adjustment) for CPG 1.5.x
« Reply #6 on: January 06, 2009, 08:15:05 am »

Thank you for your contributions. I added your language files to the package and updated the first post.

you should add the header to your lang files.
Done for all available language files.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #7 on: May 24, 2009, 10:35:11 am »

eenemeenemuu has added the plugin to the SVN, so those of you who want to see the cutting edge of this plugin are welcome to check out the SVN via web access (http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.5.x/plugins/bbcode_control/) or using your favorite SVN client (see http://documentation.coppermine-gallery.net/en/dev_subversion.htm) and check out
Code: [Select]
https://coppermine.svn.sourceforge.net/svnroot/coppermine/branches/cpg1.5.x/plugins/bbcode_control/. Please remember though that SVN checkouts don't get supported.

Joachim
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #8 on: June 11, 2010, 12:11:53 pm »

Version 1.8 uses youtube-nocookie.com to embed youtube videos.
Logged

ssdaa

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #9 on: June 13, 2010, 08:18:50 pm »

Thank you Αndré
attache arabic
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #10 on: June 13, 2010, 08:31:49 pm »

Thanks for your contribution. Added Arabic language file in r7678.
Logged

marish

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #11 on: June 29, 2010, 03:29:05 am »

hi, thanks for great plugin!

i would like to ask, if there is a posibility to generate pre-built bbcodes for whole album in single textarea on album page?
i found a few mods trying to do this, but none of them work on version 1.5.
it would be much appreciated.  :)

cheers,
marish
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #12 on: June 29, 2010, 08:14:28 am »

What do you mean with 'album page'? What exactly do you want to display where? Board rules / Forum policies: Post Links?
Logged

marish

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #13 on: June 29, 2010, 02:40:02 pm »

thanks for your reply.
i mean this page: http://miliarda.com/marish/cpg/thumbnails.php?album=1
and i would like to display a list of bbcodes for all photos in this album in single textarea, which should be placed at the bottom of that page.

photobucket.com has similar feature, please look at the attachment.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #14 on: June 29, 2010, 03:04:44 pm »

That's an entirely different plugin - it does something completely different than this plugin. This plugin here allows the use of additional bbcode tags in the fields that already exist in Coppermine. What you request is a plugin that adds field(s) where a link to the page the visitor is on is being displayed in a fool-proof manner for copy'n paste purposes. You shouldn't have posted in this thread. There are a number of plugins (e.g. "copy/ paste bbcode img URL below intermediate image" and "TagBlitz 1.0 (stable) - Linking suite (HTML, bbCode, tags, social bookmarking)") for cpg1.4.x that would have to be ported for cpg1.5.x, but that's beyond the scope of this thread. Your request is invalid. Please do not discuss your request further in this thread.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #15 on: June 29, 2010, 03:16:37 pm »

Please read the feature list
  • Show pre-built bbcode in file info. You can copy & paste the bbcode wherever you want.

You want to display BBCodes for all images of an album, right? I'll create a draft of what I've understood from your request. But please:
Please do not discuss your request further in this thread.
instead just wait until I upload that plugin.
Logged

marish

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #16 on: June 29, 2010, 03:25:31 pm »

yes, that is exactly what i mean. thank you and i`m sorry for misplacing this request, i`ll be more careful about forum structure next time. feel free to delete my posts from this thread. :)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #17 on: June 29, 2010, 03:50:17 pm »

For all who are searching a plugin which features marish's request (and all related discussion!), see here.
Logged

Akuma2000

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #18 on: October 15, 2010, 03:53:59 pm »

I installed this one, works great :)

But when I copy the BB code of an image and post it on a forum, it shows the thumbnail on the forum.
Is there a way to show the full size of that image?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: BBCode Control (more bbcodes, buttons and adjustment) for cpg1.5.x
« Reply #19 on: October 15, 2010, 04:01:16 pm »

Is there a way to show the full size of that image?
In codebase.php, find
Code: [Select]
$thumb = '[img]'.$CONFIG['ecards_more_pic_target'].get_pic_url($CURRENT_PIC_DATA, 'thumb').'[/img]';and replace with
Code: [Select]
$thumb = '[img]'.$CONFIG['ecards_more_pic_target'].get_pic_url($CURRENT_PIC_DATA, 'fullsize').'[/img]';
Logged
Pages: [1] 2 3 4 5   Go Up
 

Page created in 0.028 seconds with 20 queries.