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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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