Page 7 of 8

Re: BBCode Wishlist

Posted: 06 Feb 2011, 05:54
by muntoo
doc-helmut wrote:in some phpbb3 forums I saw a code tag like
[ code=c]
// o.c. w/o empty spaces after the brackets
[ /code]
with syntax highlighting like in a C Editor. Looks fine! :)
Doesn't work. (The `=c` "attribute" gets erased. I'm trying `="c"` now...)

Code: Select all

// How to kill the president

#define ALIVE 1
#define DEAD 0

int main(int argc, char* argv[])
{
    int obama_state = ALIVE;
    obama_state = DEAD;
    return(0);
}

Re: BBCode Wishlist

Posted: 06 Feb 2011, 10:01
by HaWe
muntoo,
I know that it doesn't work, that's why I posted it as a wish to wish list!

Re: BBCode Wishlist

Posted: 06 Feb 2011, 11:07
by mightor
I won't be able to implement that, it requires a plugin which we can't install.

- Xander

Re: BBCode Wishlist

Posted: 06 Feb 2011, 19:59
by muntoo
doc-helmut wrote:muntoo,
I know that it doesn't work, that's why I posted it as a wish to wish list!
Yeah, I was just testing it out.

@Xander Which plugin? Why not?

Re: BBCode Wishlist

Posted: 07 Feb 2011, 06:57
by mightor
This is a hosted phpBB, they just don't allow plugins to be added.

- Xander

Re: BBCode Wishlist

Posted: 09 Mar 2011, 03:18
by mattallen37
Instead of just code boxes, can there be code tags? I remember on NXTasy, you could choose. The box only allows you to see something like 10-15 lines at a time, but the other way, you can see the whole program at once (or at least a screen-full).

Re: BBCode Wishlist

Posted: 10 Mar 2011, 07:36
by mightor
If you have the html code needed to make it work then I don't mind adding the bbcode, as long as we don't end up with these massively long posts (like some people used to do) that required four "page down" presses just to get to the next post.

- Xander

Re: BBCode Wishlist

Posted: 11 Mar 2011, 03:17
by mattallen37
Unfortunately, I do not do really anything with html.

Re: BBCode Wishlist

Posted: 12 Mar 2011, 15:07
by mightor
That makes two of us :)

- Xander

Re: BBCode Wishlist

Posted: 12 Mar 2011, 19:11
by muntoo
I'm still learning... (Javascript, CSS3, not HTML4, I "know" that) And I don't think it'll require only knowledge of HTML, but I could be wrong...