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: 26356
Joined: Sat Aug 16, 2003 7:36 am

Syntax Highlighter

Postby Extensions Robot » Fri Jul 17, 2009 3:23 am

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: 668697 Bytes

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 Modifications Team may not be able to provide support.

-->Modification support<--
Last edited by Extensions Robot on Sat Mar 05, 2011 2:21 pm, edited 5 times in total.
(this is a non-active account manager for the phpBB Extensions Team)

User avatar
DavidIQ
Extensions Team Leader
Extensions Team Leader
Posts: 15873
Joined: Thu Jan 06, 2005 1:30 pm
Location: Brooklyn, NY
Name: David Colón
Contact:

Syntax Highlighter

Postby DavidIQ » Fri Jul 17, 2009 3:23 am

Modification validated/released

Notes:
Apply to become a Jr. Extension Validator | My mods | 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
Contact:

Syntax Highlighter

Postby UseLess » Fri Jul 17, 2009 3:23 am

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

Postby thesecret » Fri Jul 17, 2009 4:55 am

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

Postby Fliggerty » Fri Jul 17, 2009 12:02 pm

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
Contact:

Re: Syntax Highlighter

Postby Kudlaty » Fri Jul 17, 2009 1:10 pm

very usefull mod :)

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

Re: Syntax Highlighter

Postby UseLess » Fri Jul 17, 2009 1:42 pm

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

User avatar
Xanta Media
Registered User
Posts: 213
Joined: Sat Dec 27, 2008 4:33 pm
Location: Nottingham, UK
Contact:

Re: Syntax Highlighter

Postby Xanta Media » Fri Jul 17, 2009 3:29 pm

Congrats on the validation :D
I will no longer be releasing or supporting MODs on this site. For support you need to go here

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

Re: Syntax Highlighter

Postby UseLess » Fri Jul 17, 2009 8:02 pm

Greetings,

Finally got it working with SubSilver 2, which turned out to be easier than I thought ;) see here: viewtopic.php?f=69&t=1697035&p=10232525#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

Postby matt1206 » Sat Jul 18, 2009 12:13 am

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
Contact:

Re: Syntax Highlighter

Postby UseLess » Sat Jul 18, 2009 6:24 am

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

Postby matt1206 » Sat Jul 18, 2009 2:47 pm

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
Contact:

Re: Syntax Highlighter

Postby UseLess » Sat Jul 18, 2009 2:55 pm

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

Postby coogs » Sat Jul 18, 2009 4:20 pm

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
Contact:

Re: Syntax Highlighter

Postby killaziller » Thu Jul 30, 2009 5:18 am

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”

Who is online

Users browsing this forum: No registered users and 27 guests