|
#1
|
|||
|
|||
Got A Few Questions About TBDev
Hey guys just installed TBDev Modded Edition v1.2 everything is running fine I just want to change a few things..
When it comes to uploading, how can i remove the requirement for a NFO. Also is there a mod out that will allow users to upload a image or 2 for the upload ? And one more question how do i go about setting up threads in the forum Thanks alot |
#2
|
||||
|
||||
Making NFO Optional ;)
In upload.php find the old line : Code:
tr("NFO file", "<input type=file name=nfo size=81><br>(<b>Required.</b> Can only be viewed by power users.)\n", 1); Code:
tr("NFO file", "<input type=file name=nfo size=81><br>(<b>optional.</b> Can only be viewed by power users)\n", 1); Code:
$nfofile = $_FILES['nfo']; //if ($nfofile['name'] == '') /*bark("No NFO!");*/ //if ($nfofile['size'] == 0) /* bark("0-byte NFO");*/ if ($nfofile['size'] > 65535) bark("NFO is too big! Max 65,535 bytes."); $nfofilename = $nfofile['tmp_name']; //if (@!is_uploaded_file($nfofilename)) // bark("NFO upload failed"); |
Tags |
questions , tbdev |
Thread Tools | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Questions about configuring TBDev | QuarTz | TBDev | 2 | 12th May 2010 12:49 |
Some Questions | pwnage | TBDev | 0 | 10th February 2010 02:44 |
few questions | rytisp | Torrent Strike | 4 | 3rd January 2009 12:45 |
Some Questions | crstan | TBDev | 1 | 24th September 2008 21:17 |
2 Questions!??? | kp380lv | Yuna Scatari Edition (YSE) | 4 | 3rd July 2008 15:53 |