Geeks
Privileged
-
Joined
-
Last visited
Reputation Activity
-
Geeks reacted to Lovelock in please reviewRemove that background image. Looks dated.
Im not saying this will work... but try something like this a repeated background image:
http://subtlepatterns.com/
Skip the first page, go for a grainy texture they have.
-
Geeks reacted to Malyo in please reviewHey there!
- First of all i would fill the content (wrapper) with color, splitting background from content obviously;
- You should reformat the text around the site;
- so many boxes around the sides make it really distracting, try something subtle, in one block, separated with light overlay 2px (1px black/1px white);
- The green/black gradient isn't much good looking;
- Theres a lot of content overall on the page, icons would help navigating the site.
Hope that helps!
-
Geeks got a reaction from DigitalSquid in Can't retrieve details via. GETmy 2 cents :
<?php // use full opening statement, some servers have issues otherwise and it is only 3 letters // lets do a bit of input checking if( isset($_GET['id']) // is the id actually set ? and // we use and, because all of these critia must be met is_numeric($_GET['id']) // is the id actually a number and // we use and, because all of these critia must be met strlen($_GET['id']) <= 7 // allow for up to 9999999 games not crucial but still nice to limit as much as possible ) { // open if statement // this file is crucial so we use require require_once 'dbsettings.php'; // assume dbsettings.php has an array (named $sqlconf) with database settings in it $gameID = preg_replace('/[^\d]/','',$_GET['id']); // remove anything that is not a digit ; being pedantic but over caution is good $pdo = new PDO('mysql:host='.$sqlconf["host"].';dbname='.$sqlconf['dbase'],$sqlconf["login"],$sqlconf["pass"]); // new pdo instance $stmt = $pdo->prepare("SELECT * FROM `game` WHERE `game_ID` = ? "); // the ? is a place holder for the variable to be passed through $stmt->execute(array($gameID)); // pass the ID to the prepared statement, it replaces the ? $gameSet = $stmt->fetchAll(PDO::FETCH_ASSOC); // fetch an array with the Game's details if(count($gameSet) > 0) { // if there was a result echo '<table border="1"><tr><th>Game Name</th><th>Platforms</th><th>Description</th></tr>'; // single quotes proccess faster foreach($gameSet as $gameRow) { echo '<tr> <td>',$gameRow['gameName'],'</td> <td>'.$gameRow['platform'],'</td> <td>',$gameRow['description'],'</td> </tr>'; // using muliple echo's is slower } echo '</table>'; } else {//if there was no result echo 'No Game with this ID found.'; } }// close If Statement else{ // handle bad inputs echo 'Input Error !'; } include 'close.php'; ?>
-
Geeks got a reaction from tlmsolutions in Assitance?HTML - Know this CSS - Know this JQuery = Javascript (Jquery is a Javascript framework) SQL/MySQL <- whats the difference (sorry) - SQL is Structured Query Language it is the language used to query and manipulate your database, mySQL is a type of database PHP - server side coding (your backend essentially) ASP - server side coding (your backend essentially) alternative to PHP AJAX - is more of a concept that a language, it is (in this case) javascript combined with PHP
-
Geeks got a reaction from Pedro in Assitance?@Samus has most of the base's covered
for the engine I would just recomend that you should do lots of preparation before doing any code, start by putting pen to paper, write down the concepts, draw flow diagrams it becomes much easier to come up with the logic when you know what your goals (pardon the pun) are.
example of brainstorming:
start season, should players carry over there ratings?
start season, reset tables but save stats in a history table.
start season, generate fixtures table
run cron job every hour to "play matches"
in match determine which players are on the field
in match calculate total team skills based on players ratings
in match each team has a chance to attack and defend
in match each player has a chance at a card perhaps based on disapline rating
after match, players ratings should be affected by the result
after match log should be updated
etc etc etc
just put all your thoughts down, once you have everything then you can start with database design, this is in my opinion, the single most important part of your application, keep referential integrity and apply your indexes correctly and your app will be lightning quick.
as for the logo etc, I think that you should ask someone to help you design and maybe once you have ideas for the flow, maybe get someone to help with the application design too. If you really want to do the designs, inkscape and GIMP are great free tools for this.
as for the technologies involved,
(x)HTML
CSS
JQUERY (javascript for lazy people)
PHP ( study OOP for php, you will use it in this project alot )
- just imagine a class called player with functions like :
- shoot
- fowl
- defend
- etc.
mySQL (database engine)
SQL (for Queries)
make a point of making your project easy to customize, have a globals file with all your "main" information, that makes it easy to change later.
in my experience a using a variable for $domain make the program easier to move around, use it from the start and call it whenever you place an image, a javascript file, a css file, makes life a ton easier later.
for web hosting a shared host with php and mysql support, if you require log ins then SSL is always a nice addon
hope this helps, keep us informed of your progress
-
Geeks reacted to OwenONeill in Please ReviewLooking Good - It just breaks it up and makes it so much easier to read.
Now its all aligned there isnt so much to worry about, it looks much better and you shouldn't worry so much now.
Spacing is spot on! - Hope you think this has made a massive impact on a user reading your information, which I'm telling you it definitely has! I'm no top notch web designer myself and face problems like you everyday, But that is definitely 10 times better!
That's fine, I like the way it looks, the rest is just tweaking and like I said, constantly compare it to those that offer a similar service, I mean you have to think, if what there doing is working? Then yours well too if it follows the same guidelines. (within reason haha).
Im glad you don't deal with money, god that would be a hassle, I don't think your face book page is linked to the right page? Just double check that. If you cover all your bases then don't worry, but if there's anything major make sure it can be seen.
Also - start looking into Google ad-words and some websites such as Link share - and consider advertisements methods to possibly make some money someday. But that's definitely the next step now and once (if) there is any more tweaks to be done.
Great to see improvement, as Im learning all the time also, Thanks for the +1 - Add me on here and if you need anything, I'll only be a question away.
Take Care! Glad I could Help!
-
Geeks reacted to rjdejong in Please ReviewHello,
I might be a bit late the party but i have some thoughts that might be of use to you. First off the fluid layout is pretty cool al though i'd put a max-width on it. On large screens it becomes a bit incoherent. Also you seem to have 2 logo's dunno wich one is the right one, i suppose it the one in the top left corner. You could maybe make it a bit bigger.
I like the Green White Dark gray combo, might be nice to see it at various places. Like in the footer the light gray blocks could be green. Some links could turn greens when you hover them.
One last thing, The text in the left column is a bit too much you want to make the points as short as possible. For example
Our Latest Algorithm Gives You !
Top 3 94% placing rate
Top 4 96% placing rate
Top 5 99% placing rate
that makes your selections much easier !
Swingers 48% hit rate !
Hope this helpes you out a bit.
Kind regards,
-
Geeks got a reaction from pandad in New Panda Doodle Site (jpg mock)You have amazing talent and creative ability keep up the good work !
-
Geeks reacted to OwenONeill in Please ReviewMuch betterrrrr!!!
Slowly getting there, its more accessible and easier to read now, hopefully you think the same.
Making text smaller still needs to be broken up by headings, So put the headings larger than the text. So the user only has to read the heading, and if they want to read more they can.
It changes quite a lot with the change in size of browser, If I make my browser smaller it all gets aligned, but it comes down to spacing now. Just make sure its all spaces out, like padding with horizontal and vertical space between text.
And once again, text alignment, I personally am not a fan of centre alignment, others may be, but I think it looks a bit tacky if overused. Just implement the stuff you have already done in the rest of your website.
It's getting better and more proffesional, I hope you know that, I don't know but would you need a more powerful disclaimer on this website? Not to sound stupid, but something similar to what a porn site would use, because you don't want to be held responsible for their money loses?
I have no idea about this sort of thing, but if there is anything legal you need to look into, do it early
All the best of luck, im sure in weeks/months it will be a great website, and showcase a lot, but its all tweaking and a little learning from now I think.
-
Geeks reacted to OwenONeill in Please ReviewYour getting there, it starting to look better,
Now you wanna add a few things that make it more inviting and design friendly.
The div boxes you have are just one plain colour background, try and make it so its ssmall gradient, as in my opinion this is has a massive effect! So make the gradient colour atleast 20-30% darker of what the colour is and It will seem so much more proffesional.
In the grey divs, make the 'read more' smaller, and get rid of the the '...' facebook doa similar 'read more' button and having it the same size of that text makes it just as significant, when actually it isn't.
You have used a nice gradient on your navigation bar, try that on your other boxes, (just not so dark).
On your image on the front page, have that sitting to the left and then the content, like this:
http://www.bbc.co.uk/news
its smart and allowes the user to read so much more easier, don't forget to break it up with lines like BBC have used and don't use typing errors such as two exclamation marks, use one.
In the green div your using more centered text aswell as left aligned, make sure they are all the same and the images have some vertical and horizontal space, make sure the green div is chucked right to the top to its horizontally align with the top grey right div.
By making the text on your homepage smaller, (the main body of text) and having it sitting next to the image will save a lot of homepage space, will look neater and will be less scrolling for the user!
The logo is aligning to the right in my Mozilla firefox browser, 4.0.1. - So I don't know whehter that's browser issues or an issure your having, bet its actually gone past the member log in rather than sitting on the left hand side of the website.
Let me know when you've done some other edits, look closely at other betting websites and see how they break their information down, then use their techniques to do the same, eventually you will end up making your own decisions without copying someone else.
But, getting there!
-
Geeks reacted to OwenONeill in Please ReviewLike the idea of the website to be honest.
And I agree with the others, spacing and breaking the information helps a lot - As long as it isn't A LOT to read at once, the users get the idea.
You've made the boxes with css I assume, I think you should get rid of the borders, if you do make them 1px thick and add a drop shadow behind them.
Also, by looking on your website, you have a total 7 different text colors, this is confusing and very frustrating from a customers point of view.
Look at this website: http://www.ladbrokes.com/sports-betting/01/index.html?AFF_ID=38926&SC=ABS-162-604-161705-E-UK-G&gclid=CJ-j--LxvakCFQRP4QoduknAfw
A betting website, regardless of design or backgrounds, all their text is either white or black.
---
Andd... The writing on the homepage is centered, and then justified to the left. This throws my eyes off and loses my concentration, if concentration is lost then so are they on your website.
Seems you haven't used any tables, in this, so move your log in bit so the the question mark at the end of 'not a member' aligns with the right side of the boxes, (i.e. watch your money grow).
And bring the logo in and the navigation bit in to match the left side of the boxes left.
So its all flush and follows and invisible vertical line, if that makes sense?
------
I have a 22inch Mac Monitor and rarely do I get a website that stretches the whole length, me personally, anywhere between 900px-1100px are about right, too large and you face the risk of the user having to scroll horizontally (unless you want them too of course!)
I'm not slagging your website off, just my personal opinions, and I have built a few website's in my time and these are the 'kind of' rough guidelines I follow, others may do the same, or similar.
Hope I Helped.
-
Geeks got a reaction from abeer in How can i do this?if(isset($_POST['id']) {
should be :
if(isset($_POST['id'])) {
there is a ) missing
-
Geeks reacted to Jock in WDF Coding challenge #2Friday the 13th
Challenge: Inadequate Research Company™ claims that accidents increase whenever Friday is on the 13th day of the month. In order to cater for this dubious claim, the HR department of your local GP wants to increase staffing on these dates and has approached you to create an application that will display the next 10 occurrences of Friday the 13th.
Closing Date: 22:00 Monday 13th June 2011 UTC
Difficulty: Very easy
Entry: pm entries to me
Rules:
1 - The script must display at least the next 10 occurrences of Friday the 13th.
2 - This is a very common challenge, DO NOT CHEAT, if you need help then post here.
3 - Any coding style can be used, linear, procedural, OOP, event driven, whatever you want.
4 - You may NOT use any 3rd party component, library, framework, etc. however SPL is permitted.
5 - The application should figure out which dates are Friday the 13th itself and not from a pre-populated set of dates. e.g starting from the date the script is executed, find the next 10, so that it can run in the future.
Example Output:
13/01/2012 13/04/2012 13/07/2012 13/09/2013 13/12/2013 ...etc...
-
Geeks got a reaction from Jock in WDF Coding challenge #1my entry overkill much ? lol
http://tajemo.co.za/text_kite_challenge.php
-
Geeks reacted to Jock in Password GeneratorYou don't need to reseed the range every loop iteration, you can define it before the loop
$range = array_merge(range(33, 37), range(39, 59), range(63,126)); while (strlen($password) < $password_length) { // append to $password $password .= chr($range[array_rand($range)]); }
Personally I'd use a for loop here rather than a while loop, your script will need to call strlen every iteration rather than just incrementing a variable.
-
Geeks reacted to Jock in Password GeneratorLooks ok to me, not sure what $__log is for though.
If you don't like the character set that rand(33, 126) returns you can create your own whitelist of characters. Its probably slightly more efficient that conditionally checking each character against a blacklist.
$range = array_merge(range(33, 37), range(39, 59), range(63,126)); chr($range[array_rand($range)]);
-
Geeks reacted to Jock in Password GeneratorI'm so bored...
class wdf_password { /** * Generate a password * * @access public * @param integer $length * @return String */ public function generate($length= { if(is_int($length)) { for($bits = new \SplFixedArray($length), $i = 0; $i < $length; $i++) { $bits[$i] = chr(rand(33, 126)); } return implode('', $bits->toArray()); } else { throw new \InvalidArgumentException('Length must be of type integer.'); } } /** * Magic method to invoke generation method * * @access public * @param integer $length * @return String */ public function __invoke($length= { return $this->generate($length); } } $password = new wdf_password(); echo $password(;
-
Geeks reacted to Shaun Childerley in Password GeneratorThats excellent, Yh i was also going to do a simple class but build the one above for basic PHP users, You should add me on skype
sdchilderley or schilderley
-
Geeks reacted to Jay Gilford in Basic PHP tidy-up pleaseSince it's only one line, you don't need the braces. I do actually use them for one line statements, but you asked for it to be cleaned up. The following are the same
if(...) { // Do something here} if(...) // Do something here
When you want to do more than one thing based on a condition, you put them in curly braces
if(...) { // Do something here // Do something else here // Do something else here too }
As for the single/double quotes, I generally don't use double quotes unless necessary such as writing SQL queries where you need single quotes in them. There's no real right or wrong answer for them, but single quotes used to be parsed quicker since you can have variables in double quoted strings (I don't recommend this personally, but many people are happy to do it) so it takes extra processing power to find those variables, and convert them. That said, I've heard that in the latest versions of php these differences are almost unnoticable
-
Geeks reacted to invisibleinkweb in new site for core drilling companyHere's the logo as a .png file with transparency, so you can put it on any backgroud...
-
Geeks reacted to invisibleinkweb in new site for core drilling companyGeeks,
First off, thank you for taking the criticism in the spirit it was intended. Reading it back, it seems a little harsh but I can assure you that wasn't my intention...
As for the improvements, it's a little better but that logo needs a little work.
Would you be offended if I had a little play with the logo and posted it back on here??
I think the site has got potential and I have absolutely NO problem with the simple design - it's actually very refreshing to see!!
-
Geeks reacted to invisibleinkweb in new site for core drilling companyNo worries at all mate - give me a shout if you're having any problems with it!
-
Geeks reacted to invisibleinkweb in new site for core drilling companyOk, done a quick mockup. Sorry about the images - they're from another job but basically they fit the dimensions of the template...
I'm not sure about the colour - the red is difficult to work with. If you could make it a little brighter, it would help a LOT but i've used the same colours as in your site...
The top image (with right and left arrows) is a flash image transition - don't know if you want that there to be honest but I thought it looked kinda cool.
Odd numbers rule in web design - that's why i've chosen those 3 recent jobs and also added a space for another service - i'm sure you can find another one...
Anyway, like I said, just an idea but maybe it'll give you a bit of inspiration or something, haha. Good luck!
-
Geeks reacted to notbanksy in immigrating any suggestionsIt really depends on where in the UK you're thinking of moving to. London and its surroundings as you can imagine is very expensive. Renting is your biggest expense wherever you are. Have a look at this site findaproperty.com and look up the price of a house/ flat/ room/ whatever in the area you're looking to move to. Bear in mind the tax situation here too - you'll need to factor in council tax to your monthly expenses. Typically for a modest 2 bed house in my area you'll be paying about £110 per month in council tax.
As for where to look for work, when it comes to web work, some places are better than others. Have a look at Bristol - always seems to have plenty of web related jobs. Other than that, wages tend to be better in the South than the North, but then the cost of living tends to be higher too.
Good luck with the move
-
Geeks reacted to sunwukung in new site for core drilling companyLayout:
- header: why so tall?
- intro area: don't try to cram 3 case studies in, just make a big deal out of one
- testimonials: probably move these below the intro area to make more use of that space
Graphics:
- colour: too heavy
- gradients: too many
- borders: too thick
- type: I quite like the secondary font in the logo. Primary is minging.