php forum
php mysql forum
php mysql smarty
 
Topic Options
#280026 - 09/26/04 11:32 AM Finished-[6.3] Fix: Cause the correct avatar image to be displayed after uploading a new one
Twisty Offline
Code Monkey

Registered: 09/26/03
Posts: 524

   Finished-[6.3] Fix: Cause the correct avatar image to be displayed after uploading a new one to Del.icio.us Add to del.icio.us
  Digg Finished-[6.3] Fix: Cause the correct avatar image to be displayed after uploading a new one Digg it
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 />
Code:
// --------------------------------------------------- <br />// Send them to their start page with the confirmation <br />   $html -&gt; start_page($Cat); 
<br /> <br />TO THIS: <br /> <br />
Code:
// --------------------------------------------------- <br />// Send them to their start page with the confirmation <br />   $html -&gt; send_header("",$Cat,"&lt;meta http-equiv=\"Refresh\" content=\"0;url={$config['phpurl']}/login.php?Cat=$Cat\" /&gt;",$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.

Top


Moderator:  Ian_W 
Who's Online
0 Registered (), 39 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by Ian_W
10/05/08 03:47 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
ghengis317, NitroX, Dogan, EliYah-, W-D
13344 Registered Users
Top Posters Last 30 Days
AllenAyres 16
blaaskaak 13
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
W-D 3

 

 

 
fusionbb message board php hacks