EN - RequestsFacebook chatpanel script


17.04.2012, 22:22 - Dansjostedt - webSPELL user - 211 Posts
Hey everyone!
I'm dealing with some problems when I'm trying to set up a chat system with webspell and it should just fetch the basic info such as username, userID etc but have I entered anything wrong?


[toggle=tried this]define('TABLE_PREFIX','demo');
define('DB_USERTABLE','demouser');
define('DB_USERTABLE_NAME','username');
define('DB_USERTABLE_USERID','userID');
define('DB_USERTABLE_AVATAR','avatar');
define('DB_FRIENDSTABLE','demobuddys');
define('DB_FRIENDSTABLE_USERID', 'userID');
define('DB_FRIENDSTABLE_FRIENDID', 'buddyID');
define('DB_FRIENDSTABLE_FRIENDS', 'buddy'); [/toggle]

[toggle=and this]define('TABLE_PREFIX','demo');
define('DB_USERTABLE','demouser');
define('DB_USERTABLE_NAME','demousername');
define('DB_USERTABLE_USERID','demouserID');
define('DB_USERTABLE_AVATAR','demoavatar');
define('DB_FRIENDSTABLE','demobuddys');
define('DB_FRIENDSTABLE_USERID', 'demouserID');
define('DB_FRIENDSTABLE_FRIENDID', 'demobuddyID');
define('DB_FRIENDSTABLE_FRIENDS', 'demobuddy'); [/toggle]

[toggle=+ this]define('TABLE_PREFIX','demo');
define('DB_USERTABLE','user');
define('DB_USERTABLE_NAME','username');
define('DB_USERTABLE_USERID','userID');
define('DB_USERTABLE_AVATAR','avatar');
define('DB_FRIENDSTABLE','buddys');
define('DB_FRIENDSTABLE_USERID', 'userID');
define('DB_FRIENDSTABLE_FRIENDID', 'buddyID');
define('DB_FRIENDSTABLE_FRIENDS', 'buddy'); [/toggle]

*** www.host-365.com - hosting as it was ment to be ***

 
18.04.2012, 22:28 - Dansjostedt - webSPELL user - 211 Posts
anyone has a clue? If you need a facebook chat for your own website add me on msn and we can help eachother out with how to make this darn thing to work and I will then share the code with you who does help me!

*** www.host-365.com - hosting as it was ment to be ***

 
22.04.2012, 11:42 - Dansjostedt - webSPELL user - 211 Posts
is there really noone who knows?

*** www.host-365.com - hosting as it was ment to be ***

 
22.04.2012, 12:31 - Philipp - Administrator - 2566 Posts
Code:
1.
2.
3.
4.
5.
6.
7.
8.
9.
define('TABLE_PREFIX','demo');
define('DB_USERTABLE','user');
define('DB_USERTABLE_NAME','nickname');
define('DB_USERTABLE_USERID','userID');
define('DB_USERTABLE_AVATAR','avatar');
define('DB_FRIENDSTABLE','buddys');
define('DB_FRIENDSTABLE_USERID', 'userID');
define('DB_FRIENDSTABLE_FRIENDID', 'buddyID');
define('DB_FRIENDSTABLE_FRIENDS', 'buddy'); 


i think this sould be right but without knowing the script we can't help you
 
22.04.2012, 17:54 - Dansjostedt - webSPELL user - 211 Posts
Philipp wrote:

Code:
1.
2.
3.
4.
5.
6.
7.
8.
9.
define('TABLE_PREFIX','demo');
define('DB_USERTABLE','user');
define('DB_USERTABLE_NAME','nickname');
define('DB_USERTABLE_USERID','userID');
define('DB_USERTABLE_AVATAR','avatar');
define('DB_FRIENDSTABLE','buddys');
define('DB_FRIENDSTABLE_USERID', 'userID');
define('DB_FRIENDSTABLE_FRIENDID', 'buddyID');
define('DB_FRIENDSTABLE_FRIENDS', 'buddy'); 


i think this sould be right but without knowing the script we can't help you


http://grandmediazone.com/chatsystem

I'm using Arrowchat and I've done exactly as the readme says but it still doesnt work.. I really dunno what to do

*** www.host-365.com - hosting as it was ment to be ***

 
11.05.2012, 13:05 - kyaH - webSPELL newbie - 1 Posts
You should follow the install wizard, but im pretty sure you'll get this error "Oops! There is an error:
We were unable to connect to your database. Please go back to the database settings page. This might also be an indication that your session timed out or PHP sessions are not working entirely."

cuase that script is not made for webspell and it wont connect correctly with your DB, anyways the problem is your prefix.