I user WorldTime + 8 hours in drupal and phpbb;
in drupal: the time is right;
login from drupal, then go into phpbb, the now time style is error, time change to WorldTime +1 hour.

Another question:
From phpbb can register new user, is this right?

Comments

rill’s picture

Title: Time style error » for phpbb register

for phpbb register, add to phpbb.htaccess:

RewriteCond %{QUERY_STRING} ^mode=register$
RewriteRule ^profile.php(.*)$ /user/register [L]

rill’s picture

Title: for phpbb register » for phpbb WorldTime style

How to use WorldTime +08 in phpbb, GMT+08 is our WorldTime.

arkepp’s picture

Assigned: Unassigned » arkepp
Category: bug » support
Priority: Critical » Minor

Please don't mark these as bugs / critical unless they are actually serious. Serious is if people can log in as administrators when they shouldn't etc., not cosmetics.

From phpbb can register new user, is this right?

No, the information will never make it to Drupal and the user will be overwritten when a Drupal-user is assigned the same id. See the project description: "In practice it takes things from the Drupal database and updates the phpBB database each time a user logs in."

So changing the .htaccess file would be a bad idea too.

Timezone: Change the last value (1.0) on line 77 of the script to whatever you want, presumably 8.0. The reason I haven't bothered with this is that phpBB doesn't deal with daylight savings time, which is just the sort of thing my users like to pick on ;) So I run an SQL query to update everyone anyway, but I guess I'll parameterize this when i get a chance.

rill’s picture

Timezone question is fixed! thank you very much.

arkepp’s picture

Status: Active » Postponed
arkepp’s picture

Category: support » feature
Status: Postponed » Closed (fixed)

Fixed in the phpBB 3.x version, it takes the timezone from the default value for the forum.