1. Post #1761
    Gold Member
    Bomber9900's Avatar
    December 2008
    2,848 Posts
    Loads for me but there's a minor issue with the home/login/register box at the top right

    I'm on 1366x768
    right so im using percentages to size that navbar, anyway I can make it fit all resolutions?
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  2. Post #1762
    Gold Member
    Adzter's Avatar
    September 2009
    2,033 Posts
    It's not even loading for me now I just get this:


    As for your question you could use min-width

    EDIT: Quickly messed around using Chrome inspect element and on the #navbar add:
    min-width:240px;
    min-height:50px;

    Then you can tweak it to your liking

    EDIT2: Your site seems to load now
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  3. Post #1763
    Gold Member
    Bomber9900's Avatar
    December 2008
    2,848 Posts
    i'm not new to web dev, but i am just getting started on working on this as a serious project. Anyways, I like to avoid using pixels but I guess I can try that.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events

  4. Post #1764
    secretly a furry
    Jelly's Avatar
    April 2011
    2,023 Posts
    -snip-
    Reply With Quote Edit / Delete Windows 7 Australia Show Events

  5. Post #1765
    Gold Member
    Adzter's Avatar
    September 2009
    2,033 Posts
    i'm not new to web dev, but i am just getting started on working on this as a serious project. Anyways, I like to avoid using pixels but I guess I can try that.
    You use it as well as percentages it just makes it so it doesn't go really small.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  6. Post #1766
    Sharpshooter's Avatar
    April 2007
    1,230 Posts
    There's no email input, how would you get their email?

    Yeah forgot to mention thats a in-development screenshot, its been added now!
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  7. Post #1767
    Gold Member
    Bomber9900's Avatar
    December 2008
    2,848 Posts
    man i'm trying to make a fucking login and register and i'm just hitting brick wall after brick wall. I wish I didn't suck ass at php.
    Reply With Quote Edit / Delete Windows 7 Canada Show Events Funny Funny x 1 (list)

  8. Post #1768
    Sharpshooter's Avatar
    April 2007
    1,230 Posts
    man i'm trying to make a fucking login and register and i'm just hitting brick wall after brick wall. I wish I didn't suck ass at php.
    I'm currently in the process of creating a php login / registration system, its a lot more work than I first anticipated.

    I followed this tutorial mainly:
    http://tinsology.net/2009/06/creatin...the-right-way/

    but I made a few changes such as not storing the password salt in the database and instead having it pick 3 fixed characters only I know the position of and salt these to hash the password with.

    Its a decent base but I ran into problems using it too, the major one was 'how the hell do I get the error messages back to the form, I followed another tutorial on form validation for that which basically sent the form back to itself with the errors.

    Just keep at it, the tutorial on tinsology is quite easy to get your head around, it does literally just drop you at the other end with an incredibly basic system though.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  9. Post #1769
    Gold Member
    toaster468's Avatar
    January 2010
    3,260 Posts
    man i'm trying to make a fucking login and register and i'm just hitting brick wall after brick wall. I wish I didn't suck ass at php.
    http://www.openwall.com/phpass/

    You're welcome

    On a serious note this is very secure, and pretty damn easy to use. Just read a tutorial like this
    Reply With Quote Edit / Delete Windows 7 United States Show Events Dumb Dumb x 1 (list)

  10. Post #1770
    rookwood101's Avatar
    September 2011
    256 Posts
    I'm currently in the process of creating a php login / registration system, its a lot more work than I first anticipated.

    I followed this tutorial mainly:
    http://tinsology.net/2009/06/creatin...the-right-way/

    but I made a few changes such as not storing the password salt in the database and instead having it pick 3 fixed characters only I know the position of and salt these to hash the password with.

    Its a decent base but I ran into problems using it too, the major one was 'how the hell do I get the error messages back to the form, I followed another tutorial on form validation for that which basically sent the form back to itself with the errors.

    Just keep at it, the tutorial on tinsology is quite easy to get your head around, it does literally just drop you at the other end with an incredibly basic system though.
    that tutorial doesn't seem to mysql escape the form input tut tut tut.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  11. Post #1771
    Sharpshooter's Avatar
    April 2007
    1,230 Posts
    that tutorial doesn't seem to mysql escape the form input tut tut tut.
    Yeah its by no means perfect, stores stuff like salts in the DB which isnt great, but it is a good starting point.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  12. Post #1772
    Gold Member
    toaster468's Avatar
    January 2010
    3,260 Posts
    I just updated http://toaster468.com/bm/ with a new analytic API I found! Its called Flexpi and it is for games/web apps and they offer free real-time stats.

    My game is just a simple button mashing game, but it is nice practice and getting the API working and everything was a breeze. I really recommend this. I sound like a spam bot but really, check it out.

    Edited:

    Wow already 4,661 mashes. Who the heck is doing it?
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  13. Post #1773
    Streetser20's Avatar
    April 2011
    266 Posts


    Do I win?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Winner Winner x 1 (list)

  14. Post #1774
    secretly a furry
    Jelly's Avatar
    April 2011
    2,023 Posts
    Code:
    while(true){ IsKeyUp(); }
    Do I win?
    Reply With Quote Edit / Delete Windows 7 Australia Show Events Disagree Disagree x 3Programming King Programming King x 1 (list)

  15. Post #1775
    Gold Member
    toaster468's Avatar
    January 2010
    3,260 Posts
    I'm kinda worried you guys are going to get me in trouble. Thanks to you guys the API usage counter went from 2k to 35k

    Edited:

    Code:
    while(true){ IsKeyUp(); }
    Do I win?
    Holy fuck don't do that please. Oh Jesus I need to fix this.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 2 (list)

  16. Post #1776
    Streetser20's Avatar
    April 2011
    266 Posts
    Maybe you need to implement some sort of delay so that it can only be counted if the speed is below a certain speed - not sure if it's worth implementing that though.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  17. Post #1777
    Gold Member
    toaster468's Avatar
    January 2010
    3,260 Posts
    Maybe you need to implement some sort of delay so that it can only be counted if the speed is below a certain speed - not sure if it's worth implementing that though.
    Yeah I'll run the function in set interval.
    Reply With Quote Edit / Delete Windows 7 United States Show Events

  18. Post #1778
    Gold Member
    jaybuz's Avatar
    May 2006
    5,516 Posts
    or you could just wrap your code in an anonymous function which would stop outside tampering, although you could still write a script to trigger a button so it would be smart to add a limit also.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  19. Post #1779
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    Reviewing and improving my design:

    From:


    To:
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events Disagree Disagree x 4Late Late x 1Agree Agree x 1Artistic Artistic x 1 (list)

  20. Post #1780
    Gold Member
    jaybuz's Avatar
    May 2006
    5,516 Posts
    Much nicer. What does the star mean though?
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  21. Post #1781
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    Much nicer. What does the star mean though?
    It should represent the download to upload ratio (left number) and the required ratio that should be met (right number). That part is still problematic, I'm still thinking of how to make it represent the right message.
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events

  22. Post #1782
    Dennab
    February 2012
    2,299 Posts
    It should represent the download to upload ratio (left number) and the required ratio that should be met (right number). That part is still problematic, I'm still thinking of how to make it represent the right message.
    A downward and upward arrow with a colon separating them?
    I think that would make more sense.

    Edited:



    Forgive the MSpaint.

    Edited:

    Or lose the colon even, make it look like a mobile data connection icon.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Agree Agree x 2Artistic Artistic x 1 (list)

  23. Post #1783
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    A downward and upward arrow with a colon separating them?
    I think that would make more sense.

    Edited:



    Forgive the MSpaint.

    Edited:

    Or lose the colon even, make it look like a mobile data connection icon.
    That's a good idea, thank you.
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events Friendly Friendly x 1 (list)

  24. Post #1784
    ~ ducks ~
    Kwaq's Avatar
    April 2011
    2,329 Posts
    that doesnt really make sense

    it would work for upload/download but not for required and ratio

    cant you just make it show required on mouseover or something
    Reply With Quote Edit / Delete Windows 8 United Kingdom Show Events

  25. Post #1785
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    that doesnt really make sense

    it would work for upload/download but not for required and ratio

    cant you just make it show required on mouseover or something
    A tooltip is already planned, yes.

    Edited:


    ?
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events Agree Agree x 6 (list)

  26. Post #1786
    ~ ducks ~
    Kwaq's Avatar
    April 2011
    2,329 Posts
    oh right i thought you meant an icon to seperate ratio and required

    looks good now
    Reply With Quote Edit / Delete Windows 8 United Kingdom Show Events

  27. Post #1787
    Gold Member
    toaster468's Avatar
    January 2010
    3,260 Posts
    Reviewing and improving my design:

    From:


    To:
    The second one looks nicer, but the first one is easier to use. I would go with number one.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 1 (list)

  28. Post #1788
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    The second one looks nicer, but the first one is easier to use. I would go with number one.
    It's just easier to understand at first contact, but in the long run, once one knows what each number means, it would become bloated. Tooltips and possibly a feature tour should help learning about these numbers the first time you see them.

    Here's an example tooltip, shown on hover:
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events Informative Informative x 1 (list)

  29. Post #1789
    Gold Member
    Spero78's Avatar
    August 2010
    259 Posts
    An idea, could you show ratio percentage increase per day and a arrow indication if it is going up or down, sort of how stock exchange statistics work

    Cant really explain it too well but hopefully you will understand, could be a nice feature
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  30. Post #1790
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    An idea, could you show ratio percentage increase per day and a arrow indication if it is going up or down, sort of how stock exchange statistics work

    Cant really explain it too well but hopefully you will understand, could be a nice feature
    I'm not an expert on the mechanics of private trackers, but from what I understand having the exact current ratio and the required ratio always at hand is very important because the current ratio being below the required ratio for a period of time might lead to a ban.
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events

  31. Post #1791
    Gold Member
    Spero78's Avatar
    August 2010
    259 Posts
    I'm not an expert on the mechanics of private trackers, but from what I understand having the exact current ratio and the required ratio always at hand is very important because the current ratio being below the required ratio for a period of time might lead to a ban.
    Im fairly experienced, i run 3 seedboxes and yeas the required ratio is important and current, however when you are like me and have a ratio of over 20.0 being able to see the general direction of your ratio is nice.

    I have seedboxes setup with RSS feeds so they auto download and seed stuff, occasionally you will get a few torrents that dont seed well and being able to know your ratio is going down rather than up would be cool, Im always under the impression that the more statistics the better

    Excuse the crude example, but this is sort of what i meant
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  32. Post #1792
    Gold Member
    antiChrist's Avatar
    March 2011
    566 Posts
    Code:
    <?php
    include("database.php");
    include("world.php");
    include("player.php");
    include("items.php");
    include("defines.php");
    Class Engine
    {
    	// Initialize the Engine (runs when client opens the game)
    	function init()
    	{
    		$dbcon = new Database;
    		$dbcon->connect();
    		print "Engine Initiated.<Br />";
    	}
    	// Read map from file (.txt)
    	function readMap($mapFile)
    	{
    		$tiles = new World;
    		
    		$map = file_get_contents("maps/".$mapFile.".txt");
    		$mapArray = explode("\n", $map);
    		
    		$rowBlock = 0;
    		$rowPos = 24;
    		foreach($mapArray as $block)
    		{
    			if($rowBlock == 0)
    				{
    					$block = str_replace("[,0,]",$tiles->tileBlock(grass,"$rowBlock"),$block);
    					$block = str_replace("[,1,]",$tiles->tileBlock(dirt,"$rowBlock"),$block);
    					$block = str_replace("[,b,]","<br>",$block);
    						$block = "<div id='a'>".$block."</div>";
    					$rowBlock++;
    				} else if($rowBlock == 1) {
    					$block = str_replace("[,0,]",$tiles->tileBlock(grass,"2"),$block);
    					$block = str_replace("[,1,]",$tiles->tileBlock(dirt,"2"),$block);
    					$block = str_replace("[,b,]","<br>",$block);
    						$block = "<div id='b'>".$block."</div>";
    					$rowBlock++;
    				} else {
    					if($rowBlock % 2)	
    					{
    						$block = str_replace("[,0,]",$tiles->tileBlock(grass,"3a"),$block);
    						$block = str_replace("[,1,]",$tiles->tileBlock(dirt,"3a"),$block);
    						$block = str_replace("[,b,]","<br>",$block);
    							$block = "<div id='c' style='top:$rowPos px;'>".$block."</div>";
    					} else {
    						$block = str_replace("[,0,]",$tiles->tileBlock(grass,"3b"),$block);
    						$block = str_replace("[,1,]",$tiles->tileBlock(dirt,"3b"),$block);
    						$block = str_replace("[,b,]","<br>",$block);
    							$block = "<div id='d' style='top:$rowPos px;'>".$block."</div>";
    					}
    					$rowPos = $rowPos + 12;
    					$rowBlock++;
    				}
    			print $block;
    		}
    	}
    }
    ?>
    that's my isometry code, it's interesting if you can build the overall functions by yourself.
    Reply With Quote Edit / Delete Windows 7 Israel Show Events

  33. Post #1793
    Dennab
    February 2012
    2,299 Posts


    Looks nice on a puny 320x480 iPod touch screen too.
    I'm not entirely sure on how I'm going to implement a "home" button, I don't think tapping the "planB" title is obvious enough.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  34. Post #1794
    Gold Member
    Spero78's Avatar
    August 2010
    259 Posts
    Looks nice on a puny 320x480 iPod touch screen too.
    I'm not entirely sure on how I'm going to implement a "home" button, I don't think tapping the "planB" title is obvious enough.
    Put a house icon next to it and it would be fairly obvious
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  35. Post #1795
    Dennab
    February 2012
    2,299 Posts
    I'll stuff it on the right hand side, that should be okay for now.

    Edited:

    Hmm, I think I need to either use vector graphics, or have separate images for different display densities.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  36. Post #1796
    Airport Dweller
    Slater's Avatar
    October 2005
    1,201 Posts
    Hi all. I've thrown together a little farm shop mock up and am looking for some constructive criticism or ideas.

    http://numyspace.co.uk/~unn_w10020799/welch/site/index.html (The logo is temporary!)

    Be gentle, I'm no pro! :)
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  37. Post #1797
    italian
    TerabyteS_'s Avatar
    June 2011
    2,645 Posts
    Hi all. I've thrown together a little farm shop mock up and am looking for some constructive criticism or ideas.

    http://numyspace.co.uk/~unn_w10020799/welch/site/index.html (The logo is temporary!)

    Be gentle, I'm no pro! :)
    That doesn't look bad at all! The background gets a little distracting when scrolling because it's static and the white/grey plant part has a very attention-grabbing shape and color. I would dim it down.
    Reply With Quote Edit / Delete Windows 7 Anonymous Proxy Show Events

  38. Post #1798
    Airport Dweller
    Slater's Avatar
    October 2005
    1,201 Posts
    That doesn't look bad at all! The background gets a little distracting when scrolling because it's static and the white/grey plant part has a very attention-grabbing shape and color. I would dim it down.
    Didn't expect a positive response but I suppose everyone is their worst critic! Thanks. I'll quickly dim it as you said.

    [SUB]Edit:[/SUB]
    Done!
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  39. Post #1799
    Gold Member
    jaybuz's Avatar
    May 2006
    5,516 Posts
    To be honest that ain't bad looking for a noobie but I think you should base the design more around farm elements. I have some pretty good ideas from those photos in the slider.

    Also, you have a few errors in your HTML.

    Meta tags need to go inside the head element, you have one outside at the top.
    You've miss typed all of the anchor closing tag in the navigation div.
    The </br> tag should be <br /> and you need to close the <hr /> tag in the footer.

    Really you should be using HTML5, you can read up on it here: https://developer.mozilla.org/en/HTML/HTML5

    On last thing. Include jQuery from the Google CDN here: http://ajax.googleapis.com/ajax/libs.../jquery.min.js
    there's a good chance a visitor will have downloaded and cached it already on another website.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events

  40. Post #1800
    Airport Dweller
    Slater's Avatar
    October 2005
    1,201 Posts
    Not going to lie, I really didn't want to W3Standards check it because I knew it'd be atrocious. I'll get on that anyway. Thanks jaybuz.
    [SUP]
    Edit:[/SUP]
    All but the data-transition is validated now (Not HTML5!) and I'm using Googles jQuery file.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Friendly Friendly x 2 (list)