![]() |
question about extra options what does this do ? "Skip upload and process" how does a regular user use that feature ? can i turn this off for registered users ? and only working for admins |
Hello that option is for bulkupload. Skip upload and process the files already in your upload directory? Basically that would mean you have set them up an ftp account to your server to upload files to. Not many people use it but it was a feature that use to be only for admin until customers requested we open this option up to users. You can remove it by surrounding the relevant place with a conditional clause to only show it for admins if ( $User['adminedit'] == 1 ) { html here } |
Hmmm it would be great to suppres this message for regular users. Can you be a bit more precise were I should add this? I assume in uploadphoto.php...but were?? |
uploadphoto.tmpl THE TEMPLATE |
OK, I found the template and tried a couple of combinations, but the only thing I get are errors. I assume this is the code: echo<<<PPPRINT <tr> <td class="{$Style['tddetails']}" align="left"><span class="{$Style['small']}">{$Globals['pp_lang']['skipupl']}</span></td> <td class="{$Style['tddetails']}" align="left"><input type="checkbox" name="skipupload" value="skipupload" /></td> </tr> $skiphtml But were do I put this??: if ( $User['adminedit'] == 1 ) { xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx } I'm sorry for the stupid question but I'm not an experienced programmer. |
Code: Content visible to verified customers only. |
Thanks a lot! Fixed :) |
| All times are GMT -5. The time now is 01:44 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0