Hi,
I have two request.
1.
Underneath the thumbnail you see the name of the uploader.
What I want is to add the word "Credit" in front of the uploaders name.
So "name uploader" ==> Credit: "name uploader"
2.
I want the album name to be visible underneath the thumnails.
And also put the word "Airport" in front of this (because my album names are always airports.
So Airport: "albumname"
Thank you....
I love coppermine.....thanks
Do you need that modification just for regular albums or also for meta albums (like "last uploads")?
I need the Credit thing on all thumbnails.
The Albumname ( with the "airport:" in front should not be visible underneath the thumbnails when displaying an album.( which is an airportname)
Thanks,
Edward
Quote from: altenae on October 25, 2011, 12:03:09 PM
I need the Credit thing on all thumbnails.
Open
include/functions.inc.php, find
$caption .= '<span class="thumb_title"><a href="profile.php?uid=' . $row['owner_id'] . '">' . $cpg_udb->get_user_name($row['owner_id']) . '</a></span>';
and replace with
$caption .= '<span class="thumb_title">Credit: <a href="profile.php?uid=' . $row['owner_id'] . '">' . $cpg_udb->get_user_name($row['owner_id']) . '</a></span>';
Quote from: altenae on October 25, 2011, 12:03:09 PM
The Albumname ( with the "airport:" in front should not be visible underneath the thumbnails when displaying an album.( which is an airportname)
Open
include/functions.inc.php, find
global $CONFIG, $THEME_DIR, $lang_date, $lang_get_pic_data, $cpg_udb;
below, add
$superCage = Inspekt::makeSuperCage();
then, find
if (in_array('msg_date', $must_have)) {
and above, add
if (!$superCage->get->testInt('album')) {
$album_name = get_album_name($row['aid']);
$caption .= '<span class="thumb_title">Airport: '.$album_name['title'].'</span>';
}
Hi,
Thank you.
This is exactly what I meant.
One question:
I don't want the Airport: Albumname to be visible underneath the lastalb thumbnails, because the Albumname is already there.
Thanks for your time.
Edward
Change
if (!$superCage->get->testInt('album')) {
to
if (!$superCage->get->testInt('album') && $mode != 'albums') {
Yes that works very very fine...
Thank you.
Edward