Results 1 to 4 of 4
Like Tree1Likes
  • 1 Post By love_444

Thread: 30mins Online to validate account!

  1. #1
    Senior Member
    Join Date
    Nov 2009
    Posts
    100
    Thanks
    137
    Thanked 7 Times in 3 Posts
    Rep Power
    4

    Default 30mins Online to validate account!

    hi. Help me guys. Whats the code for when the user register and start login in my site he didnt aCcesS any pages like downloads until he reach a 30mins online so his aCct auTomatically validated and he can accesS n0w other pages. Give me the c0de for if he got 30mins online auT0maticalLy validate his acct. My script is lavalair.

  2. #2
    Senior Member s3nzo's Avatar
    Join Date
    Sep 2009
    Location
    Durban, KwaZulu-Natal, South Africa
    Posts
    158
    Thanks
    54
    Thanked 22 Times in 9 Posts
    Rep Power
    4

    Default

    Why would you want to do that? you saw it on arawap? didn't you see how irritating it is? you will only chase your visitors away, if you want to validate account use captcha or email verification or both
    [Only registered and activated users can see links. Click Here To Register...]

  3. #3
    Member
    Join Date
    May 2009
    Posts
    38
    Thanks
    3
    Thanked 9 Times in 6 Posts
    Rep Power
    0

    Default

    do you want to limit the acces to downlod ..... only ...... or do you want to ..... give the whole validation itself after 30 mints
    if you want to limit only acces to a page then you can use
    $totaltimeonline = mysql_fetch_array(mysql_query("SELECT tottimeonl FROM ibwf_users WHERE id='".$who."'"));


    PHP Code:
        if ($totaltimeonline[0]<1800){
    boxstart("Error!");
    echo 
    "<center><img src=\"images/notok.gif\" alt=\"\"/>";
    echo 
    "<br/>";
    echo 
    "<img src=\"images/home.gif\"><a href=\"index.php?action=main&amp;sid=$sid\">Main Menu</a>";
    echo 
    "<b>Total Time Online: </b>".gettimemsg($totaltimeonline[0])."<br/> you need 30 mints online to acces the page .... so b more active ";
    echo 
    "</font></body>";
    echo 
    "</html>";
    exit();    


        } 
    hope it will work :-/
    Last edited by love_444; 07-09-11 at 15:58.
    ZENU likes this.

  4. #4
    Senior Member
    Join Date
    Nov 2009
    Posts
    100
    Thanks
    137
    Thanked 7 Times in 3 Posts
    Rep Power
    4

    Default

    thanks love_444 ill try it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Online member And Online User
    By wasted05 in forum Coding Forum
    Replies: 3
    Last Post: 29-08-11, 01:55
  2. Validate vars types
    By i0nutzxp in forum Snippets, Functions and Classes
    Replies: 1
    Last Post: 18-05-11, 04:49
  3. Replies: 7
    Last Post: 03-04-11, 19:42
  4. Replies: 18
    Last Post: 30-01-11, 05:44
  5. Validate List 1.0 Lava
    By centi in forum Coding Forum
    Replies: 3
    Last Post: 13-03-10, 02:20

Bookmarks

Posting Permissions

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

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19