Anope IRC Services
Anope.org => Anope General => Topic started by: NoMiaus on October 26, 2013, 01:07:34 AM
-
Hello!
I saw some websites that allow post comments (or identify on the website) using the nickname and password of the IRC network, so I would like to know if it's possible in Wordpress and how to do it.
Thanks :)
-
You would probably have to modify wordpress or find a plugin for it to auth against services's database.
-
You would probably have to modify wordpress or find a plugin for it to auth against services's database.
Thanks for answering! I found this: http://wordpress.org/plugins/external-db-auth-reloaded/screenshots/
The problem is that I don't know how to check the nicks and passwords database of anope..
-
You would need to enable MySQL support or similar and then just query the database...
-
Could you explain the second part? 'query the database'
-
It requires that you know a bit about mysql queries. There is no checkbox to mark or no module to load. You are required to learn a bit of php/html/sql coding to do it which is well outside the scope of this forum. You need to configure wordpress or any other webapp to query Anope's sql database.
In short, it has nothing to do with Anope directly.
-
Well today I created a php script to do it and i got it with a simple website (i can identify with the nick and password of IRC... it works!), the problem will be integrate it on wordpress.. i don't know how start... :'(
-
user_table: [prefix]_ns_core
External Database Source Fields :
username: display
password: password
If your passwords are plaintext in db, you have to select "other" as "Password encryption method" in the configuration and it runs.
If you use real md5 or sha1, select the good "Password encryption method".