WordPress.org

Ready to get started?Download WordPress

Forums

SyntaxHighlighter Evolved
Not working in WP 3.2.1 (19 posts)

  1. Victor Font
    Member
    Posted 2 years ago #

    The plugin no longer displays scroll bars or buttons. It is only showing the raw code.

    http://wordpress.org/extend/plugins/syntaxhighlighter/

  2. rolito
    Member
    Posted 2 years ago #

    I have the same problem!

    Please, any fix for this!

  3. Victor Font
    Member
    Posted 2 years ago #

    I switched to a different plugin.

  4. rolito
    Member
    Posted 2 years ago #

    Please, can you tell me which plugin are you using now?

    Thanks!

  5. Victor Font
    Member
    Posted 2 years ago #

    I am using Better WordPress Syntax by Khang Minh. It is a server side plugin. The website is http://betterwp.net/wordpress-plugins/bwp-syntax/.

  6. prionkor
    Member
    Posted 2 years ago #

    I think its not with the current version I have tried to use it before but not worked. Currently i have activated again You can see one of my post here.

    It just show the raw code and nothing else. Please help!

  7. westerdaled
    Member
    Posted 2 years ago #

    Hi

    I had a similar issue with Syntax Highlighter evolved 3.1.3 and WP 3.3.2.
    In my case, I would paste in my C# code using the TinyMCE button and preview it. Everything ok.

    I would then update and view site only to see that
    <pre class="brush: csharp; gutter: true; first-line: 1">

    get's replaced with just
    <pre>
    So no scrollbars and readable c# code

    AHhhhhhhhhhhhhh!!!!!!!!!!!!!!!

    After about 3-4 times of reapplying the syntax highlighter markup ( manually and with the button) I got a bit fed up. So started to investigate

    I think it might be related to the After-the-deadline from Jetpack. I have simply enabled it for the first post update only. I am also not doing the preview before I update - tho this probably more paranoia on my part ;-)
    So far everything ok.

    Daniel

  8. Elshereef
    Member
    Posted 2 years ago #

    The same here!!

  9. westerdaled
    Member
    Posted 2 years ago #

    Hi Elsheef

    Can you please elaborate. If the AtD pluggin is the reason behind the issues you and I are experiencing, then I Can pass this info to the JetPack support team.

    Daniel

  10. prionkor
    Member
    Posted 2 years ago #

    I am not sure what you people talking about. I don't use Jetpack and i am have the same issue.

  11. westerdaled
    Member
    Posted 2 years ago #

    Hi

    just to clarify, I am taking about the AtD plugin that is now bundled in JetPack. I think the point I am making that in this case having it activated seem cause my c# code in my post to be reformatted with just

     
    without the fancy SH pre attributes. Alternatively, the problems with SH could also be due to the Preview -> Update cycle ( rather than Update -> Preview). I need to amend my post today, so I can probably pin this down.

    As anyone else tried deactivating certain plugins and or reversing the Preview -> Update cycle.

  12. Elshereef
    Member
    Posted 2 years ago #

    Hi westerdaled,
    I got a fresh copy of wordpress and setup it in my local server then i setup the plugin and it works perfectly!! so the problem isn't with wordpress 3.3.2 neither 3.3.1 because i just tried the plugin in both of them. I deactivated JetPack plugin and nothing happen either, So i am now sure that the problem is in the theme itself i am debugging the theme right now and hopefully i can find the damn bug!

  13. prionkor
    Member
    Posted 2 years ago #

    @westerdaled This discussion/forum about SyntaxHighlighter Evolved plugin. I think you are posing it on wrong area :)

  14. westerdaled
    Member
    Posted 2 years ago #

    Hi
    @prionkor

    Yep I am using SH Evolved .

    @elshereef

    Have you tried comparing the SHe Settings eg. Setting the first option: WP Syntaxhighter then SyntaxHighlighter
    Plus the other settings?

  15. Elshereef
    Member
    Posted 2 years ago #

    @westerdaled
    Yes, dead end too!

  16. Elshereef
    Member
    Posted 2 years ago #

    @westerdaled
    have you changed anything in your website lately? Have you added any codes to the theme?

  17. Elshereef
    Member
    Posted 2 years ago #

    I fixed the problem, couple days ago i added the Facebook like box to my blog, so i added the SDK codes to my header and that caused the problem! i removed it and put it after the <body> tag and that fixed the problem.
    Try to play with any javascript codes in your header to see if anyone of them causes the problem. I hope you all can fix it as well.

  18. balord
    Member
    Posted 2 years ago #

    The highlighter CSS files are not loading because of a JavaScript error.

    I fixed it by editing syntaxhighlighter.php (v3.1.3):

    change line 634 from this:

    document.getElementsByTagName("head")[0].insertBefore( corecss, document.getElementById("syntaxhighlighteranchor") );

    to this:

    document.getElementById("syntaxhighlighteranchor").appendChild(corecss);

    and uncomment line 648 and delete line 649 so that you are left with only this:

    document.getElementById("syntaxhighlighteranchor").appendChild(themecss);

  19. hoangpn
    Member
    Posted 2 years ago #

    I'm using SHe, and have problem many white line append to code display.
    http://techblog.vn/lap-trinh-vien/php-gui-sms-brandname-1sms-vn-958/

    Please help me know why ?
    Tks and best regards.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic