View unanswered posts | View active topics It is currently Fri Dec 27, 2024 9:12 am



Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3  Next
 Cortex Command Moddb 
Author Message
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: Cortex Command Moddb
It 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
Profile
User avatar

Joined: Fri Feb 16, 2007 8:43 pm
Posts: 1695
Location: AH SHIT FUCK AUGH
Reply with quote
Post Re: Cortex Command Moddb
Ooo, 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
Profile WWW
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Cortex Command Moddb
Thanks 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
Profile
User avatar

Joined: Mon Mar 16, 2009 10:50 pm
Posts: 2175
Location: Neverwhere
Reply with quote
Post Re: Cortex Command Moddb
I 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
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Cortex Command Moddb
http://cc.thereviewpalace.com/ still exists. Unfortunately it isn't used that much. :(


Thu Oct 27, 2011 9:15 pm
Profile
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: Cortex Command Moddb
It 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
Profile
User avatar

Joined: Mon Oct 06, 2008 2:04 am
Posts: 1559
Reply with quote
Post Re: Cortex Command Moddb
Contributed.


Fri Oct 28, 2011 5:26 am
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Cortex Command Moddb
Contrary 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
Profile
User avatar

Joined: Sun Dec 27, 2009 9:31 am
Posts: 170
Reply with quote
Post Re: Cortex Command Moddb
Gotcha! 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 :P

Have fun with your project, p3lb0x.


Mon Oct 31, 2011 9:45 pm
Profile
User avatar

Joined: Tue Apr 01, 2008 4:49 pm
Posts: 1972
Location: The Netherlands
Reply with quote
Post Re: Cortex Command Moddb
SneakyMax wrote:
Someone remembers it, at least :P


Remember it? I use it. All my mods in there are up to date. :wink:


Mon Oct 31, 2011 10:02 pm
Profile
User avatar

Joined: Mon Aug 17, 2009 3:00 am
Posts: 242
Location: The Great White North
Reply with quote
Post Re: Cortex Command Moddb
A 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
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Cortex Command Moddb
That 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
Profile
User avatar

Joined: Mon Aug 17, 2009 3:00 am
Posts: 242
Location: The Great White North
Reply with quote
Post Re: Cortex Command Moddb
Here you go:

Attachment:
CCMDB.zip [183.93 KiB]
Downloaded 204 times


I 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
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Cortex Command Moddb
Thanks 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
Profile
User avatar

Joined: Mon Aug 17, 2009 3:00 am
Posts: 242
Location: The Great White North
Reply with quote
Post Re: Cortex Command Moddb
No problem. I love doing stuff like this! If you ever need any more, just ask.


Wed Nov 02, 2011 6:40 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 34 posts ]  Go to page Previous  1, 2, 3  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.053s | 14 Queries | GZIP : Off ]