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.

Jack Ellis

Members
  • Joined

  • Last visited

Everything posted by Jack Ellis

  1. I'm using drupal until a kohana cms becomes available.
  2. Slated for not using XHTML? I really do hope you're joking? How can someone possibly slate you for not using XHTML.
  3. http://groups.google.com/group/jquery-en/browse_thread/thread/32d737242b2f9c9a?pli=1 http://www.google.co.uk/search?hl=en&safe=off&client=firefox-a&hs=I8f&rls=org.mozilla%3Aen-GB%3Aofficial&q=jquery+lightbox+livequery&aq=f&aqi=&aql=&oq=
  4. By auto fit do you mean to stretch with screen?
  5. Sort me a live example mate? Will probably be an easy fix but nobody's even going to bother helping without a live example. It's so much easier to firebug stuff.
  6. Problem with that is people can just find the directory from his robots.txt
  7. a lot faster I don't like Doctrine as much as I like Kohana's ORM. And, I know you'll know the answer to this, shouldn't Doctrine follow some sort of factory pattern? My arguments for not using zend is that it's less of a framework and more of a collection of libraries. It's also WAY too feature rich for my needs and I refer to it as bloated. However, I accept the arguments that it has everything you would need
  8. I'm glad they've finally moved on "PHP 4 support is removed. CodeIgniter now requires PHP 5.1.6.". $this->load->library('whatever'); is what you have to do in CodeIgniter, that's just effort right? Every time you want to load a library. Cba to turn it into an argument. It took CodeIgniter ages to move to PHP5.
  9. Freamework? Framework. Kohana > CodeIgniter Kohana = PHP 5 CodeIgniter = PHP 4 For documentation, CodeIgniter is fantastic, but if you can understand code and want strict OOP etc then go with Kohana.
  10. I did this at work and I just stored IP addresses and then refreshed the ip list at the end of each day.
  11. I'm not sure what you mean? Which function generates the link and do you wish to modify the link?
  12. Didn't read properly but I believe you're looking to use sql joins?
  13. On the right div, mess around with overflow:hidden in css and adjust the width perhaps? Very weird though.
  14. Hahaha I meant in the future! @op - have a read: http://onwired.com/blog/exploring-kohana-as-an-alternative-to-codeigniter/
  15. Ditch CodeIgniter, use Kohana. And can you not just do $data = $this->input->post; then do $data->username or $data['username'] or shouldn't CodeIgniter support something like that?
  16. http://www.google.co.uk/search?q=bbcode+%2B+preg_replace&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a Not taking the micky, being dead serious. Look through those and it'll give you an idea.
  17. Bump for people who may have missed, great post.
  18. Kohana is lightweight, as I've said, I suggest that ;D
  19. MVC is top design pattern. Use Kohana in my opinion and good luck with it.
  20. Not 100% sober but chucked this code together for you matey. <?php session_start(); if($_GET['act'] == "char_con") { if ($_GET['first'] == 'true') { $con = mysql_connect("#", "#", "#"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("quote", $con); $result = mysql_query( ' SELECT * FROM `quote` ORDER BY RAND()' ); $row = mysql_fetch_array($result); $_SESSION['quote'] = $row['q_quote']; header('Location:index.php?act=char_con&beginCount&cb=%3C?php%20echo%20time();?%3E'); mysql_close($con); } else { echo $_SESSION['quote'] } } ?> and then have your LINK as <a href="index.php?act=char_con&first=true&beginCount&cb=%3C?php%20echo%20time();?%3E"> LINK </a>'; Basically what I did was add an extra $_GET parameter ("first") to check if it was from the link. Remember to keep session_start at top of document. I also got rid of the while because you were only getting one quote out so there was no need for a while?
  21. Ahhh I see. Thank you very much. I was looking into ArrayObject class the other day because I noticed a kohana class used it. I've got that Gang of Four book so I think I need to read into the registry pattern more because it sounds good. I always had the impression that there was ONE registry on the whole site. Also, could you have the registry pattern in the same class as User. So the static methods etc are in User and then the public methods to use (in relation to the objects created) are also in there, rather than separating it into 2 classes?
  22. Thank you so much. So it's a registry pattern.. Also what is the offsetSet bit. What is an offset etc? Excuse my dumbness. Thank you again!
  23. Upload a zip of the files matey and I'll look (if I get Pm before like 11 tonight).

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.