No Registration date?

16 years 11 months ago #37043 by pearlyred
No Registration date? was created by pearlyred
Hi,

I've just tried to synch a couple of users from phpbb to CB to test before I do the whole database and I've noticed that the newly created CB users have no registration date. Is this a known bug?

I'm using 1.0.3 version of the connector with latest Joomla/CB/phpBB installs.

Please Log in to join the conversation.

16 years 11 months ago #37136 by geeffland
Replied by geeffland on topic Re:No Registration date?
Previous versions have had issues, but it looks like the 1.0.3 code should be writing the 'current date' [ strtotime("now") ] into the register date field when importing from phpbb to cb...

I assume from your post that you are seeing an empty date... I will try to run a few test to see if I can verify on this end.

Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

16 years 11 months ago #37188 by pearlyred
Replied by pearlyred on topic Re:No Registration date?
Should it be creating an integer timestamp to go in a date/time field? Dunno, it just doesn't seem to like that bit.

I've made a couple of changes so that it just copies the registration date from the phpbb user ID.

Changed line 373 to:
$regdate = date(' Y-m-d H:i:s', $row->regdate );
and added to line 486:
p.user_regdate as regdate

Seems to be working ok.

Please Log in to join the conversation.

16 years 11 months ago #37206 by geeffland
Replied by geeffland on topic Re:No Registration date?
That looks very similar to the code I have in v2... I will port that code back to v1.0.3... (maybe 1.0.4)

Thanks,
Greg

CB3PD Developer - CB Connector (formerly phpBB Connector) plugin

Please Log in to join the conversation.

Moderators: beatnantgeefflandmartijn189krileon
Time to create page: 0.208 seconds

Facebook Twitter LinkedIn