Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Run custom PHP after file upload
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Run custom PHP after file upload
Interesting.
I guess you could try this: find in inc/xthreads/xt_upload.php

PHP Code:
	if($update_attachment) {
		unset($attacharray['downloads'], $attacharray['uploadtime']);

Modify the $attacharray before that code.  Don't forget this code affects every xtattachment.


My Blog
09-01-2012 05:13 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Run custom PHP after file upload - ZiNgA BuRgA - 09-01-2012 05:13 PM

 Standard Tools
Forum Jump: