Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Wordpress integration  (Read 10456 times)

0 Members and 1 Guest are viewing this topic.

NoMiaus

  • Anope User
  • Offline Offline
  • Posts: 4
Wordpress integration
« 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  :)
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Wordpress integration
« Reply #1 on: October 26, 2013, 01:10:52 AM »

You would probably have to modify wordpress or find a plugin for it to auth against services's database.
Logged

NoMiaus

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Wordpress integration
« Reply #2 on: October 26, 2013, 01:16:44 AM »

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..
Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Wordpress integration
« Reply #3 on: October 26, 2013, 01:18:12 AM »

You would need to enable MySQL support or similar and then just query the database...
Logged

NoMiaus

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Wordpress integration
« Reply #4 on: October 26, 2013, 11:22:03 AM »

Could you explain the second part? 'query the database'
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: Wordpress integration
« Reply #5 on: October 26, 2013, 06:36:20 PM »

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.
Logged

NoMiaus

  • Anope User
  • Offline Offline
  • Posts: 4
Re: Wordpress integration
« Reply #6 on: October 27, 2013, 01:27:54 AM »

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... :'(
Logged

CrazyCat

  • Anope User
  • Offline Offline
  • Posts: 259
    • Réseau IRC francophone
Re: Wordpress integration
« Reply #7 on: October 29, 2013, 03:13:24 PM »

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".

Pages: [1]   Go Up