Last User Uploads Doesn't Keep UID in url. Last User Uploads Doesn't Keep UID in url.
 

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

Last User Uploads Doesn't Keep UID in url.

Started by faptastic, January 03, 2007, 05:34:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

faptastic

http://luemages.net/thumbnails.php?album=lastupby&uid=2 nws
sorry, that's the best example I have.

when you go to different pages or click image thumbnails on that page, you get an error. However, if you append &uid=XXX to the URL, it works.

I suspect this has probably been posted, but I can't find it and I was wondering if there was a fix.

example:
http://luemages.net/displayimage.php?album=lastupby&cat=0&pos=14 no good
http://luemages.net/displayimage.php?album=lastupby&cat=0&pos=14&uid=2 good

Nibbler

This has already been fixed, your theme customisations are probably overriding the code that contains the fix.

faptastic

Ah. I see. Could you tell me where the fix was originally located so that I can apply it to my theme? Or should I just redo the theme?

Nibbler

It's in quite a few places. Search through themes/sample/theme.php for $uid_link and apply the changes to the versions in your theme.php.

faptastic