Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Latest Albums  (Read 3696 times)

0 Members and 1 Guest are viewing this topic.

Jessi

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
    • Jason Beitel Online
Latest Albums
« 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
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1504
  • aka 'i-imagine'
    • Home Page
Re: Latest Albums
« Reply #1 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

Jessi

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
    • Jason Beitel Online
Re: Latest Albums
« Reply #2 on: May 30, 2009, 05:02:13 pm »

Sorry, my gallery link is robpix.fanfilled.com
Logged

Jessi

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
    • Jason Beitel Online
Re: Latest Albums
« Reply #3 on: May 30, 2009, 05:06:51 pm »

Sorry but the link that you gave me don´t really help me
Logged

Nibbler

  • Guest
Re: Latest Albums
« Reply #4 on: May 30, 2009, 05:42:31 pm »

Change lastup to lastalb in config (content of the main page setting).
Logged

Jessi

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
    • Jason Beitel Online
Re: Latest Albums
« Reply #5 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"
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Latest Albums
« Reply #6 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.
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
I can't see how the "List of tokens in template.html" could be related, so please ignore that
Logged

Jessi

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
    • Jason Beitel Online
Re: Latest Albums
« Reply #7 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.
Logged

Nibbler

  • Guest
Re: Latest Albums
« Reply #8 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Latest Albums
« Reply #9 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 >:(.
Logged

Nibbler

  • Guest
Re: Latest Albums
« Reply #10 on: May 30, 2009, 07:40:26 pm »

It's there, just not hyperlinked. http://robpix.fanfilled.com/
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Latest Albums
« Reply #11 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? instead of being picky about meta albums... ::)
Logged

Jessi

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 8
    • Jason Beitel Online
Re: Latest Albums
« Reply #12 on: May 30, 2009, 09:21:50 pm »

Thank you really much!
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.