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

joeroberts 24th March 2013 16:41

try this one
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`) ) ENGINE=MyISAM AUTO_INCREMENT=1;

Litago 24th March 2013 16:55

Quote:

Originally Posted by joeroberts (Post 40111)
try this one
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`) ) ENGINE=MyISAM AUTO_INCREMENT=1;


Thanks but still nothing changed in upload.php ( did edit to class 3 as it says in line 144



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

joeroberts 24th March 2013 17:02

Nothen well change in upload.php!
this is only a aplication system so that a simple user can ask to become a uploader class.
Its like making a forum topic requist to be a uploader
Nothen well happen in upload.php you would read the post figure out if you want to make the user a uploader or not and edit there profile and set them as a uploader or not.

Litago 24th March 2013 17:15

hm, when ppl click on Upload and are uploader or higher they can upload torrents, but when lower they get to
"You are not authorized to upload torrents. (See Uploading in the FAQ.)"



so wil not go to the picture on the 1st post here for ppl who can`t upload torrents?


joeroberts 24th March 2013 17:28

edit your FAQ'S to have a link to the application

Litago 24th March 2013 17:54

Thanks for fast reply`s but i have no idea how do edit the faq, can`t find it in faq.php or lang_faq.php, i did try the link ( http://localhost/tbdev/uploadapp.php ) and it show the request to be uploader :P but no pictures only code...

DND 24th March 2013 19:39

want help? pm me. want professional help? pm me or anyone else who has time to work for ya

mat22 24th March 2013 19:41

That error means you have higher minimal class that can upload in one of the function_xxx.php files or in config file. Or even in takeupload.php. Search to minupclass or something similar to that. Since YSE is based on TBDev it should be there somewhere.

DND 24th March 2013 19:55

everything is based on tbdev or bitsource

Litago 24th March 2013 19:57

tbdev09

mat22 25th March 2013 00:03

Quote:

Originally Posted by DeNeDe (Post 40122)
everything is based on tbdev or bitsource

Yeah but some sources that are based on TBDev are very different while YSE has same things only some stuff changed, for example, there isn't $htmlout in YSE and instead it uses print and echo.

doZennn1 7th June 2013 10:52

I'm getting the error Notice: Undefined index: form in C:\xampp\htdocs\testsite\uploadapp.php on line 8
help please :)


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

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