Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Mysql Integration on Openfire and Candy

$
0
0

Hi firenaut,

i'm new user of this jabber server and i've brige it with Candy chat on my website as a shoutbox. I'm trying to use my existing database with openfire successfully with the doc, but it's not like i want ^^'

 

My users tables extract :

 

idpseudomail
1elfausme@example.com

 

 

I would like people could connect on the serv with their id (and password) and the pseudo should display on candy.

 

I'm trying a lot but can't do what I want, name = nickname at everytime

 

Currently i'm doing that :

 

 

jdbcAuthProvider.passwordSQLSELECT password FROM mom_users WHERE id=?
jdbcAuthProvider.passwordTypemd5
jdbcProvider.connectionStringjdbc:mysql://127.0.0.1/mydb?user=myuser&password=mypass
jdbcProvider.drivercom.mysql.jdbc.Driver
jdbcUserProvider.allUsersSQLSELECT id,pseudo FROM mom_users
jdbcUserProvider.emailFieldmail
jdbcUserProvider.loadUserSQLSELECT id,pseudo FROM mom_users WHERE id=?
jdbcUserProvider.nameFieldpseudo
jdbcUserProvider.searchSQLSELECT pseudo FROM mom_users WHERE
jdbcUserProvider.userCountSQLSELECT COUNT(*) FROM mom_users
jdbcUserProvider.usernameFieldid

 

Plus, i'm using 3.7.1 version cause i can't make the latest release working together with candy :s


Viewing all articles
Browse latest Browse all 10742

Trending Articles