Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Sidebars & Widgets (http://forum.bytesforall.com/forumdisplay.php?f=14)
-   -   Sunpress plugin problems. (http://forum.bytesforall.com/showthread.php?t=1340)

sharmtravel Apr 20, 2009 10:15 AM

Sunpress plugin problems.
 
Hi
I am currently playing with a holiday search plug-in (sun press) however there appears to be some conflicting issues that I can't seem to rectify and was hoping someone might be able to help?
Website:http://www.sharm-el-sheikh-travel.com/

1. When you have clicked search and are waiting for the results to come back the loading graphic doesn't appear? I have tried removing content from the home page in case it was conflicting with this but still not joy. Is there anything I can change to the below template search code which might work? Unfortunately I'm fairly new to web development and I'm certainly not familiar with php.

Examples of the loading graphic working on other templates:
* http://expo3.sunshines.co.uk/
* http://expo2.sunshines.co.uk/
* http://expo1.sunshines.co.uk/
* http://expo.sunshines.co.uk/


// output loading image
echo "<div id=\"imageloader\" align=\"center\"><img src=\"". get_bloginfo('url') ."/wp-content/plugins/sunpress/images/aniloader.gif\" /></div>";
// flush out the loading image, so visitors realise the site is doing something during search times.
ob_flush();
flush();
echo "<script>document.getElementById('imageloader').st yle.display='none';</script>";



2. When using the search form the right hand sidebar and footer disappears whilst waiting for the results? Any idea how I can prevent this from happening?

3. Searching in IE causes the whole page to disappear whilst waiting for the results?


Any help with the above would be much appreciated. I have also contacted the plugin developer for any suggestions but I feel this is more likely an issue with the theme.

Thanks
Joe

Flynn Apr 20, 2009 10:24 PM

Just in case this is not just a typo in this post: You have a space in this line

echo "<script>document.getElementById('imageloader' ).st yle.display='none';</script>";

sharmtravel Apr 21, 2009 03:24 AM

Hi Flynn,

Sorry this was just a typo!

sharmtravel Apr 21, 2009 10:22 AM

Unfortunately the guys who developed the plug-in are not able to help with this issue. Can anyone point me in the right direction with any of these problems?

Thanks
Joe

sharmtravel Apr 22, 2009 04:13 AM

According to one of the sunpress developers it looks like the plugins .php object flush is just being skipped over with regards to the loading image not showing.

The idea is, that when the soap call is made to the xml services, PHP
normally pauses waiting for a response, hence not executing the
display='none'; javascript code. However on your server it appears
that it just skips right over the soap call. There could be several
site wide PHP config issues that could cause this.

Not sure if this helps anyone?


All times are GMT -6. The time now is 10:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.