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 May 5th, 2005, 01:19 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 20
Making Login Not Required

Hello,
Is there a way to make it so that the user doesn't have to be registered to post photos to my gallery? I'm trying to set the permissions to allow uploads for anonymous users but I get this error after inputing a description at the final step of the upload process:

Database error! Please report to System Administrator.

INSERT INTO pp_photos (id,user,userid,cat,date,title,description,keywords,bigimage,width,height,filesize,medwidth,medheight,medsize,approved,lastpost, watermarked,allowprint,extra1,extra2,extra3,extra4,extra5,extra6,ipaddress) values(NULL,'', , 511, 1115313513, 'striper', 'Look at the size of this fish!', '', 'striper.jpg', 640, 480, 36116, 600, 450, 36344, 1, 1115313513, 'no','no','','','','','','','209.33.214.146')

Any idea what is going on and how do fix it? THANKS

Jeff
sneekee is offline   Reply With Quote
Old May 5th, 2005, 02:49 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
What version of Photopost you using? Unregistered users can upload if you allow it.

What integration?
__________________
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 May 5th, 2005, 02:57 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 20
latest version...phpbb2 integration..

www.sneekeetalk.com/galleries

thanks
Jeff
sneekee is offline   Reply With Quote
Old May 5th, 2005, 06:17 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Interesting. I tried this on another phpbb site and have no issue. I will do more testing but I dont understand why your userid and username are empty in the query to insert the name

This code is right in the phpbb2 integration file and is standard in every integration we use. If a user is a guest or not logged in $gologin=0. There is the code in the function authenticate which is used in every file basically.

if ( $gologin == 1 ) {
$User['username'] = $Globals['pp_lang']['unreg'];
$User['userid'] = 0;
$Globals['offset'] = $Globals['gmtoffset'];
}

This tells the program the $User['username'] will be Unregistered and $User['userid'] = 0

Thus in image-inc.php $iuser and $upuserid are set to those $User variables
__________________
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 May 5th, 2005, 06:22 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2005
Posts: 20
hmm definately makes sense...not sure what it's doing on my site if you could look into it more I would appreciate it.
sneekee is offline   Reply With Quote
Old May 5th, 2005, 06:43 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
At the bottom of your index.php file place this before the end ?>

echo"My Username is {$User['username']}<br />My Userid is {$User['userid']}";

If your logged in it should say at the bottom of your page your username and userid

If your logged out at the bottom of your page should be this

My Username is Unregistered
My Userid is 0
__________________
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
Making A Dating Service From PP.... Vman Photopost Pro How Do I...? 2 February 21st, 2005 03:46 PM
Making Photopost look more like my forum... mightyjlr Photopost Pro Installation & Upgrades 1 October 19th, 2004 02:58 PM


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

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