Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > TBDev > Mods & Themes
Reply
  #1  
Old 1st August 2008, 23:10
Nilsons Nilsons is offline
Senior Member
 
Join Date: Dec 2007
Latvia
Posts: 40
Default 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...
Attached Files
File Type: zip uploadapp.zip (1.8 KB, 320 views)
File Type: zip uploadapps.zip (2.6 KB, 258 views)
Reply With Quote
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  
Old 14th August 2008, 21:11
nexztone nexztone is offline
Member
 
Join Date: Aug 2008
Posts: 7
Default
kewwl ^^ :warrior:
Reply With Quote
  #3  
Old 14th August 2008, 23:24
wMan wMan is offline
Banned
 
Join Date: Feb 2008
P2P
Posts: 1,433
Wink
cheers
Reply With Quote
  #4  
Old 12th September 2008, 15:02
optiix optiix is offline
Member
 
Join Date: Sep 2008
Posts: 1
Default 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:
Reply With Quote
  #5  
Old 22nd July 2009, 11:33
Night_Owl Night_Owl is offline
Member
 
Join Date: Jun 2009
P2P
Posts: 10
Talking 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 :)
Reply With Quote
  #6  
Old 22nd July 2009, 11:51
Tjuln Tjuln is offline
Member
 
Join Date: Jan 2009
Default
Posts: 11
Default
or just use constant UC_UPLOADER witch is defined in include/code.php I think
Reply With Quote
  #7  
Old 20th June 2012, 00:09
pelle653 pelle653 is offline
Member
 
Join Date: Jun 2012
P2P
Posts: 3
Default
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
Reply With Quote
  #8  
Old 18th October 2012, 22:34
Kristoffer Kristoffer is offline
Member
 
Join Date: Sep 2012
P2P
Posts: 12
Default
Quote:
Originally Posted by pelle653 View Post
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
Reply With Quote
Reply

Tags
application , uploader

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT +2. The time now is 09:00. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.