A A A

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS Related Topics
Conflict with Highslide/Shashin
Sep 5, 2010
4:02 pm
Rookie
Forum Posts: 4
Member Since:
Sep 5, 2010
Offline

Hi, I'm working on a cycling team site; dev URL is http://69.89.31.148/~fivfouf5/HTML/, and its forum is on http://69.89.31.148/~fivfouf5/…..eam/forum/.

I'm using a WP/Picasa plugin called Shashin, which also uses Highslide, loading it into the header. It then writes some highslide settings parameters in the header.

The Simple:Press forum plugin apparently prevents Shashin from calling the highslide script in the header (I see the call in the footer instead), but the Shashin highslide settings code is still in the header and and  I think that's what blows things up.

The first error the forum page throws is "hs is not defined", then the rest of my scripts blow up (it doesn't recognize the first function on my main.js, which cufons the fonts in the main nav menu).

I'll ping the Shashin developer, too, but it looks like he's taking a temporary break from providing support due to work and family issues. :(

Anybody got any ideas? Thanks a boodle!

Sep 5, 2010
5:19 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

is it possible to tell the shashin plugin to not load on the forum page??  we dont load our highslide outside the forum…

I can report that in v5.0 we have replaced highslide with another library… bad news is that 5.0 is still aways away…

Sep 6, 2010
2:16 pm
Rookie
Forum Posts: 4
Member Since:
Sep 5, 2010
Offline

hm…I wrapped the guts of Shashin's getHeadTags function with if(!is_page('forum')), and that seems to have stopped the "hs is not defined" error, but the forum page still doesn't recognize the jQuery calls on the main.js – throws "$ is not a function" – so the navigation fonts are still un-cufon-ified, and there's still no dropdown sub-nav menu.

…thoughts…?

(btw, thank you for replying to my question!)

Sep 6, 2010
4:11 pm

SP Master
Forum Posts: 22223
Member Since:
Nov 9, 2008
Online

Your theme is loading the jQuery library from Googles scrript server. The probable problem with this is that WP prefers to have it's jQuery library in what is called 'No Conflict' mode and the version from Google isn't.

I suspect that the forum scripts that all use jQuery – being written in the No Conflict mode – are fighting the scripts from the Google library and those with your theme because they are, in effect, trying to use incompatible versions of jQuery itself.

Yellow Swordfish
Sep 6, 2010
4:19 pm
Rookie
Forum Posts: 4
Member Since:
Sep 5, 2010
Offline

hmm…so, is there a better way to do it?

Sep 6, 2010
4:37 pm

SP Master
Forum Posts: 23688
Member Since:
Dec 10, 2006
Offline

let wordpress load its own version of jquery.. which is noconflict…  dont load the google api one…

Forum Timezone: America/Chicago

Most Users Ever Online: 444

Currently Online: Yellow Swordfish, chaiavi, ptomislav, steve.engelking
74 Guest(s)

Currently Browsing this Page:
1 Guest(s)

See All Online Activity

Top Posters:

-Radio-: 1251

Lee H: 606

Luffer: 535

Conrad_Farlow: 502

jim: 478

neon: 263

ovizii: 240

Tal: 240

Member Stats:

Guest Posters: 2625

Members: 7361

Moderators: 1

Admins: 2

Forum Stats:

Groups: 5

Forums: 16

Topics: 10890

Posts: 79543

Moderators: Brandon C (162)

Administrators: Yellow Swordfish (22223), Mr Papa (23688)