cancel
Showing results for 
Search instead for 
Did you mean: 

changing profile to see correct posting time

Ben_Brown
Grafter
Posts: 2,839
Registered: 13-06-2007

changing profile to see correct posting time

Hello there Colin,

I have raised this as an internal idea (333Cool.
7 REPLIES
N/A

changing profile to see correct posting time

can F9 update their servers to reflect the correct time someone posts a message.

I live in the uk but have had to change my profile to GMT+1 hour to show the actual correct time of me making a post.

I shouldn't need to do this, as if my settings were originally GMT then servers should take this into account and display the information correctly
Plusnet Staff
Plusnet Staff
Posts: 12,169
Thanks: 18
Fixes: 1
Registered: 04-04-2007

changing profile to see correct posting time

Hi,

Unfortunately this is a limitation of the phpBB software that the forums use. The time is set correctly on the portal servers, but phpBB isn't able to adjust automatically to British Summer Time.
N/A

changing profile to see correct posting time

i'm not sure how phpBB works, but if like java script couldn't this be implemented, as the dates of changing can be easily calculated for each year.
Plusnet Staff
Plusnet Staff
Posts: 12,169
Thanks: 18
Fixes: 1
Registered: 04-04-2007

changing profile to see correct posting time

The problem is that the timezone is saved individually in the database for every single customer, which across the four portals is about 50,000 customers.
To change the dates for everyone means changing 50,000 entries in the database.
N/A

changing profile to see correct posting time

you wouldn't need to change it for every customer

when customer accesses the forums they require username/password for access, when logged in how about it reads the users timezone setting and adds this to the server setting.

here's an old javascript that me and my mate wrote years ago, when ever you visit my homepage which i haven't updated for ages it will tell you the last updated date was the day you view it, could something similar be used for the portal..

  <script language="JavaScript">

<!--
//Written by Mike Morley and Andy Fearnley
//10 March 1999
//
d = new Date();
dateText = "";
dayValue = d.getDay();
monthValue = d.getMonth();
dname="images/counters/date/";
mname="images/counters/month/";

dateValue = d.getDate();
bValue = dateValue % 10;
aValue = (dateValue-(dateValue % 10)) / 10;
//
// For year 2000 add '-2000' to end of line
//
mainyear=d.getYear()-2000;
yvalue1=(mainyear - (mainyear % 10)) / 10;
yvalue2=mainyear % 10;
document.open();
//
//Display the day in 2 digits
//
dValue=dname+aValue+".gif";
digitone.src=dValue;
dValue=dname+bValue+".gif";
digittwo.src=dValue;
//
//Display the month image
//
mvalue=mname+(monthValue)+".gif";
monthimage.src=mvalue;
//
//Display the year as 4 digits
//
// Year 2000 need to change 1.gif & 9.gif accordingly
//
yvalue=dname+ yvalue1 + ".gif";
yimage1.src=dname+"2.gif";
yimage2.src=dname+"0.gif";
yimage3.src=dname+ yvalue1 + ".gif";
yimage4.src=dname+ yvalue2 + ".gif";
// -->
</script>
Plusnet Staff
Plusnet Staff
Posts: 12,169
Thanks: 18
Fixes: 1
Registered: 04-04-2007

changing profile to see correct posting time

I have a feeling this wouldn't work because of how it currently works out the timezone, but let me have a think.
N/A

changing profile to see correct posting time

It'd just be one SQL statement taht would need to be run by F9 - without any changes to the PHPBB code what-so-ever.

UPDATE phpbb_users SET user_timezone = 1.00 WHERE user_timezone = 0.00