WordPress.org

Ready to get started?Download WordPress

Forums

WP Splash Image
BUG - not displaying ONLY ONCE when traffic not through homepage - HOW TO (6 posts)

  1. bestik
    Member
    Posted 2 years ago #

    Great plugin but with a quite big bug. If you want to display the splash image just once then it works fine when user comes to first page of the blog. It doesn't work when he comes directly to one of your subsections and you use seo urls (that looks like folders for example http://www.xyz.com/products/). Then jumping to different menu (except below current tree) for example http://www.xyz.com/contact/ will cause another display of splash.

    This is due to a way how cookies are used in plugin. Browsers allow to access cookies only if PATH in cookie is same or parent (tree) folder.

    Fix is easy. WsiFront.class.php file, line 81, code:
    setCookie('last_display',time(),time()+24*3600);
    use with path parameter (see php setcookie() function). So either generally as:
    setCookie('last_display',time(),time()+24*3600,SITECOOKIEPATH);
    or you can hardcode it like
    setCookie('last_display',time(),time()+24*3600,'/');
    depending on your site structure.

    Hope it will be fixed in next version.

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

  2. RED 7
    Member
    Posted 2 years ago #

    I tried this fix, but it's not working for me. PLEASE UPDATE THE PLUGIN!! I really like this plugin, but I really need the splash image to only display once to each visitor.

    Thanks.

    -RED 7

  3. patparker100@yahoo.com
    Member
    Posted 2 years ago #

    I am having the same problem but only in Safari. I tried the fixes listed above and they did not work. Does anyone know of a different splash plugin? I need a fix quickly,

  4. pzamani
    Member
    Posted 1 year ago #

    Although I changed the codes manually, it does not work and it displays when navigated from a page to another.

  5. robmcl
    Member
    Posted 1 year ago #

    I tried the "30 min" suggestion to only display once. Closed all instances of IE browser and started new instance in new browser but the splash does not appear.
    I know its related to the time because I can set it to 0 and it reappears...but of course on every page...:(
    Too bad... otherwise it looks like a great plugin

  6. Michael
    Member
    Posted 1 year ago #

    Quick note, this does not OVERRIDE the time section in the WordPress interface, it is simply a modification. Be sure to clear browser cache/cookies, and try in multiple browsers.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags