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

Nederlandse ondersteuning voor CMS Made Simple

Moderator: velden

Post Reply
evinx
Forum Members
Forum Members
Posts: 23
Joined: Mon Apr 16, 2012 5:47 pm

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

Post 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]
Last edited by evinx on Sun Jun 17, 2012 3:12 pm, edited 1 time in total.
mcDavid
Power Poster
Power Poster
Posts: 377
Joined: Tue Mar 31, 2009 8:45 pm

Re: [vraag]bbcode toevoegen aan microtiny

Post 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
evinx
Forum Members
Forum Members
Posts: 23
Joined: Mon Apr 16, 2012 5:47 pm

Re: [vraag]bbcode toevoegen aan microtiny

Post 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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: [vraag]bbcode toevoegen aan microtiny

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
mcDavid
Power Poster
Power Poster
Posts: 377
Joined: Tue Mar 31, 2009 8:45 pm

Re: [vraag]bbcode toevoegen aan microtiny

Post 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
evinx
Forum Members
Forum Members
Posts: 23
Joined: Mon Apr 16, 2012 5:47 pm

Re: [vraag]bbcode toevoegen aan microtiny

Post by evinx »

laat maar hier ga ik niet uitkomen ik ga gewoon youtube insluit code invoegen :) is mischien wel net zo makkelijk
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: [vraag]bbcode toevoegen aan microtiny

Post 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?
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
evinx
Forum Members
Forum Members
Posts: 23
Joined: Mon Apr 16, 2012 5:47 pm

Re: [vraag]bbcode toevoegen aan microtiny

Post by evinx »

oh jah natuurlijk sorry
Post Reply

Return to “Dutch - Nederlands”