Follow us on...
Follow us on Twitter Follow us on Facebook Watch us on YouTube
Register
Results 1 to 7 of 7

Thread: Popups

  1. #1
    Good Enough
    Join Date
    12.28.01
    Age
    51
    Location
    Portland Oregon
    Posts
    1,743
    Favorite VH Album

    Fair Warning
    Favorite VH Song

    Mean Street
    Last Online

    05.17.09 @ 06:50 AM
    Likes
    0
    Liked 0 Times in 0 Posts


    Donor

    Hey Brett, I am sure you have enough to deal with but I thought I would point out that I have been getting a popup almost every time I enter the site.

    Some times it doesn't appear right a way, it will wait until I am jumping in or out of a thread. I know that in the past you had mentioned this should only happen once a day.

    Thanks, Eric

  2. #2
    Emperor of VHLinks.com Brett's Avatar
    Join Date
    09.02.99
    Age
    46
    Location
    Somewhere Near LA
    Posts
    68,685
    Favorite VH Album

    Fair Warning
    Favorite VH Song

    Unchained
    Last Online

    12.10.17 @ 03:22 PM
    Likes
    1,263
    Liked 11,541 Times in 4,916 Posts

    So you're getting like several popups a day, more than once during a 24 hour period?
    Webmaster
    VHLinks.com - Your Van Halen Internet Resource Guide
    http://www.vhlinks.com

    JamToThis.com
    Audio/Video Trading Community
    Tons of Van Halen!

  3. #3
    Good Enough
    Join Date
    12.28.01
    Age
    51
    Location
    Portland Oregon
    Posts
    1,743
    Favorite VH Album

    Fair Warning
    Favorite VH Song

    Mean Street
    Last Online

    05.17.09 @ 06:50 AM
    Likes
    0
    Liked 0 Times in 0 Posts


    Donor

    yes, today it has happened maybe 5 or 6 times... it seems like the cookie settings are a bit off. I am not sure how yours is set, here's a bit of code that I use to ensure it only happens once a day. that works pretty well although I noticed yours appears to be session based and I am not sure how things work with UBB.

    </font><blockquote>code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">&lt;SCRIPT LANGUAGE=&quot;JavaScript&quot;&gt;

    &lt;!-- Begin
    var expDays = 1; // number of days the cookie should last

    var page = &quot;popuponce.html&quot;;
    var windowprops = &quot;width=300,height=200,location=no,toolbar=no, menubar=no,scrollbars=no,resizable=yes,screenX=100 ,left=100,screenY=30,top=60&quot;;

    function GetCookie (name) {
    var arg = name + &quot;=&quot;;
    var alen = arg.length;
    var clen = document.cookie.length;
    var i = 0;
    while (i &lt; clen) {
    var j = i + alen;
    if (document.cookie.substring(i, j) == arg)
    return getCookieVal (j);
    i = document.cookie.indexOf(&quot; &quot;, i) + 1;
    if (i == 0) break;
    }
    return null;
    }
    function SetCookie (name, value) {
    var argv = SetCookie.arguments;
    var argc = SetCookie.arguments.length;
    var expires = (argc &gt; 2) ? argv[2] : null;
    var path = (argc &gt; 3) ? argv[3] : null;
    var domain = (argc &gt; 4) ? argv[4] : null;
    var secure = (argc &gt; 5) ? argv[5] : false;
    document.cookie = name + &quot;=&quot; + escape (value) +
    ((expires == null) ? &quot;&quot; : (&quot;; expires=&quot; + expires.toGMTString())) +
    ((path == null) ? &quot;&quot; : (&quot;; path=&quot; + path)) +
    ((domain == null) ? &quot;&quot; : (&quot;; domain=&quot; + domain)) +
    ((secure == true) ? &quot;; secure&quot; : &quot;&quot;
    }
    function DeleteCookie (name) {
    var exp = new Date();
    exp.setTime (exp.getTime() - 1);
    var cval = GetCookie (name);
    document.cookie = name + &quot;=&quot; + cval + &quot;; expires=&quot; + exp.toGMTString();
    }
    var exp = new Date();
    exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
    function amt(){
    var count = GetCookie('count')
    if(count == null) {
    SetCookie('count','1')
    return 1
    }
    else {
    var newcount = parseInt(count) + 1;
    DeleteCookie('count')
    SetCookie('count',newcount,exp)
    return count
    }
    }
    function getCookieVal(offset) {
    var endstr = document.cookie.indexOf (&quot;;&quot;, offset);
    if (endstr == -1)
    endstr = document.cookie.length;
    return unescape(document.cookie.substring(offset, endstr));
    }

    function checkCount() {
    var count = GetCookie('count');
    if (count == null) {
    count=1;
    SetCookie('count', count, exp);

    window.open(page, &quot;&quot;, windowprops);

    }
    else {
    count++;
    SetCookie('count', count, exp);
    }
    }
    // End --&gt;
    &lt;/script&gt;



    &lt;BODY OnLoad=&quot;checkCount()&quot;&gt; </pre>[/QUOTE]

  4. #4
    On Fire CHRIS's Avatar
    Join Date
    02.26.01
    Age
    50
    Location
    TORONTO
    Posts
    415
    Favorite VH Album

    Diver Down
    Favorite VH Song

    All Of Them
    Last Online

    02.17.12 @ 07:35 PM
    Likes
    0
    Liked 0 Times in 0 Posts


    Premium Member

    Donor

    Everything is AOK with my system. Never had a problem yet.

    Do you have your security settings turned up so that you don't accept cookies? If you do, that would cause that problem I would think.

    [ May 18, 2002, 05:07 PM: Message edited by: CHRIS ]
    This Member:Van Halen Fan EST. 1978

  5. #5
    Imperial Fascist Overlord Down In Flames's Avatar
    Join Date
    05.28.00
    Location
    Your Mother's Bedroom
    Posts
    14,285
    Favorite VH Album

    VH II
    Favorite VH Song

    D.O.A.
    Last Online

    @
    Likes
    0
    Liked 3 Times in 3 Posts

    Originally posted by Brett:
    So you're getting like several popups a day, more than once during a 24 hour period?
    I am, too. Same problem as ericgtr; I get them when clicking into and out of some threads.

    It's not a big thing on my end, though. They're not constantly happening.
    http://www.vhlinks.com/vbforums/images/avatars/michael3.jpg

    "You are the McCarthy of this board. The witch burner." - strungout, on yours truly

    "Only Eddymon would claim victory during a FOUR game losing streak." - OLO

    "Did I not say, 'I think we should shoot him!' I did. Double rainbow on this end. I require a high five. Out."- track 5, on the delicate art of banning

    "If you have a problem, if no one else can help, and if you can find them, maybe you can hire..."

  6. #6
    XTC man! homeunit's Avatar
    Join Date
    01.08.00
    Location
    Vancouver, Canada
    Posts
    4,113
    Favorite VH Album

    Cover Bands from Pasadena
    Favorite VH Song

    Babe Don't leave Me Alone
    Last Online

    09.05.15 @ 12:20 PM
    Likes
    29
    Liked 9 Times in 7 Posts

    I got em at home for a while, then I douched out my cache and that fixed it.

    I get em bad at work though.
    My Band
    Baluchitherium

  7. #7
    Good Enough
    Join Date
    12.28.01
    Age
    51
    Location
    Portland Oregon
    Posts
    1,743
    Favorite VH Album

    Fair Warning
    Favorite VH Song

    Mean Street
    Last Online

    05.17.09 @ 06:50 AM
    Likes
    0
    Liked 0 Times in 0 Posts


    Donor

    Originally posted by CHRIS:
    Everything is AOK with my system. Never had a problem yet.

    Do you have your security settings turned up so that you don't accept cookies? If you do, that would cause that problem I would think.
    Yeah I accept cookies.. that's why whenever I delete them I always have to login again and always forget my PW

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •