Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

  • banfi
    Participant

    @banfi

    I’m releasing an update to the the bbcode plugin – it’s not online yet but coming soon : https://wordpress.org/extend/plugins/boingball-bbcode/

    The only thing I couldn’t get to support was the lists at the present time….


    banfi
    Participant

    @banfi

    or alternatively place support in for https://wordpress.org/extend/plugins/gorzeks-bbcode-plugin/

    as this supports

    /* Supported codes:

    http…

    Quote:

    Code:

    [size=n]…[/size]

    [img]http…[/img]

    [ol]

    [li]…ordered list…

    [/ol]

    [ul]

    [li]…unordered list…

    [/ul]

    */

    I would prefer that as the other bbcode pluging requires some work for lists :)


    banfi
    Participant

    @banfi

    If I update the bbcode plugin with these features could I upload it to wordpress? and then you wouldn’t need to modify all the buttons?

    I’m doing it now – got strikethrough working.

    working on list’s now.


    banfi
    Participant

    @banfi

    Vipers Plugin has these options….

    add_shortcode( ‘b’ , array(&$this, ‘shortcode_bold’) );

    add_shortcode( ‘i’ , array(&$this, ‘shortcode_italics’) );

    add_shortcode( ‘u’ , array(&$this, ‘shortcode_underline’) );

    add_shortcode( ‘url’ , array(&$this, ‘shortcode_url’) );

    add_shortcode( ‘img’ , array(&$this, ‘shortcode_image’) );

    add_shortcode( ‘quote’ , array(&$this, ‘shortcode_quote’) );

    I added this last night. (messy I know but it works and it was late)

    add_shortcode( 'color' , array(&$this, 'shortcode_color') );

    // bOingball - color shortcode

    function shortcode_color( $atts = array(), $content = NULL ) {

    if ( NULL === $content ) return '';

    //convert color by making the array a string

    $attribs = implode("",$atts);

    //then take the start and start it at the color start.

    $subattribs = substr ( $attribs, 1);

    return '<font color=' . $subattribs . '>' . do_shortcode($content) . '</font>';

    }

    So what do we need in there….

    Strike Through… Underline…. List… Li?… center and code.

    I could update that plugin to do the following I’m sure. – Maybe tonight or tomorrow.


    banfi
    Participant

    @banfi

    BuddyPress Forums Extras – ShortCodes -> will retain the bbcode style markup when editing. You could use Viper BBCode shortcode set and then modify that to include more bbcodes rules

    I see this, but could it be possible to have the _ck_ buttons enabled on this plugin so that they are above the reply box window. – my members like having the buttons and the bbcode, not buttons + html edit.

    They only seem to be on the plugin (noshortcodes).

    Cheers

    bOing


    banfi
    Participant

    @banfi

    Hey @etiviti,

    I’ve been putting the Buddypress Group Forum Extras on http://www.x-3dfx.com

    after messing and modding a little bit I have some questions.

    The bbcode for [color] doesn’t work, so I modded the bbcode plugin to support this, This now works.

    (Shown here : http://www.x-3dfx.com/groups/off-topic/forum/topic/sexy-new-look/#post-63 )

    Next “BuddyPress Forums Extras – BBCode (noshortcode)” enabled

    After posting something with bbshort codes and then going to edit this becomes HTML due to this plugin, Is this correct? As this conversion is not needed due to the bbcode pluging running as well.

    Now if this is intended could there be an option to turn the conversion off, (I’ve modded the php file manually to stop doing it as I like the bbcode _ck_ buttons it adds but didn’t like the back to HMTL it was doing…)

    also the HTML it was doing is breaking the color codes anyway for some reason. – they didn’t work when displayed but showed correct as <font color=””> when editing…

Viewing 6 replies - 1 through 6 (of 6 total)
Skip to toolbar