Support Forum

Forum toolset with Syntax Highlighting

AR Andy Ritchings
Andy Ritchings
Member

Hi,

I’ve got an odd problem. Not too much of an issue because I won’t be inserting code onto my forums very often.

The forum toolset works perfectly on mouse hover both when viewing forums and view individual topics.

However, once I insert some code and syntax highlight it, there is no longer a mouse hover forum toolset when view that topic. This only seems to be happening once a post includes syntax highlighting and at no other time.

As I said, it’s not too much of a worry, but any ideas about this?

Thanks in advance

11 Answers

New Answer

MP Mr Papa
Mr Papa
Member

are you using the syntax highlighter plugin for SP?  I cannot duplicate that issue and it has not been reported before…

Do you have a link to where this is happening?  I know we wont see the forum tools, but we can still look for any obvious js conflicts…

AR Andy Ritchings
Andy Ritchings
Member

Thanks for the reply.

Yes it’s the SP syntax highlighter plugin

I think there must be some conflict as I don’t have a “view raw code” box like below.

 

The forums are here: 

http://www.lsf-squad.com/forum
AR Andy Ritchings
Andy Ritchings
Member

Actually, just realised the “add reply” button isn’t working either in posts with syntax highlighting.

YS Yellow Swordfish
Yellow Swordfish
Member

Sounds like a typical script conflict. Of course I canlt get into the actual forums so hard to tell. If you now how to use Forebug then you could use the console to see of any errors are beinb thrown. Else if you could make me an acco9unt to test with that would be useful. If so Please PM credentials to both myself and to ‘Mr Papa’. Please include in the PM a link to your site, a link to this thread and brief reminder of the problem. And one of us will take a look for you.

The inly thing I did see which is a worry is something loading Mootools. WordPress and MooTools don’t get on that well and I wish people would stop using it in plugins. Might be no problem – I am just flagging it

AR Andy Ritchings
Andy Ritchings
Member

Thanks,

I’ll set you up and account.

 

Using Firebug, one error comes up after a syntax is highlighted.

 

loading[i] is not a function

http://d.envolve.com/4088D2A645C9488E17C0D41D2699E8B4.cache.js
Line 895

 

So I’m assuming the envolve chat client I am using is conflicting?

MP Mr Papa
Mr Papa
Member

did you try disabling the plugin and see if things start working? just a quick check…

YS Yellow Swordfish
Yellow Swordfish
Member

Yes – this would be the best test of all. Disable it and see if that resolves the issue. Then re-enable it and I will use the credentials you sent me to take a look. I might be able to spot something – you never know. But try this before I do that and also – could you give me a link to the page with the highlighted code on it – save me hunting around?

YS Yellow Swordfish
Yellow Swordfish
Member

So we are good. Interesting if so., Could just be a sequence thing. The evolve will now be loaded later – it has been known to matter.