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.

php_penguin

Privileged
  • Joined

  • Last visited

Everything posted by php_penguin

  1. unfortunately for you, kip, that code would fail; Undefined variable 'online' on line X
  2. php_penguin replied to doctor447's topic in Frontend
    first mistake: you are using an id multiple times - use a class instead (.what rather than #what) second thing is that adding a link without the id/class should be enough to stop it affecting the script - if the events are binding to the non .what/#what elements there is something wrong with the accordion script. for a quiick (and bad) fix, add this line after the accordion line (after you've moved to class'es) $('a:not(.what)').unbind();
  3. try backticking your column names: SELECT f.`id` as `id`, f.`forum_name` as `forum`, f.`forum_desc` as `description`, count(`forum_id`) as `threads`, u.`name` as `mod` FROM `forum_forum` f LEFT JOIN `forum_posts` p ON f.`id` = p.`forum_id` AND p.`topic_id`=0 LEFT JOIN `forum_users` u ON f.`forum_moderator` = u.`id` GROUP BY f.`id`
  4. the "hey" at the start reminded me of a character in family guy.. this one:
  5. just added name tagging to it - ncie to know who is there
  6. yay someoen else is on it a strange feeling of connectedness...
  7. php_penguin posted a topic in General Chat
    http://www.richardlyon.co.uk/cursor/ Move your cursor around... if you are lucky there will be someone else on there - the black cube represents the last known position of there cursor, with a lag of upto about 1.5 seconds Just a little experiment, not 100% sure it even works yet
  8. Hi guys + gals... I was considering ownership regarding user-submitted text, and at what point, and under what circumstances, that text becomes 'yours' to quote, rehash, etc at will. Take a simple example first: A comment's form on a webpage. The user types in an alias and a message, clicks submit, and expects a comment to be displayed. The generally accepted assumption is that the comment will be displayed with attribution. first ponderable: does the user then have the right to request its removal? Let's complicate the example: assume we add an ajax based version to the form, and save the text as it is being typed (ignoring why)- as such the data can be saved to the server without the user hitting the submit button. second ponderable: does the website have the right to use that half-typed data? I guess it comes down to the idea the clicking the submit button is a shortcut way of saying "I agree to (unwritten) terms & conditions of ownership and fair usage". This also affects non-typed data, such as the users IP adress, how long they stayed on the site, what they viewed... if the user is not signed in to the website (thus agreeing to the privacy policy by assumption) can we legitimately use that data - the user didn't agree to give it to us.. discuss.
  9. I want the.internet
  10. thats leaving a huge 74px for scrollbars - you'll find that scrollbars take up about 16px, so a good round figure is 1000px... it divides easily into 4, and will fit.
  11. the side tabs, whilst similar to Dizi's site, are not the same - they are merely a "design component". The site is different enough not to be thought of as copying.
  12. Hicksdesign does one with Jon Oxton, called "The Rissington Podcast" - I've had questions answered on two episodes.
  13. php_penguin replied to MikeGC's topic in General Chat
    you can always do some OT but not as much as they are asking - ie enough to show willing but not enough to munch into your free time too much.
  14. well at least he kept my name and link in the front page copy, so he's not all bad A round of nasty emails from everyone is in order, I think?
  15. php_penguin posted a topic in General Chat
    How do I join? Me wants in! Seriously, password protecting a site like that is sucky beyond measure.
  16. best bit is when the client is happy, and lets you know. worst bit is when you get let down by a client, or the project falls through.
  17. Hi, First-off, two (unimportant) points: - the method you are talking about is "hashing", as it is one-way. Encryptions can be undone by reversing the algorithm. - the MD5 hash is less secure than the SHA1 hash, as it is only 32 characters long compared to 40. The ideas behind hashing is that - the user is *meant* to remember the original string (in this case, their password) - the original string is *meant* to be unknown by anyone else - the resultant string must be repeatable - that is, that you always get the same result every time you hash the original string. A hash (in this case sha1) will turn a string like "password" into: 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8 Anyway, enough of the theory. The main use of hashing is when you store it in a database. Lets look at this simple users table: id int(10) primary key auto_increment, username varchar(20), password varchar(40) Obviously, a real database table would have many more fields, but KISS and all that... If the user enters his username and password, we can do this query: SELECT id FROM `users` WHERE `username` = '$username' AND `password` = SHA1('$password') If the query returns a row, the password was correct, otherwise it will return 0 and we can put a "bad password, idiot" message up.
  18. I like it - much cleaner, and it might make my current project much easier - the old width limits might very well be history!
  19. http://www.ten4design.co.uk/ These guys do lots of websites for famous musicians and the like, for big record labels. Only thing is, I can't see why - there is nothing in there portfolio which is particularly visually or technologically advanced. Am I wrong? Can you find any "wow" sites, rather than "yuck" ones?
  20. Happy Birthday! 21 years is definitely not old -old is anything > 40...
  21. broadly speaking I mean that yes, but jquery is available in compressed versions of just 16kb and there is no point downloading an uncompressed version.
  22. I lol'ed at this: These libraries will definitely speed up your development times, and not my a small amount - with jQuery I can do things in half a day that would have taken me a week before, and I know JavaScript. If something is a small script (ie 10 lines of jQuery or 100 lines of JavaScript) then the filesize of the library means it use it possibly "overkill". Generally I will write in jQuery first, and if the client complains about size, rewrite in JavaScript.
  23. php_penguin replied to Seth's topic in General Chat
    http://twitter.com/richthegeek
  24. I have used cracked software, mostly for the "one use" times like when I want to burn a bootable ISO from windows. I think that most people will use cracked software, but established design companies and schools/universities will have licensed copies for all manner of legal reasons. It is unreasonable to expect a n00b to learn how to use Photoshop with a real ( £570 ) version. Adobe knows this, and also knows that the kids using cracked copies today are the designers using legit copies tomorrow.
  25. a few points: WINE : stands for "wine is not an emulator" allows you to run windows-based programs within Linux. It supports varying levels of DX9 and *generally* if it ran under WinXP and isn't a hardcore game, it will run under WINE, but check out www.winehq.org's appdb for specific programs (or google wine+program name) VMWare: installed by default on the latest Ubuntu (8.04), it is a virtual machine program which lets you have virtual versions of Windows, Linux, and even Mac running within the Linux UI, albeit at a slower speed. Boot up times for a fresh XP install are about 10 seconds for me, and with a dual monitor setup its great for testing.

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.