# |
Apr 24th 2010, 02:37 |
savant |
it never works for comments |
# |
Apr 24th 2010, 02:37 |
Predominant_ |
Has Akismet stopped working? |
# |
Apr 24th 2010, 02:22 |
savant |
bakery article of the year: applewebdata://4286E71B-D22A-49C8-8F33-5AAE5141FDAC/articles/view/is-anybody-going-to-fight-spam-here |
# |
Apr 16th 2010, 14:30 |
savant |
Predominant: hai |
# |
Apr 15th 2010, 01:26 |
Predominant |
nm |
# |
Apr 15th 2010, 01:25 |
Predominant |
ohhhh |
# |
Apr 15th 2010, 01:25 |
Predominant |
But there was a.. |
# |
Apr 15th 2010, 01:25 |
Predominant |
it says "No change detected or there's already an identical submission pending" |
# |
Apr 15th 2010, 01:25 |
Predominant |
Cant seem to edit http://book.cakephp.org/edit/75/Saving-Your-Data |
# |
Apr 13th 2010, 20:17 |
Predominant |
Oops |
# |
Apr 13th 2010, 20:16 |
Predominant |
Try |
# |
Apr 13th 2010, 20:12 |
savant |
one hell of an itch i picked to scratch |
# |
Apr 13th 2010, 20:11 |
savant |
scratching an itch |
# |
Apr 13th 2010, 20:11 |
Predominant |
savant: I understand :-) |
# |
Apr 13th 2010, 20:11 |
Predominant |
Ahh |
# |
Apr 13th 2010, 19:39 |
savant |
the only reason im doing this is because I want to get it to a point where I can add spam protection so I stop getting comment spam emails |
# |
Apr 13th 2010, 19:38 |
savant |
that was my plan all along. why, am I going to be upset about what was actually planned? |
# |
Apr 13th 2010, 19:35 |
savant |
at least that is my intention |
# |
Apr 13th 2010, 19:35 |
savant |
with like actual 1.3 conventions |
# |
Apr 13th 2010, 19:35 |
savant |
im making the existing bakery work completely in 1.3 |
# |
Apr 13th 2010, 19:34 |
Predominant |
I'm sorry, savant. Are you porting the existing bakery, for some reason? |
# |
Apr 13th 2010, 19:34 |
savant |
so I dont know what is happening |
# |
Apr 13th 2010, 19:33 |
savant |
and, well, the actual db has a 255 character field for the password |
# |
Apr 13th 2010, 19:33 |
savant |
I mean, AuthComponent does hashing by default to 40 chars |
# |
Apr 13th 2010, 19:33 |
savant |
so ummm, since Im going to change this all to AuthComponent, do I get to see my actual password? |
# |
Apr 13th 2010, 18:58 |
savant |
that was a fun bug to trace and fix |
# |
Apr 13th 2010, 18:58 |
savant |
another, intermittent, issue was the bbcode formatter breaking when there was a large incoming bit of encoded code. for whatever reason the regex just breaks completely in 5.3.1 when there are large bits. not sure why, but I solved it by storing the unencoded code in an array and then replacing it with a hash of that code before encoding/decoding |
# |
Apr 13th 2010, 18:54 |
savant |
lots of the code is still yucky (using a custom Model::read() function) but it looks like it works and can be refactored |
# |
Apr 13th 2010, 18:54 |
savant |
I have gotten it to the point where most (all?) public actions work. I haven't tested commenting, but theoretically that works as well |
# |
Apr 13th 2010, 18:53 |
savant |
im just trying to stay away from building custom components or using outside plugins |
# |
Apr 13th 2010, 18:50 |
savant |
unfortunately this is not available in 1.2.x or 1.3 |
# |
Apr 13th 2010, 18:50 |
savant |
and then tell the AuthComponent to use that whenever it tries to Authenticate a user |
# |
Apr 13th 2010, 18:50 |
savant |
ideally, i could specify a function in my User model, say User::login() |
# |
Apr 13th 2010, 18:49 |
savant |
which is okay, but the AuthComponent doesn't allow one to override HOW the user is found |
# |
Apr 13th 2010, 18:49 |
savant |
well the way the bakery works, it pulls in data from related models |
# |
Apr 13th 2010, 18:48 |
PhpNut |
savant: you talking about return $this->Session->read('User'); ? |
# |
Apr 13th 2010, 18:48 |
savant |
im just hesitant to use plugins outside of the CakePHP core, like Authsome instead of AuthComponent |
# |
Apr 13th 2010, 18:48 |
PhpNut |
I wrote most of the user model code |
# |
Apr 13th 2010, 18:48 |
savant |
haha |
# |
Apr 13th 2010, 18:48 |
savant |
i got hacky and added in replacements to functions in the AppModel, so most of it works now (I've not touched the admin functions) but I want to remove all of it |
# |
Apr 13th 2010, 18:48 |
PhpNut |
btw I did not write that code :) |