iG:Syntax Hiliter is not fully compatible with the new WordPress 2.0. Though the existing installations might work alright, new installs of the plugin on WordPress 2.0 may cause some problems due to the revamped user system in WordPress. The earlier user levels have been disposed off and user roles have been introduced. So the plugin will not install when activated in the plugin management page on your WordPress 2.0 install as it currently checks for the minimum user level 8 to install the plugin and edit the configuration options!! 😕
I’ll be releasing an update pretty soon for WordPress 2.0 but that will quite possibly make the plugin incompatible with the older versions, though I’m not sure, I’ll try to keep it compatible. 😉
I’d love to see full support in wordpress 2.
thanks
I’d love to see the same Rafi, but I’m a bit busy these days, so I’ve not gotten down to work on it, maybe next weekend!! 🙂
Hello,
i’m new to this plugin, but IT’s the greatest plugin to highlight your code!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
sorry for the many exclamation marks, but i don’t know how to express my feelings else …
but, the ONLY thing i want to have at the moment: that the code, that users type in their comments, should be highlighted …
is it coming or do you think, u can integrate it?
thanks!!!!!!!!!!
well, yes, its on the “new stuff” list, so yes, its coming!! 😉
wow, this would be very great 😉
If I remove all of the user level checks in the code, would it work then??
try and post your testings 😉
did it work in wp 1.5?
i don’t know, because i never used this plugin. i use it only since wp2.
but when it worked in comments in wp1.5, i think, it should, when u remove the user related thinghs 😉
well, some people, like Michael at LobsterTechnology, say that it works with WP2 without doing any code modifications. When I upgraded my test installs, it was working alright there too. So if you are upgrading your blog, go ahead, it’ll work. The only point of caution is when installing the plugin on WP2.0 as I noted when I said(above):
so there!! 😉
Amit, did you try it ?
Yes, I upgraded my test install from WP1.5.2 to WP2.0 beta(without deactivating any of my plugins) and after the upgrade, iG:Syntax Hiliter was working alright. 🙂
It seemed to work fine for me on a clean WP2 install.
That’s cool!! 🙂
Is it possible to remove the whitespace and line numbers from the highlighted code?
Basically, line 1 is always whitespace, and lines 2 – 4 are PHP code, and then line 5 is whitespace again.
The option to disable line numbers from the highlighted code is there in the iG:Syntax Hiliter Options page.
As for the whitespace, well, that happens when you start your code on the next line from where you started the tag, so if you open tag on the first line of code, you won’t see the whitespace in the beginning. Same applies for the end as well.
I’ve got quite a number of people asking me to do something about it, so the next version might have a fix for it!! 😉
Hi,
Thanks for that – I’ve had the same problems with my own syntax highlighters in the past. How about stripping whitespace before the when highlighting?
dear sir,
can I spcifty the start number of the line number of my code block?
yes you can do that but only if you have the latest version!! the instructions are in the accompanying manual!! 🙂
dear sir ,
I have download the latest version and solved my problem.
Here I have another problem:
Look at this page:
http://61.62.38.184/wordpress/?p=6
I think that the height of the code block is too long.
Can I set the largest height of the block ?
yes you can do that if you know CSS. there’s a CSS file located in the “ig_syntax_hilite” directory. you can change the height etc. there!!
I have changed the height of the css file but the height of the code become fixed !
Do I have another solution?
You are supposed to change the height of the “syntax_hilite” class. there’s none defined by default, so you’ll have to add it. other than that I dunno what you can do since this is the class that’s applied to the code box!!
I have changed syntax_hilite class and add the following line:
max-height:400px;
and I find it works in fireworks,but not in internet explorer6.
unfortunately neither “min-height” nor “max-height” work in Internet Explorer(6 or lower, I’m not sure about the upcoming version 7). same goes for “min-width” & “max-width”, so ofcourse it doesn’t help you achieve what you want. so you’ll have to either stick with specific height & width or let them flow & occupy as much as they want!! 🙂
you surely mean FireFox, no? 😉
All my problems are behind me. Turns out the html upload thingy munges my code between [] tags. I fouund the setting to use the html editor the old way and all my code works now.
sorry for the random postings.