[Solved]: Find All Pictures By User [Solved]: Find All Pictures By User
 

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]

Main Menu

[Solved]: Find All Pictures By User

Started by peakoverload, June 12, 2004, 02:03:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

peakoverload

Apologies if this has been asked before but despite searching for various terms I couldnt find anything.

I run a community photographic site where I have coppermine setup to only have public galleries with preset themes like, landscapes, people, sports etc.

For many reasons I don't want to implement the feature of allowing members to have their own gallery but what I would like to be able to have is a function in the Picture Information table that says something like "Show All Photos By This Member" which when clicked brings up all the thumbnails of the photos that this member has uploaded so that other members can see each others entire work.

Does that make sense?

Is it possible??

Nibbler

#1
displayimage.php

Above:

return theme_html_picinfo($info);

Add:
$info['All uploads'] = "<a href=\"thumbnails.php?album=lastupby&uid={$CURRENT_PIC_DATA['owner_id']}\">Show All Photos By This Member</a>";


peakoverload

Wow that was quick!!

And it works like a charm  ;D ;D ;D

That's exactly what I'm after, thank you so much.

Incidentaly, if anyone is interested, it also works in cpg 1.3 too  8)

mulawa1