forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: desert_dave on December 30, 2004, 02:42:24 am

Title: Remove Album name " posted by"
Post by: desert_dave on December 30, 2004, 02:42:24 am
Hi guys!
When you click on a pic and the description comes up it shows:  who posted / album name.
Since I do all the posting to the main (no) catagory, I want to get my name out of there which
always shows as the "who posted". How do I do that without affecting the other members who may upload to thier gallery's?
TIA,
Dave
Title: Re: Remove Album name " posted by"
Post by: Joachim Müller on December 30, 2004, 01:50:32 pm
in coppermine config, set "Display uploader name below the thumbnail" to "no". If you're the only uploader, you shouldn't be using the "user galleries" to upload to, but create a public category/album structure where your pics go to, so the album name doesn't contain your user name. Post a link for details.

Joachim
Title: Re: Remove Album name " posted by"
Post by: desert_dave on December 30, 2004, 08:54:23 pm
I have the upload name set to no in the config. Still shows
But I am uploading with the "batch upload" to no catagory.
The site is at:
http://www.creatingslideshows.com/gallery

How do I work around it that way?
Tks,
dave
Title: Re: Remove Album name " posted by"
Post by: Joachim Müller on December 31, 2004, 06:34:17 am
I get
Quote
You need to be logged in to access this page. Either register for an account, or log in if you already have one.
when I try to view a pic. I won't go through registration just to be able to support you, post a test user account (non-admin).

Joachim
Title: Re: Remove Album name " posted by"
Post by: desert_dave on December 31, 2004, 09:04:09 am
I get
Quote
You need to be logged in to access this page. Either register for an account, or log in if you already have one.
when I try to view a pic. I won't go through registration just to be able to support you, post a test user account (non-admin).

Joachim

Please use login:test  pass: test for your account
-dave
Title: Re: Remove Album name " posted by"
Post by: Joachim Müller on December 31, 2004, 03:01:25 pm
edit displayimage.php, find
Code: [Select]
    $info[$lang_picinfo['Album name']] = '<span class="alblink">' . $owner_link . $ipinfo . '<a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a></span>';and replace with
Code: [Select]
    $info[$lang_picinfo['Album name']] = '<span class="alblink">' .  $ipinfo . '<a href="thumbnails.php?album=' . $CURRENT_PIC_DATA['aid'] . '">' . $CURRENT_ALBUM_DATA['title'] . '</a></span>';
Joachim
Title: Re: Remove Album name " posted by"
Post by: desert_dave on December 31, 2004, 04:39:43 pm
Thanks Gau Gau, that did it. I still get the forward slash showing. No big deal but if it can be
removed it would be nice.
-dave 
Title: Re: Remove Album name " posted by"
Post by: Joachim Müller on January 01, 2005, 10:59:23 am
Edit displayimage.php, find
Code: [Select]
            $ipinfo = '/ ';and replace with
Code: [Select]
            $ipinfo = ' ';
Joachim
Title: Re: Remove Album name " posted by"
Post by: desert_dave on January 01, 2005, 10:48:59 pm
Beautiful!
Thanks,
gau gau




SOLVED