Fork me on GitHub

pnFirstVisit & 762  Bottom

  • The following code does not seem to be working properly...

    Code

    /*Begin FirstVisit Mod*/
        $status=pnUserGetVar('uname');
    if (pnConfigGetVar('pnFirstVisitOn') =='1' AND !pnUserGetVar('pnFirstVisit')){
     $url = pnConfigGetVar('pnFirstVisitURL');
    }
    /*End FirstVisit Mod*/


    The pnFirstVisitOn flag is 1, and the test user DOES have the proper flag set for pnFirstVisit, but it still does the redirect to the pnFirstVisitURL instead of going through as normal.

    --
    Home Page | Find on Facebook | Follow on Twitter
  • Does this have to do with the dynamic type switching?

    I don't know a thing about the module, but have had some issues when using the "is equal" (==) operator. Instead, I used the is identical" (===) operator and my issues were fixed.

    Hopefully it works out for you.
  • Figured it out, the block of code needed to be moved for .762.

    --
    Home Page | Find on Facebook | Follow on Twitter

This list is based on users active over the last 60 minutes.