Page 1 of 1

Syntax php

Posted: Sun Nov 21, 2010 12:58 pm
by Pazuzu156
I would live to know how you made the bbcode for the php syntax. It's an amazing thing, and I would like to know how.

Re: Syntax php

Posted: Sun Nov 21, 2010 1:48 pm
by Christopher
I think it uses GeSHi:

http://qbnz.com/highlighter/

Re: Syntax php

Posted: Sun Nov 21, 2010 2:51 pm
by Pazuzu156
How do I install this into PHPBB?

Re: Syntax php

Posted: Sun Nov 21, 2010 3:10 pm
by Christopher

Re: Syntax php

Posted: Sun Nov 21, 2010 4:51 pm
by Jonah Bron

Re: Syntax php

Posted: Sun Nov 21, 2010 9:04 pm
by Pazuzu156
Its there, but I can only get the php working.

I'd like c++ and others that I put into it to load. like [text][/text] doesn't work. PHP does, but that's it, what am I doing wrong?

Re: Syntax php

Posted: Mon Nov 22, 2010 2:47 am
by greyhoundcode
On some other boards you put the language in quotes, ie [syntax="php"] so possibly [syntax="cpp"] could be an option for you? It's on the list of supported languages - I take it you've got the C++ language file?

Re: Syntax php

Posted: Mon Nov 22, 2010 6:53 pm
by Pazuzu156
Yes, I have it, but the syntax command doesnt work for me at all. When i use it it shows up in my post the way i typed it instead of doing what i want it to do.