Cool Codes (Syntax Highlighter)
Author Message
This plugin is problematic under PHP 7.x or newer.

This is pretty much a MyBB 1.4/1.6 port of my Syntax Highlighter for MyBB 1.2.
I've also added line numbers to this one.

To resolve speed issues, you may be interested in my preparser cache plugin.

See the following thread for examples of what this looks like: http://mybbhacks.zingaburga.com/showthread.php?tid=33 (note, no code edits required for this version of the plugin)
(This post was last modified: 02-28-2021 08:45 PM by ZiNgA BuRgA.)
Find all posts by this user
Quote this message in a reply
Download: coolcode-1.26.7z (14.52 KB)
Plugin Version: 1.26
Last Updated: 11-24-2014, 10:39 PM

Downloads: 1,272
MyBB Compatibility: 1.4.x, 1.6.x, 1.8.x
Plugin License: GPLv3
Uploader: ZiNgA BuRgA
sonic Offline
Junior Member
**
Posts: 6
Joined: Feb 2011
Post: #51
RE: Cool Codes (Syntax Highlighter)
okay. coolcode.php must also be changed?
03-01-2011 05:54 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #52
RE: Cool Codes (Syntax Highlighter)
If you only need to insert a CSS code, I think you don't need to edit the php file.
May I know what CSS code you want to insert?

03-01-2011 06:03 AM
Find all posts by this user Quote this message in a reply
sonic Offline
Junior Member
**
Posts: 6
Joined: Feb 2011
Post: #53
RE: Cool Codes (Syntax Highlighter)
I want to represent CSS code in my posts have the mycode [css] Here is the CSS code [/ css]
03-01-2011 06:08 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #54
RE: Cool Codes (Syntax Highlighter)
Well, I think you need to wait ZiNgA to reply if you want to add CSS MyCode.
I thought you want to insert CSS codes only.

Sorry for my misunderstanding.

03-01-2011 06:18 AM
Find all posts by this user Quote this message in a reply
sonic Offline
Junior Member
**
Posts: 6
Joined: Feb 2011
Post: #55
RE: Cool Codes (Syntax Highlighter)
no problem. we wait. thank you for your help
03-01-2011 06:20 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #56
RE: Cool Codes (Syntax Highlighter)
(03-01-2011 06:08 AM)sonic Wrote:  I want to represent CSS code in my posts have the mycode [css] Here is the CSS code [/ css]
If you want CSS highlighting, this isn't supported by this plugin.
Sorry about that.

My Blog
03-01-2011 08:19 AM
Find all posts by this user Quote this message in a reply
sonic Offline
Junior Member
**
Posts: 6
Joined: Feb 2011
Post: #57
RE: Cool Codes (Syntax Highlighter)
okay no problem. css will be supported even at some point?
03-01-2011 07:23 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #58
RE: Cool Codes (Syntax Highlighter)
I'm not really developing this plugin any more, so unlikely.
Maybe try one of the GeSHi plugins out there - it probably has CSS support.

My Blog
03-01-2011 09:43 PM
Find all posts by this user Quote this message in a reply
Master Offline
Junior Member
**
Posts: 1
Joined: Mar 2011
Post: #59
RE: Cool Codes (Syntax Highlighter)
(03-17-2010 12:04 PM)ZiNgA BuRgA Wrote:  This is pretty much a MyBB 1.4/1.6 port of my Syntax Highlighter for MyBB 1.2.
I've also added line numbers to this one.

To resolve speed issues, you may be interested in my preparser cache plugin.

See the following thread for examples of what this looks like: http://mybbhacks.zingaburga.com/showthread.php?tid=33 (note, no code edits required for this version of the plugin)

Thank you very very much Smile ,
I've been searching  for such pluging for days ,and now i found it Yipi
would you do us a favor and submit your great plugin to http://mods.mybb.com/ ?
such great plugin ought to be there Smile
again thank you for your great work .
03-17-2011 07:40 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #60
RE: Cool Codes (Syntax Highlighter)
No, I won't post my stuff there.  I don't want to maintain it there, neither do I want to deal with their idiotic approval system (as well as other idiots who might come crying back to me when they can't figure out how to upload it).
However, if you want, you can post it there if it pleases you.

Thanks for the compliments.

My Blog
(This post was last modified: 03-18-2011 08:54 AM by ZiNgA BuRgA.)
03-18-2011 08:53 AM
Find all posts by this user Quote this message in a reply


Forum Jump: