All is in title
See UserModel.update in generic_queries.sql and public void update(User user) in GenericUserDAO.java
Modifying in generic_queries.sql :
UserModel.update = UPDATE jforum_users SET user_aim = ?, \
user_avatar = ?,\
gender = ?, \
themes_id = ?,\
user_allow_pm = ?, \
user_allowavatar = ?, \
user_allowbbcode = ?, \
user_allowhtml = ?, \
user_allowsmilies = ?, \
user_email = ?, \
user_from = ?, \
user_icq = ?, \
user_interests = ?, \
user_occ = ?, \
user_sig = ?, \
user_website = ?, \
user_yim = ?, \
user_msnm = ?, \
user_password = ?, \
user_viewemail = ?, \
user_viewonline = ?, \
user_notify = ?, \
user_attachsig = ?, \
username = ?, \
user_lang = ?, \
user_notify_pm = ?, \
user_biography = ?, \
user_lastvisit = ?, \
WHERE user_id = ?
In GenericUserDAO.java :
public void update(User user) throws Exception
.
.
.
// REDHAND MOD
// p.setInt(28, user.getId());
p.setTimestamp(28, new Timestamp(user.getLastVisit().getTime()));
p.setInt(29, user.getId());
but LastVisit should be set before ... more soon
[originally posted on jforum.net by redhand]