upload with no login or gallery selection? upload with no login or gallery selection?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

upload with no login or gallery selection?

Started by ShadowHarlequin, July 02, 2007, 02:33:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ShadowHarlequin

Hi i was wondering how i could get a form on a page ive made, that has a single text box and browse, upload buttons, ive created a public access account on my gallery but i wanted users to simple upload their file and not have to login/see the main page

i couldnt find a mod to do this :S i guess you would predefine the user account and gallery to upload the images to but im not that great at it

if anyone could point me in the right direction that would be cool, but it might be something to include in a future release too

<posted here after posting in wrong board>

Stramm

Why not just allow anonymous users to upload (group control panel)? This way you at least could enable approval (you check uploads before setting them live).

ShadowHarlequin

well i really wanted an iframe to load BELOW the gallery slider (http://www.itheme.co.nr click the themes icon, then the gallery link)
and just allow a single upload from there
any ideas?

Stramm

No mod, hack, plugin afaik. You'll have to code this.

ShadowHarlequin

hmm would you be able to give me a point in the right direction at all?
it seems like a big task for someone who doesnt really knwo what theyre doing
thanks

Stramm

For a start I'd look at upload.php and see how the CPG upload works at all

Joachim Müller

Not an easy task for a newbie to come up with a working upload form. If it was easy, Stramm would have shown you the code. The fact that he didn't come up with such code in the first place should give you an idea why he told you to code it yourself: it requires some skills and some hours of coding and testing. It's comparatively easy to come up with the HTML code for the form; the difficult part is the server-side (the part of the code that gets executed when the form is actually being submit).
Not a matter of uploading stuff, but a matter of custom code/skinning. Moving from uploads sub-board to themes/skins/templates sub-board.