Ghost mode for chatroom

Started on the old forum in February 2010 · view the original in the archive · old links redirect here

12 replies · 1,043 views · started 16 years ago · 1 min read

6 participants
riderz Lead · 975 posts #1

Hey guys i have the code for ghostmode in site but i want it to also work in the chatroom anyone have any idea of doing that


Jacques jacques@gw-designs.co.za http://coding.biz.tm Come join and lets make it a place to learn all the noobies how to code


NEVER FORGET TO CLICK THE TANX BUTTON IF U LIKE WHAT IM SHARING OR HELPING WITH

animal1982 Junior · 24 posts #2

why do u want want ghost mode in chat?? lol

Ponick Developer · 216 posts #3

Yah its could be a great way to catch bl0ody spammer yawz!

/* I don't know everything hehe */

Find me on facebook

Ponick Developer · 216 posts #4

Im not such a good coder but i have an idea .

Create a copy of chat.Php put a new link biside within room name and made it invisible for n0rmal user s0mthing like if is(mod=uid){$a="enterGOST";}else{$a="";}

n0w in copyofchat.Php made secure for normal user .Rem0ve add to chat function ,and make sure that u only getting data from db_chat_table.But u wont insert data, you also rem0ve sassion cheaking code from this page then you may see all the chattering as like a guest . . . . .Hehehe may be im giving you a f***kble idea yawz.

/* I don't know everything hehe */

Find me on facebook

Vayne Developer · 106 posts #5

just select what you need from base. 😀

Nous Ne Dansos Pas, Nous Sommes Le Danse.!

Vayne Developer · 106 posts #6
            $query = mysql_query("SELECT chatter, who, timesent, msgtext,  id FROM chat WHERE room='".$is."' ORDER BY timesent DESC, id DESC LIMIT ".($lapa*$zinu_sk_lapa)." , $zinu_sk_lapa");

or somethin... 🙂)

Nous Ne Dansos Pas, Nous Sommes Le Danse.!

ewanz Developer · 187 posts #7

nice topic m8...

our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com

$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file); 
ewanz Developer · 187 posts #8

Vayne wrote:

            $query = mysql_query("SELECT chatter, who, timesent, msgtext,  id FROM chat WHERE room='".$is."' ORDER BY timesent DESC, id DESC LIMIT ".($lapa*$zinu_sk_lapa)." , $zinu_sk_lapa");

or somethin... 🙂)

can u explain with details? i got the sql but i cant understand it the sql query like that

our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com

$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file); 
Vayne Developer · 106 posts #9

select from base what you need and thats all. 5minute work.

Nous Ne Dansos Pas, Nous Sommes Le Danse.!

ewanz Developer · 187 posts #10

'".$is."'

Where this come from? is it $is = ????

our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com

$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file); 
Vayne Developer · 106 posts #11

ewanz wrote: '".$is."'

Where this come from? is it $is = ????

WHERE room='".$is."'

room id

Nous Ne Dansos Pas, Nous Sommes Le Danse.!

ksg91 Developer · 162 posts #12

quite simple. just put some value in query string informing that he/she is in ghost mode and then check if he has privilege to do that and if he have then dont put him in online list of chatrooms

Follow me @ksg91 | My Blog: http://ksg91.com | Nokia Blog: http://NokiaTips.in

ewanz Developer · 187 posts #13

Vayne wrote:

WHERE room='".$is."'

room id

of i see.. can u post with full code of room...

our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com

$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file); 

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