Advanced search  

News:

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

Pages: 1 [2]   Go Down

Author Topic: Additional Custom Fields  (Read 29132 times)

0 Members and 1 Guest are viewing this topic.

Stevo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 86
Re: Additional Custom Fields
« Reply #20 on: May 13, 2009, 02:05:08 pm »

nice to know that you don't want to help.
What is then the use of a forum and support?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Additional Custom Fields
« Reply #21 on: May 14, 2009, 08:24:20 am »

It's my choice to respond to some requests and not to respond to others. Your flame is lame and inappropriate. It definitely doesn't belong into this thread. Stop this silly meta discussion in this thread immediately!
Logged

Stevo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 86
Re: Additional Custom Fields
« Reply #22 on: October 24, 2010, 07:34:10 pm »

Open: image_processor.php
Find:
Code: [Select]
global $user1;
global $user2;
global $user3;
global $user4;

Add below:
Code: [Select]
global $user5;
global $user6;
global $user7;
global $user8;
global $user9;
global $user10;
global $user11;
global $user12;
global $user13;
global $user14;
global $user15;
global $user16;
global $user17;
global $user18;
global $user19;
global $user20;

Find:
Code: [Select]
print "<input type=\"hidden\" name=\"user1\" value=\"$user1\" />";
print "<input type=\"hidden\" name=\"user2\" value=\"$user2\" />";
print "<input type=\"hidden\" name=\"user3\" value=\"$user3\" />";
print "<input type=\"hidden\" name=\"user4\" value=\"$user4\" />";

Add below:
Code: [Select]
print "<input type=\"hidden\" name=\"user5\" value=\"$user5\" />";
print "<input type=\"hidden\" name=\"user6\" value=\"$user6\" />";
print "<input type=\"hidden\" name=\"user7\" value=\"$user7\" />";
print "<input type=\"hidden\" name=\"user8\" value=\"$user8\" />";
print "<input type=\"hidden\" name=\"user9\" value=\"$user9\" />";
print "<input type=\"hidden\" name=\"user10\" value=\"$user10\" />";
print "<input type=\"hidden\" name=\"user11\" value=\"$user11\" />";
print "<input type=\"hidden\" name=\"user12\" value=\"$user12\" />";
print "<input type=\"hidden\" name=\"user13\" value=\"$user13\" />";
print "<input type=\"hidden\" name=\"user14\" value=\"$user14\" />";
print "<input type=\"hidden\" name=\"user15\" value=\"$user15\" />";
print "<input type=\"hidden\" name=\"user16\" value=\"$user16\" />";
print "<input type=\"hidden\" name=\"user17\" value=\"$user17\" />";
print "<input type=\"hidden\" name=\"user18\" value=\"$user18\" />";
print "<input type=\"hidden\" name=\"user19\" value=\"$user19\" />";
print "<input type=\"hidden\" name=\"user20\" value=\"$user20\" />";

Find:
Code: [Select]
        $user1    = $_POST['user1'];
        $user2    = $_POST['user2'];
        $user3    = $_POST['user3'];
        $user4    = $_POST['user4'];

Add below:
Code: [Select]
$user5    = $_POST['user5'];
$user6    = $_POST['user6'];
$user7    = $_POST['user7'];
$user8    = $_POST['user8'];
$user9    = $_POST['user9'];
$user10    = $_POST['user10'];
        $user11    = $_POST['user11'];
        $user12    = $_POST['user12'];
        $user13    = $_POST['user13'];
        $user14    = $_POST['user14'];
$user15    = $_POST['user15'];
$user16    = $_POST['user16'];
$user17    = $_POST['user17'];
$user18    = $_POST['user18'];
$user19    = $_POST['user19'];
$user20    = $_POST['user20'];

Find:
Code: [Select]
        $user1    = $_POST['user1'];
        $user2    = $_POST['user2'];
        $user3    = $_POST['user3'];
        $user4    = $_POST['user4'];

Add below:
Code: [Select]
$user5    = $_POST['user5'];
$user6    = $_POST['user6'];
$user7    = $_POST['user7'];
$user8    = $_POST['user8'];
$user9    = $_POST['user9'];
$user10    = $_POST['user10'];
        $user11    = $_POST['user11'];
        $user12    = $_POST['user12'];
        $user13    = $_POST['user13'];
        $user14    = $_POST['user14'];
$user15    = $_POST['user15'];
$user16    = $_POST['user16'];
$user17    = $_POST['user17'];
$user18    = $_POST['user18'];
$user19    = $_POST['user19'];
$user20    = $_POST['user20'];

Find:
Code: [Select]
                print "<input type=\"hidden\" name=\"user1\" value=\"$user1\" />";
                print "<input type=\"hidden\" name=\"user2\" value=\"$user2\" />";
                print "<input type=\"hidden\" name=\"user3\" value=\"$user3\" />";
                print "<input type=\"hidden\" name=\"user4\" value=\"$user4\" />";

Add below:
Code: [Select]
print "<input type=\"hidden\" name=\"user5\" value=\"$user5\" />";
print "<input type=\"hidden\" name=\"user6\" value=\"$user6\" />";
print "<input type=\"hidden\" name=\"user7\" value=\"$user7\" />";
print "<input type=\"hidden\" name=\"user8\" value=\"$user8\" />";
print "<input type=\"hidden\" name=\"user9\" value=\"$user9\" />";
print "<input type=\"hidden\" name=\"user10\" value=\"$user10\" />";
print "<input type=\"hidden\" name=\"user11\" value=\"$user11\" />";
                print "<input type=\"hidden\" name=\"user12\" value=\"$user12\" />";
                print "<input type=\"hidden\" name=\"user13\" value=\"$user13\" />";
                print "<input type=\"hidden\" name=\"user14\" value=\"$user14\" />";
print "<input type=\"hidden\" name=\"user15\" value=\"$user15\" />";
print "<input type=\"hidden\" name=\"user16\" value=\"$user16\" />";
print "<input type=\"hidden\" name=\"user17\" value=\"$user17\" />";
print "<input type=\"hidden\" name=\"user18\" value=\"$user18\" />";
print "<input type=\"hidden\" name=\"user19\" value=\"$user19\" />";
print "<input type=\"hidden\" name=\"user20\" value=\"$user20\" />";

Save & Close : image_processor.php


I'm still using 1.4.27 due to some plugins who are not working yet in 1.5.8
But I can't find these lines in the image_processor  (I know it was available in previous 1.4.XX releases)


Thx Stevo


Logged

FrA1l3

  • Translator
  • Coppermine novice
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 20
Re: Additional Custom Fields
« Reply #23 on: May 16, 2014, 01:11:32 pm »

Hello,

Sorry for this answer because this post so old, but I want to thank the people who have helped with this because I was unable to make this change to my CP 1.5.28 uncomplicated.

To clarify , the file image_processor.php no longer exists in this version, and apart from the instructions on the thread, it is also necessary to modify these files:
include/admin.inc.php
include/functions.inc.php
basic.sql

The result:
(http://i.imgur.com/u2XEwoB.png)
(http://i.imgur.com/aZpvzTj.png)
(http://i.imgur.com/AEMnYBa.png)

Sorry for my bad english, I'm spanish.
Thank you.
Logged

FrA1l3

  • Translator
  • Coppermine novice
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 20
Re: Additional Custom Fields
« Reply #24 on: August 22, 2015, 11:34:13 am »

Hello,

This mod works perfectly on CPG 1.5.38 version.
Logged

kelklope

  • Coppermine newbie
  • Country: 00
  • Offline Offline
  • Posts: 2
    • Cigarette electronique prix
Re: Additional Custom Fields
« Reply #25 on: November 22, 2016, 06:35:12 am »

Hello,

This mod works perfectly on CPG 1.5.38 version.

agree i just tested it and works perfect. nice job  :)

FrA1l3

  • Translator
  • Coppermine novice
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 20
Re: Additional Custom Fields
« Reply #26 on: April 27, 2017, 10:07:12 am »

Hello,

This mod still works perfectly in the version CPG 1.5.46.  ;)
Logged

FrA1l3

  • Translator
  • Coppermine novice
  • **
  • Country: es
  • Offline Offline
  • Gender: Male
  • Posts: 20
Re: Additional Custom Fields
« Reply #27 on: September 17, 2017, 09:06:09 pm »

Mod still working on 1.6.03  :)
Logged
Pages: 1 [2]   Go Up
 

Page created in 0.036 seconds with 21 queries.