Force users login ?

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
tchirou
Regular
Posts: 29
Joined: Thu Feb 01, 2007 11:16 pm

Post by tchirou »

Ok then.

I will leave this as it is. Nevermind for the uploads access rights.

Another little question : is there a way we could have a log with the record of the time and the logins which have accessed to the blog, using the http auth plugin ?

It could look like this :

login / date / time / ip adress

Like the statistic plugin, but with the login as an additionnal piece of information taken from the http auth plugin and the user login form plugin. Only registered users can access to my blog. Sometimes, it is hard to figure who accessed according to the ip adress only.

Is anything already existing ? I searched but nothing came up from the forum and the plugin database.

It would be really really great.

Thanks,

Cyril
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

For login-logging, you could install the Serendipity External Authentication (serendipity_event_externalauth) plugin. This has a configuration option which allows to log all login attempts to the database.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
tchirou
Regular
Posts: 29
Joined: Thu Feb 01, 2007 11:16 pm

Post by tchirou »

Hi

Thank you for you answer. I have a couple of questions yet.

I have installed this plugin. Do I have to uninstall the http auth plugin ?

Where can I find the log with the login attempts ? I haven't seen the configuration option about this.

I am sorry but I am kinda dumb at these times. I really want to thank you again for all what you do.

Cyril
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
I have installed this plugin. Do I have to uninstall the http auth plugin ?
I think the settings of the plugin allow to configure whether to enable the external authentication and whether to log logins. So you should simply disable the external authentication and only leave login logging enabled?
Where can I find the log with the login attempts ? I haven't seen the configuration option about this.
It should be logged straight to a database table like serendipity_loginlog or sth. like that?
I am sorry but I am kinda dumb at these times. I really want to thank you again for all what you do.
No problem at all. Please excuse my that I can't specifically answer the questions because my work on these plugins is some time ago, and I am abit "on the run" right now :)

Best regards
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
tchirou
Regular
Posts: 29
Joined: Thu Feb 01, 2007 11:16 pm

Post by tchirou »

Hi,

A little feedback : i only enabled loginlog and http auth.

I go to my sql database through phpmyadmin and when I display the table serendipity_loginlog, I can see this :

1175440530 1 frontend_login 213.251.185.26 http://www.akeow.com/ Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)
1175440530 1 backend_login 213.251.185.26 http://www.akeow.com/ Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)


It doesn't record the login, just the ip adress.

Too bad... :(

Did I make something wrong or this feature is not available ?

Any Idea Welcome :D
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

The loginlog table should hold a "authorid" column, this is the ID of the user that has just logged in!

In your example it should be user "1".

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply