When viewing Who's online and a visitor is on the upload.php page, it displays "Unknown Location", to fix this:
Look in online.php:
Around the 200 lines mark your see lots of "case" statements
You need to add this:
PHP:
--------------------------------------------------------------------------------
case 'upload':
$userinfo[where] = "Viewing the <a href='upload.php?s=$session[sessionhash]'>Photo Upload</a>";
break;
--------------------------------------------------------------------------------
Also around the 500 lines mark you see more "case" statements
You need to add this:
PHP:
--------------------------------------------------------------------------------
case 'upload.php':
$userinfo[activity] = 'upload';
break;
--------------------------------------------------------------------------------
Now, can someone tell me how to pull in the photo when viewing your "Edit Options" page via User CP?
I also would like to add the vB header and footer to my upload.php page, anyone done this yet?
|