Additional "info" text for anon picture uploaders. Additional "info" text for anon picture uploaders.
 

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

Additional "info" text for anon picture uploaders.

Started by linuxhata, November 01, 2005, 08:57:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

linuxhata

Hello. I need such thing. I've searched hacks page, but have no luck. Is such thing possible?  I want anon users to recieve such text when they click UPLOAD.

Stramm

What exactly are you looking for? Give an example please

linuxhata

for example, anon user clicked at "upload picture" link.

when he gets to upload page, here's an text which I can specify, and checkbox "I agree"

Joachim Müller

edit upload.php, find//################################# MAIN CODE BLOCK ##################################################and add after it (in a new line):if (USER_ID) {
    // user is logged in
} else {
    // user is not logged in
    echo 'I agree to whatever there is to agree to';
}
(not tested).

linuxhata