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: Album Number  (Read 2965 times)

0 Members and 1 Guest are viewing this topic.

mtrailer

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Album Number
« on: May 01, 2014, 11:43:28 pm »

I assume this is a very basic question.

I am attempting to add the email upload option that is now closed in another area.

Everything "seems" to be correct, but the one thing I am unsure of is the album #.  I do not know how to set it or to determine what is already there.

Thanks for the assistance in advance.

Martin
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Album Number
« Reply #1 on: May 02, 2014, 09:25:20 am »

Please post a link to the mod you want to apply. If you just want to find out the album ID of a particular album, check your browser's address bar when viewing the thumbnail page. It will look like
Quote
http://coppermine-gallery.net/demo/cpg15x/thumbnails.php?album=3
where "3" is the album ID.
Logged

mtrailer

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Album Number
« Reply #2 on: May 02, 2014, 08:26:57 pm »

André

Thank you for the reply.

First, this is all a bit over my head.

Here is the link to the mod I am attempting to get working.

http://forum.coppermine-gallery.net/index.php/topic,33950.0.html

It is basically 3 files inserted into the root file.  Based on reading the thread, I just need to change a few things and it should all work.  I have, or I should say I thought so.

I have tried repeatedly and what I thought was my weak spot was the album number.  I did figure it out correctly, but to no avail yet.

I would like to post the files here, but since I all new to this I don't know if that is permitted.

Thanks again.

Martin
Logged

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 785
    • GMC Design Photo Gallery
Re: Album Number
« Reply #3 on: May 03, 2014, 03:56:14 pm »

Unfortunately the mod you refer to was written pre CPG 1.5 - and has been unsupported since 2008.
While I actually have a use for a mod like this, I don't currently have the time to invest in it.

I don't know if anyone else would be willing. The original contributor hasn't been on in for 6 months, and said in thread he was no longer supporting.
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

mtrailer

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Album Number
« Reply #4 on: May 05, 2014, 09:08:19 pm »

Thanks for responding Greg.

First, should I start a new subject thread?

I would like to get this function to work, but unsure what, whom, where to get it going.

Is there any info regarding the major differences re; 1.4 and 1.5?

Any suggestions would be appreciated.

thanks again in advance.

Martin
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Album Number
« Reply #5 on: June 16, 2014, 12:53:30 pm »

Is there any info regarding the major differences re; 1.4 and 1.5?
The main difference things won't work in cpg1.5.x that has been working is the Sanitization of Superglobals using Inspekt.

In newcam.php you'll find
Code: [Select]
$filepath=$_SERVER["DOCUMENT_ROOT"]."/albums/pix/";(which contains a superglobal and furthermore just support galleries which reside in the document root).

Try if it works with
Code: [Select]
$filepath="./albums/pix/";or
Code: [Select]
$filepath="albums/pix/";or
Code: [Select]
$superCage = Inspekt::makeSuperCage();
$filepath=$superCage->server->getRaw('DOCUMENT_ROOT')."/path/to/your/cpg/directory/albums/pix/";
Logged

mtrailer

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Album Number
« Reply #6 on: June 27, 2014, 09:48:05 pm »

Thank you.

I will give it a try later and let you know what/if it works.

Thanks again.

Martin
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.