| Author | Message | 
        
			| p3lb0x Forum Moderator 
					Joined: Fri Feb 02, 2007 3:53 pm
 Posts: 1896
 Location: in my little gay bunker
   |   Cortex Command ModdbHI! I have finished porting my work to the MVC framework we were supposed to work with. Deleting entries isn't in yet, but I have uploading and searching working again. Or so I think. It would be totally baller if you guys could help me by uploading some stuff and perhaps sending me some bug reports. Thanks!http://xphp.dk/programmeringc/pelle Previous screencaps first , second Credits: Many thanks to Dr.Evil for the current CSS stylesheet and general helpfulness Likewise to Gotcha! who has been very helpful with uploading mods Also thank you to the other people who have uploaded mods Original OP:
 
 | 
		
			| Wed Oct 26, 2011 8:20 pm | 
					
					   | 
	
	
		|  | 
	
			| Dr. Evil 
					Joined: Mon Aug 17, 2009 3:00 am
 Posts: 242
 Location: The Great White North
   |   Re: Cortex Command ModdbShweet. If you throw that ♥♥♥♥ on github after your project is handed in, Ill contriboot.EDIT: Confirmed for looking ok in webkit based browsers. Are you getting marked on CSS? If not, I might write a quick style sheet for it to purdy it up, if you don't mind.
 
 
 | 
		
			| Wed Oct 26, 2011 8:41 pm | 
					
					   | 
	
	
		|  | 
	
			| p3lb0x Forum Moderator 
					Joined: Fri Feb 02, 2007 3:53 pm
 Posts: 1896
 Location: in my little gay bunker
   |   Re: Cortex Command ModdbTo be honest, if I was going to use this for real, I would probably start from scratch. This is hacked together really badly. I am amazed it works. I have learned a lot making it though so I can probably move on to other things and do them better later.
 edit: Regarding the css. I have no idea, probably? I don't think it will count for a lot though. Our teacher seems kind of unmotivated and will probably be happy if we just turn SOMETHING in. I'd appreciate some better looks though, polish is a big part of the experience with a lot of things.
 
 
 | 
		
			| Wed Oct 26, 2011 8:43 pm | 
					
					   | 
	
	
		|  | 
	
			| Gotcha! 
					Joined: Tue Apr 01, 2008 4:49 pm
 Posts: 1972
 Location: The Netherlands
   |   Re: Cortex Command ModdbOh noes! Errorz!    Mod title: The RYNO V Mod text: Guaranteed to Rip You a New One! The date: 26-10-11 The author: Gotcha! The download location: http://xphp.dk/programmeringc/pelle/fil ... _v100b.rar The picture: http://xphp.dk/programmeringc/pelle/files/2/RYNO_V.png The last id in the database: 1 Wrong file type! We only accept .rar archives Something is amiss, please go back and try again. File not uploaded Array ( [name] => RYNO_V_B25_v100b.rar [type] => application/octetstream [tmp_name] => /tmp/phpsKTbdm [error] => 0 [size] => 1336290 ) Edit: Used Firefox by the way.
 
 | 
		
			| Wed Oct 26, 2011 9:42 pm | 
					
					   | 
	
	
		|  | 
	
			| p3lb0x Forum Moderator 
					Joined: Fri Feb 02, 2007 3:53 pm
 Posts: 1896
 Location: in my little gay bunker
   |   Re: Cortex Command Moddbhmmm, looks like it didn't recognize the rar file. What did you compress it with? 
 
 | 
		
			| Wed Oct 26, 2011 9:45 pm | 
					
					   | 
	
	
		|  | 
	
			| Gotcha! 
					Joined: Tue Apr 01, 2008 4:49 pm
 Posts: 1972
 Location: The Netherlands
   |   Re: Cortex Command ModdbWinRAR x64 3.93  
 
 | 
		
			| Wed Oct 26, 2011 9:48 pm | 
					
					   | 
	
	
		|  | 
	
			| p3lb0x Forum Moderator 
					Joined: Fri Feb 02, 2007 3:53 pm
 Posts: 1896
 Location: in my little gay bunker
   |   Re: Cortex Command Moddbhmm, I guess I'll check the extension instead of mime type then. Will edit this post when I fixed it.
 edit: changed it. Please try again Gotcha!
 
 Looks like I borked up the file deletion. Gotta fix that too.
 
 edit edit edit: I think I fixed deletion now.
 
 
 | 
		
			| Wed Oct 26, 2011 9:49 pm | 
					
					   | 
	
	
		|  | 
	
			| Gotcha! 
					Joined: Tue Apr 01, 2008 4:49 pm
 Posts: 1972
 Location: The Netherlands
   |   Re: Cortex Command ModdbZoinks! Mod title: The RYNO V Mod text: Guaranteed to Rip You a New One! The date: 26-10-11 The author: Gotcha! The download location: http://xphp.dk/programmeringc/pelle/fil ... _v100b.rar The picture: http://xphp.dk/programmeringc/pelle/files/2/RYNO_V.png The last id in the database: 1 Failure at folder creation Array ( [name] => RYNO_V_B25_v100b.rar [type] => application/octetstream [tmp_name] => /tmp/phptzItTK [error] => 0 [size] => 1336290 )
 
 | 
		
			| Wed Oct 26, 2011 9:55 pm | 
					
					   | 
	
	
		|  | 
	
			| Azukki 
					Joined: Sat Nov 03, 2007 9:44 pm
 Posts: 1916
 Location: Flint Hills
   |   Re: Cortex Command ModdbWorked for me.Auto-scaling to 200x200 for images smaller than that seems like a choice that could use revising, though. Should I give the deletion function a whirl? 
 
 | 
		
			| Wed Oct 26, 2011 10:27 pm | 
					
					   | 
	
	
		|  | 
	
			| Gotcha! 
					Joined: Tue Apr 01, 2008 4:49 pm
 Posts: 1972
 Location: The Netherlands
   |   Re: Cortex Command ModdbIt uploaded it, but it gave an error about the picture. It disappeared too quickly before I could see what it said. Then I tried again and it gave this error: Mod title: The RYNO VI Mod text: Guaranteed to do the same as the RYNO V! The date: 26-10-11 The author: Gotcha! The download location: http://xphp.dk/programmeringc/pelle/fil ... _v100b.rar The picture: http://xphp.dk/programmeringc/pelle/files/12/RYNO_V.png The last id in the database: 11 Wrong file type! Not an image Something is amiss, please go back and try again. File not uploaded Array ( [name] => RYNO_V_B25_v100b.rar [type] => application/octetstream [tmp_name] => /tmp/php9KPLVb [error] => 0 [size] => 1336290 )
 
 | 
		
			| Wed Oct 26, 2011 10:35 pm | 
					
					   | 
	
	
		|  | 
	
			| p3lb0x Forum Moderator 
					Joined: Fri Feb 02, 2007 3:53 pm
 Posts: 1896
 Location: in my little gay bunker
   |   Re: Cortex Command ModdbI was pissing about trying to get something to work. No worries, it should work now. I guess I should set up a test server or something. Sorry guys.
 Pictures should work fine now. As long as you only try to upload gifs, jpegs or pngs
 
 
 | 
		
			| Wed Oct 26, 2011 10:43 pm | 
					
					   | 
	
	
		|  | 
	
			| Gotcha! 
					Joined: Tue Apr 01, 2008 4:49 pm
 Posts: 1972
 Location: The Netherlands
   |   Re: Cortex Command ModdbUnknown failure: Mod title: Map Pack 3 Mod text: Bladibla maps blabla fun bla pleasedownload. Bla. The date: 26-10-11 The author: Gotcha! The download location: http://xphp.dk/programmeringc/pelle/fil ... 6_v100.rar The picture: http://xphp.dk/programmeringc/pelle/fil ... alette.png The last id in the database: 12 Failure at archive upload Array ( [name] => MP3_B26_v100.rar [type] => [tmp_name] => [error] => 1 [size] => 0 )
 
 | 
		
			| Wed Oct 26, 2011 11:05 pm | 
					
					   | 
	
	
		|  | 
	
			| AJ12 
					Joined: Sat Aug 27, 2011 11:33 am
 Posts: 34
 Location: Space Land
   |   Re: Cortex Command ModdbThis is cool but i have a suggestion,if the mod has a Data Realms forum page maybe a link to its forum page so we can see more about it? 
 
 | 
		
			| Wed Oct 26, 2011 11:57 pm | 
					
					   | 
	
	
		|  | 
	
			| Gotcha! 
					Joined: Tue Apr 01, 2008 4:49 pm
 Posts: 1972
 Location: The Netherlands
   |   Re: Cortex Command ModdbIt's just a temporary thing. Afterall, we have this one already: http://cc.thereviewpalace.com/ 
 
 | 
		
			| Thu Oct 27, 2011 1:16 am | 
					
					   | 
	
	
		|  | 
	
			| p3lb0x Forum Moderator 
					Joined: Fri Feb 02, 2007 3:53 pm
 Posts: 1896
 Location: in my little gay bunker
   |   Re: Cortex Command ModdbIt seems as if this error is caused by the fact that the php config file has the max uploaded file size set lower than your file. Ill get this resolved today. Thanks for helping me with this gotcha! edit: The limit seems to be set at 2mb. I am going to get this upped. edit: I am an idiot, limit upped to 9mb, but only files below 8mb will be accepted.
 
 | 
		
			| Thu Oct 27, 2011 6:22 am | 
					
					   | 
	
	
		|  | 
	
	
		|  |