Add Poll
 
Options: Text Color Split Pie
 
 
 
 
 
 
 
 
Poll Comment:
Max 500 characters. Remaining characters:
days and minutes. Leave it blank if you don't want to set it now.

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
Topic Summary - Displaying 11 post(s). Click here to show all
Posted by: Rucola
Posted on: Dec 10th, 2017 at 9:06pm

all worked out-thank you cordially, accidentally found this bug
Posted by: Rucola
Posted on: Dec 10th, 2017 at 8:59pm
Обнаружена Ошибка! Use of uninitialized value in split at ./Sources/Profile.pm line 3050
Posted by: Dandello
Posted on: Dec 10th, 2017 at 8:43pm
No.
Code (Perl)
Select All
if ( ${ $uid . $user }{'position'} && $av_gr eq ${ $uid . $user }{'position'} ) {  


and
Code (Perl)
Select All
for ( split /,/xsm, ${ $uid . $user }{'addgroups'} || q{} ) {  



BTW - the list of groups that can upload avatars is for the groups that can HAVE uploaded avatars.
Posted by: Rucola
Posted on: Dec 10th, 2017 at 8:35pm
if ( $av_gr eq ${ $uid . $user }{'position'} || q{}  ) {

correct?
Posted by: Rucola
Posted on: Dec 10th, 2017 at 8:28pm
Обнаружена Ошибка! Use of uninitialized value in string eq at ./Sources/Profile.pm line 3046.

thank you you can go, but after editing does not allow to save now

if ( $av_gr eq ${ $uid . $user }{'position'} ) {
Posted by: Dandello
Posted on: Dec 10th, 2017 at 8:08pm
Code (Perl)
Select All
            for ( split /,/xsm, ${ $uid . $user }{'addgroups'} || q{} ) { 



It's in 2 places
Posted by: Rucola
Posted on: Dec 10th, 2017 at 6:13pm
sub edit_avatar {
    if ( $allowpics && $upload_useravatar && $upload_avatargroup ) {
        $upload_useravatar = 0;
        foreach my $av_gr ( split /,\s/xsm, $upload_avatargroup ) {
            if ( ${ $uid . $user }{'position'} && $av_gr eq ${ $uid . $user }{'position'} ) {
                $upload_useravatar = 1;
                last;
            }
            for ( split /,/xsm, ${ $uid . $user }{'addgroups'} ) {
                if ( $av_gr eq $_ ) { $upload_useravatar = 1; last; }
            }
        }
    }
Posted by: Rucola
Posted on: Dec 10th, 2017 at 6:05pm
Обнаружена Ошибка! Use of uninitialized value in split at ./Sources/Profile.pm line 2599
Posted by: Dandello
Posted on: Dec 10th, 2017 at 5:25pm
In Profile.pm find both instances of
Code (Perl)
Select All
if ( $av_gr eq ${ $uid . $user }{'position'} ) { 

and replace with
Code (Perl)
Select All
if ( ${ $uid . $user }{'position'} && $av_gr eq ${ $uid . $user }{'position'} ) { 

Posted by: Rucola
Posted on: Dec 10th, 2017 at 3:10pm

bug when trying to edit Admin profile member-pops up the above error-not only for banned and when the Admin tries to edit the profile of the participant-the other tabs work correctly
Posted by: Rucola
Posted on: Dec 10th, 2017 at 3:04pm
Обнаружена Ошибка! Use of uninitialized value in string eq at ./Sources/Profile.pm line 2595.