Advanced search  

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

Pages: [1]   Go Down

Author Topic: Additional "info" text for anon picture uploaders.  (Read 3841 times)

0 Members and 1 Guest are viewing this topic.

linuxhata

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Additional "info" text for anon picture uploaders.
« 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.
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Additional "info" text for anon picture uploaders.
« Reply #1 on: November 02, 2005, 06:46:19 pm »

What exactly are you looking for? Give an example please

linuxhata

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Additional "info" text for anon picture uploaders.
« Reply #2 on: November 04, 2005, 08:50:14 am »

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"
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Additional "info" text for anon picture uploaders.
« Reply #3 on: November 04, 2005, 08:55:52 am »

edit upload.php, find
Code: [Select]
//################################# MAIN CODE BLOCK ##################################################and add after it (in a new line):
Code: [Select]
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).
Logged

linuxhata

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 50
Re: Additional "info" text for anon picture uploaders.
« Reply #4 on: November 04, 2005, 11:01:40 am »

Thanks, will try it in a minutes
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.