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 February 13th, 2009, 08:05 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 122
Unregistered Uploads

I have enabled unregistered members to upload.

I just noticed that everytime an unregistered person uploads an image it creates a blank user. Basically they have no name or anything.

The question I have is why does it create a user in the user table?

Oh, I'm using photopost by itself (internal registrations).

Since I'm allowing unregistered guest to upload, my user table is going to be HUGE! Plus, the stats will show a LOT of bogus members.

There's a good reason why I'm allowing unregged people to upload.

Chuck any ideas? Thanks!
ski-whiz is offline   Reply With Quote
Old February 14th, 2009, 09:47 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Not sure what your referring to your user table is going to be huge, the user table is updated via userid and guests are userid 0 so its only one entry that goes in there.

As far as by default putting a name like unregistered on the user try adding this line in bold on photopost.php file

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 15th, 2009, 06:57 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 122
What I'm referring to is, is that I allow unregistered members to upload photos.

When someone who is unregistered uploads a photo, it coulds that upload as a member. So if I log out, upload a file, my member count will be +1. So for every unregistered upload I will have a user added to the table.
ski-whiz is offline   Reply With Quote
Old February 15th, 2009, 09:01 AM   #4 (permalink)
Ultimate Member
 
Join Date: Jun 2007
Location: Texas
Posts: 1,362
Send a message via Yahoo to skidpics
Chuck, I think I had a similar problem back when I install PP standalone - I had blank users in my database showing up right and left ;-) I mentioned it, but we never got to troubleshoot this issue..
skidpics is offline   Reply With Quote
Old February 15th, 2009, 09:51 AM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
There are not multiple user entries entered for every photo upload that I am seeing here in the code.

The userid is defaulted to 0 I show in the specific integration so this query here in image-inc.php which inserts the user record is here.

Code:
Content visible to verified customers only.
That should translate into this.

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 15th, 2009, 09:54 AM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Basically mysql is making up a new userid based on the auto increment which does not matter essentially. You can comment out this line in image-inc.php to see if it helps stop that

Code:
Content visible to verified customers only.
There should be nothing harmful though with having users in your users table.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old February 17th, 2009, 05:02 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Dec 2005
Posts: 122
I'll give it a try and let ya know.

Last edited by ski-whiz; February 17th, 2009 at 08:26 PM.
ski-whiz is offline   Reply With Quote
Old February 17th, 2009, 08:34 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
or surround that query with an if clause like this

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Member Uploads being shown under "Unregistered" JoeThaMan Installs and Upgrade - vBulletin 3.6x 6 December 2nd, 2007 04:59 AM
Upgrade RP 3.11 to 3.3: new uploads do not show in recent uploads on index page snoopy5 ReviewPost Installation & Upgrades 2 April 27th, 2006 08:04 AM
Photos and comment Stats Don't report unregistered uploads and comments Johnny Doomo Photopost Pro Bug Reports 7 October 12th, 2005 04:48 PM
Unregistered and uploads steffonator Classifieds Bug Reports 4 October 5th, 2004 03:23 PM


All times are GMT -5. The time now is 12:46 PM.

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