Hi, I've a little question:
how to automatically redirect the user in ->thumbnails.php?album=lastupby&uid=X after login?
Many tnx in advance
Assuming you are not bridged, login.php
change
$referer=preg_replace("'&'","&",$referer);
to
$referer='thumbnails.php?album=lastupby&uid=' . USER_ID;
Quote from: Nibbler on January 06, 2007, 08:51:43 PM
Assuming you are not bridged, login.php
change
$referer=preg_replace("'&'","&",$referer);
to
$referer='thumbnails.php?album=lastupby&uid=' . USER_ID;
Hi Nibbler, yes I've not bridged gallery. Tnx for the your suggestion but I've tryed it without success. After login I have been redirected in a "last uploaded by anonymous" empty page, instead of my "last uploaded by [myself]" page.
How to fix?
Sorry, use
$referer='thumbnails.php?album=lastupby&uid=' . $USER_DATA['user_id'];
Yes Nibbler, now all work fine! :)
Thank you