coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: RenesCopper on May 25, 2008, 05:17:54 PM

Title: [Solved]: Album titles without User name listed
Post by: RenesCopper on May 25, 2008, 05:17:54 PM
On the information display below the individual image I want to display just the album title but without the name of the user who uploaded it (since I will be the only one uploading pics to public/any albums.) I have studied the documentation and searched the forums. Or can I change the name to a nickname? It is my admin name and do not want it displayed anywhere on the site for the public or for even registered users.
example: Album name:   USER / Annunciation Street
I found an older post on this topic. but there was no answer/solution.

I am not easy with manual upgrades and am still running version 1.4.16. Am ready to try, but... need this solved first.

Thanks.
Title: Re: Album titles without User name listed
Post by: Hein Traag on May 25, 2008, 06:03:36 PM
You need to upgrade first to 1.4.18 asap.
Title: Re: Album titles without User name listed
Post by: RenesCopper on May 25, 2008, 07:43:45 PM
Oh? Will that solve it? I hesitate to do a manual upgrade, cuz I've always used my Fantastico for upgrades. and the new version is not available yet.
Title: Re: Album titles without User name listed
Post by: Hein Traag on May 25, 2008, 07:55:42 PM
A word of advice: Do not use auto-installers such as Fantastico to install and upgrade coppermine. They generally tend to mess up coppermine. If you follow the instructions written in the manuall on upgrading you should be able to do it yourself. As easy as tying your shoelaces ;). Does not solve your question but you need to be at 1.4.18 before expecting support on questions concerning coppermine.
Title: Re: Album titles without User name listed
Post by: François Keller on May 25, 2008, 08:25:41 PM
after your upgrade, edit the displayimage.php file
find
if ($CURRENT_PIC_DATA['owner_id'] && $CURRENT_PIC_DATA['owner_name']) {
        $owner_link = '<a href ="profile.php?uid=' . $CURRENT_PIC_DATA['owner_id'] . '">' . $CURRENT_PIC_DATA['owner_name'] . '</a> ';
    } else {
        $owner_link = '';
    }

and comment it
/*if ($CURRENT_PIC_DATA['owner_id'] && $CURRENT_PIC_DATA['owner_name']) {
        $owner_link = '<a href ="profile.php?uid=' . $CURRENT_PIC_DATA['owner_id'] . '">' . $CURRENT_PIC_DATA['owner_name'] . '</a> ';
    } else {
        $owner_link = '';
    }*/
Title: Re: Album titles without User name listed
Post by: RenesCopper on May 26, 2008, 01:15:38 AM
Oh, cool beans! Thank you so much, Francois!
I will work on the upgrade with a lot of trepidation. Have not had a lot of success in doing my own upgrades. Butn I have started the process.
René
Title: Re: Album titles without User name listed
Post by: Hein Traag on May 26, 2008, 08:21:02 AM
Make sure to backup your database before you begin.. there is a very handy plugin by Francois which can do this for you. Good luck.
Title: Manual Upgrade 1.4.18 Problems
Post by: RenesCopper on May 26, 2008, 04:21:36 PM
Well, I tried it. Used FTPeel, and had so many problems. files all over the place, and refusal to upload so many.

Tried to find a better ftp app. finally got Yummy FTP. Got it finished. Now I have files all over the place. not where they are supposed to be. :'(
I told you I would have problems. This is why I like the Fantastico upgrade. It is usually good on the siteground.com host, though they are usually weeks behind in upgrades.

Is there any where I can find a list of what should be (only be) in my coppermine installation? So I can delete the ones in the wrong place. (Don't worry will get rid of FTPeel.) Or should I delete all the files and folders and start over? Or...?
Title: Re: [Solved]: Album titles without User name listed
Post by: Hein Traag on May 26, 2008, 04:28:06 PM
If you downloaded the 1.4.18 package you already know what should be in a regular manually installed cpg. The files you see right there in that folder.
Title: Re: [Solved]: Album titles without User name listed
Post by: François Keller on May 26, 2008, 04:36:20 PM
you can delete all files exept the "albums" folder, your customised theme (if you have one), the anycontent.php file if you use it and the include/config.inc.php file and after upload the new files.
Filezilla (http://filezilla-project.org/) is a very good FTP app recommended by the coppermine team