Jump to content

jpeters8889

Members
  • Content count

    39
  • Joined

  • Last visited

About jpeters8889

  • Rank
    Dedicated Member
  • Birthday 08/08/1989

Users Experience

  • Experience
    Advanced
  • Area of Expertise
    Designer/Coder

Contact Methods

  • Website URL
    http://www.greenfroginteractive.co.uk

Profile Information

  • Gender
    Male
  • Location
    Rotherham, UK
  • Interests
    Web Design and Development, graphic design, photography, guitar, and going to rock concerts.

Recent Profile Visitors

2,700 profile views
  1. Thanks BlueDreamer, I've got a couple of customers I could use for references, one is the from the biggest project I've done, and still to this day asking for additional work on top, the other is family friend and was the first web site I did through self employment, and he knows me in both professional and unprofessional contexts. I will obviously ask them both first before passing on their details.
  2. Hi all, I have been self employed now for almost three years, and while I love it, and I have learnt a lot from it, it just isn't earning enough to fully support myself, me and my fiancee are planning on moving into our own place rather than living with her parents, so we need the extra money, we're both self employed, but in different businesses, and of the two, mine earns less than hers. I have been looking at a few job websites and a few adverts around the local area this past week or two and I meet most, if not all the criteria for the job, so I am hopeful I will easily be able to get an interview if nothing else, the last time I was looking for work 4-5 years ago I was stuck in a rut, I was years out of date, didn't know about responsive web design, didn't know any javascript, jquery or any modern coding practices etc, running my own business and building more websites again has helped me learn a lot of new things, I have been into web design since I was 12 back in 2001, and started learning HTML and CSS a couple of years later and started learning PHP when I was 16, so I have been in this game a long time now, but because of personal problems, depression etc a few years ago I fell out with it, and in this fast moving industry I got left behind. Anyway, enough of my life story, as I said in the topic title I am planning on switching to full time employment, I will need to update my CV as it hasn't been touched for a few years, I have also bought a personal domain of my name, and I was thinking of using that as an expansion of my CV where a potential employer can get more information and look at examples of previous work, and even have myname@domain.co.uk email address, rather than my Gmail address. However, the website is where I am having difficulty, I am perfectly capable of making the website, but I can't come up with a layout for it, or even a colour scheme or anything, I was wondering anyone had any experience in making something similar for themselves, what to include etc, or any examples I could look at. My second question/potential problem is about references, when I was last applying for work my references were my old College tutor, but I left College in 2009 and my tutor has retired, so the referee would no longer be relevant, and my other referee was my manager in my previous job, but that company shut down in 2011 and I have no idea where they are now, so again, I can't use them, which only leaves me with the clients I have done work for while being self employed, but I don't know if I'd be able to use them as they don't know the industry, so couldn't answer any industry related questions, and I also don't know if it'd be 'proper' to ask them for references, since they are in essence my customers. Also, with regards to my customers, if I do get a full time job I plan on still keeping my business on the side, but not actively seeking clients, I will be just keeping it going to maintain the websites I have done, hosting, domains etc, and proving support. Finally, with regards to the type of work I will be looking for, I am undecided, I love both front-end and back-end equally, give me a layout and I'll happily sit there and code the HTML, S/CSS, Javascript etc and get lost in the zone, but on the flip side, give me challenge/project to do in PHP and again I can sit there for hours working on it and completely loose track of time. Sorry for the long post, and if you made it this far, thanks for reading!
  3. Cookie Acceptance

    Its to do with the EU cookie law https://www.cookielaw.org/the-cookie-law/
  4. Scirpts in <head> or before </body>

    The checkout.js file was direct from PayPal, not self hosted, and was just before the closing body tag just after the jQuery include, it worked in every browser and device I tested it on Sandbox mode, and when I switched it to production and did a test payment from my personal paypal to business paypal it all worked fine, it was only after we went live that users on Apple reported been unable to checkout using PayPal, and not having an Apple device I couldn't test it myself. After a couple of days testing and debugging using Safari on Windows I had the random idea to move the JS files to the <head>, and it worked fine in Safari, and I drove to my local McDonalds to test it on an iPad there (They've got dumbed down kidified iPads on some tables now, but the browser is still there) and it worked fine. Moving the <script> tags was the only change, nothing in the core PHP files that generate the payment information. It's fine now, and we've had lots of succesful orders with it. Robert, I've only been doing Javascript for around a year/18 months now, so I'm still quite new to it (I've been doing PHP for just over 10 years, and basic HTML/CSS for almost 15 years) so I'm constantly learning, I've had thoughts about putting all the Javascript in one file before, and its something I've been wanting to experiment with locally (I learn best by doing) but I've not had chance yet due to working on customers websites, and I'd rather do something I know that works on a customers website rather than mess about and experiment.
  5. Scirpts in <head> or before </body>

    That basically sums up the article I read a couple of years ago and the reason I started placing the scripts before the </body>, I've never had a problem with it till yesterday like I said. I think I'll continue to place them at the bottom unless I have to, like with PayPal. Funny thing is PayPal worked fine on every other device and browser, it wasn't until we went live and people using Apple said they had problems that we found out it didn't work, and not having an Apple device myself I had trouble debugging it, in the end I downloaded Safari for windows and saw undefined errors in the console log, I had the random idea to place the code in the head and it worked fine
  6. Scirpts in <head> or before </body>

    What is the common practice these days, <script> tags before the closing </body>, or placing them in the <head>? A couple of years ago I read an article saying that its a better idea to put them before the </body> as any DOM manipulation wouldn't start until the HTML and DOM has finished loading, however, I've been reading the last couple of days that in modern browsers this isn't a problem anymore and javascript wouldn't get executed until the DOM is loaded anyway. Since I read the article I've always put all my <script> tags just before the </body> without any problems, however I had a recent problem using PayPal's checkout.js only on Apple devices, which I fixed by placing the <script> tag including PayPal's file in the <head>, which is what got me thinking.
  7. I've spent the past few days working on an eCommerce website for my fiancee using PayPal express checkout, we have tested it extensivly on PayPals Sandbox and it went live earlier today and we've had succesful payments through paypal, however we've had reports from people on iOS devices that they've had trouble purchasing through PayPal, the 'buy with paypal' link basically does nothing. I don't have any apple devices, so I couldn't reproduce it, but we've visited my aunt in law and tried it on her iPhone, and upon clicking the pay with paypal button nothing happens, on my android phone, and on my computer paypal opens asking you to log in as it should, and payment is processed fine, on apple devices all that happens is a blank screen opens, I'm at a complete loss as to whats causing it, the Javascript that initiates the payment is straight from PayPals website, and as I said, i know it works as other people have payed with PayPal Has anyone had anything happen like this? I've searched around and found nothing similar, and I just thought I'd ask on here before asking Paypal or on Stack Overflow. Some notes, as I said the javascript is straight from paypals tutorials for the express checkout and their checkout.js file, and apart from a couple of modifications that happens afterwards behind the scenes. I don't actually use PayPals PHP SDK, but make straight custom built CURL requests to their API, and as said, it fully works, apart from on Apple devices.
  8. PHP - How to echo a url string as a clickable url?

    My mistake, I wrote it in a rush and forgot the closing " at the end, glad you sorted it though
  9. PHP - How to echo a url string as a clickable url?

    The browser can't convert the URL to a link automatically, you'll have to echo the var in the HREF attribute, and between the <a> tags for it to display the URL and link to it. <?php echo "<a href=\"".$rs['sitepage']."\">".$rs['sitepage']."</a>; ?>
  10. adding php to button onclick

    PHP is Server Side, the onclick event is typically used with Javascript, which is client side, PHP is processed on the server and compiled/converted to HTML which you see in the browser window, your PHP functions and variables are never seen client side. If you want the form to get processed in PHP without using Javascript you'll have to use a form and send the post data to your PHP script for processing. <form method="post" action="myPHPScript.php"> ... <input type="submit" value="Click Here"/> </form>
  11. Showing and hiding a form panel using jQuery. Best way to do it?

    You could use .slideToggle() http://api.jquery.com/slidetoggle/
  12. Thumbs Up System

    I think all that we'll track for the votes in a database table is the restaurant ID, maybe user IP, and a timestamp. There will be an admin backend to the system, where we can delete votes if necessary. All that will be displayed on the public facing page is the total number of people who recommended that place, and a button to vote if they haven't already, As I said in my opening post, both are obviously open to abuse, with a user system its far easier to manage, but we haven't got one lol, I am leaning towards IPs, I think it will be easier to manage than cookies, and as mentioned both are open to abuse by users who know what they're doing, hence the admin back end to monitor and delete if necessary. But I'm open to alternative methods... At the moment all places are listed under town/city, then alphabetically from there, so the thumbs ups will have no impact on how they are ordered on the screen.
  13. Thumbs Up System

    My Fiancee runs a fairly popular website for people with Coeliac (Gluten Intolerance), it gets on average 25,000 - 30,000 unique visitors per month, one of the more popular sections is the 'Where to Eat' guide, which currently lists almost 2000 independent places accross the UK that serve Gluten Free food. She has asked me to build a thumbs up system for the Where to Eat guide, where if a visitor likes the place they can press a litte button and it will say 'X people recommend this place'. I've been thinking through the logic in my head and its easy enough to build, however, none of visitors are registered users, the website doesn't have a user system, which then leaves the thumbs up button open to abuse, which leads me to my question; What would be the best way to prevent abuse of a thumbs up button, I know its almost imposible to prevent it, and someone determined enough will find a way round it, but the two methods I've thought about are logging IPs with the vote in the database, and if the person on that IP has already voted on the place with this ID, don't show the button, or using a Cookie to say this person has voted for this place, but if a person votes for 10 places, that could be 10 cookies. I'm currently leaning towards the IP tracking method, but I wondered what other peoples thoughts are on the subject?
  14. Mircodata

    I've got my own question about Microdata, but didn't want to start a new thread! I've just finished adding microdata to the reviews and recipies section on my fiancee's website, I've tested them all in Google's Structured Language checkign tool and all pass, I was just wondering if anyone know how long it would take before they appear in the Structured Data section on Google Webmaster Tools, and more importantly, in the results themselves? Thanks
  15. What size do you use for min-width nowadays?

    I don't build for a specific width in mind, but rather create everything at the smallest size possible, usually 280px, and then widen the browser window until things start to look strange, font to small, to many characters etc, and then add a media query break point, and repeat, it sometimes means I can have a lot of media queries, or ones at strange widths, but it works for me
×