Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2294

    I’m exploring Avisio for my photography site here http://profile.gb.com/pro_wp/ … in the early stages of development

    Beneath the enlarged slider the tab button Performance should open to a subpage with a Slidepress slideshow being called from my SlideshowPro Director site. The slideshow runs perfectly in its preview mode but displays the error message on the page.

    But I can’t work out where the conflict is. It might be with the Avia javascript. If so, how can I disable this just for the inline slideshows on pages. Alternatively, how might I disable Avia completely and replace the slider show with a Slidepress flash file.

    If these cannot be done then I will have to use another theme, the use of SSP Director is too fundamental to the way the business works and has to take precedence over the theme.

    #37438

    It looks like WordPress is messing with your Javascript code – WP often adds <p> (paragraph html tags) to the html output which can cause problems. In your case it adds paragraphs within the javascript code like:

    <p><script type="text/javascript"></p>
    <p>var flashvars = {albumBackgroundAlpha:"1",albumBackgroundColor:"0x303030",albumDescColor:"0xCCCCCC",albumDescSize:"9",albumPadding:"8",albumPreviewScale:"Proportional",albumPreviewSize:"54,41",albumPreviewStrokeColor:"0xFFFFFF",albumPreviewStrokeWeight:"1",albumPreviewStyle:"Inline Left",albumRolloverColor:"0x262626",albumStrokeAppearance:"Visible",albumStrokeColor:"0xb1aaaa",albumTextAlignment:"Left",albumTitleColor:"0xFFFFFF",albumTitleSize:"10",audioAutoStart:"On",audioLoop:"Off",audioPause:"Off",audioVolume:".75",autoFinishMode:"Switch",cacheContent:"None",captionAppearance:"Hidden",captionBackgroundAlpha:".6",captionBackgroundColor:"0x000000",captionElements:"Header and Caption",captionHeaderBackgroundAlpha:"0",captionHeaderPadding:"6,6,2,6",captionHeaderText:"{imageTitle}",captionHeaderTextColor:"0xEEEEEE",captionPadding:"2,6,6,6",captionPosition:"Top",captionTextAlignment:"Left",captionTextShadowAlpha:"0",captionTextColor:"0xAAAAAA",captionTextSize:"9",contentAlign:"Center",contentAreaAction:"Launch Hyperlink",contentAreaBackgroundAlpha:"1",contentAreaBackgroundColor:"0x161616",contentAreaInteractivity:"Action Area Only",contentAreaStrokeAppearance:"Hidden",contentAreaStrokeColor:"0x262626",contentFrameAlpha:"1",contentFrameColor:"0x262626",contentFramePadding:"0",contentFrameStrokeAppearance:"Hidden",contentFrameStrokeColor:"0x333333",contentOrder:"Sequential",contentScale:"Downscale Only",contentScalePercent:"1",directorLargePublishing:"On",directorLargeQuality:"80",directorLargeSharpening:"1",directorThumbQuality:"60",directorThumbSharpening:"1",displayMode:"Auto",feedbackBackgroundAlpha:".3",feedbackBackgroundColor:"0x000000",feedbackHighlightAlpha:".8",feedbackHighlightColor:"0xFFFFFF",feedbackPreloaderAlign:"Center",feedbackPreloaderAppearance:"Hidden",feedbackPreloaderPosition:"Inside Content Area",feedbackPreloaderScale:"1",feedbackPreloaderTextSize:"12",feedbackTimerAlign:"Top Right",feedbackTimerAppearance:"Hidden",feedbackTimerPosition:"Inside Content Area",feedbackTimerScale:"1",feedbackVideoButtonScale:"1",fullScreenReformat:"Off",fullScreenTakeOver:"Off",galleryAppearance:"Hidden",galleryBackgroundAlpha:"1",galleryBackgroundColor:"0x1C1C1C",galleryContentShadowAlpha:"0",galleryColumns:"2",galleryOrder:"Left to Right",galleryPadding:"10",galleryRows:"4",galleryNavActiveColor:"0x303030",galleryNavAppearance:"Visible",galleryNavInactiveColor:"0x000000",galleryNavRolloverColor:"0x262626",galleryNavStrokeAppearance:"Hidden",galleryNavStrokeColor:"0x141414",galleryNavTextColor:"0xCCCCCC",galleryNavTextSize:"9",keyboardControl:"Off",ssploop:"On",mediaPlayerAppearance:"Hidden",mediaPlayerBackgroundAlpha:".25",mediaPlayerBackgroundColor:"0x000000",mediaPlayerBufferColor:"0x000000",mediaPlayerButtonColor:"0xCCCCCC",mediaPlayerControlColor:"Off",mediaPlayerElapsedBackgroundColor:"0xFFFFFF",mediaPlayerElapsedTextColor:"0x000000",mediaPlayerPosition:"Bottom",mediaPlayerProgressColor:"0xAAAAAA",mediaPlayerScale:".8",mediaPlayerTextColor:"0x999999",mediaPlayerTextSize:"9",mediaPlayerVolumeBackgroundColor:"0x000000",mediaPlayerVolumeHighlightColor:"0xCCCCCC",navAppearance:"Hidden",navBackgroundAlpha:"1",navBackgroundColor:"0x121212",navButtonColor:"0xEEEEEE",navButtonGlowAlpha:".25",navButtonInactiveAlpha:".4",navButtonsAppearance:"All Visible",navButtonShadowAlpha:".6",navButtonGradientAlpha:".6",navButtonRolloverColor:"0xFFFFFF",navButtonShadowStyle:"Under",navButtonStyle:"Default",navGradientAlpha:".3",navGradientAppearance:"Glass Dark",navLinkAppearance:"Thumbnails",navLinkAnimate:"Visible",navLinkActiveColor:"0xEEEEEE",navLinkPreviewAppearance:"Visible",navLinkPreviewBackgroundAlpha:"1",navLinkPreviewBackgroundColor:"0xFFFFFF",navLinkPreviewScale:"Proportional",navLinkPreviewShadowAlpha:".6",navLinkPreviewSize:"100,100",navLinkPreviewStrokeWeight:"1",navLinkRolloverColor:"0xFFFFFF",navLinksBackgroundAlpha:"1",navLinksBackgroundColor:"0x000000",navLinksBackgroundShadowAlpha:"0",navLinkShadowAlpha:".6",navLinkInactiveColor:"0x999999",navLinkSpacing:"8",navNumberLinkSize:"9",navPosition:"Bottom",navThumbLinkInactiveAlpha:"1",navThumbLinkSize:"16,16",navThumbLinkStrokeWeight:"1",panZoom:"Off",panZoomDirection:"Random",panZoomFinish:"Off",panZoomScale:"1,1.2",permalinks:"Off",smoothing:"Off",soundEffectsVolume:".2",startup:"Load Album",textStrings:"Previous Screen,Next Screen,Screen,of,No caption,No title,Playing,Paused,Click play to start audio",toolAppearanceContentArea:"Hidden",toolAppearanceNav:"Hidden",toolColor:"0x222222",toolDelayContentArea:"0",toolDelayNav:".5",toolLabels:"Gallery,Previous Group,Previous,Next,Next Group,Pause,Play,Full Screen,Normal Screen,Open Link",toolTextColor:"0xEEEEEE",toolTextSize:"9",toolTimeoutContentArea:"0",transitionLength:"2",transitionPause:"4",transitionDirection:"Left to Right",transitionStyle:"Wipe and Fade",typeface:"Lucida Grande,Lucida Sans Unicode,Verdana,Arial,_sans",typefaceHead:"Lucida Grande,Lucida Sans Unicode,Verdana,Arial,_sans",typefaceEmbed:"Off",videoAutoStart:"On",videoBufferTime:"5",xmlFilePath:"http://www.legend.uk.net/slideshowpro/images.php?album=21"};</p>
    <p>var attributes = {
    id: "ssp_g_front_page_performance",
    width: "436",
    height: "230"
    };</p>
    <p>var params = {
    quality: "best",
    bgcolor: "#121212",
    wmode: "transparent",
    allowfullscreen: "true",
    allowScriptAccess: "always"
    };</p>
    <p>SlideShowPro({attributes: attributes, params: params, flashvars: flashvars});</p>
    <p></script></p>

    so it won’t work. The only chance you have is to put the correct code in a Javascript file like custom.js and to delete the messed up code from the front page. As far as I can see it’s not a problem caused by the theme but a wordpress output problem.

    #37439

    OK Dude, living up to your name again I see. This is a bit beyond me but I will have a cautious go at it. Odd though that I’ve used slidepress on other complex themes, and the way I have cured p tag problems is simply to wrap the slidepress shortcode in [raw] tags but for some reason that merely displays the raw shortcode as text and doesn’t implement.

    I have tried replacing the Avia mainpage slider by embedding the flash code in the index.php, displays just fine until I try to use the menu and then another js conflict pushes the submenus behind the flash file… life gets complicated.

    #37440

    It seems like you solved the problem with your flash slideshow? Did you embed it directly now (without javascript flashvars)?

    #37441

    Yes, as a temporary workaround. SSP Director provides html embed code with inline js flashvars. Although I don’t like putting such scripts inline in the page.

    I have had this problem before, as mentioned above. But the solution there, admittedly with a different theme, was to wrap the ssp shortcode in the raw shortcode.

    One thing I don’t understand is why Avisio (I can only think it is the theme) somehow disables a standard shortcode that is part of WP. This should work but it doesn’t activate. If it has been disabled, can I re-enable it or would this break something else?

    #37442

    I need to ask Kriesi if he disabled the raw shortcode somehow. Maybe he had to because of development reasons.

    #37443

    I can narrow this down now.

    The problem only occurs when the slidepress shortcode is placed within a column formatting shortcode. Put the sp shortcode outside of the [half_page] codes and it works fine.

    #37444

    Narrowing down further.

    The problem is in line 41 of the columns.php

    $return .= wpautop(do_shortcode($content));

    This is would be fine if it were not for the code that is called by slidepress which must not be ‘corrected’ like this. Because this is about columns and because it is a photography site, there are likely to be several occasions upon which this occurs. Consequently a page based conditional is not practical and the [raw] shortcode seems to be the only solution.

    Any advance with Kriesi?

    #37445

    Hey,

    I didn’t report this to Kriesi yet – I’ll do this soon. He’s very busy at the moment (upcoming themes, new framework, etc.).

    #37446

    A new framework eh? OK you got me intrigued, and content to wait a while.

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Conflict between Avisio and Slidepress’ is closed to new replies.