1
areteam
How to change member since date?
  • 2007/1/23 13:01

  • areteam

  • Just popping in

  • Posts: 16

  • Since: 2007/1/23


How to change member since date?

example:
Member Since 1970/1/1
change to date 2007/1/23

hope anybody can help me..

thanks..



2
iHackCode
Re: How to change member since date?

Link to a similiar post.

you gotta edit it in the database.
*disclaimer.. uh. back up your database.. before modifying stuff..
the date is in unix time.. so google an Epoch Time Converter and put in the date you want. and convert. ( and leave that window open so you can go back to it later).

then use phpmyadmin or any other tool.
and go to your XOOPS database and look for a table called prefix_users and browse for your id. and then edit it.

edit the 'user_regdate' field by puttin in date that you made with the converter. in to the value for that field. and save..

and that should change your reg date...


- i wonder if there is a module or something for this...
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

3
Dave_L
Re: How to change member since date?
  • 2007/1/28 11:20

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Instead of using that external date converter, you can use MySQL's built-in UNIX_TIMESTAMP function.

When editing the row in phpMyAdmin, for the user_regdate column, select UNIX_TIMESTAMP from the Function menu, and enter the date in the format YYYY-MM-DD HH:MM:SS (in this case, 2007-01-23 12:00:00).

Or use a query such as:

UPDATE prefix_users SET user_regdate=UNIX_TIMESTAMP('2007-01-23 12:00:00'WHERE uid='999';


If you use the query, don't forget the WHERE-clause, or you'll change everyone's registration date.

4
areteam
Re: How to change member since date?
  • 2007/1/29 7:17

  • areteam

  • Just popping in

  • Posts: 16

  • Since: 2007/1/23


thanks Bandit-X & Dave_L
now i can change my reg date and other user on my XOOPS site..


Login

Who's Online

362 user(s) are online (62 user(s) are browsing Support Forums)


Members: 0


Guests: 362


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits