Main Menu
  • Welcome to The RPG Maker Resource Kit.

Web Design.

Started by :), May 16, 2007, 03:43:49 AM

0 Members and 1 Guest are viewing this topic.

:)

#50
xD yeah I figured.  ;D

anyways. I got (for the most part one problem left in layout) both the IE and FF to look pretty good. problem is I can't get them both to look good at the same time =/
there is a :

margin-top: 183px;

for the div content. now in FF it looks great, everything lined up and such:(the gray box is a flash vid don't think it's a mess up xD )
[spoiler][/spoiler]


...in IE not so great, the "main" div, the one with the text looks like this:
[spoiler][/spoiler]

now, when I remove:
margin-top: 183px;

here is FF: (messed up)
[spoiler][/spoiler]


Here is IE: (perfect)
[spoiler][/spoiler]
Watch out for: HaloOfTheSun

ahref

oh dear this is the part i hate about web design everything is interpreted differently :( im no good with making websites work in all browsers yet i havent even opened mine in IE yet.

i will have a look though

:)

well you would think the easy way since its one problem in the CSS sheet making the difference, to have IE open it's own style sheet, and in this one the margin-top is removed....I tried that, and IE didn't read the one specified for IE, instead reading the normal one.
Watch out for: HaloOfTheSun

:)

thanks ahref, but I figured this problem out as well.

neat little hack for hiding the code to IE so no need on another css sheet

http://www.webcredible.co.uk/user-friendly-resources/css/hacks-browser-detection.shtml
Watch out for: HaloOfTheSun

:)

alright next task (or a previous one) the search bar.

I figured it would be best to explain this project to you guys so you get a better understanding.
I'm making a site for the county I live in. Full 360 information on the site about the county. This place is the fastest growing in southern cal.

- Offers Every business it's own page on the site to do :
  - List product sections (electronics...)
  - Description of business
  - Picture
  - Contact info including an address linked to Google map's with pre-filled end location.
  - Special deals, like a sale flyer on the site and such.
  - Jobs needed. this is huge because their is already a site doing this in my county called SCV jobs but they freaking charge 300+ a month!!!!!! I would offer all the stuff listed for 50$ a month or less. (if I actually decide to make this site more then a learning project)

site has:
-Tourist Info
-shopping info
- Jobs section
- business ad's (not like OMG THEIR EVERYWHERE, but instead a "spotlight" section)
- maybe online resumes
-hopefully special coupons to attract people to the site and get discounts on stores listed with the site.

so It is a pretty LARGE site with ton's of categories and such. I was looking around and started seeing "content managers" would I need one? or are they not needed?

so I need a Search bar for now.

~ thanks for reading, if you have ideas and such just reply I'm open to anything :D
Watch out for: HaloOfTheSun

Roph

Content Management System, more often abbreviated to CMS. The current top dog is kinda of a draw between Joomla and Drupal.

They're basically site systems that run entirely online. There's no making pages on your PC and then uploading, you write and (to some extent) design / post stuff directly online.

I used to run Joomla for my own site, though switched to just writing it myself mainly for practise, but also cause it seemed kind of cumbersome for a site as simple-ish as mine.
[fright]bringing sexy back[/fright]

ahref

there are some great simple CMSs around that are designed for smaller websites i used to use one i suggest you avoide though (phpcomasy- full of security holes[most of which i fixed for the devloper bu t she ignored]). I began to recode mine too after silver starting doings his :P. My old one used mysql aswell which was a real pickle when trying to backup

:)

#57
alright been trying to get the problem silverline pointed out, but I keep failing at my attempts. If anyone can take a min (or how ever long it would take someone who knows this stuff) to look and fix what I am doing wrong. I do have a problem specifically as well.

I know that I really need this one to be answered since I will be using the same teqnique for building websites with that sort of layour.
(content on right, navigation on right, header and footer)

the one specific problem is :

only in IE does it not line up. :/



if yuo are wondering what the html>body #leftside
is, it makes that info only for FF, the ones without it are for ie and ff both, but if it has one div with that in front and another w/o it it means the one with it is for FF and the one w/o is for IE.

Thanks to anyone that helps. :D

Watch out for: HaloOfTheSun

:)

well, 0 downloads xD
anyways just posting to say I got it to work :D
....had to re-do all of the code xD but it works :D
Watch out for: HaloOfTheSun

Roph

Personally I'd take time to learn what you're working with until you're comfortable before making stuff for other people.

Even if that just means you're only making simple stuff for others, at least it will work ok =)
[fright]bringing sexy back[/fright]

:)

 :) that's what I'm doing xD
(except that oak hill one I used frames on  ::) )
the one I've been making and asking for help on is a fake site to get me started. I am also working on a fake flower shop site.
Watch out for: HaloOfTheSun

:)

 :)
Another question xD

How can I make a comment page.
what I mean is like on crankeye.com you see the news, then see the # of comments left and then you can visit the comment page. I want all of that good stuff, but + a leave comment box. How would I go about doing this.

Thanks.
Watch out for: HaloOfTheSun

ahref

do you mean a news system or a guestbook. eitherway PHP is once again your best option

:)

ok lets say I post a new's bullet.

TITLE
BLAH BLAH
                   comments (2) Date: Blah

so when they click comments it goes to a page with only the one news item with the two comments and at the bottom a input form. with:
Name:
Email:
COmment:
Watch out for: HaloOfTheSun

ahref

news system :) id recomend http://cutephp.com/ if you dont want to write your own if you do then try a google search for " simple news system php"

:)

:)

thanks much :D
i'm going to try and do it myself (since most seem to use msqldatabase, and I have never touched one I should try first.) but if I fail I'll use cutephp :D
Watch out for: HaloOfTheSun

Roph

On slyph I use this: http://winged.info/

It supports comments, though I disabled them.

For This, it's actually done using special features built into SMF.
[fright]bringing sexy back[/fright]

:)

:D
sweet. I'll that one as well.

here's the mock up for Jalksons site w/o any coding to the news section in the center. It's all coded except that, the comment thingy is fake to xD it was just a design for it all.
but now I'll try and add one of these and see which works best.
Watch out for: HaloOfTheSun

Irock

I can't wait to see the comments work.  ;D

Roph

Oh right, if you're making it for jalkson then the best option would be to use his install of SMF.

Before anything else in the pages (you'll have to use PHP), include the "SSI.php" file from SMF's directory. Then when you want news to appear, just do this:

ssi_boardNews(84, 10);

The first number (84 in that) is the board ID you want to pull news from, and the second (10) is how many posts to pull.

Here's the source code of this thing. A little crowded but you can spot me doing it in there =)
[fright]bringing sexy back[/fright]

:)

woah.
I'll attempt that one as well. But i'm going to check with jalkson if he want's it this way, or the normal news post and reply on site way.

again (lost count?) Thanks tons.
Watch out for: HaloOfTheSun

ahref

i now use a blog for news :) it seems to make more sense well in a strange way 

:)

Alright I used one I found on google instead.

Here is the link to progress on the system:

http://www.rmrevolution.trap17.com/home.php

so far the only current problem is i'm trying to display the news item when you click comment, and I don't know how to make it show only the selected news item. But that's not anything I can ask here since I am using a totally different script.
Watch out for: HaloOfTheSun

:)

Hey silver is it possible to show only a certain item to the admin's / mod?
I know you gave me the code and it works great to restrict the whole page, but what I mean is showing the whole main page to everyone but:

Home
Downloads
Links
Contact
(Hidden to normal users) Admin (only seen by the same people we had set up last time)

if ($context['user']['is_admin'] or $context['user']['id'] == 2) {

I tried using that over a certain area and got errors every time, so I am asking if it's possible or not?

Thanks.
Watch out for: HaloOfTheSun

Roph

#74
You have to think about the order of your scripts and where stuff gets included.

It's no use checking if somebody is an admin or whatever, if at that point in the script you haven't yet included the SSI file, since the script won't have access to all that info yet. The very first thing you should do is always include the SSI file. With my larger sites (not just a giant one script thing like that crankeye thing) I use a common settings file (that would contain the SSI file also), that's included on every page.

Also going off that code you showed me earlier in IRC, you don't seem too familiar with some of the basic PHP stuff (multiple nested <?php's and ?>, which would stop anything working). Using an editor (I use Notepad++) helps you keep track of stuff like that (what language you're writing in, nice syntax highlighting, what brackets (if any =o) you're in and last of all wether or not you're inside PHP tags.

I think that's about as much as I can say since you didn't paste what the error was =p
[fright]bringing sexy back[/fright]