| Author | Message | 
        
			| Mehman 
					Joined: Tue Nov 17, 2009 7:38 pm
 Posts: 909
 Location: France
   |   Re: Cortex Command ModdbIt refused the upload of a .PNG image saying the file type was wrong, I renamed it to .png and it worked, still you might want to make it accept both. 
 
 | 
		
			| Thu Oct 27, 2011 4:05 pm | 
					
					   | 
	
	
		|  | 
	
			| Shook 
					Joined: Fri Feb 16, 2007 8:43 pm
 Posts: 1695
 Location: AH SHIT FUCK AUGH
   |   Re: Cortex Command ModdbOoo, nice. My uploading went flawlessly, so no problems there. I got flashed by a white screen with some text (detailing the succesful upload) before returning to the main page, but i assume that's intentional. 
 
 | 
		
			| Thu Oct 27, 2011 5:59 pm | 
					
					     | 
	
	
		|  | 
	
			| p3lb0x Forum Moderator 
					Joined: Fri Feb 02, 2007 3:53 pm
 Posts: 1896
 Location: in my little gay bunker
   |   Re: Cortex Command ModdbThanks Mehman, I'll make the extensions case insensitive.
 Yeah Shook. That's part of the my debugging. I haven't gotten around to making a more polished upload success page yet.
 
 
 | 
		
			| Thu Oct 27, 2011 6:07 pm | 
					
					   | 
	
	
		|  | 
	
			| Contrary 
					Joined: Mon Mar 16, 2009 10:50 pm
 Posts: 2175
 Location: Neverwhere
   |   Re: Cortex Command ModdbI don't want to sound like a ♥♥♥♥ but what happened to all the other CC mod DBs we had in the past? 
 
 | 
		
			| Thu Oct 27, 2011 8:03 pm | 
					
					   | 
	
	
		|  | 
	
			| Gotcha! 
					Joined: Tue Apr 01, 2008 4:49 pm
 Posts: 1972
 Location: The Netherlands
   |   Re: Cortex Command Moddbhttp://cc.thereviewpalace.com/ still exists. Unfortunately it isn't used that much.   
 
 | 
		
			| Thu Oct 27, 2011 9:15 pm | 
					
					   | 
	
	
		|  | 
	
			| Mehman 
					Joined: Tue Nov 17, 2009 7:38 pm
 Posts: 909
 Location: France
   |   Re: Cortex Command ModdbIt would be nice to be able to modify the description/title...etc without having to delete the mod and reupload it. 
 
 | 
		
			| Thu Oct 27, 2011 9:17 pm | 
					
					   | 
	
	
		|  | 
	
			| LowestFormOfWit 
					Joined: Mon Oct 06, 2008 2:04 am
 Posts: 1559
   |   Re: Cortex Command ModdbContributed. 
 
 | 
		
			| Fri Oct 28, 2011 5:26 am | 
					
					   | 
	
	
		|  | 
	
			| p3lb0x Forum Moderator 
					Joined: Fri Feb 02, 2007 3:53 pm
 Posts: 1896
 Location: in my little gay bunker
   |   Re: Cortex Command ModdbContrary wrote: I don't want to sound like a ♥♥♥♥ but what happened to all the other CC mod DBs we had in the past?This is just a programming exercise. It's not going to be permanent Mehman wrote: It would be nice to be able to modify the description/title...etc without having to delete the mod and reupload it.I could probably get around to doing this when I make links to individual mods
 
 | 
		
			| Fri Oct 28, 2011 7:24 am | 
					
					   | 
	
	
		|  | 
	
			| SneakyMax 
					Joined: Sun Dec 27, 2009 9:31 am
 Posts: 170
   |   Re: Cortex Command ModdbGotcha! wrote: http://cc.thereviewpalace.com/ still exists. Unfortunately it isn't used that much.  Eh, I just did that for fun myself. Someone remembers it, at least   Have fun with your project, p3lb0x.
 
 | 
		
			| Mon Oct 31, 2011 9:45 pm | 
					
					   | 
	
	
		|  | 
	
			| Gotcha! 
					Joined: Tue Apr 01, 2008 4:49 pm
 Posts: 1972
 Location: The Netherlands
   |   Re: Cortex Command ModdbSneakyMax wrote: Someone remembers it, at least  Remember it? I use it. All my mods in there are up to date.  
 
 | 
		
			| Mon Oct 31, 2011 10:02 pm | 
					
					   | 
	
	
		|  | 
	
			| Dr. Evil 
					Joined: Mon Aug 17, 2009 3:00 am
 Posts: 242
 Location: The Great White North
   |   Re: Cortex Command ModdbA wild redesign appears! It's not gonna win any awards or anything, but I think it looks alright. Thoughts?Link'd for being xbawx huge. Click me? It's mostly a css revamp, but there's one small php change you'd need to make to the buttons, as they're no longer image-based (which also fixes a standards issue while you're at it so, hey, everybody wins) If you want, I can hand you a zip of the new css and textures.
 
 | 
		
			| Wed Nov 02, 2011 4:13 am | 
					
					   | 
	
	
		|  | 
	
			| p3lb0x Forum Moderator 
					Joined: Fri Feb 02, 2007 3:53 pm
 Posts: 1896
 Location: in my little gay bunker
   |   Re: Cortex Command ModdbThat looks pretty good! I'd love to to implement this, it looks a lot cleaner and less like chunky mspaint based excrement. I am probably going to take a look at this tomorrow when I actually have programming. 
 
 | 
		
			| Wed Nov 02, 2011 7:41 am | 
					
					   | 
	
	
		|  | 
	
			| Dr. Evil 
					Joined: Mon Aug 17, 2009 3:00 am
 Posts: 242
 Location: The Great White North
   |   Re: Cortex Command ModdbHere you go: Attachment: 
			
				 CCMDB.zip [183.93 KiB]
			
			Downloaded 226 timesI changed the buttons a bit: Right now your buttons look like this: <a id="menufloat" href="?page=search"><img src="../resources/searchbutton.png"/></a> The new styles work like this: <a class="button" href="?page=search">Search For Mods</a> You'll also need to change your id="menufloat" to class="button" which is a little more semantic. Obviously you can now make buttons with any text you want without messing around in a graphics program. I haven't validated the css, and didn't change anything that I didn't know what it did. The CSS3 is kinda semi-prefixed, but if you know what browser your prof is using, and you feel like being really thorough, you can test it in that and add prefixes/shims as necessary. I also changes your "Put your mod info text here" textarea, getting rid of the html width and height, and putting them in the css instead. It's good practice to separate content and presentation anyways   Side note: One thing you should probably do to your site (if your prof cares about validating html) is change your script so that any element that appears multiple times uses a class, not an id. For example, you've got a ton of elements with id="modbox". Having multiple items with the same id doesn't usually muck up browser rendering, but it can really ♥♥♥♥ up javascript. Just change the 'id' to 'class', and, in the css, change the appropriate '#' to a '.'. A great way to check for things like this is to run it through the W3 validator.
 
 | 
		
			| Wed Nov 02, 2011 5:01 pm | 
					
					   | 
	
	
		|  | 
	
			| p3lb0x Forum Moderator 
					Joined: Fri Feb 02, 2007 3:53 pm
 Posts: 1896
 Location: in my little gay bunker
   |   Re: Cortex Command ModdbThanks for the tips there Dr. Evil. To be completely honest we haven't really been taught a lot about either php or html in programming and our teacher seems kind of distant and unenthusiastic. So I am not sure he will look at the code much. I think he cares more for whether it works or not. I am going to look into the stuff you pointed out tomorrow.
 I thought about making the buttons all CSS but I didn't really want to spend too much time figuring it out when I was setting the site up. I mostly wanted to get it working before getting to polishing. This is infinitely better however. Once again, thanks for helping me out.
 
 
 | 
		
			| Wed Nov 02, 2011 5:21 pm | 
					
					   | 
	
	
		|  | 
	
			| Dr. Evil 
					Joined: Mon Aug 17, 2009 3:00 am
 Posts: 242
 Location: The Great White North
   |   Re: Cortex Command ModdbNo problem. I love doing stuff like this! If you ever need any more, just ask. 
 
 | 
		
			| Wed Nov 02, 2011 6:40 pm | 
					
					   | 
	
	
		|  | 
	
	
		|  |