30mins Online to validate account!

Started on the old forum in September 2011 · view the original in the archive · old links redirect here

3 replies · 523 views · started 15 years ago · 1 min read

3 participants
bjayz Developer · 94 posts #1

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.

s3nzo Developer · 156 posts #2

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

love_444 Junior · 38 posts #3

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."'"));

	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&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 :-/😊

skils are gained by practis http://myguruworld.com/

bjayz Developer · 94 posts #4

thanks love_444 ill try it.

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close