coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: chillypk on December 25, 2003, 04:24:11 AM

Title: Topics_anywhere equivalent for gallery?
Post by: chillypk on December 25, 2003, 04:24:11 AM
I would think this has been done but I didn't have any luck finding it in any of the forums.

What I was looking for was the topics_anywhere mod equibvalent for the gallery - in other words - most recent "post" in a particular album?

Has anyone done this yet?

BTW newbie in PHP - but a good learn as I'm patching things together back and forth.

Thanks!!

- Phil
Title: Topics_anywhere equivalent for gallery?
Post by: Tarique Sani on December 25, 2003, 06:53:56 AM
Yeah - there are links right on top for Last Uploads, Last Comments etc - they operate on the current category / album visisble
Title: Topics_anywhere equivalent for gallery?
Post by: chillypk on December 25, 2003, 09:44:06 PM
Actually I was looking for something like the last topic mod in phpBB2 - last picture in this case.  That mod would let you determine how many posts - in this case pictures - and from what forum - album in this case to display from.  It's a javascript or RSS.

I use it to pull topics from my forums to specific pages - non-forum pages.  So on my index page I can have last comment made in XXX forum.

Basically what I'm looking for is a way to pull the lastest picture uploaded on a particular forum and display it on another page.  It will be for the catch of the week - for fishing. It will be a private forum that only i can control.

Another option that would be great is randomizing from this album. Pulling one pixture - for a box saying random picture from users gallery.

I'm sure someone has modded this?
Title: Topics_anywhere equivalent for gallery?
Post by: chillypk on December 25, 2003, 10:09:33 PM
Ok I'm seeing that rewriting thumbnails.php may be the way to go?

I just have to figure out

1) how to just limit it to just one album - tell it what album to pull from.
2) tell it to just show the latest one for display

Can any developers help me point out where in the code to change?

Then I'd probably add it as an "include" on my non-coppermine pages?

Any thoughts guys?
Title: Topics_anywhere equivalent for gallery?
Post by: Joachim Müller on December 26, 2003, 09:32:49 AM
Take a look at the mods discussed in http://forum.coppermine-gallery.net/index.php?topic=625 - maybe that's what you're looking for.

GauGau
Title: Topics_anywhere equivalent for gallery?
Post by: chillypk on December 26, 2003, 09:47:10 AM
exactly what I was looking for - couldn't believe I missed that thread!

Thanks!