Code for Fun!!

Leave a Reply

Comment as a guest.

  1. Hi.

    I have installed WordPress MU and your plugin on it.
    It work fine, but this:

    [php]
    $this->userFunc();
    [/php]

    was converted to

    [php]
    $this->userFunc();
    [/php]

    I can’t understand – it is plugin problem or WPMU itself?
    Is anyone had such problem?

  2. For the previous comment:

    ….

    It work fine, but this:

    [php]
    $this->userFunc();
    [/php]

    was converted to

    [php]
    $this- & gt;userFunc();
    [/php]

    without spaces beetween “-” and “&” and “gt;”

  3. I get what you mean alexis, no need to post again!! & as for your problem, well, that certainly is WPMU doing it since the plugin works just fine in WordPress. 🙂

  4. (I posted this on the wordpress blog but I think this one is probably the right place so I’m posting here. true? let me know the right one and I’ll just post once from now on. I like this one because I can subscribe to the post)

    It’s me Back again. Everything worked great in my test system because I have both my wordpress files and URL one level from the main. That is: http://test.peterkellner.net/wp for the wp files and http://test.peterkellner.net/wp for the URL of the blog.

    In my production, I have wp files at http://peterkellner.net/wp and I have the reference URL for the blog set to http://peterkellner.net

    This causes the highlighter plugin to fail. I get javascript errors on my browser and the nice frame around the text doesn’t show up.

    Is there a workaround for this?

    Thanks. (spent almost all day narrowing the problem down to this)

  5. Thanks Amit. Hoping you can find the problem with my / verses /wp install problem. I really like this formatting control. I’ve been trying to work around but with no luck.

    -Peter

  6. Any luck on finding my /wp verses / issue? Just wondering if you can even duplicate the problem. If not, then I’ll try some other way to solve it.

    thanks, -Peter

  7. no well, I’ve been busy for sometime, so haven’t really had any chance to look into the issue. I’ll look into it, but don’t hold out your hopes for a quick solution since I’ll be quite busy this week & the next. 🙂

  8. Pettry awesome plugin. I’m having a couple of issues though. I’m using the default wp theme and the code box is overlapping the right column of my blog page (where the archive and categories etc lists are). The other issue I’m having is all indentation is being removed from my code.

  9. OK, I figured out how to set the width in syntax_hilite_css.css (can that be in options?).

    Still not getting indentation though.

  10. I figured out how to set the width in syntax_hilite_css.css (can that be in options?)

    I think not. Code parsing done by GeSHi as of now is heavy in itself, so better not make everything else heavy too. So I’ve kept only the necessary options in the admin interface. Width is not something that you would change frequently, so I don’t think editing the CSS file once in while is a big deal!! 😉

    Still not getting indentation though.

    How are you using indentation? Are you using tabs or spaces? If using tabs then it shouldn’t have any problems & if you are using spaces then also it shouldn’t pose any problems, my code posts on this blog & posts of other people using this plugin are sufficient proofs of it!! 🙂 Are you using TinyMCE or any other WYSIWYG editor to post your stuff? If yes then try it after turning off the editor!! 🙂

  11. I love it.
    Everything works fine and now I can show my code in a clean format.
    Thx much !!!

    PS: I can’t see nothing more to say. Maybe putting more option in the plugin option page to be able to tweak it as we want …

    :thumbs up:

  12. Pingback: jawe.net
  13. Does your plugin support WP 2.1? I’ve tried on my installation but I only get a blank screen…

  14. Don’t mind… it was my fault, I didn’t put ig_syntax_hilite in the plugin directory. I did it and everything went fine, even if I don’t understand why you managed to split the plugin into two different directories at then /plugin level. Excellent work!

Sliding Sidebar