my register() function sets if the default value is 0 or 1 depending if validation is on or off so that u wont hav to validate a whole lot when u change it from off to on if ur transferring ur old users to my sript change the value in users table to be default of 1 as wont matter when validation option is set if that made sense lol
Accounts Validation
Collapse
X
-
linkrx7 -
linkrx7
suvita or somethin like that ur msg dnt make sense ppl cant get plusses if they arent validated lol
Comment
-
Guest
my register() function sets if the default value is 0 or 1 depending if validation is on or off so that u wont hav to validate a whole lot when u change it from off to on if ur transferring ur old users to my sript change the value in users table to be default of 1 as wont matter when validation option is set if that made sense lol[/b]
lol no that didnt make sense at all lol :/
your register() function sets the value of either 0 or 1 depending if validation is switched on / off
and then i lose track of what youre trying to say .. ? it looks like a repeat of what i said [[when youre creating the new header in the database, set the default value to 1 so that you dont have to validate all of your existing members?]]
but yeah, i dont have a clue
--Kwah
Comment
-
FlareX -
Guest
yh i suppose that is one way of dealing with itlmao.... anyway i just validated half of them and other half i deleted lmao END LOL[/b]
Comment
-
FlareX
I Dont Like This Unless It Work With Normal Xhtml Script , I Cant Put A Wml Login.php On Xhtml Script
Comment
-
Guest
validation works on both all wml, xhtml and html scripts .. i dont see any reason why it wouldnt work on yours ..I Dont Like This Unless It Work With Normal Xhtml Script , I Cant Put A Wml Login.php On Xhtml Script[/b]
and why cant you use a wml login.php page?
Comment
-
Guest
LoL ... LoL .... LoL ... No, u can use it in xhtml, html, wml or any other language , it do not meter with what markup language u output ur content, coz all validation stuff goin on in php functions and in mysql data base ! LoLI Dont Like This Unless It Work With Normal Xhtml Script , I Cant Put A Wml Login.php On Xhtml Script[/b]
Comment
-
FlareX
Thats Not What I Meant That It Wont Work In Xhtml Or Html , I Meant It Not Working On My Xhtml Login.php , Linkrx7 Put Updates To His Login.php
Comment
-
someone please give me the validation for funmobile??? and how do u insert tables when i try it gives me error
Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!
<span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

Comment
-
well i here help people if it is possible for me but you people don't even want to help all i asked was account validation for funmobile can't someone give me that?
Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!
<span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

Comment
-
Guest
Well i dont use funmobile...well i here help people if it is possible for me but you people don't even want to help all i asked was account validation for funmobile can't someone give me that?
[/b]
U can overcome this issue abt validating prob to existing users by a small php code that can set the value in that column to validated value. I use a different validating code in both xhtml and wml So thers no prob in doin it on xhtml.
Comment
-
put a new field in user table call it validated int(1) default '0'
create this function in core.php
next u need a page in ur admincp to check for users that arent validatedCode:function isvalidated($uid) { $sql = mysql_fetch_array(mysql_query("SELECT validated FROM ibwf_users WHERE id='".$uid."'")); if($sql[0]=="1") return true; }else{ return false; } }
in a new action of ur choice do this
in the admin proc validate userCode:$count = mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_users WHERE validated='0'")); if($page=="" || $page<=0)$page=1; $num_items = count[0]; //changable $items_per_page= 10; $num_pages = ceil($num_items/$items_per_page); if(($page>$num_pages)&&$page!=1)$page= $num_pages; $limit_start = ($page-1)*$items_per_page; $get = mysql_query("SELECT id, name FROM ibwf_users WHERE validated='0'"); while($getthem = mysql_fetch_array($get)) { echo "<a href=\"index.php?action=viewuser&who=$getthem[0]&ses=$ses\">$getthem[1]</a>, [url="admproc.php?action=validateuser&who=$getthem[0]&ses=$ses\"]validate user[/url]"; } if($page>1) { $ppage = $page-1; echo "<a href=\"admincp.php?action=vusers&page=$ppage&ses=$ses\">«PREV</a> "; } if($page<$num_pages) { $npage = $page+1; echo "<a href=\"admincp.php?action=vusers&page=$npage&ses=$ses\">Next»</a>"; } echo " $page/$num_pages "; if($num_pages>2) { $rets = "<form action=\"admincp.php\" method=\"get\">"; $rets .= "Jump to page<input name=\"page\" format=\"*N\" size=\"3\"/>"; $rets .= "<input type=\"hidden\" name=\"action\" value=\"$action\"/>"; $rets .= "<input type=\"hidden\" name=\"ses\" value=\"$ses\"/>"; $rets .= "<input type=\"submit\" value=\"GO\"/>"; $rets .= "</form>"; echo $rets; }
and in ur authenticated pages put up top where user should already b loggedCode:$who = $_GET["who"]; $res = mysql_query("UPDATE ibwf_users SET validated='1' WHERE id='".$who."'"); if($res) { echo "validated successfully"; }else{ echo "error"; }
Code:if(islogged($ses)==true) { if(isvalidated(getuid_ses($ses))) { //make page to show that user isnt validated } }
Comment
-
yo wizard bro u rock i'm sure now irisblaze cant hack into anybodys funmobile script;)Failure is not when a girls leaves you, its only when you let her go virgin. heheh!!
<span style="color:#9ACD32"><span style="font-size:36pt;line-height:100%">BEST MOBILE ADVERTISER</span></span>

Comment

Comment