Page Index Toggle Pages: 1 ReplyAdd Poll Send Topic
Normal Topic again the admin can not configure the forum users (Read 2335 times)
 
Paste Member Name in Quick Reply Box Rucola
Senior Member
Bug Finder
****
Offline



Posts: 286
Location: Country Children Song
Joined: Aug 9th, 2017
Gender: Male
Mood: Adventurous
Zodiac sign: Taurus
again the admin can not configure the forum users
Dec 17th, 2017 at 3:54am
Mark & QuoteQuote  

Обнаружена Ошибка! Use of uninitialized value in substitution iterator at ./Sources/Profile.pm line 798.
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Rucola
Senior Member
Bug Finder
****
Offline



Posts: 286
Location: Country Children Song
Joined: Aug 9th, 2017
Gender: Male
Mood: Adventurous
Zodiac sign: Taurus
Re: again the admin can not configure the forum users
Reply #1 - Dec 17th, 2017 at 5:47am
Mark & QuoteQuote  
video
  

noeditprofileadmin.zip ( 2791 KB | 198 Downloads )
Back to top
 
IP Logged
 
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: again the admin can not configure the forum users
Reply #2 - Dec 17th, 2017 at 5:47am
Mark & QuoteQuote  
This is no doubt the same date-time issue as before.

In Admin/Settings_Main.pm find
Code (Perl)
Select All
if (
     eval {
         require DateTime;
         require DateTime::TimeZone;
     }
   )
 {
     DateTime->import();
     DateTime::TimeZone->import();
     load_language('Countries');
  



and replace with
Code (Perl)
Select All
if (
     eval {
         require DateTime;
         require DateTime::TimeZone;
         require Locale::Country;
     }
   )
 {
     DateTime->import();
     DateTime::TimeZone->import();
     Locale::Country->import();
     %countrytime_txt = ();
     my @newmycntry      = DateTime::TimeZone->countries();
     foreach my $country_code (@newmycntry) {
         my @local = DateTime::TimeZone->names_in_country($country_code);
         my $country = code2country($country_code) || uc $country_code;
         if ( $country eq 'UK' ) { $country = 'Great Britain'; }
         foreach my $i (@local) {
             if ( $i =~ /\//xsm ) {
                 my @clist = split /\//xsm, $i;
                 my $counttime = $clist[1];
                 if ( $clist[2] ) {
                     $counttime = qq~$clist[1], $clist[2]~;
                 }
                 $counttime =~ s/_/ /gxsm;
                 $countrytime_txt{$i} = qq~$country - $counttime~;
                 next;
             }
         }
     } 



In Profiles.pm find
Code (Perl)
Select All
        if (
             eval {
                 require DateTime;
                 require DateTime::TimeZone;
             }
           )
         {
             DateTime->import();
             DateTime::TimeZone->import();
             load_language('Countries');
             my $mytz = ${ $uid . $user }{'user_tz'} || $default_tz;
  



and replace with
Code (Perl)
Select All
        if (
             eval {
                 require DateTime;
                 require DateTime::TimeZone;
                 require Locale::Country;
             }
           )
         {
             DateTime->import();
             DateTime::TimeZone->import();
             Locale::Country->import();
             my $mytz            = ${ $uid . $user }{'user_tz'} || $default_tz;
             %countrytime_txt = ();
             my @newmycntry      = DateTime::TimeZone->countries();
             foreach my $country_code (@newmycntry) {
                 my @local = DateTime::TimeZone->names_in_country($country_code);
                 my $country = code2country($country_code) || uc $country_code;
                 if ( $country eq 'UK' ) { $country = 'Great Britain'; }
                 foreach my $i (@local) {
                     if ( $i =~ /\//xsm ) {
                         my @clist = split /\//xsm, $i;
                         my $counttime = $clist[1];
                         if ( $clist[2] ) {
                             $counttime = qq~$clist[1], $clist[2]~;
                         }
                         $counttime =~ s/_/ /gxsm;
                         $countrytime_txt{$i} = qq~$country - $counttime~;
                         next;
                     }
                 }
             } 

  

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



Posts: 286
Location: Country Children Song
Joined: Aug 9th, 2017
Gender: Male
Mood: Adventurous
Zodiac sign: Taurus
Re: again the admin can not configure the forum users
Reply #3 - Dec 17th, 2017 at 6:35am
Mark & QuoteQuote  

not worked

Обнаружена Ошибка! Use of uninitialized value in substitution iterator at ./Sources/Profile.pm line 819.
  
Back to top
 
IP Logged
 
Paste Member Name in Quick Reply Box Rucola
Senior Member
****
Offline



Posts: 286
Location: Country Children Song
Joined: Aug 9th, 2017
Gender: Male
Mood: Adventurous
Zodiac sign: Taurus
Re: again the admin can not configure the forum users
Reply #4 - Dec 17th, 2017 at 6:54am
Mark & QuoteQuote  

corrections did not help, I explain the essence of the error and the problem is the fact that this behavior and such a reaction only to the nickname I pulled from the permanent ban-with the rest all right
  
Back to top
 
IP Logged
 
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: again the admin can not configure the forum users
Reply #5 - Dec 17th, 2017 at 2:22pm
Mark & QuoteQuote  
I cannot reproduce the issue on a different forum even with a banned member although I am still looking into it.
I made an edit to your Profile.pm - please see if that solves the problem.

But I suspect the problem is with that member's vars file.
  

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



Posts: 286
Location: Country Children Song
Joined: Aug 9th, 2017
Gender: Male
Mood: Adventurous
Zodiac sign: Taurus
Re: again the admin can not configure the forum users
Reply #6 - Dec 17th, 2017 at 4:31pm
Mark & QuoteQuote  
works, there may be a problem with the permanent ban as it affects this-remember I had a problem that was banned forever for login-banilas for the period from January 1, 1970 to the expiry date in a year from the bizarre-we corrected, but maybe this affects how this situation? Wink
  
Back to top
 
IP Logged
 
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: again the admin can not configure the forum users
Reply #7 - Dec 17th, 2017 at 5:22pm
Mark & QuoteQuote  
Possible - could you zip up a copy of that vars file and PM it to me? (I can't find a banilas.vars in your Members folder and without looking at that file you're asking me to blindly guess the cause of the problem.)
  

Perfection is not possible. Excellence, however, is excellent.
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
ReplyAdd Poll Send Topic
Bookmarks: del.icio.us Digg Facebook Google LinkedIn reddit Twitter Yahoo
again the admin can not configure the forum users

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