forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: linuxhata on November 01, 2005, 08:57:11 pm
-
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.
-
What exactly are you looking for? Give an example please
-
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"
-
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).
-
Thanks, will try it in a minutes