Servus zusammen!
Ich würde gerne das 123 FlashChat (http://www.123flashchat.com/123flashchat.html) login über die Forum Datenbank durchführen. Dazu muß ich einige Daten bekanntgeben wo ich nicht weiß was ich eingeben soll. Host, User und Pw sind mir ja klar aber beim Rest habe ich schon einiges probiert und nichts erreicht.
<?xml version="1.0" encoding="UTF-8" ?>
- <Mysql>
- <!-- Note: This configuration doesn't take effect unless you set integrated-other-database to "Mysql" in fcserver.xml. If you haven't set it like that, you don't need to configure this file.If you are using other Portal System or Forum System or something like that which is based on mysql database, if you want to enable users in these system to log in your chat room , you have to configure this file then. -->
- <!-- database-host The hostname of the database server. -->
<database-host>localhost</database-host>
- <!-- database-name The database name you're using. -->
<database-name>dbname</database-name>
- <!-- database-user The user name which is required to connect to the database. -->
<database-user>mydbusername</database-user>
- <!-- database-password The password which is required to connect to the database. -->
<database-password>mydbpassword</database-password>
- <!-- user-table The table to storage the user information. -->
<user-table>user_table</user-table>
- <!-- username-field Column name of user name in the user-table. -->
<username-field>username</username-field>
- <!-- password-field Column name of password in the user-table. -->
<password-field>password</password-field>
- <!-- enable-md5 It defines whether the password is encrypted with MD5. On - encoded. Off - not encoded . Passwords in many portal systems and forum systems like php-nuke, post-nuke or phpBB, etc. are encrypted with MD5, thus you need to set this value to On. -->
<enable-md5>Off</enable-md5>
Dann hätte ich da noch...
<!--
integrated-other-database string
123flashchat can seemlessly integrate your own user database, like that of your forum or portal system,including phpBB, Joomla!, PHPNuke, PostNuke, vbulletin, etc.A forum which doesn't have database can't be integrated.)
The modes of IntegratedOtherDatabase are:
None - it will not use any integrated database to authorize an user,Mysql - will use mysql database,Oracle - will use oracle database,ODBC - will use ODBC DSN to connect database,Common - it will use any kind of database, advanced setting,URL - it will use web URL to authorize user's login information.eg:<IntegratedOtherDatabase mode="Mysql">If it is set to "None", new user can register in your chat room itself,If set to "Mysql", "Oracle" or "common", then when user click "register", a new window will pop up and he or she will be directed to an external URL which is configured by you in client.xml-> registerUrl to register.
-->
<integrated-other-database>Mysql</integrated-other-database>
- <!-- Auth-url String
This line is not needed unless the above "integrated-other-database" is configured to URL. You can just leave it blank or even delete it in other cases. Auth-url represents the URL of the application to authorize users, it must have 2 arguments, one is %usename%, the other is %password%.eg:<auth-url>http://yourhost/login_chat.php?username=%username%&password=%password%</auth-url>In this URL, "&" means the character "&" in xml.That is to say when the user enter username "myname " and password "mypassword", the chat server will visit"http://www.yourhost.com/login_chat.php?username=myname&password=mypassword" in order to get the login information which has to be numbers between 0 to 7, each one with a different meaning.
0 - login successfully;
1 - wrong password;
2 - the username can't be used;
3 - login error, e.g. error in connecting database;
4 - username does not exist;
5 - successfully log in as an administrator;
6 - guest login is not allowed7 - username is banned . -->
<auth-url charset="UTF-8">http://yourwebsite/login_chat.php?us...ord=%password%</auth-url>
Die Anleitung ist unter http://www.123flashchat.com/download/Manual.pdf ab Seite 46 zu finden. Viel mehr steht da aber nicht drinnen.
Ich hoffe es kann mir jemand helfen.
Gruss
Fritz
Leider wird der untere Teil des xml files nicht korrekt übernommen. Es ist daher etwas schwer zu lesen.



Zitieren
Lesezeichen