Advanced search  

News:

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

Pages: 1 [2]   Go Down

Author Topic: Changing the value of $counter_text  (Read 9583 times)

0 Members and 1 Guest are viewing this topic.

mainpower

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
    • Photo album of ... (with CPG)
Re: Changing the value of $counter_text
« Reply #20 on: September 11, 2006, 09:25:54 pm »

I am really looking forward to this but would it be usable for other than thumpnails as well ???
More like a footer ...

Logged

Nibbler

  • Guest
Re: Changing the value of $counter_text
« Reply #21 on: September 11, 2006, 09:26:43 pm »

File is incomplete. See for yourself.
Logged

Muurvaren

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • Muurvaren, digitale fotografie
Re: Changing the value of $counter_text
« Reply #22 on: September 12, 2006, 08:20:43 pm »

File is incomplete. See for yourself.

I did check, what is missing in you’re opinion?  I compared my file with the thumnails.php from CPG 1.4.9 and see no difference accept you’re additional code...  ???

Logged

Nibbler

  • Guest
Re: Changing the value of $counter_text
« Reply #23 on: September 12, 2006, 09:24:25 pm »

It ends in the middle of a word.

Code: [Select]
if (is_numeric($album)){

$sql = "SELECT title FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid = $album";

$result = cpg_db_query($sql);

list($album) = mysql_fetch_r
Logged

Muurvaren

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 37
    • Muurvaren, digitale fotografie
Re: Changing the value of $counter_text
« Reply #24 on: September 12, 2006, 09:45:39 pm »

It ends in the middle of a word.

Code: [Select]
if (is_numeric($album)){
    $sql = "SELECT title FROM {$CONFIG['TABLE_ALBUMS']} WHERE aid = $album";
    $result = cpg_db_query($sql);
    list($album) = mysql_fetch_r

I just downloaded my earlier submitted file and (double) checked, its complete!

As the one on my website.

Logged
Pages: 1 [2]   Go Up
 

Page created in 0.135 seconds with 20 queries.