You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by Joe Lam <jo...@moni-media.net> on 2006/11/06 06:05:15 UTC

Disble weblog?

Hi all,

seems this is a simple question but I just cant find the answer here.

How to disable an user's weblog?
If I disable an user, I can only stop him from login. his weblog is still
accessible.

btw, I am unable to disable an user through admin UI. I got the "Data
truncation: Column set to default value; NULL supplied to NOT NULL column
'isenabled' at row 1" error. somebody said the solution to fix this is set
the type to tinyint(1). but the type in my mysql 5.0 is already tinyint(1).
how to deal with this? :(

Thanks
Joe
-- 
View this message in context: http://www.nabble.com/Disble-weblog--tf2580463s12275.html#a7193388
Sent from the Roller - Dev mailing list archive at Nabble.com.


Re: Disble weblog?

Posted by Dave <sn...@gmail.com>.
On 11/6/06, Joe Lam <jo...@moni-media.net> wrote:
> seems this is a simple question but I just cant find the answer here.
>
> How to disable an user's weblog?
> If I disable an user, I can only stop him from login. his weblog is still
> accessible.

We provide a way to mark a weblog as inactive, so that it does not
appear in site-wide community listings of weblogs, but do not
currently provide a way to disable a weblog.


> btw, I am unable to disable an user through admin UI. I got the "Data
> truncation: Column set to default value; NULL supplied to NOT NULL column
> 'isenabled' at row 1" error. somebody said the solution to fix this is set
> the type to tinyint(1). but the type in my mysql 5.0 is already tinyint(1).
> how to deal with this? :(

Check WEB-INF/classes/hibernate.cfg.xml and make sure you are using
the MySQL5Dialect and not the old MySQLDialog.

- Dave


>
> Thanks
> Joe
> --
> View this message in context: http://www.nabble.com/Disble-weblog--tf2580463s12275.html#a7193388
> Sent from the Roller - Dev mailing list archive at Nabble.com.
>
>