Jump to content

Recommended Posts

Posted

Hi,

 

I am currently using Coppermine for my image gallery, and right now I'm trying to install a hack that will allow me to sort pictures by the date the picture was taken on rather than on the upload date.

 

The hack itself can be found at http://coppermine.sourceforge.net/board/in...hp?topic=9360.0

 

However, the first step of the hack is really confusing me. It says to alter the picture table and add a ptime after ctime that is an int. Then, there is a box of code...but then it doesn't look a lot like code in a way.

>ALTER TABLE `{$CONFIG['TABLE_PICTURES']}` ADD `ptime` INT NOT NULL AFTER `ctime`;

I tried to go into phpMyAdmin to change things. I have found the ctime value under the properties of the picture table cpg132_pictures. So, how do I add a ptime under it? What am I supposed to do? I am utterly confused by phpMyAdmin and this person's instructions.

 

Thanks for reading. :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...