Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > 123 Flash Chat Server Software > 123 Flash Chat Pre-sales

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-07-2004, 03:13 PM
Junior Member
 
Join Date: Sep 2004
Posts: 1
Default Question

Is there a feature with the flash chat that does not allow users to register, but rather there username and pass are given through the URL. I have an online text base RPG, and I would like to add some control over who chats. So the link would look like http://www.somewhere.com/chat.php?us...43g243jhg24243 (user and pass MD5 for security reasons).

Would it be able to check that this encrypted user and pass do exist in the database aswell.

I realise these features probally do not exist, so would you be able to give a reasonable estimate of the number of hours a type of modification would take. Is there another way this type of problem could be approached?

Thanks
Reply With Quote
  #2 (permalink)  
Old 09-08-2004, 04:21 AM
Senior Member
 
Join Date: Jan 2001
Posts: 413
Default Re:Question

yes, we can customize this function for you, before we give you a price, could you tell me which license do you want ?
please send your detail request to sales@123flashchat.com

thanks!
Reply With Quote
  #3 (permalink)  
Old 09-09-2004, 01:44 PM
Junior Member
 
Join Date: Sep 2004
Posts: 1
Default Re:Question

This feature does exist in V2.1, and works very well for me. Here's what I did :

Created a link on my forum that points to the page containing the SWF, and includes the MD5 username and password as parameters for example :

http://www.somewhere.com/chat.php?us...43g243jhg24243

On that page I embedded the SWF using the following parameters :
Code:
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/s...ve/cabs/flash/
swflash.cab#version=6,0,0,0" WIDTH="100%" HEIGHT="85%">
 <PARAM NAME=movie VALUE="123flashchat.swf?init_user=<?= $_GET['user']; ?>&init_password=<?= $_GET['pass']; ?>">
 <PARAM NAME=quality VALUE="high">
 <PARAM NAME="menu" value="false">
 <EMBED src="123flashchat.swf?init_user=$_GET['user']; ?>&init_password=<?= $_GET['pass']; ?>" quality=high menu=false WIDTH="100%" HEIGHT="476" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" scale="noscale"></EMBED>
</OBJECT>
Note the init_user and init_password variables which are being grabbed from the $_GET superglobal in PHP.

Then, in my fcserver.xml file, I set the follow parameter :

Code:
<integrated-other-database>URL</integrated-other-database>
and this one too

Read the fcserver.xml file for how this URL should be formatted, the way the &amp; is done is VERY important.

The script "authenticate.php" is your own script that will take the MD5 username and password you originally sent, and needs to be written to authenticate with your database and output a return code. These codes are documented in the fcserver.xml file, but it's basically 0 for successful, 1 for wrong password etc.

It took me a couple of hours to get this working right, but now that it works the integration with my UBBThreads implementation is seamless.

Hope this helps

Chimera
Reply With Quote
  #4 (permalink)  
Old 11-10-2004, 08:13 AM
joy joy is offline
Senior Member
 
Join Date: Nov 2003
Posts: 364
Default Re:Question

thank you Chimera for your contribution!
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:57 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.