 |
 |
 |
 |
#203011 - 06/28/04 01:06 AM
Re: [6.7] [beta] UBB.Uploader
|
Wizard
Registered: 01/10/00
Posts: 5123
Loc: Portland, OR, USA
Add to del.icio.us
Digg it
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#203013 - 07/06/04 03:20 AM
Re: [6.7] [beta] UBB.Uploader
|
Member
Registered: 03/19/01
Posts: 67
|
Originally posted by Ian Spence: Looking at the code I believe Tim is right. Tim, try removing next if($_ eq 'megamoderators' && !&FileExists("$vars_config{VariablesPath}/vars_megamods.cgi"));and then make sure to fill in the new fields Any more news on this? I have the same problem and tried this soloution but it left a blank line where the megamoderators would have been, if i remove the megamoderators bit from the above qw line the problem returns. Thanks
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#203016 - 07/18/04 01:26 PM
Re: [6.7] [beta] UBB.Uploader
|
Master Hacker
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
|
Brett, in cp2_editprofile.pl, I think it'd be better if it went like this {
name => $vars_wordlets_cp2{'upload-_-profile-reg'},
value => 'reg',
selected => ($profile[70] =~ m/reg/ || $profile[70] eq "") ? 1 : 0,
},
{
name => $vars_wordlets_cp2{'upload-_-profile-no'},
value => 'no',
selected => ($profile[70] !~ m/^(all|reg)$/ && ($profile[70]))? 1 : 0,
},that way it'll default to use user group, instead of not allowing the user to upload
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#203019 - 07/23/04 09:36 AM
Re: [6.7] [beta] UBB.Uploader
|
Master Hacker
Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
|
delete vars_misc::upload_megamoderators
vars_misc::upload_avatar_megamoderators
vars_misc::upload_limit_megamoderators
vars_misc::upload_filelimit_megamoderators delete q!upload_megamoderators! => { type => "checkbox", private => 1, req => 0, },
q!upload_avatar_megamoderators! => { type => "checkbox", private => 1, req => 0, },
q!upload_limit_megamoderators! => { type => "text", private => 1, req => -1, },
q!upload_filelimit_megamoderators! => { type => "text", private => 1, req => -1, },change foreach(qw(administrators megamoderators moderators senior_members junior_members)) {to foreach(qw(administrators moderators senior_members junior_members)) {
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|