Log message #2300737

# At Username Text
# Sep 22nd 2011, 18:48 ujjain Cakephp likes arrays, 5 in 1 line, that's impressive.
# Sep 22nd 2011, 18:47 kidtangerine within the contain
# Sep 22nd 2011, 18:47 kidtangerine But they are for different tables
# Sep 22nd 2011, 18:46 scoutmstershke use one
# Sep 22nd 2011, 18:46 ujjain hehe :) I am fairly new to Cakephp auth, session, acl,
# Sep 22nd 2011, 18:46 scoutmstershke you have two conditions set kidtangerine
# Sep 22nd 2011, 18:45 scoutmstershke dont listen to that last sentance
# Sep 22nd 2011, 18:45 scoutmstershke nvm im wrong
# Sep 22nd 2011, 18:45 scoutmstershke I have done some of the same things passing it through session is good just remmber if you write user id to a current session they will have to logout and log back in to refresh the session update
# Sep 22nd 2011, 18:44 ujjain thanks
# Sep 22nd 2011, 18:44 ujjain scoutmstershke: ok, will keep it that way then. Just wondered if my manual username to userid conversion was stupid.
# Sep 22nd 2011, 18:43 scoutmstershke ujjain looks good to me bro
# Sep 22nd 2011, 18:42 kidtangerine Whats wrong with it?
# Sep 22nd 2011, 18:42 scoutmstershke its your condition
# Sep 22nd 2011, 18:41 kidtangerine Can someone tell me why my code brings back all the records instead of the condition based query: http://pastie.org/2575250
# Sep 22nd 2011, 18:41 ujjain scoutmstershke: ok, thanks, will put it under the if(!empty)
# Sep 22nd 2011, 18:41 scoutmstershke $loadmodel will only be called as the function is used
# Sep 22nd 2011, 18:40 scoutmstershke $uses is called everytime the controller is accessed
# Sep 22nd 2011, 18:40 ujjain $privatemessage['User']['username']
# Sep 22nd 2011, 18:40 scoutmstershke then why not use $this->loadmodel('model');?
# Sep 22nd 2011, 18:40 ujjain but I do use $privatemessage['User'] in the view
# Sep 22nd 2011, 18:40 ujjain in this controller.
# Sep 22nd 2011, 18:40 ujjain I am only using $this->User once, if that's the question.
# Sep 22nd 2011, 18:39 scoutmstershke is it a table you are using once?
# Sep 22nd 2011, 18:39 ujjain scoutmstershke: I wonder if I should use var $uses, I wonder if the function send() is bad with the ->User->find.
# Sep 22nd 2011, 18:38 Zion2014 and ideas?
# Sep 22nd 2011, 18:38 ujjain scoutmstershke: http://pastie.org/2575238 might look a bit better.
# Sep 22nd 2011, 18:38 Zion2014 Hey guys, I"m using the Html->link helper method and it has some the ® charcter and it won't render
# Sep 22nd 2011, 18:38 scoutmstershke I dont like tattos anyway
# Sep 22nd 2011, 18:38 ujjain hehe good, it's a bad idea to have such a tattoo
# Sep 22nd 2011, 18:37 draginx whats wrong with this code and why isnt it actually logging me in?
# Sep 22nd 2011, 18:37 draginx http://pastie.org/private/mfm6dwdsetlu7bhmlvukg
# Sep 22nd 2011, 18:37 ujjain http://www.codepad.eu/view/38055071 the tabs+ comments don't make things that much mroe readable.
# Sep 22nd 2011, 18:37 scoutmstershke im j/p im not that stupid
# Sep 22nd 2011, 18:36 scoutmstershke lol
# Sep 22nd 2011, 18:36 ujjain well, It makes everybody pretty clear you are into webdevelopment.
# Sep 22nd 2011, 18:35 scoutmstershke I'm thinkg about getting <?php echo 'Fart!'; ?> tattoed on my ass what you think?
# Sep 22nd 2011, 18:35 ujjain thanks, sec
# Sep 22nd 2011, 18:34 scoutmstershke bin it homie
# Sep 22nd 2011, 18:34 ujjain scoutmstershke: well, I just wrote it :) I am not very happy about it, but it works indeed. if you feel like reviewing the function, that'd be welcome
# Sep 22nd 2011, 18:32 scoutmstershke well ujjain if it ain't broke dont fix it