Not signed in ( Sign In)

Categories

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    •  
      CommentAuthorrodrigo
    • CommentTimeApr 30th 2010 edited
     permalink
    Is there any way to add [center] and [s] (strikethru) tags to the plugin itself so we can use it in editor normally (i.e. not using [html] tag)?

    Thanks in advance.
    •  
      CommentAuthorNoWhereMan
    • CommentTimeApr 30th 2010 edited
     permalink
    •  
      CommentAuthorStanley
    • CommentTimeMay 2nd 2010 edited
     permalink
    Posted By: rodrigoIs there any way to add [center] and [s] (strikethru) tags to the plugin itself so we can use it in editor normally (i.e. not using [html] tag)?


    Strikethrough actually uses the [del] tag, like so...

    This is [del]struckthrough[/del]

    Not sure about the other one - I usually use raw html for that, e.g.

    <center>Some centered text</center>

    The html "s" tag also works this way...

    This is <s>also struckthrough</s>

    I don't know how to add a new tag to the BBCode plugin to do that. Maybe someone else can help.
    •  
      CommentAuthorrodrigo
    • CommentTimeJun 22nd 2010
     permalink
    Wow, sorry for not having checked the answers before but went offline for some reason.

    I don't understand why [del] tag isn't mentioned in the documentation. (or is it?)

    I'd play around with adding custom tags for center, although it's not as important as strikethru was.

    Thanks both of you.
    •  
      CommentAuthorStanley
    • CommentTimeJun 24th 2010 edited
     permalink
    Posted By: rodrigoI don't understand why [del] tag isn't mentioned in the documentation. (or is it?)


    Umm... I'm not sure. I may have just found it by chance when I was nosing around in plugin.bbcode.php (look from about line 500).

    Grab yourself a copy of my revised version of the BBCode toolbar.tpl if it's of any help - contains buttons for links and strikethrough, plus a few more useful things which are missing from the default version, but I removed the enlarge/reduce and the "help" link (as I never used them)
    •  
      CommentAuthorlantaca
    • CommentTimeJun 24th 2010
     permalink
    You can also add this plug-in (is not the original from wiki)
    It add the tinyMCE editor to flatpress, but it is not allways active, you can enable or disable it from the page of new post

    "usa l'editor visuale/testuale" = "use the visual/textual editor" :-)



    i don't know why the button are in justify aligment... but it works fine :-)
    •  
      CommentAuthorStanley
    • CommentTimeJun 24th 2010
     permalink
    Does this version still let you use the BBCode toolbar as well? I tried the TinyMCE plugin a while ago, and I remember having issues with it - one of which was that I couldn't use the attachment & image drop-downs.
    •  
      CommentAuthorlantaca
    • CommentTimeJun 24th 2010
     permalink
    yes, under one condition:
    you can write with the Tiny editor, and when you want to use the BBcode toolbar, disable (temporarily) the plug in, use the bbcode, and enable the plug in after.
    you'll lose nothing of what you wrote
    •  
      CommentAuthorrodrigo
    • CommentTimeJun 27th 2010
     permalink
    Posted By: Stanley
    Posted By: rodrigoI don't understand why [del] tag isn't mentioned in the documentation. (or is it?)


    Umm... I'm not sure. I may have just found it by chance when I was nosing around in plugin.bbcode.php (look from about line 500).

    Grab yourself a copy ofmy revised versionof the BBCode toolbar.tpl if it's of any help - contains buttons for links and strikethrough, plus a few more useful things which are missing from the default version, but I removed the enlarge/reduce and the "help" link (as I never used them)


    Hey, Excellent!

    I'll be using this.

    lantaca's idea seems nice but I don't really need so much editing capabilities.

    Thanks for sharing.