Author Topic: Change Album-String.txt  (Read 2870 times)

0 Members and 1 Guest are viewing this topic.

Offline Sunlizzard

  • album.pl Donor
  • album.pl Tester
  • **
  • Posts: 37
  • Karma: +1/-0
    • King Lizzard: Las Vegas' Godfather of Metal
Change Album-String.txt
« on: June 09, 2004, 10:44:23 »
Hey Mike, long time no talk to!
Question:  Album.pl is set up to do the picture/movie/album count as such-       *(40,0,3)
Most people don't know what that's about so I changed it to-     pics/movies/albums (40,0,3)

Anyway it can be modified to show-  Pics (40) Movies (0) Albums (3)

 ???

I'm trying to make my gallery as easy to understand as possible. Thanks again.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Change Album-String.txt
« Reply #1 on: June 09, 2004, 17:43:30 »
Sounds reasonable... For the time being, try this. Change

Code: [Select]
$count_html.="$::S{75}";
if ($::showcount)
{
$count_html.="$photocount";
}
if ($::showcount && $::showmoviecount)
{
$count_html.=", ";
}
if ($::showmoviecount)
{
$count_html.="$moviecount";
}
if ($::showmoviecount && $::showsubalbumcount || $::showsubalbumcount && $::showcount)
{
$count_html.=", ";
}
if ($::showsubalbumcount)
{
$count_html.="$subalbumcount";
}
$count_html.="$::S{76}";
}

to this:

Code: [Select]
if ($::showcount)
{
$count_html.="$::S{260} $::S{75}$photocount$::S{76}";
}
if ($::showcount && $::showmoviecount)
{
$count_html.=" ";
}
if ($::showmoviecount)
{
$count_html.="$::S{216} $::S{75}$moviecount$::S{76}";
}
if ($::showmoviecount && $::showsubalbumcount || $::showsubalbumcount && $::showcount)
{
$count_html.=" ";
}
if ($::showsubalbumcount)
{
$count_html.="$::S{259} $::S{75}$subalbumcount$::S{76}";
}
}

Cheers

Offline Sunlizzard

  • album.pl Donor
  • album.pl Tester
  • **
  • Posts: 37
  • Karma: +1/-0
    • King Lizzard: Las Vegas' Godfather of Metal
Re: Change Album-String.txt
« Reply #2 on: June 09, 2004, 20:51:49 »
Thanks Mike!
Had to tweak two minor things...

Code: [Select]
if ($::showmoviecount)
{
$count_html.="$::S{216} $::S{75}$moviecount$::S{76}";
}
Line 216 is "Move Photo," so I created a line 337 and added "Movies" to the album-strings.txt, and second is I added a line break before
Code: [Select]
<!-- Counters (Photos, Albums, Movies) -->
<sup>
####SHOWCOUNT####
</sup>
so it would show on a different line than the album title.
Anyway, just sent 20CAD your way for your time.
Thanks again.
« Last Edit: June 09, 2004, 20:53:24 by Sunlizzard »

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Change Album-String.txt
« Reply #3 on: June 09, 2004, 21:55:53 »
Glad it worked out (after the fixes...)

And thanks for the support... AGAIN!