1
Alian
Xoops 2.3.1 RC shows wrong date?
  • 2008/10/6 19:47

  • Alian

  • Just popping in

  • Posts: 57

  • Since: 2008/6/7 2


Xoops 2.3.1 RC and install CBB 3:08.

Error:
1 / if I have a new user admin area to add, then displayed wrong date (always shows 1.1.1970).
Resized Image



2 / CBB contribution in 3:08 shows the date as follows 05Europe/Berlin000000 Europe / Berlin, 05:48

Resized Image


Resized Image

2
mrphilong
Re: Xoops 2.3.1 RC shows wrong date?
  • 2008/10/7 12:02

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Same here, test on local server showing 1/1/1970 when created new user.
www.UcChau.Net
www.XoopsViet.Org

3
Alian
Re: Xoops 2.3.1 RC shows wrong date?
  • 2008/10/7 17:44

  • Alian

  • Just popping in

  • Posts: 57

  • Since: 2008/6/7 2


Item 2) is no longer # 2 from here

4
trabis
Re: Xoops 2.3.1 RC shows wrong date?
  • 2008/10/7 22:26

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


You can edit modules/system/admin/users/main.php

Around line 175 find this:
$newuser->setVar("name"$name);
$newuser->setVar("uname"$username);
$newuser->setVar("email"$email);
$newuser->setVar("url"formatURL($url));
$newuser->setVar("user_avatar",'blank.gif');


And add this line bellow:
$newuser->setVar("user_regdate"time());






5
mrphilong
Re: Xoops 2.3.1 RC shows wrong date?
  • 2008/10/7 23:55

  • mrphilong

  • Quite a regular

  • Posts: 351

  • Since: 2006/7/14


Hi Trabis,

File modified as suggested.
Clear \caches\smarty_compile
Existing user showing 1/1/1970
New user showing 1/1/1970
www.UcChau.Net
www.XoopsViet.Org

6
Alian
Re: Xoops 2.3.1 RC shows wrong date?
  • 2008/10/9 0:42

  • Alian

  • Just popping in

  • Posts: 57

  • Since: 2008/6/7 2



Problem solved.
Thank Trabis

7
Marco
Re: Xoops 2.3.1 RC shows wrong date?
  • 2008/10/9 3:55

  • Marco

  • Home away from home

  • Posts: 1256

  • Since: 2004/3/15


nr 2 added to SF bugtracker
thx
Do synergy or die.

8
sailjapan
Re: Xoops 2.3.1 RC shows wrong date?

Um, I still have the problem mentioned in #2. but with an earlier version on newbb. See here.
I went to the link in Alian's post, but it's all in German. What was the fix, Alian?

[Edit:] All fixed! Many thanks to Ghia. See this thread.
Never let a man who does not believe something can be done, talk to a man that is doing it.

Login

Who's Online

219 user(s) are online (155 user(s) are browsing Support Forums)


Members: 0


Guests: 219


more...

Donat-O-Meter

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

Latest GitHub Commits