Invisible Mode On/off
Started on the old forum in May 2008 · view the original in the archive · old links redirect here
TL;DR · summary of 28 replies
- khan1 is trying to add a row with a visible mode (varchar 10 default off) in the ibwf_users table and update it to on using an action.
- The core.php code needs to be updated or replaced for users to see links like forum, inbox after setting the visible mode to 'on'.
- There are conflicting opinions about whether the script is for Lavalair or Wapdesire, which could affect the coding approach.
- rukiya suggests using a MySQL query to update the ibwf_users table and add it into core.php.
Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.
lol i pinched 1 off ya lol
Dont be silly yud get clapt up pmpl
Want something coded email me at sales@webnwaphost.com for a prices.
hey khan1 ..
use this code ~
add the query into example ibwf_users
visiblechar(1) NOT NULL default '0',/////
for core.php
edit this code or replace if you use lavalair .. /////// for cpanel or where you want to put visible n invisible users ..
example login.php.. ////
and the genproc.php is .. // Please tell me if the script not working ok .. im not use the coding but i want help you easy to coded the script ..
sorry for my language :((
Yes bro this script in not working... may be it need some in Online list too
clue:when member logins in selecting the invisible mode it wont add the member in the online mysql table
when i use khan - rukiya's script..my all ids including admin and general ids go to invisible mode may be members also got invisible after 1 or 2 minute...so i edit core.php but got error...pls help CODE{ function addonline($uid,$place,$plclink) if (isadmin(getuid_sid($sid))){ $tm = time(); $ghost = mysql_fetch_array(mysql_query("SELECT visible FROM ibwf_users WHERE id='".$uid."'")); if($ghost[0]=="on") $timeout = $tm - 420; //time out = 5 minutes $deloff = mysql_query("DELETE FROM ibwf_online WHERE actvtime <'".$timeout."'"); ////for hidden user from online list n not active $visible=mysql_fetch_array(mysql_query("SELECT visible FROM ibwf_users WHERE id='".$uid."'")); if($visible[0]==0) }else{ $tm = time(); $timeout = $tm - 420; //time out = 5 minutes $deloff = mysql_query("DELETE FROM ibwf_online WHERE actvtime <'".$timeout."'"); ////for hidden user from online list n not active $visible=mysql_fetch_array(mysql_query("SELECT visible FROM ibwf_users WHERE id='".$uid."'")); if($visible[0]==0) } ///now try to add user to online list ............contunue.......
Search the forums, its on here! if you can prove to me that it isnt then i will give you the correct coding for it but untill then TOPIC CLOSED