BBCode code creation

peregrina - November 5, 2007 - 19:15
Project:Bbcode
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed
Description

I would like to see a page in administration for BBCode, to add a code (for example [player]file.mp3[/player] and load the proper flash player).

#1

naudefj - November 5, 2007 - 19:29
Status:active» postponed

Me too. However, this will require a complete rewrite. On the other hand, you can just quickly add your new tags to the "bbcode-filter.inc" file.

#2

andyceo - March 2, 2008 - 08:46

Hi,

I create a new feature like this one - http://drupal.org/node/228824 . I copy the text of my feature here for better knowing. (sorry for my awfull english....)

Want to define my own own bbcode tags from admin area

I wish to have an ability to define my own own bbcode tags from admin area. I am a PHP programmer and can help to develope that.

So, I see it something like that:

1. admin area to define my own bbcode tags, for example by /admin/settings/bbcode/
2. on that page, will be fields:
a) Your tag
b) Regular expression for tag
c) HTML-code to work with that tag, OR/AND
d) PHP-code to proceed that tag
e) Help tips to display on tips page
3. And buttons to submit that :)

Okey, I didn't find that feature in your current module, but I like it very much instead of it :) May be someone suggested that yet. So, in that case, I apologize for any unconvience.

Thank you.

#3

naudefj - March 2, 2008 - 09:46

You are welcome to submit a patch for this.

Many users want this feature added, however, nobody seems wiling to code it.

#4

andyceo - March 3, 2008 - 16:48

Okey.

I am trying to develope something to the that or next weekend.

 
 

Drupal is a registered trademark of Dries Buytaert.