Mod Name / Version: Fix: Cause the correct avatar image to be displayed after uploading a new one <br /> <br />
Description: After uploading a new avatar image, it refreshes the page but still shows the old one until you manually refresh again (leaving the user wondering why their new image isn't being displayed). <br /> <br />This corrects that behaviour so that it shows the new image immediately. <br /> <br />
Working Under: UBB.Threads 6.3 <br /> <br />
Mod Status: Finished <br /> <br />
Any pre-requisites: <br /> <br />
Author(s): Twisty <br /> <br />
Date: 09/26/04 <br /> <br />
Credits: <br /> <br />
Files Altered: changebasic.php <br /> <br />
New Files: <br /> <br />
Database Altered: no <br /> <br />
Info/Instructions: In changebasic.php... <br /> <br />CHANGE THIS: <br /> <br />
// --------------------------------------------------- <br />// Send them to their start page with the confirmation <br /> $html -> start_page($Cat);
<br /> <br />TO THIS: <br /> <br />
// --------------------------------------------------- <br />// Send them to their start page with the confirmation <br /> $html -> send_header("",$Cat,"<meta http-equiv=\"Refresh\" content=\"0;url={$config['phpurl']}/login.php?Cat=$Cat\" />",$user); <br /> <br />
Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files.