Bravo List

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

sammygo 1st May 2009 15:09

Request to be Uploader
 
4 Attachment(s)
SQL :
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;

The .php files are attached (uploadapp.php and uploadapps.php).
(Note: at line 144 of uploadapps.php you have to set the class = * to the number of the class your uploader class is.)


uploadapps.php
(Note: at line 144 you have to set the class = * to the number of the class your uploader class is.)


Attachment 1317 Attachment 1318


You need :
uploadapp.php
uploadapps.php

Thanks to ScarS @ tbdev.net for this mod :X :drink:

razvaneluu 12th June 2009 19:00

don`t appear to me :|

DarkK1d 21st June 2009 00:22

works:friend:

toksskey 27th September 2009 15:16

Thank you - works

evaldas40 8th November 2009 20:10

I have eror when i go in uploadapps.php

Code:

Warning:  Division by zero in /home/evaldas40/domains/topseed.lt/public_html/uploadapps.php on line 76

and when push Wiev aplication and eror

Warning: Division by zero in /home/evaldas40/domains/topseed.lt/public_html/uploadapps.php on line 107


RaZoRandrey 4th December 2009 23:40

thanks for this mod, verry good, working

ajax 3rd February 2010 20:03

Thanks,work's great! :ok:

Komlok 13th February 2010 19:10

Thanks for this work ! :ok:

Vedda013 3rd March 2013 11:53

Thx!
 
Thx! Work's Perfect:ok:

Litago 24th March 2013 14:14

Can i use this in tbdev09? getting error when i try copy past SQL code

#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


All times are GMT +2. The time now is 22:14.

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