Description: When you write on the wall, it will now immediately show what you wrote after spraying without having to manually refresh afterwards (ie. by clicking the 'show' button or refreshing your browser).
Working Under: UBB.Threads 6.3-6.4-6.5
Mod Status: Finished
Any pre-requisites: Graffiti Wall Add-on Installed
Author(s): Twisty
Date: 01/03/05
Credits:
Files Altered: /graffiti/index.php
New Files:
Database Altered: no
Info/Instructions: In graffiti/index.php...
1) CHANGE THIS:
Code
// This should point to the graffiti index.php file to prevent multiple POSTs <br /> header("Location: {$config['phpurl']}/graffiti/index.php");
TO THIS:
Code
// This should point to the graffiti index.php file to prevent multiple POSTs <br /> $html = new html; <br /> $html -> send_header("",$Cat,"<meta http-equiv=\"Refresh\" content=\"0;url={$config['phpurl']}/graffiti/index.php\" />",$user);
Disclaimer: Please backup every file that you intend to modify. If the modification modifies the database, it's a good idea to backup your database before doing so.
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.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.