Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbcode plugins URL not work

  • @leoleoleo

    Member

    I installed BBcode Lite for bbPress and BBcode Buttons plugins in bbPress 1.0 Alpha. The URL button not work show the original code not URL.How to fix it? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • @fernandot

    Participant

    Same problem. I see the markups but doesn’t work :(

    @chrishajer

    Participant

    @fernandot: this worked fine for me. I see the buttons and used them and it works just fine. See my test post. Firefox 3.0.5

    http://ayudawordpress.com/foro/

    @_ck_

    Participant

    No I think they mean specifically the URL button.

    I see the problem too.

    Investigating…

    Okay the problem is you either have to highlight text you want to make into a link, or finish the link with the close URL button again. And there has to be text within the . I guess I need to make it less sensitive/work more intuitively.

    @_ck_

    Participant

    I am changing the behavior to be more intuitive.

    If they have highlighted text, it will create a link for them by just asking for the link.

    If there is no highlighted text, it will first ask for the link, then it will ask for the text for the link.

    Replace this function by with it’s one new line in BBcode-Buttons.js

    function edInsertLink(i, defaultValue) {
    if (!defaultValue) {defaultValue = 'http://';}
    if (!edCheckOpenTags(i)) {
    var URL = prompt('Enter the URL' ,defaultValue);
    if (URL) {BBcodeButtons.tagStart = ''; edInsertTag(i);}
    if (edCheckOpenTags(i)) {var myValue = prompt('Enter the text for the link', ''); edInsertContent(myValue); edInsertTag(i);}
    }
    else {edInsertTag(i);}
    }

    Or download 0.0.8 shortly.

    @chrishajer

    Participant

    Ah, sorry. The URL button specifically. Missed that.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar