Syntax php

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
Pazuzu156
Forum Contributor
Posts: 241
Joined: Sat Nov 20, 2010 9:00 pm
Location: GA, USA
Contact:

Syntax php

Post 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.
- Kaleb Klein
------------------------------------
Web Developer | Software Developer
https://kalebklein.com
PGP Key: https://keybase.io/pazuzu156
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Syntax php

Post by Christopher »

I think it uses GeSHi:

http://qbnz.com/highlighter/
(#10850)
User avatar
Pazuzu156
Forum Contributor
Posts: 241
Joined: Sat Nov 20, 2010 9:00 pm
Location: GA, USA
Contact:

Re: Syntax php

Post by Pazuzu156 »

How do I install this into PHPBB?
- Kaleb Klein
------------------------------------
Web Developer | Software Developer
https://kalebklein.com
PGP Key: https://keybase.io/pazuzu156
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: Syntax php

Post by Christopher »

(#10850)
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Syntax php

Post by Jonah Bron »

User avatar
Pazuzu156
Forum Contributor
Posts: 241
Joined: Sat Nov 20, 2010 9:00 pm
Location: GA, USA
Contact:

Re: Syntax php

Post 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?
- Kaleb Klein
------------------------------------
Web Developer | Software Developer
https://kalebklein.com
PGP Key: https://keybase.io/pazuzu156
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: Syntax php

Post 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?
User avatar
Pazuzu156
Forum Contributor
Posts: 241
Joined: Sat Nov 20, 2010 9:00 pm
Location: GA, USA
Contact:

Re: Syntax php

Post 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.
- Kaleb Klein
------------------------------------
Web Developer | Software Developer
https://kalebklein.com
PGP Key: https://keybase.io/pazuzu156
Post Reply