ID:2451475
 
Applies to:DM Language
Status: Open

Issue hasn't been assigned a status value.
We are already has `IsByondMember()` function to know, does user has byond membership. But the easiest way to know user registration date, is to get his profile page with `?format=text` param and parse `joined` field.

It would be nice if there was a variable in `client` with registration date. The date itself could be a string, or int as `world.realtime` var. The second option seems more preferable, since it could be easily converted to formatted string with `time2text` proc.
Reason: for SS13 this will be useful for admins to detect newbies and bad persons with fake account without checking this user profile manually (or grabbing profile page and parsing by code).
In response to VolAs
VolAs wrote:
... (or grabbing profile page and parsing by code).

What is wrong with that, exactly?
In response to JimmyWimmy
JimmyWimmy wrote:
VolAs wrote:
... (or grabbing profile page and parsing by code).

What is wrong with that, exactly?

This is overhead and strange imho.

For example we already have a "gender" client var. And in case if we want use this in game - it's much easier to check this field, that parse user profile on site (with all additional costs and possible problems).
As much as this makes sense as everything is tied to the pager/profile anyway.

The workaround requires a call that doesn't return immediately and requires you to set things up, when a simple variable such as (example; regdate) could exist on the client as well.
The old Razzle Dazzle.

Login to reply.