Tutorials
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOtherTutorials

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old July 27th, 2002, 07:29 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
Gregory: - Minichat cst.inc???

Can i see the cst.inc codes for the vars for minichat?

Otherwise can you state what vars that have to be created in this file, because the script calls the variables, but it doesnt state the variables in the script itself, and it requires cst.inc so i am guessing the vars are in there

Reply With Quote
  #2  
Old July 28th, 2002, 06:32 AM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to EvilivE
RE: Gregory: - Minichat cst.inc???

It would appear that the db constants are in the include file.

$db_hostname
$db_username
$db_password
$db_database

However, I don't see where addMessage() is ever called.

Reply With Quote
  #3  
Old July 28th, 2002, 02:27 PM
Gunblade Gunblade is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: England
Posts: 31 Gunblade User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Gunblade Send a message via AIM to Gunblade Send a message via Yahoo to Gunblade
RE: Gregory: - Minichat cst.inc???

function addMessage( $login, $message )

Its in there

Reply With Quote
  #4  
Old July 28th, 2002, 03:16 PM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to EvilivE
RE: Gregory: - Minichat cst.inc???

Yes the function is defined but where is it called?

Reply With Quote
  #5  
Old July 28th, 2002, 03:18 PM
Gunblade Gunblade is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: England
Posts: 31 Gunblade User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Gunblade Send a message via AIM to Gunblade Send a message via Yahoo to Gunblade
RE: Gregory: - Minichat cst.inc???

if ( isset( $_POST['msg'] )) {
addMessage( $_POST['login'], $_POST['msg'] );

I believe thats right

Reply With Quote
  #6  
Old July 28th, 2002, 03:24 PM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to EvilivE
RE: Gregory: - Minichat cst.inc???

I still don't see it. I am looking at the "Final Script". What am I missing here?

Reply With Quote
  #7  
Old July 28th, 2002, 03:29 PM
Gunblade Gunblade is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: England
Posts: 31 Gunblade User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Gunblade Send a message via AIM to Gunblade Send a message via Yahoo to Gunblade
RE: Gregory: - Minichat cst.inc???

lol, it aint u its me, lmao

im looking at the wrong code, im looking at one i edited from it, oops....

well in gregorys final script its defined as a function but not called

Reply With Quote
  #8  
Old July 29th, 2002, 11:48 AM
greggory greggory is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Reims, France
Posts: 82 greggory User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
RE: Gregory: - Minichat cst.inc???

OOPs! Actually I mess it

In fact, Gunblade is right.

Put those lines before the "?>"

php Code:
Original - php Code
  1.  
  2. if ( isset( $_POST['msg'] )) {
  3.    addMessage( $_POST['login'], $_POST['msg'] );
  4. }


Sorry...

BTW I actually didn't someone could read my tutorial. I'll try to be better next time

Can U give me your advice on it ?

Reply With Quote
  #9  
Old July 29th, 2002, 12:23 PM
Gunblade Gunblade is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: England
Posts: 31 Gunblade User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to Gunblade Send a message via AIM to Gunblade Send a message via Yahoo to Gunblade
RE: Gregory: - Minichat cst.inc???

Add smilies if you know how, and id like to say thanx to you...

thanx to your minichat script i was able to edit it using another tutorial, and using another, add smilie to it

you cna see it in action at:
http://www.reframestudios.com/shoutbox/board.php

Reply With Quote
  #10  
Old July 28th, 2004, 10:57 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: Gregory: - Minichat cst.inc???

Sorry about this,

I'm also following the minichat tute, and i have absolutely no idea what "cst.inc" is or where i can get it.

I've read the other posts, and still don't get it. Is it a file containing php? and what's in it?

Thanks heaps,
Newb

Reply With Quote
  #11  
Old August 28th, 2006, 05:45 AM
tvks tvks is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Hyderabad, AP, India
Posts: 49 tvks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 55 m 43 sec
Reputation Power: 2
RE: Gregory: - Minichat cst.inc???


Quote:
The idea is indeed good. But unless the page automatically refreshes, there is no big deal in calling it a chatting script. The user has to refresh the page otherwise the message sent by his counterpart is not visible. Even on doing so, his message is displayed again. Betterment is solicited.


Reply With Quote
Reply

Viewing: Codewalkers ForumsOtherTutorials > Gregory: - Minichat cst.inc???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway