Invisible Mode On/off

Started on the old forum in May 2008 · view the original in the archive · old links redirect here

28 replies · 2,771 views · started 18 years ago · 1 min read

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.

11 participants
Guest #24

hey khan1 ..

use this code ~

add the query into example ibwf_users

visible char(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

Guest #26

clue:when member logins in selecting the invisible mode it wont add the member in the online mysql table

i am not able to code that query/ will u help me out rukiya

friend Developer · 112 posts #27

How to be online again? I got invisible successfully but cant be online unless i logoff....I click yes/no also

friend Developer · 112 posts #28

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.......

WhiteWarrior Principal · 1,419 posts #29

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

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