SMFHacks.com

SMF Gallery Pro => Support => Topic started by: briankstan on February 16, 2008, 11:44:55 pm

Title: Bulk Upload Qustions
Post by: briankstan on February 16, 2008, 11:44:55 pm
Administrators don't have to fill in the titles during Bulk Uploads correct?

other users have to fill in titles.  Is there a way to make it so they don't?

one of my users is having this a bulk upload problem.  it works for me when I login with an account with the same rights and permissions.   this is the error he received as he explained it.

Quote from: User
When The computer gets the bulk pictures loaded  it used to say "files uploaded" it now  goes to "can't display webpage"

thanks for your help and info.
Title: Re: Bulk Upload Qustions
Post by: SMFHacks on February 17, 2008, 09:24:26 am
If you want to disable requiring of titles requires a little editing.
Open Sources/Gallery.php
Find and remove
Code: [Select]
if ($_REQUEST['title'][$n] == '' && $g_manage == false)
{
$errors .= $txt['gallery_bulk_notitle'] . ($n+1) . '<br />';
continue;
}

For the second issue find out how large of picture the user is trying to upload, size, height, width, their internet connection speed, and last check the forum error log for any relevant errors.
Title: Re: Bulk Upload Qustions
Post by: iosarian on February 18, 2008, 09:43:34 am
I have problem with bulk upload in user galleries. It seems that the admins don't have permision: "You do not have permission to manage this members gallery."
Title: Re: Bulk Upload Qustions
Post by: SMFHacks on February 18, 2008, 06:50:52 pm
Only the user themselves are allowed to upload to their gallery otherwise they might start to wonder why pictures are appearing in their gallery.
Title: Re: Bulk Upload Qustions
Post by: iosarian on February 19, 2008, 01:36:23 pm
 :) Yes but at the same time the admins have persmission to add picture not using bulk upload.
Title: Re: Bulk Upload Qustions
Post by: SMFHacks on February 19, 2008, 08:17:44 pm
Open Sources/Gallery.php
Find
Code: [Select]
if ($row1['ID_MEMBER'] != $ID_MEMBER)
fatal_error($txt['gallery_user_noperm']);
Change to
Code: [Select]
$g_manage = allowedTo('smfgallery_manage');
if ($row1['ID_MEMBER'] != $ID_MEMBER && $g_manage == false)
fatal_error($txt['gallery_user_noperm']);