Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Mods & Themes (http://www.bvlist.com/forumdisplay.php?f=109)
-   -   Uploader application (http://www.bvlist.com/showthread.php?t=761)

Nilsons 1st August 2008 23:10

Uploader application
 
2 Attachment(s)
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...

nexztone 14th August 2008 21:11

kewwl ^^ :warrior:

wMan 14th August 2008 23:24

cheers

optiix 12th September 2008 15:02

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:

Night_Owl 22nd July 2009 11:33

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 :) :drink:




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 :/

Tjuln 22nd July 2009 11:51

or just use constant UC_UPLOADER witch is defined in include/code.php I think

pelle653 20th June 2012 00:09

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

Kristoffer 18th October 2012 22:34

Quote:

Originally Posted by pelle653 (Post 35340)
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

Change
Code:

TYPE=MyISAM AUTO_INCREMENT=1' at line 19
TO

Code:

ENGINE=MyISAM AUTO_INCREMENT=1' at line 19


All times are GMT +2. The time now is 01:53.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.