If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
assuming your talking lava script..the islogged function delete expired session ,the cleardata function delete expired chat message etc these function are located in the core
am not sure lava got that function just code one
function inactive($sid)
{
//delete user not logged in for 2 weeks i guess lol
$inactive = time()-(2*7*24*60*60);
mysql_query("DELETE FROM ibwf_users WHERE lastact<'".$inactive."'");
}
am not sure lava got that function just code one
function inactive($sid)
{
//delete user not logged in for 2 weeks i guess lol
$inactive = time()-(2*7*24*60*60);
mysql_query("DELETE FROM ibwf_users WHERE lastact<'".$inactive."'");
}
where is the function in wap script that deleting non-active members if they r not login for a certain time??
where??[/b]
in lavalair theres also admin extreme control panel... and it'll search for non active members
just set in script desired time for non activity before you use it.... simple as that
oh and BTW to avoid looking stupid..
next time also mention in original post
for which script you are asking
even if you asking in general no related
to any specific script... you should say so
it shows me inactive users 4 100 days without any post/chat msgs....a lil [x] (delete member) next 2 their nicks and plus option screw all (delete all) lmao
else if($a=="p")
{
if(check_log())
{
?>
<font color="#FF0000">File size limit: 40 KB
Formats: .jpg or .gif
These File will automatically be uploaded to gallery folder
</form> (use this function to search for users share the same nick, mostly its the same user, for example searching for cheese will list cheese, xcheese, cheese01.....)
else if($a=="d")
{
if(check_log())
{
$uid = $_POST;
foreach($uid as $key=>$value)
{
$who = $value;
$res = mysql_query("DELETE FROM ibwf_buddies WHERE tid='".$who."' OR uid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_gbook WHERE gbowner='".$who."' OR gbsigner='".$who."'");
$res = mysql_query("DELETE FROM ibwf_ignore WHERE name='".$who."' OR target='".$who."'");
$res = mysql_query("DELETE FROM ibwf_mangr WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_modr WHERE name='".$who."'");
$res = mysql_query("DELETE FROM ibwf_penalties WHERE uid='".$who."' OR exid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_posts WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_private WHERE byuid='".$who."' OR touid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_shouts WHERE shouter='".$who."'");
$res = mysql_query("DELETE FROM ibwf_topics WHERE authorid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_brate WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_games WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_presults WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_vault WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_blogs WHERE bowner='".$who."'");
$res = mysql_query("DELETE FROM ibwf_chat WHERE chatter='".$who."'");
$res = mysql_query("DELETE FROM ibwf_chat WHERE who='".$who."'");
$res = mysql_query("DELETE FROM ibwf_chonline WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_online WHERE userid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_ses WHERE uid='".$who."'");
$res = mysql_query("DELETE FROM ibwf_xinfo WHERE uid='".$who."'");
deleteMClubs($who);
$res = mysql_query("DELETE FROM ibwf_users WHERE id='".$who."'");
}
Comment