Page Index Toggle Pages: 1 2 3 [4]  ReplyAdd Poll Send Topic
Very Hot Topic (More than 25 Replies) Re: Looking toward 2.6.1 (Read 30027 times)
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
YaBB Modder
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Looking toward 2.6.1
Reply #45 - Aug 27th, 2014 at 6:15pm
Mark & QuoteQuote  
That one actually works as designed - registered users should either see UTC or their timezone choice. Guests will see UTC or the Admin's forum choice. In either case the default is UTC. (Now, we could add a reminder for members to update their tz choice...  Wink )
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Looking toward 2.6.1
Reply #46 - Aug 27th, 2014 at 6:38pm
Mark & QuoteQuote  
Dandello wrote on Aug 27th, 2014 at 6:15pm:
That one actually works as designed - registered users should either see UTC or their timezone choice. Guests will see UTC or the Admin's forum choice. In either case the default is UTC. (Now, we could add a reminder for members to update their tz choice...  Wink )


It's a design flaw by some people... As they had different timezone selected before the upgrade... if it would have preserved the old settings value, it could have used it as fallback inside toffs()... one hour difference half of the year is a lot better than 3 hour difference half of the year...

Honestly it would be better to have admin setting that makes user_tz equal to default_tz when user_tz is empty. DateTime.pm actually already supports that but it is disabled.
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Looking toward 2.6.1
Reply #47 - Aug 27th, 2014 at 6:56pm
Mark & QuoteQuote  
There was actually a lot of discussion on this when we decided to trash the old 'never worked right' TimeZone system.  A '-8' tz correction doesn't mean a lot when it's wrong a big part of the time and if DateTime::TimeZone is working, it REALLY doesn't mean anything. If we do decide to put back an ability to set an hour offset for users, it will only work if DateTime::TimeZone is not working.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Looking toward 2.6.1
Reply #48 - Aug 27th, 2014 at 6:56pm
Mark & QuoteQuote  
Monni wrote on Aug 27th, 2014 at 6:38pm:
Honestly it would be better to have admin setting that makes user_tz equal to default_tz when user_tz is empty. DateTime.pm actually already supports that but it is disabled.
                     


That we can do.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Looking toward 2.6.1
Reply #49 - Aug 27th, 2014 at 7:07pm
Mark & QuoteQuote  
Dandello wrote on Aug 27th, 2014 at 6:56pm:
There was actually a lot of discussion on this when we decided to trash the old 'never worked right' TimeZone system.  A '-8' tz correction doesn't mean a lot when it's wrong a big part of the time and if DateTime::TimeZone is working, it REALLY doesn't mean anything. If we do decide to put back an ability to set an hour offset for users, it will only work if DateTime::TimeZone is not working.


In most local area forums, there really is only one timezone that most of the users expect to be in use... As long as admin is wise enough to set the default timezone, there is really no use for user timezone. For the less than 1% of the registered users who want to use different timezone, the user_tz option is useful.
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Looking toward 2.6.1
Reply #50 - Aug 27th, 2014 at 7:09pm
Mark & QuoteQuote  
In theory changing:
Code (Perl)
Select All
    if ( $iamguest || $forum_default ) {
         $tzname = $default_tz || 'UTC';
     }
     else {
         $tzname = ${ $uid . $username }{'user_tz'} || 'UTC';
     } 



to
Code (Perl)
Select All
    if ( $iamguest || $forum_default || !${ $uid . $username }{'user_tz'} ) {
         $tzname = $default_tz || 'UTC';
     }
     else {
         $tzname = ${ $uid . $username }{'user_tz'};
     } 


should do it.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Looking toward 2.6.1
Reply #51 - Aug 27th, 2014 at 7:15pm
Mark & QuoteQuote  
Dandello wrote on Aug 27th, 2014 at 7:09pm:
In theory changing:
Code (Perl)
Select All
    if ( $iamguest || $forum_default ) {
         $tzname = $default_tz || 'UTC';
     }
     else {
         $tzname = ${ $uid . $username }{'user_tz'} || 'UTC';
     } 



to
Code (Perl)
Select All
    if ( $iamguest || $forum_default || !${ $uid . $username }{'user_tz'} ) {
         $tzname = $default_tz || 'UTC';
     }
     else {
         $tzname = ${ $uid . $username }{'user_tz'};
     } 


should do it.


Looks ok, but I need to logout to test that with my test account Wink
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Looking toward 2.6.1
Reply #52 - Aug 27th, 2014 at 7:21pm
Mark & QuoteQuote  
Not uploaded here yet.  Wink

BTW, what things disappeared or changed on you when running Convert2x? (I assume it was Convert2x.pl)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Looking toward 2.6.1
Reply #53 - Aug 27th, 2014 at 7:36pm
Mark & QuoteQuote  
Dandello wrote on Aug 27th, 2014 at 7:21pm:
Not uploaded here yet.  Wink

BTW, what things disappeared or changed on you when running Convert2x? (I assume it was Convert2x.pl)


I could test the change quickly in one of my clients forum, because I'm still logged in to its cPanel... I just don't leave the change in permanently until I have talked with the forum admin Wink

Two standard smileys in @SmilieURL of Settings.pm and all group stars stopped working, because the extension changed from .gif to .png. Not to mention the Admin Center gave me lots of 503 errors trying to edit forum settings. I had to fix settings file manually because %templateset didn't save correctly.
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Looking toward 2.6.1
Reply #54 - Aug 27th, 2014 at 7:49pm
Mark & QuoteQuote  
Okay - the stars is a known issue - it's a tossup between forcing admins with custom  stars to reset their MemberGroup stars to the new versions or having them upload their old ones and not worry about messing with changing their MemberGroups - which can be a pain in really big Boards. (It took about 3 hours to get YaBBForum changed over to the new graphics because every time one of the MemberGroups got changed it had to update the entire memberlist.)
(Needs better documentation.)
In any case, any time graphics are changed there are issues.

%templateset is a problem to be looked at.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Looking toward 2.6.1
Reply #55 - Aug 27th, 2014 at 7:56pm
Mark & QuoteQuote  
Dandello wrote on Aug 27th, 2014 at 7:49pm:
Okay - the stars is a known issue - it's a tossup between forcing admins with custom  stars to reset their MemberGroup stars to the new versions or having them upload their old ones and not worry about messing with changing their MemberGroups - which can be a pain in really big Boards.


The forum didn't have custom stars... They were the default ones back when the forum was still using old version of YaBB.

Same goes for the smileys... two smileys (exclamation and question) were renamed so didn't work with default template, but did work with custom template used on the forum.
  
Back to top
IP Logged
 
Paste Member Name in Quick Reply Box Dandello
Forum Administrator
*****
Offline


I love YaBB 2.7!

Posts: 2234
Location: The Land of YaBB
Joined: Feb 12th, 2014
Gender: Female
Mood: Annoyed
Zodiac sign: Virgo
Re: Looking toward 2.6.1
Reply #56 - Aug 27th, 2014 at 8:02pm
Mark & QuoteQuote  
The quick fix is to upload the gif versions of the 2 smilies and the old group stars into the default graphics directory. (Again, it's not well documented.) Then later you can edit the smilies list and the MemberGroups to use the new graphics.
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Paste Member Name in Quick Reply Box Monni
Language
***
Offline


Min izāmō

Posts: 413
Location: Kaarina, Finland
Joined: Jul 16th, 2014
Gender: Male
Mood: Frustrated
Zodiac sign: Pisces
Re: Looking toward 2.6.1
Reply #57 - Aug 27th, 2014 at 8:07pm
Mark & QuoteQuote  
Dandello wrote on Aug 27th, 2014 at 8:02pm:
The quick fix is to upload the gif versions of the 2 smilies and the old group stars into the default graphics directory. (Again, it's not well documented.) Then later you can edit the smilies list and the MemberGroups to use the new graphics.


That's actually what I did back then Smiley Took me a while to check that no other graphics were MIA...
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1 2 3 [4] 
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
Re: Looking toward 2.6.1

Please type the characters exactly as they appear in the image,
without the first 2 and last 2 characters.
The characters must be typed in the same order,
and they are case-sensitive.
Open Preview Preview

You can resize the textbox by dragging the right or bottom border.
Off Topic Comment Insert Spoiler
Insert Hyperlink Insert FTP Link Insert Image Insert E-mail Insert Media Insert Table Insert Table Row Insert Table Column Insert Horizontal Rule Insert Teletype Insert Code Insert Quote Edited Superscript Subscript Insert List /me - my name Insert Marquee Insert Timestamp No Parse
Bold Italicized Underline Insert Strikethrough Highlight
                       
Change Text Color
Insert Preformatted Text Left Align Centered Right Align
resize_wb
resize_hb







Max 5000 characters. Remaining characters:
Text size: %
More Smilies
View All Smilies
Collapse additional features Collapse/Expand additional features Smiley Wink Cheesy Grin Angry Sad Shocked Cool Huh Roll Eyes Tongue Embarrassed Lips Sealed Undecided Kiss Cry