Syntax Highlighter

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
Extensions Robot
Extensions Robot
Extensions Robot
Posts: 29350
Joined: Sat Aug 16, 2003 7:36 am

Syntax Highlighter

Post by Extensions Robot »

Modification name: Syntax Highlighter
Author: UseLess
Modification description: Adds a BBCode 'syntax' which allows you to post programs/scripts in upto 132 languages and have the post Syntax Highlighted using GeSHi.
Modification version: 1.0.12
Tested on phpBB version: 3.0.5

Download file: SyntaxHighlighter_1.0.12.zip
File size: 653.02 KiB

Modification overview page: View

The phpBB Team is not responsible nor required to provide support for this modification. By installing this MOD, you acknowledge that the phpBB Support Team or phpBB Extension Customisations Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Mon Sep 19, 2022 7:33 pm, edited 12 times in total.
(this is a non-active account manager for the phpBB Extension Customisations Team)
User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 18489
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón

Syntax Highlighter

Post by DavidIQ »

Modification validated/released

Notes:
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.
User avatar
UseLess
Registered User
Posts: 521
Joined: Mon Jul 22, 2002 7:26 pm
Location: North East UK

Syntax Highlighter

Post by UseLess »

Greetings,

I'd like to thank the MOD Team for validating the mod.

Notes:
After installation of this mod you will need to clear the cache from the ACP so the hook information can be updated. This process 'should' clear the cached template files, along with everything else, but if you have any issues with things not showing try refreshing the templates via the Styles tab in the ACP.

Demo:

See here for a demo: http://www.phpbbstyles.co.uk/info/viewforum.php?f=4

SubSilver 2:

Now works with SubSilver 2 see here: http://www.phpbbstyles.co.uk/info/viewt ... &t=39&p=83 (about half way down the post) for details. The mod will be updated to include the SubSilver 2 changes when there's a need to update it.
Last edited by UseLess on Fri Jul 17, 2009 8:00 pm, edited 3 times in total.
Movie Quote:
It's not the years honey, it's the mileage...
phpBB 3 Mods @ phpBBStyles
thesecret
Registered User
Posts: 270
Joined: Mon Sep 29, 2008 12:13 pm

Re: Syntax Highlighter

Post by thesecret »

Am the most happy with this mod being in ModDB :D
Fliggerty
Registered User
Posts: 90
Joined: Fri Jul 11, 2008 11:01 pm

Re: Syntax Highlighter

Post by Fliggerty »

Hello,

Just stumbled across this. Have to say I'm quite excited to get this installed, a lot of my forumers will be very pleased!

Thanks for making this and sharing it with us! :D
User avatar
Kudlaty
Registered User
Posts: 62
Joined: Sat Feb 10, 2007 8:24 pm

Re: Syntax Highlighter

Post by Kudlaty »

very usefull mod :)
User avatar
UseLess
Registered User
Posts: 521
Joined: Mon Jul 22, 2002 7:26 pm
Location: North East UK

Re: Syntax Highlighter

Post by UseLess »

Greetings,
thesecret wrote:Am the most happy with this mod being in ModDB :D
Your not the only one... ;) took a few tries but got there in the end :D
Fliggerty wrote:Just stumbled across this. Have to say I'm quite excited to get this installed, a lot of my forumers will be very pleased!

Thanks for making this and sharing it with us! :D
Your welcome... :D
Kudlaty wrote:very usefull mod :)
It is that... ;)
Movie Quote:
It's not the years honey, it's the mileage...
phpBB 3 Mods @ phpBBStyles
Xanta Media
Registered User
Posts: 213
Joined: Sat Dec 27, 2008 4:33 pm

Re: Syntax Highlighter

Post by Xanta Media »

Congrats on the validation :D
User avatar
UseLess
Registered User
Posts: 521
Joined: Mon Jul 22, 2002 7:26 pm
Location: North East UK

Re: Syntax Highlighter

Post by UseLess »

Greetings,

Finally got it working with SubSilver 2, which turned out to be easier than I thought ;) see here: http://www.phpbb.com/community/viewtopi ... #p10232525 for details.
Movie Quote:
It's not the years honey, it's the mileage...
phpBB 3 Mods @ phpBBStyles
User avatar
matt1206
Registered User
Posts: 213
Joined: Wed Mar 08, 2006 3:04 pm
Location: Sheffield, UK
Name: Matt Worthington

Re: Syntax Highlighter

Post by matt1206 »

Just installed this, and on every post where I've used the new syntax tags, the first uploaded attachment is now showing an error:

Code: Select all

[phpBB Debug] PHP Notice: in file /includes/geshi.php on line 2151: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 3
[phpBB Debug] PHP Notice: in file /includes/geshi.php on line 2151: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 3
[phpBB Debug] PHP Notice: in file /includes/geshi.php on line 2151: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 3
[phpBB Debug] PHP Notice: in file /includes/geshi.php on line 2151: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 3
User avatar
UseLess
Registered User
Posts: 521
Joined: Mon Jul 22, 2002 7:26 pm
Location: North East UK

Re: Syntax Highlighter

Post by UseLess »

Greetings,

Which language did you specify?
Movie Quote:
It's not the years honey, it's the mileage...
phpBB 3 Mods @ phpBBStyles
User avatar
matt1206
Registered User
Posts: 213
Joined: Wed Mar 08, 2006 3:04 pm
Location: Sheffield, UK
Name: Matt Worthington

Re: Syntax Highlighter

Post by matt1206 »

UseLess wrote:Greetings,

Which language did you specify?
Erm, English?
User avatar
UseLess
Registered User
Posts: 521
Joined: Mon Jul 22, 2002 7:26 pm
Location: North East UK

Re: Syntax Highlighter

Post by UseLess »

Greetings,

The error your getting is probably due to a problem with a language file (as in syntax) as the only time the mod loads GeSHi is if a language is specified... hence the reason for asking which one you used that resulted in the error.

Using the tags: [syntax] [/syntax] will not include the GeSHi class.

Using [syntax=php] [/syntax] will include the GeSHi class (or using any one of the supported syntaxes).
Movie Quote:
It's not the years honey, it's the mileage...
phpBB 3 Mods @ phpBBStyles
coogs
Registered User
Posts: 117
Joined: Wed Jul 01, 2009 5:21 pm

Re: Syntax Highlighter

Post by coogs »

Thanks for your fantastic work

Really love this MOD

Will Try now
User avatar
killaziller
Registered User
Posts: 86
Joined: Thu Feb 08, 2007 3:57 pm
Location: Torrance

Re: Syntax Highlighter

Post by killaziller »

Thanks, my devs are going to love this.
ZeroZaku - The phpBB playground of a highschool web designer with a suspicious attraction. It's like catharsis.

Return to “[3.0.x] MOD Database Releases”