Forums

Join
bbPress Support ForumsPluginsbbcode plugins URL not work

Info

Tags

bbcode plugins URL not work

  1. 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.

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

  3. @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/

  4. 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 [url] [/url]. I guess I need to make it less sensitive/work more intuitively.

  5. 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[i].tagStart = '[url=' + URL + ']'; 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.

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

  7. You must log in to post.