Page 1 of 1

[opgelost][vraag+antwoord]bbcode toevoegen aan microtiny

Posted: Sat Jun 16, 2012 9:07 pm
by evinx
hoe kan ik de module bbcode toevoegen aan microtiny

zodat ik die codes kan gebruiken in mijn pagina's (voornamelijk de youtube code)

alle andere youtube codes werken niet krijg geen filmpjes op de site


hier het hulp bestand

mischien dat je daar wat aan heb

hoop dat iemand mij kan helpen

alvast bedankt !!




Code: Select all

What is BBCode Tools?

This module aims to provide a set of basic BBCode-related tools including a BBCode toolbar and parsing functionality. At current, it supports the following tags:

    Bold - [b]text[/b]
    Italic - [i]text[/i]
    Underline - [u]text[/u]
    Strikethrough - [s]text[/s]
    Unordered List - [list][*]text[/*][/list]
    Ordered List - [list=1][*]text[/*][/list]
    Quote - [quote]text[/quote]
    Code - [code]text
Link - text
Image - [img]url[/img]
Center - [center]text[/center]
YouTube Video - [youtube]video URL[/youtube]
Change text color - text

How do I use it?

There are two available actions: 'toolbar' and 'parse'. The toolbar action displays a BBCode toolbar that can be associated with a textarea element, and the parse action replaces all supported BBCode tags in a string with their respective HTML tags, then outputs the result.

Usage examples:

{BBCode action='toolbar' input='some_textarea_id'}
{BBCode action='parse' input='this is bold'}

Additionally, you can use the parse function in your own UDTs or modules like so:

global $gCms;
$db = &$gCms->db;

$text = $params['text'];

$bbcode =& $gCms->modules['BBCode']['object'];
$output = $bbcode->BBCParse($text);

echo $output;

Support

You can find the project on the CMSMS forge at http://dev.cmsmadesimple.org/projects/bbcode. Feature requests and bug reports should also be directed there.

Alternatively, you can PM me directly on the forums (my username is Ricko97).
Copyright and License

Copyright © 2010 Ricko Mann http://www.rickomann.me.uk/.

This module has been released under the GNU Public License. You must agree to this license before using the module.
Parameters

(optional) lang="en_US" -
action="toolbar" - Name of the action to perform ("toolbar" or "parse"). Required.
input="content" - Applicable to both actions. With the toolbar action: ID of the textarea to integrate the BBCode Toolbar with. With the parse action: the string to parse and output. Required.[/code]

Re: [vraag]bbcode toevoegen aan microtiny

Posted: Sat Jun 16, 2012 9:18 pm
by mcDavid
Een groot probleem creëren om een klein probleem op te lossen is nooit een goed idee...

Ik denk dat je hier wat aan hebt:

http://wiki.cmsmadesimple.org/index.php ... alid_XHTML

Re: [vraag]bbcode toevoegen aan microtiny

Posted: Sat Jun 16, 2012 9:25 pm
by evinx
jah die youtube tag is mooi maar hoe voeg ik die toe of staat die er standaard in ? heb nog niet gevonden namelijk

Re: [vraag]bbcode toevoegen aan microtiny

Posted: Sat Jun 16, 2012 11:17 pm
by Rolf

Re: [vraag]bbcode toevoegen aan microtiny

Posted: Sun Jun 17, 2012 1:21 am
by mcDavid
evinx wrote:jah die youtube tag is mooi maar hoe voeg ik die toe of staat die er standaard in ? heb nog niet gevonden namelijk
http://wiki.cmsmadesimple.org/index.php ... fined_Tags

Re: [vraag]bbcode toevoegen aan microtiny

Posted: Sun Jun 17, 2012 2:24 pm
by evinx
laat maar hier ga ik niet uitkomen ik ga gewoon youtube insluit code invoegen :) is mischien wel net zo makkelijk

Re: [vraag]bbcode toevoegen aan microtiny

Posted: Sun Jun 17, 2012 2:38 pm
by Rolf
evinx wrote:laat maar hier ga ik niet uitkomen ik ga gewoon youtube insluit code invoegen :) is mischien wel net zo makkelijk
Plaats je dan even [opgelost] in de titel van de eerste post?

Re: [vraag]bbcode toevoegen aan microtiny

Posted: Sun Jun 17, 2012 3:12 pm
by evinx
oh jah natuurlijk sorry