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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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