######################################################## ## ## Hack Title: Preview PMs ## Hack Version: 1.0.2 ## Author: Christoph "Toxic" Hellings (toxic@freenet.de) ## Date Created: 08-30-02 ## Date Updated: 09-09-02 ## Thread Location: http://www.tforumhacks.com/tforum/viewtopic.php?TopicID=1072 ## Working Example: http://www.cts-f.net/cts/forum ## Description: The title says all ;) ## ## ## Installation Level: Easy ## Installation Time: 5 Minutes ## Files To Edit: 2 ## Edit Database: no ## Included Files: none ## ######################################################## ## ## Installation/Author Notes: ## ## I think it works but no warranty... ## UPGRADING INSTRUCTIONS 1.0.1 -> 1.0.2: ## OPEN: ## pm.php ## FIND: ## ## REPLACE: ## ## END OF UPGRADING INSTRUCTIONS ## ######################################################## # #-----[ ACTION: BACKUP ]------------------------------------------ # Every time you edit your files, you should always back them up first. Although all of these hacks have been tested on various systems, they may not work with your configuration or you may not like what it does. Backing up protects yourself and your users from downtime. # #-----[ ACTION: OPEN ]------------------------------------------- # pm.php # #-----[ ACTION: FIND (2 times) ]--------------------------------- # # #-----[ ACTION: ADD AFTER ]-------------------------------------- # # #-----[ ACTION: FIND ]------------------------------------------- # switch ($Submit) { case "Send PM": $Action = "sendPM"; break; } # #-----[ ACTION: REPLACE ]---------------------------------------- # function PreviewPM() { global $fSettings,$fromu,$tou,$subject,$message,$time,$username,$txt; $PreviewMSG = ParseMSG($message,0); ?>

">
">
">
">
">: ">
">: ">
">: ">
">: ">
" valign=top>: ">
"> ">