modxcms / Discuss

MODX Revolution native forums.
19 stars 35 forks source link

User value createdon won't return #26

Open Nuan8 opened 10 years ago

Nuan8 commented 10 years ago

After much investigation, it appears that the user value of createdon isn't fixed, or something is wrong with it.

In profile view calls like [[+name]] and [[+signature]] work, but [[+createdon]] does not, even though they are all values listed in the Discuss DB schema. The data, if it exists, is not outputted at all.

I don't have any more info on this issue. It does seem like other values such as location, country and city are all unable to be called even when fixed, both from extended fields and the core fields.

Nuan8 commented 10 years ago

I have experimented with different user fields and found more which don't work.

I am working under the assumption all these Discuss fields should output using the code [[+fieldname]], and that might not be true. But some definitely do while others (which seemingly should) do not. But, if my assumption is false, then...I should drink a beer. :-)

The following list is fields that do not seem to output, for whatever reason: [[+last_active]], (but [[+last_login]] and [[+lastThread.title]] do work

[[+confirmedon]], but [[+confirmed]] works (but is only boolean), I wonder if the problem is related to numerical data

I will find more, I am pretty sure some values from the normal modx profile (location, country) are also not accessible through this code, and age is definitely not working properly.