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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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