PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   question about extra options (http://www.photopost.com/forum/photopost-pro-how-do-i/121542-question-about-extra-options.html)

s2kinteg916 December 14th, 2005 12:51 PM

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

Chuck S December 15th, 2005 09:42 AM

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

}

wfcmod September 3rd, 2006 06:30 AM

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??

Chuck S September 3rd, 2006 09:09 AM

uploadphoto.tmpl THE TEMPLATE

wfcmod September 3rd, 2006 09:24 AM

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.

Chuck S September 3rd, 2006 09:29 AM

Code:

Content visible to verified customers only.

wfcmod September 3rd, 2006 09:46 AM

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97