Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Module  (Read 4579 times)

0 Members and 1 Guest are viewing this topic.

Mike

  • Anope User
  • Offline Offline
  • Posts: 33
Module
« on: April 23, 2009, 06:02:21 AM »

Ok i seen how denora works, but it doesnt list the names of chatters in the room, and i dont need everything thats on denora, i just need a module that will show the user count of every room, and the users in the room

Room1 3 chatting
Mike
test
William

Room2 2 Chatting
John
Teresa

this should be easy i wish i knew how to make  a module i wouldnt ask if i could.. and i really need this module so it can make output onto a page like denora does so i can have php read it.. not to sound cocky or to be mean but im willing to pay for this.
Logged

Jens Voss

  • Team
  • *
  • Offline Offline
  • Posts: 125
Re: Module
« Reply #1 on: April 23, 2009, 06:26:11 AM »

if you run denora, you can select all data from the mysql db with php.

- all users in a channel
Quote
    SELECT users
    FROM chan, ison
    WHERE chan.chanid = ison.chanid AND channel="#denora"


- number of users in a channel
Quote
    SELECT COUNT(*) users
    FROM chan, ison
    WHERE chan.chanid = ison.chanid AND channel="#denora"

(you can find more examples in your denora source-directory in contrib/SQL_QUERIES )
Logged

Mike

  • Anope User
  • Offline Offline
  • Posts: 33
Re: Module
« Reply #2 on: April 23, 2009, 08:14:04 AM »

the problem is denora will not stay on the server in freebsd inspircd1.2 it comes on requests stats u and then dies, and it gives no logs. so therefore i cannot get denora to work.
Logged

mooncup

  • Contributor
  • *
  • Offline Offline
  • Posts: 65
Re: Module
« Reply #3 on: April 23, 2009, 11:53:48 AM »

What version of anope and how much money? :P
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
Re: Module
« Reply #4 on: April 23, 2009, 03:55:08 PM »

the problem is denora will not stay on the server in freebsd inspircd1.2 it comes on requests stats u and then dies, and it gives no logs. so therefore i cannot get denora to work.

Run Denora in debug mode using ./stats -debug -nofork -protocoldebug then paste the log file to a paste bin.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/
Pages: [1]   Go Up