Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Site Feedback

Featured Replies

Hey Can you guys have a look over www.alanredfern.riccarey.com and give me some feedback cheers.

 

NB: ignore the glitch in the php on the porfolio page, im going to fix that tomorow. it should be in columns of 2.

 

Cheers.

you could do with some padding, most of the text sits on the left/bottom borders. or maybe it's designed that way?

 

an ordered list <ol> may make the 20 Questions look better?

What zed said plus...

 

shouldn't there be questions in the 20 questions section? lol. Its more like 20 facts.

 

I love dark themes but yours lacks color and interest. There is just way too much text. It needs to be broken up by either interesting images or a better layout. For sure need some leading.

 

Just needs a lot of visual interest.

  • Author

mmm, I copied the 20 questions off his original website, I'll throw in a list to it. Just noticed the padding issue aswell, I was sure I stuck some in while ago, must of got overwritten.

 

Any sugestions how I could make it more intresting with a regards to images, without having to drastically redesign?

Edited by RicCarey

Homepage slideshow's at least 4 times quicker than it should be. This is art, give people a chance to appreciate what they're looking at.

 

Needs padding. Lots of padding. I'd say maybe 15-20px on the content columns.

 

The typography could do with some work too. 14px leading (line-height) on 12px text is not good for legibility, you should be looking at 1.2em as a minimum, ideally 1.5em.

 

Tables for layout - really not good. Inaccessible to assistive technologies such as screen readers, and adds a lot of weight to your markup.

 

[Edited to add:]

 

Balls. Left this open for so long before posting that everyone came along and made my points for me.

Edited by Renaissance-Design

  • Author

Homepage slideshow's at least 4 times quicker than it should be. This is art, give people a chance to appreciate what they're looking at.

 

Needs padding. Lots of padding. I'd say maybe 15-20px on the content columns.

 

The typography could do with some work too. 14px leading (line-height) on 12px text is not good for legibility, you should be looking at 1.2em as a minimum, ideally 1.5em.

 

Tables for layout - really not good. Inaccessible to assistive technologies such as screen readers, and adds a lot of weight to your markup.

 

[Edited to add:]

 

Balls. Left this open for so long before posting that everyone came along and made my points for me.

With regards to the lineheight: are you talking about the menu or the content?

Honest opinion - I don't think the layout is right for the subject matter of the website...it's way too sleek, and doesn't really fit in with the artist's more organic style.

 

As I said, JMO :)

  • Author

If i throw some of his work tight into the paragraphs, that would brake it up a bit woudlnt it. The main thing I didnt want to do was overpower and take focus from his artwork, however this minimalist idea seems to have gone the other way.

I managed to 'attack' (very non-hostile attack) the Guestbook (click to view).

No damage done, but you'll need to delete the latest entry in the database. This is a serious security hole.

 

Check out htmlentities() PHP function to prevent this.

Edited by andyl

  • Author

ive put in htmlentities('.$row["gbcomment"] .',ENT_IGNORE) shoudlnt that ignore your code? becuase it still shows it overriding it. unless your meant to put it into the form?

  • Author

Post your guestbook code for printing results from the database, I'll take a look.

$guestbookresult = mysql_query("SELECT *, UNIX_TIMESTAMP(`gbdate`) AS `timestamp` FROM guestbook ORDER BY gbid DESC;") or die(mysql_error()); 
echo3;
$gbname = $row['gbname'];
$gbcomment = $row['gbcomment'];
$gbemail = $row['gbemail'];
$gbdate = $row['gbdate'];
while($row = mysql_fetch_array( $guestbookresult )) {
echo '<div id="guestbook"  style="text-align: center;"><div id="left" style="text-align: left;">htmlentities('.$row["gbcomment"] .',ENT_IGNORE)</div><br />Signed by htmlentities('.$row["gbname"] .',ENT_IGNORE) on ';
echo date('dS F Y', $row['timestamp']);
echo '</div>';
}

cheers mate, you dont know what people can do untill someones done it to you. Could of caused me alot of work if someone malicious had got in.

$guestbookresult = mysql_query("SELECT *, UNIX_TIMESTAMP(`gbdate`) AS `timestamp` FROM guestbook ORDER BY gbid DESC;") or die(mysql_error()); 
echo3;
$gbname = htmlentities($row['gbname']);
$gbcomment = htmlentities($row['gbcomment']);
$gbemail = htmlentities($row['gbemail']);
while($row = mysql_fetch_array( $guestbookresult )) {
?>
<div class="guestbook"  style="text-align: center;">
 <div class="left" style="text-align: left;">
   <?php echo $gbcomment; ?>
 </div>
 <br />Signed by <?php echo $gbname; ?> on <?php echo date('dS F Y', $row['timestamp']); ?>
</div>
<?php
}

 

Changes:

 

Amended output code to use escaped variables from above. You might want to look at stripping out code on entry rather than on display, it'll save space in your DB.

 

If you dip out of PHP to write the structure of your markup and echo your variables as above, it makes your HTML a lot more legible. That's a matter of personal preference, but it works for me.

 

Changed IDs to classes (you'll have to make corresponding changes in your stylesheet) because they're in a loop. IDs should be unique on the page - if you wanted to identify a row uniquely, you'd need to do something like this:

 

<div id="guestbook-<?php echo $row['gbid']; ?>">

No problem, try replacing all of your code with the below. It's untested but it's midday so hopefully I'm awake enough ;)

As I've said, no damage has been done to your site. When you add this code - it should all return to normal - but you're right, you can do serious damage with XSS attacks.

 

$guestbookresult = mysql_query("SELECT *, UNIX_TIMESTAMP(`gbdate`) AS `timestamp` FROM guestbook ORDER BY gbid DESC;") or die(mysql_error());
       $gbname = trim(htmlentities($row['gbname'], ENT_QUOTES));
       $gbcomment = trim(htmlentities($row['gbcomment'], ENT_QUOTES));
       $gbemail = trim(htmlentities($row['gbemail'], ENT_QUOTES));
       $gbdate = trim(htmlentities($row['gbdate'], ENT_QUOTES));
       $gbtimestamp = $row['timestamp'];
       while($row = mysql_fetch_array( $guestbookresult )) {
		echo '<div id="guestbook"  style="text-align: center;"><div id="left" style="text-align: left;">'.$gbcomment.'</div><br />Signed by '.$gbname.' on '.date('dS F Y', $gbtimestamp).'</div>';
	}

  • Author

cheers gues, ill throw that in later, got some work to do now though :(

No problem, try replacing all of your code with the below. It's untested but it's midday so hopefully I'm awake enough ;)

As I've said, no damage has been done to your site. When you add this code - it should all return to normal - but you're right, you can do serious damage with XSS attacks.

 

Your jokes, what can you do with them sort of attacks then?

Your jokes, what can you do with them sort of attacks then?

The possibilities are endless. - Check it out (refresh)

 

@Riccarey Here's a tidied up version of your code. Use this over my previous post, or use Renaissance's if you prefer:

 

<?php
$guestbookresult = mysql_query("SELECT *, UNIX_TIMESTAMP(`gbdate`) AS `timestamp` FROM guestbook ORDER BY gbid DESC;") or die(mysql_error());
$gbname = isset($row['gbname']) ? trim(htmlentities($row['gbname'], ENT_QUOTES)) : 'Anonymous';
$gbcomment = isset($row['gbcomment']) ? trim(htmlentities($row['gbcomment'], ENT_QUOTES)) : 'No Comment...';
$gbemail = isset($row['gbemail']) ? trim(htmlentities($row['gbemail'], ENT_QUOTES)) : 'No Email';
$gbdate = trim(htmlentities($row['gbdate'], ENT_QUOTES));
$gbtimestamp = $row['timestamp'];
while($row = mysql_fetch_array( $guestbookresult )) : 
?>

<div class="guestbook" style="text-align: center;">
	<div id="left" style="text-align: left;"><?php echo $gbcomment ?></div>
	<br />Signed by <?php echo $gbname ?> on <?php echo date('dS F Y', $gbtimestamp) ?>
</div>

<?php endwhile ?>

Edited by andyl

  • Author

a week later i finally got round to updating this, however ive tried all three types, and allthough they override the javascript. they override everything!

 

http://www.alanredfern.riccarey.com/guestbooka.php //orginal code by andy

http://www.alanredfern.riccarey.com/guestbooka2.php // tidy code by andy

http://www.alanredfern.riccarey.com/guestbookr.php // code by Renaissance-Design

 

any ideas?

Try:

 

<?php
$guestbookresult = mysql_query("SELECT *, UNIX_TIMESTAMP(`gbdate`) AS `timestamp` FROM guestbook ORDER BY gbid DESC;") or die(mysql_error());
while($row = mysql_fetch_array( $guestbookresult )) : 
$gbname = isset($row['gbname']) ? trim(htmlentities($row['gbname'], ENT_QUOTES)) : 'Anonymous';
$gbcomment = isset($row['gbcomment']) ? trim(htmlentities($row['gbcomment'], ENT_QUOTES)) : 'No Comment...';
$gbemail = isset($row['gbemail']) ? trim(htmlentities($row['gbemail'], ENT_QUOTES)) : 'No Email';
$gbdate = trim(htmlentities($row['gbdate'], ENT_QUOTES));
$gbtimestamp = $row['timestamp'];
?>

<div class="guestbook" style="text-align: center;">
	<div id="left" style="text-align: left;"><?php echo $gbcomment ?></div>
	<br />Signed by <?php echo $gbname ?> on <?php echo date('dS F Y', $gbtimestamp) ?>
</div>

<?php endwhile ?>

 

I managed to put the loop in the wrong place.

Edited by andyl

A guestbook ?

 

We have moved on from this haven't we..

 

design snob much? wheres your protfolio?

ps. What have you designed thats so awesome you can come on here and comment on other peoples work like that?

 

he knows what hes doing, if he wants a flower that spins in circles its upto him...

P.S Show me a *Design* snob, that isn't good at what he does.

 

Clearly he can do what he wants, I have absolutely no problem with that, BUT..

 

A forum is a place of free speech, and if I want to comment on peoples work like that, then that's up to me, as you say.

P.S Show me a *Design* snob, that isn't good at what he does.

 

Clearly he can do what he wants, I have absolutely no problem with that, BUT..

 

A forum is a place of free speech, and if I want to comment on peoples work like that, then that's up to me, as you say.

 

I'm just saying why be a tosser over it? Especially when so far all your posts are worded like that and you come across like a negative person. Show me something you have designed and spent hours on so i can slag it off please? I know its the internet and you feel like a keyboard warrior but there is no need to be a dick about it. Be polite bro.

I treat people as they treat others.

 

while i agree a guest book is very 90's... no need to be so sarcastic over it is there?

Thank You.

 

Welcome to the design world.

 

is there actually a need for the snobbery in the design world... no its just nob ends trying to feel important. It will just turn places like this which are normally friendly into "are you serious... that not even worthy of being on my monitor..."

 

what a ****ty attitude

It is what it is, people are what they are.

 

And I think you are taking me far to seriously for me to wind you up.

  • Author

If the client asks for one, im not going to turn around and say 'nah thats too 90's mate'.

Ok, here's how it goes.

 

You might know stuff that the client doesn't, like the fact that Flash content is less visible to the search engines or the importance of links and headings to SEO. That's partly what you're paid for.

 

Another part of what you're paid for is design - for example (to take it to extremes) that Comic Sans or Papyrus are over-used and inappropriate. More realistically, the client is paying you to use your skill and knowledge to know what typefaces go well together and what don't. Again, I don't think anyone would disagree with this.

 

Another facet of what you're being paid for is to use your superior knowledge of the general ecosystem of the Web to deliver something that gives off the right impression, and if that means educating the client that hit counters and guestbooks are straight out of the 90s, that's what you have to do. You're not being hired because you know how to use Photoshop or code PHP - if you're a one-man band it's your responsibilty to deliver the best possible result for the client in every aspect of the project; to make them aware of what they need in order to appear as credible as they possibly can because credibility sells.

 

Sometimes the client may misunderstand the nature of the relationship. It's a sad fact that while people are happy to trust their life to their doctor or their car mechanic based on specialised knowledge, they'll quite happily tell their designer (by which I mean their web professional in general) exactly how they want something done. Part of the problem is that we as designers and developers (and the creators of every WYSIWYG tool ever devised) have allowed them to believe that there's nothing to our craft, that all they have to do is buy Dreamweaver or post a contest on 99Designs and they will get everything that we as professionals are capable of achieving. It's up to us to educate our clients, not only to the underwstanding that we know what we're doing, but that they frequently don't understand our field any more than we understand theirs.

Edited by Renaissance-Design

  • 2 weeks later...

nice but in my opinion you need to involve more colours in your total work :p

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.