forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Jessi on May 30, 2009, 04:41:40 pm

Title: Latest Albums
Post by: Jessi on May 30, 2009, 04:41:40 pm
Hey!
I have a little question. I use coppermine gallery and I don´t like the "latest uploads". I see many gallerys that has "latest albums" (like this one: http://robertpattinson.4fans.net/photos/). On a old gallery of mine I had this too so I know that I must change something in the index.php code but I don´t know what. It would be great if someone could help me.
Thank you!
xx Jessi
Title: Re: Latest Albums
Post by: Joe Carver on May 30, 2009, 05:00:19 pm
By forum rule you should always post the link to your gallery.

So is reading the docs, your problem is simple, start here (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_create_template_token_list)
Title: Re: Latest Albums
Post by: Jessi on May 30, 2009, 05:02:13 pm
Sorry, my gallery link is robpix.fanfilled.com
Title: Re: Latest Albums
Post by: Jessi on May 30, 2009, 05:06:51 pm
Sorry but the link that you gave me don´t really help me
Title: Re: Latest Albums
Post by: Nibbler on May 30, 2009, 05:42:31 pm
Change lastup to lastalb in config (content of the main page setting).
Title: Re: Latest Albums
Post by: Jessi on May 30, 2009, 05:57:30 pm
You mean the config.php on the main page?
I search on this script and it say that there is no "lastup"
Title: Re: Latest Albums
Post by: Joachim Müller on May 30, 2009, 06:45:19 pm
To get rid of a meta album, do as suggested here: http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#changing
To get rid of the menu item, use the final extract plugin (http://forum.coppermine-gallery.net/index.php/topic,36605.html).
I'm not aware of "latest uploads", only of "last uploads".

You have been told that you need to post a link to your gallery, so why don't you do as suggested?

Joachim

P.S.
So is reading the docs, your problem is simple, start here (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#theme_create_template_token_list)
I can't see how the "List of tokens in template.html" could be related, so please ignore that
Title: Re: Latest Albums
Post by: Jessi on May 30, 2009, 07:02:53 pm
Hmm.....I think I didn´t explain it very good because my english is not so good.
But thank you really much to all who replay. ;-)
The standard of the coppermine gallery are the fields "category", "randoms" and "last uploads" but I want "last albums".
But I can´t set this in the options on the admin pannel. I must change something in the config or index script.
Title: Re: Latest Albums
Post by: Nibbler on May 30, 2009, 07:20:35 pm
The default setting you describe is breadcrumb/catlist/alblist/random,2/lastup,2
If you want last albums instead of last uploads you need to change lastup to lastalb which means you need to set breadcrumb/catlist/alblist/random,2/lastalb,2
Title: Re: Latest Albums
Post by: Joachim Müller on May 30, 2009, 07:37:26 pm
You already have been told to post a link to your gallery
By forum rule you should always post the link to your gallery.
You have been told that you need to post a link to your gallery, so why don't you do as suggested?
You ignored that both times. I will not tolerate that (I have my reasons), so post the link to your gallery now or you'll get no more support >:(.
Title: Re: Latest Albums
Post by: Nibbler on May 30, 2009, 07:40:26 pm
It's there, just not hyperlinked. http://robpix.fanfilled.com/
Title: Re: Latest Albums
Post by: Joachim Müller on May 30, 2009, 07:58:21 pm
Google says that the URL is harmfull, see http://safebrowsing.clients.google.com/safebrowsing/diagnostic?client=Firefox&hl=en&site=http://robpix.fanfilled.com/
The site probably is hacked. Looking at the page with Dillo I found
Code: [Select]
<script language="javascript" type="text/javascript" src="http://t0.ca/tags/fanilled/728x90.js"></script>Sanitize as suggested in Yikes, I've been hacked! Now what? (http://forum.coppermine-gallery.net/index.php/topic,51927.0.html) instead of being picky about meta albums... ::)
Title: Re: Latest Albums
Post by: Jessi on May 30, 2009, 09:21:50 pm
Thank you really much!