|
#1
|
|||
|
|||
Uploader application
Insert into database:
Code:
CREATE TABLE `uploadapp` ( `id` int(10) unsigned NOT NULL auto_increment, `userid` int(10) NOT NULL default '0', `applied` datetime NOT NULL default '0000-00-00 00:00:00', `speed` varchar(20) NOT NULL default '', `offer` longtext NOT NULL, `reason` longtext NOT NULL, `sites` ENUM('yes', 'no') NOT NULL default 'no', `sitenames` varchar(150) NOT NULL default '', `scene` ENUM('yes', 'no') NOT NULL default 'no', `creating` ENUM('yes', 'no') NOT NULL default 'no', `seeding` ENUM('yes', 'no') NOT NULL default 'no', `connectable` ENUM('yes', 'no', 'pending') NOT NULL default 'pending', `status` ENUM('accepted', 'rejected', 'pending') NOT NULL default 'pending', `moderator` varchar(40) NOT NULL default '', `comment` varchar(200) NOT NULL default '', PRIMARY KEY (`id`), UNIQUE KEY `users` (`userid`) ) TYPE=MyISAM AUTO_INCREMENT=1; Into uploadapps.php edit class number to your'e uploader class number... |
The Following 5 Users Say Thank You to Nilsons For This Useful Post: | ||
acikaUZIVO (19th September 2008),
blkmaster (2nd September 2009),
komyomy (22nd September 2009),
nek (4th June 2010),
Rroy (14th November 2008)
|
#2
|
|||
|
|||
kewwl ^^ :warrior:
|
#3
|
|||
|
|||
cheers
|
#4
|
|||
|
|||
Help pls
That instruction only says that I chould insert my Uploaders class. How do I know/find my uploader class AND I cant find the row in uploaderapps.php to edit. Pls help me. :unknown:
|
#5
|
|||
|
|||
upload class number
where abouts would that be for the number i see a possable 3 spots it could be im not very good with php myself all i need is a general area it goes i seen one near the top but the guy i have helpin me things that might be part of a function command so i didnt dare change that and the other 2 are far anough down the php file im not sure they would be the right spot either nice addon by the way :)
the uploaders class can be found in sql db under a nick u know is a uploader ,under class :) now where to add the number im not sure myself on that :/ Last edited by Night_Owl; 22nd July 2009 at 11:49. Reason: figured id answer part of the persons question :) |
#6
|
|||
|
|||
or just use constant UC_UPLOADER witch is defined in include/code.php I think
|
#7
|
|||
|
|||
Hi i get this when trying to insert it to the database, iam running the TBDev 16.06.09 by the way
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM AUTO_INCREMENT=1' at line 19 |
#8
|
|||
|
|||
Quote:
Code:
TYPE=MyISAM AUTO_INCREMENT=1' at line 19 Code:
ENGINE=MyISAM AUTO_INCREMENT=1' at line 19 |
Tags |
application , uploader |
Thread Tools | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Staff Application | Grom | Mods & Themes | 5 | 18th May 2021 19:33 |
Request to be Uploader | sammygo | Mods & Themes | 21 | 7th June 2013 10:52 |
Anonymous Uploader | dyzzy | Mods & Themes | 1 | 7th November 2012 15:45 |
Anonymous Uploader | Rendevous | Mods & Themes | 0 | 4th May 2010 12:11 |
Upload Application | lovebeer | Yuna Scatari Edition (YSE) | 0 | 20th September 2009 20:06 |