Log in

View Full Version : New Design (Again)



mburt
05-15-2007, 10:21 AM
So I totally reinvented my site, from scratch:
http://mburt.mb.funpic.org/
It uses a file structure system, so if I add a folder in the "links" folder, eg. New Folder, it will add to the menu automatically. Then that directory file will read the contents of that folder and put links under the corresponding directory.
Also, the new design is pretty :).
Feel free to comment on anything, I like constructive critisism.

boogyman
05-15-2007, 12:45 PM
you mean it needs to be constructive? :p hehe not too shabby mate. not too shabby at all. I like your new design, but only question i got is how do you exclude your php extension?

eg ( mburt.mb.funpic.org?page=archives.df )

mburt
05-15-2007, 03:04 PM
I have to to identify the folders from the actual pages. As you may have noted, "?page=articles.df" is a directory, but "?page=links" is not. All the pages are ran from the index.php. I could set the keyword to "-df-" if I wanted to, I use variables to control everything. ".df" seemed accurate (directory file), it has no effect on the way the page is displayed either.

The index page is incredibly complex, so I had to use alot of variables. It's about 10kb.

boogyman
05-15-2007, 03:33 PM
what i was asking is how do you have it so that it omits the index.php and just shows the rest?

mburt
05-15-2007, 03:47 PM
If the index file is in say:
mysite/index.php

it can also be opened as:
mysite/

By default, the "index" file is loaded.

boogyman
05-15-2007, 04:33 PM
oh thanks mate... I thought that was only true for html files, but I guess I was wrong

killerchutney
05-15-2007, 05:46 PM
looking good!!
one (and the only) thing I would say is increase the left/ right padding around the menu. I think it would look less cluttered that way.

boogyman
05-15-2007, 06:14 PM
dont know if you have a "discussion forum" anywhere on there, but for your "box script" you only have the ability to flip xy, x, y axis once, I am thinking if you add another parameter to the flip function and if its hit a second time it will reverse the flip ? and what is the "rotate auto" button for? it doesnt seem to do anything

Jas
05-15-2007, 07:46 PM
Great site. I like the window script; it could come in very handy in web pages.

mburt
05-16-2007, 07:03 PM
boogyman: Move your arrow keys, it rotates with a third level.

Jas: Hehe... just so you know, mine isn't really complete. And DD has a better one :D

Twey
05-16-2007, 07:40 PM
So what exactly is a "third-party browser?" :)

Nice design, but you should update to HTML Strict. Sending a proper HTTP 404 page (with header) would be a better idea than serving blank articles, too.
Another good idea would be to allow arbitrary levels of directories, and/or use mod_rewrite to make your URLs a little more presentable. A good idea would be to have the pages include the template, rather than the other way around. That would skip all the faking and code required for the above and let users simply go to, say, /articles/firefox.

mburt
05-17-2007, 12:37 AM
It is in "testing" form, and I'll try to validate it. The problem with the htaccess suggestion is that my server doesn't allow it. It would, in fact be a great idea, maybe even including the date, like many "archiving" sites do: articles/2005/topic


So what exactly is a "third-party browser?"
Heh.. I slapped together the articles just so I could put it on the web, and so it would have some content :).

mburt
05-17-2007, 12:47 AM
(Yay) I validated it. So it's now HTML 4.01 Transitional.

Twey
05-17-2007, 11:02 AM
There really shouldn't be any reason not to use Strict.
The problem with the htaccess suggestion is that my server doesn't allow it.In that case use my second suggestion, having the pages include the template rather than vice versa. It simplifies the process, too.

Hypocrisy, I know, I need to sort out the URLs for my own site soon. I think a full redesign is in order, actually.

tech_support
05-17-2007, 11:15 AM
There really shouldn't be any reason not to use Strict.
True. There's only 2 small errors if you validate it with HTML 4.01 Strict.
http://validator.w3.org/check?uri=http%3A%2F%2Fmburt.mb.funpic.org%2F&charset=%28detect+automatically%29&doctype=HTML+4.01+Strict&verbose=1


I think a full redesign is in order, actually.
You should. Your site looks so... technical! :p

boxxertrumps
05-17-2007, 01:17 PM
Do you have any new graphics for the site?
The old one doesn't match...
Speaking of graphics... have you used something like pngcrush on your background image?

Twey
05-17-2007, 04:59 PM
Unless it's been produced with Photoshop or something, it should already have been optimised.

mburt
05-17-2007, 07:51 PM
The "box" background is only 75kb, no big deal. The actual background image is only a 3 x 3 pattern, so that makes it less then a kilobyte.

mburt
05-17-2007, 07:55 PM
In that case use my second suggestion, having the pages include the template rather than vice versa. It simplifies the process, too.
What? That would make everything incredibly time consuming.
This is (basically) how my template works:


echo $indent.phpinclude($_GET[$var]);

(phpinclude() = my function to include php files)

So if I wanted to add a file, I would simply upload it to my main folder, or create a subfolder (which would create a link on the site, once clicked, listing the files with a description) and a script would add it manually.

Twey
05-17-2007, 08:33 PM
Yeah, I figured that out.

I'm saying that instead, you should have individual files (say, /articles/firefox.php) which do something like:
<?php ob_start(); ?>
<p>Some content, lorem ipsum dolor sit amet and all that...</p>
<?php
$content = ob_get_clean();
$title = 'Firefox vs. IE';
include '/template.php';
?>And in template.php, you might have:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title><?php echo $title; ?></title>
</head>
<body>
<?php echo $content; ?>
</body>
</html>That makes the URLs nicer and solves the problem of when you need more than two levels of directories, in one fell swoop without .htaccess or anything like that being involved.

mburt
05-17-2007, 08:37 PM
Oh, I see. That's an interesting idea, but still more work. I'd rather simpy have the file though, and have the index include the template. Easier. If I can get a server with .htaccess files though, the directory thing could work well.

tech_support
05-18-2007, 07:08 AM
Your tutorial page doesn't validate (http://validator.w3.org/check?verbose=1&uri=http&#37;3A%2F%2Fmburt.mb.funpic.org%2F%3Fq%3Darticles.dir%26sub%3DWYSIWYG_Editors).

techno_race
05-20-2007, 02:35 AM
<p>Some content, lorem ipsum dolor sit amet and all that...</p>

:D
"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas venenatis pretium elit. Vestibulum sed est. Curabitur erat nulla, eleifend sit amet, ultrices eu, tristique quis, nisi. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Fusce neque velit, rhoncus nec, dapibus vitae, blandit ut, erat. Nunc ut mauris. Nam felis risus, tempor quis, lacinia sit amet, tempor sed, ante. Aliquam rhoncus, libero ut tincidunt egestas, elit eros porta urna, et viverra nisi nulla scelerisque felis. Proin viverra semper arcu. Vivamus elit lacus, feugiat sit amet, rhoncus eget, varius id, leo. Aenean nunc felis, fringilla non, aliquam eu, commodo at, nisl. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque sed ligula. Fusce tristique neque. Donec nec tortor et velit fermentum porta. [...]
[The rest of the latin text has been removed by a moderator. It serves no point. As the thread has said, it's nonsense.]

techno_race
05-20-2007, 02:46 AM
Machine translation is horrible.
A machine translator came up with:


Lorem itself pain he is amet consectetuer to come up to elit. Maecenas venenatis price elit. Vestibulum but is. Curabitur was nulla eleifend he is amet , avenging good , to make sad anyone , if not. Vestibulum before itself first upon faucibus orci lamentation and avenging to lay bed Management Fusce worthless skirmish rhoncus and not , seneschal life , blandishments when , was. Now when mauris. For lucky laughter , transitory anyone lacinia he is amet , transitory but , before. Some rhoncus , to set free when tincidunt to extreme poverty elit eros carry urna , and viverra if not nulla crime lucky. Consequently viverra always bow. Vivamus elit a hollow feugiat he is amet rhoncus eget , various this , lion. Eneus now lucky fringilla not , some good , to make fit but nisl. When fellowship natoque penatibus and magnis rich parturient Mons nascetur facetious mouse. Pellentesque but ligula. Fusce to make sad worthless. Up to the time when and not tortor and skirmish fermentum carry. Maecenas and pede not lion annoyance fermentum. Nulla easy. But fringilla. As yet fringilla to set free life unseemly. Duis eget equity when wise soft tincidunt. Now vulputate to add to a heap lion. Vivamus pregnant sagittis is. Up to the time when worthless. Whole rhoncus. Whole but wise. As yet to lay. But if not to hate fringilla time , a thrower he is amet rutrum fringilla tortor. For but pain anyone laughter lobortis tincidunt. " but transitory conveyance pede. Maecenas conveyance , equity not tincidunt bibendum , laughter was fringilla pede , and lobortis elit magna vestibulum dui. Fusce soft , was this avenging lamentation urna nisl fermentum bow , he is amet a thrower lorem diam good eros. Some eget is. Vestibulum carry dui not elit. Some and not tortor. Upon time unseemly eget nulla. Vivamus eget eros. Up to the time when dust mauris good itself. Nulla concern vulputate nisl. For mattis ullamcorper if not. When fellowship natoque penatibus and magnis rich parturient Mons nascetur facetious mouse. When fellowship natoque penatibus and magnis rich parturient Mons nascetur facetious mouse. When eget nisl eget to set free dignissim vestibulum. Up to the time when a magna or was annoyance tincidunt. Pellentesque or in fact good diam concern ullamcorper. Tomorrow pede nulla , always anyone sagittis anyone faucibus he is amet mauris. With a ready a augue. Each one rhoncus wise eget pede. " sickness now to hate ornare eget , price and feugiat upon , spotless. Curabitur anyone to set free but mauris a thrower fermentum. Curabitur volutpat some orci. When augue. Tomorrow always tincidunt spotless. Tomorrow some mauris but volutpat vestibulum mauris eros to add to a heap region , this carry diam bed this eros. Pellentesque vulputate feugiat pain. But always skirmish not wise. A fleet of a hundred ships aptent silently sociosqu to to propitiate to turn very conubia our , very beginner hymenaeos. When fellowship natoque penatibus and magnis rich parturient Mons nascetur facetious mouse. Now easy in fact when itself. " each one lion laughter , some or , to come up to or tincidunt and orci. Up to the time when massa. To suspend bed wise , avenging always volutpat anyone porttitor but , unseemly. Consequently blandishments pede not a hollow. Sickness dui. For pellentesque urna he is amet tortor. Upon pellentesque. Up to the time when a thrower how. When is pede feugiat and not , to make sad he is amet , seneschal life , how. When dust spotless and bed. Tomorrow but pain when unseemly rhoncus pellentesque. With a ready unseemly pede , person responsible and , a quiver consectetuer , word when , unseemly. Curabitur to raise up massa and not was. " but skirmish magna pellentesque anyone , a race fringilla , some rhoncus diam. Each one but elit. When time crime to set free. Maecenas easy ligula eget laughter. Duis pellentesque , before upon a race easy tortor augue concern nibh , this vulputate region nibh not how. Fusce sagittis hendrerit pede. To suspend and tortor. Mauris this is. Vestibulum wise lorem hendrerit but , to extreme poverty or bibendum porttitor , before....

Twey
05-20-2007, 10:15 AM
Being as modern lorem ipsum tends to be randomly-generated, I'm not surprised.

techno_race
05-20-2007, 02:33 PM
Each one lion laughter?

It is real Latin; it probably's never heard of most of the words.

I'm not sure what you mean by "random," but if you were saying that

"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. [....]"

[The rest of the latin text has been removed by a moderator. It serves no point. As the thread has said, it's nonsense.]
was randomly-generated, it's not. It's not from one of the normal places; it's the original.

Then again, any "lorem ipsum dolor" stuff isn't modern - they have a newer version. Hang on...

techno_race
05-20-2007, 02:37 PM
In rhoncus. Cras et nisl sit amet tellus volutpat tincidunt. Nam at libero. [...]

[The rest of the latin text has been removed by a moderator. It serves no point. As the thread has said, it's nonsense.]

techno_race
05-20-2007, 02:43 PM
It uses a file structure system, so if I add a folder in the "links" folder, eg. New Folder, it will add to the menu automatically. Then that directory file will read the contents of that folder and put links under the corresponding directory.
Nice. Please tell me how to do that! :)

Twey
05-20-2007, 05:05 PM
I'm not sure what you mean by "random," but if you were saying that [snip] was randomly-generated, it's not. It's not from one of the normal places; it's the original.Where did you find it?

boxxertrumps
05-20-2007, 08:43 PM
the original lorum ipsum text was from a scroll/book(cant remember exact ally...) of a language similar to Latin.
http://en.wikipedia.org/wiki/Lorem_Ipsum#History_and_discovery