PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 2nd, 2007, 08:41 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2007
Posts: 28
Problem with upload limit for some users

I am puzzled as some of my users have problem with uploading of pictures.
They uploaded picture in gallery and everything was fine. I have set limit 1 picture per day.

When they try to upload picture next day they can't, because system thinks that they already uploaded picture.

If it was only one user I would not be worried. I decided to make sure that user are not doing or reading something wrong.

I logged in under username with the problem. I checked vBulletin before that and this user last logged in two days ago. There is no way he could upload anything and sure enough his Daily limit was already used.
Today sent - 1 ?????

How is that possible and how do I solve this problem?

Thank you for any advice. It has been happening for some time (few months).

I am running latest Photopost Pro with vBulletin.

Thank you Charles
Charles_cz is offline   Reply With Quote
Old July 3rd, 2007, 04:52 PM   #2 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
That is strange; the query for checking this is pretty straight forward (line 134 in uploadphoto.php); it checks for any photos uploaded by a specific user over the past 24 hours.

Can you run a manual query?

Code:
Content visible to verified customers only.
Adding a prefix if you have one for photos and substituting ## for the user id for the user.
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old July 3rd, 2007, 06:53 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2007
Posts: 28
Unhappy Yes I can...

It returns 0... which is right. I tried different user that uploaded image today just to make sure that I did it right.

When I go to try upload under problematic username I see limit 1 picture per day. Today sent - 1 but manual query for that user returns 0.


When you try to upload it will tell you that you already used your limit for today.

Not sure how come there is different result when I run manual query and when Photopost does the job.

Like I said before, it is just three or four users now. It did not happed overnight. It started with one, then after long time there was another one etc. I do not have that many users yet (about 100) but I can't imagine that for every 100 users there will be 4 with this type of problem.

Last edited by Charles_cz; July 3rd, 2007 at 06:59 PM.
Charles_cz is offline   Reply With Quote
Old July 3rd, 2007, 07:39 PM   #4 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
I'm not sure why that message would appear since 0 is not >= 1 (as per the code in uploadphoto.php); assuming 0 is being returned, I don't see how it could be because line 137 is only checked is $User['uploadlimit'] is > 0 and the number returned by that query is = or greater than that uploadlimit.

In other words, it doesn't make sense why it would be triggered.

Change line 140 in uploadphoto.php:

diewell($Globals['pp_lang']['uplimit']);

to read:

diewell($uploadchk . " -- " . $User['uploadlimit']);

to see what those two values are (change it back when we are done to the default).
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Old July 3rd, 2007, 09:25 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2007
Posts: 28
I found
diewell($Globals['pp_lang']['uplimit']);

and replaced with

diewell($uploadchk . " -- " . $User['uploadlimit']);

I did not get what I was supposed to look for. :-( Error message?

Anyway, I decided to change the language to default language English. I found out that I did translated words incorrectly and I was under impression that I saw "Uploaded images" but instead it was "Images in your queue:"

That of course changes situation. I guess for some reason some of those users have image in queue which is uploaded but not processed? Is that right?

I was able to process the image and finish the task by accident. Is there any button or link to finish up image in queue?

As I see it people uploaded picture but did not finish it. Then they tried to select new picture or same with another picture in queue. Of course they got the error message about the limit. They do not see uploaded image in gallery but can't upload any more pictures.

What is the correct way to see the picture in the queue and finish up posting?

Thanks and sorry for misleading info... Charles
Charles_cz is offline   Reply With Quote
Old July 4th, 2007, 07:15 AM   #6 (permalink)
PhotoPost Developer
Verified Customer
 
Join Date: Jan 2002
Posts: 11,834
You can process the images in your queue by clicking on upload photo and not selecting any photos to upload (the number of photos in your queue is indicated on the upload page).
__________________
Please do not PM me for support or sales questions. Thank you for your understanding.
Michael P is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
upload limit problem(fixed) quasan Photopost Pro Bug Reports 30 June 9th, 2006 01:35 PM
Limit users to 10 MB...? SuperGLS Before You Buy 2 May 1st, 2005 10:32 PM
Daily upload limit O = Unlimited for users? mjm Photopost Pro How Do I...? 2 February 3rd, 2005 11:53 AM


All times are GMT -5. The time now is 04:23 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0