Uhm, what "space size" do you mean? For uploaded pictures? IF so, you can use the plugin API hook "backend_media_makethumb" or "backend_image_add". There you can check for the currently used user, check the disk space requirements and report an error message, for example.
The user expiration time could be checked onn execution of the "backend_auth" and/or "backend_configure" hooks. This is fired for each login. s9y does not store the time where a user account was created, so you would need to keep track of that individually by storing the timestamp of the first login (using that same hook)
This would be not so terribly hard to do, but definitely some work is involved. I can try to help you if you have specific questions or want to show me some code of what you're trying if you face problems.
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/
Sorry about my English.
Thank you for super fast reply
About "space size"
I mean that the storage size of all media files that 1 user can upload to the server. Such as 1 user can keep files on server only 10MB.
Do you want users to expire after some time since the account was created, or some period without logging in? We probably don't want to remove users from the database, since then someone else could take over their user name and spoof their comments; do you want some way for a user to unexpire himself?
Yes, you can do that space limitation with a plugin hooking on the hooks/events I mentioned. You can then simply block upload once the space is used up.
Of course some individual coding is involved, but since your service sounds a tad commercial I'm guessing you can do that coding?
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/
Yes, for community sites like you intend to run, Drupal might be more suitable. However it lacks other things that s9y has, like a decent media database, good blogging capabilities and a nicer interface and not so cluttered extensions.
Have fun,
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/