# |
Sep 13th 2016, 11:36 |
ceeram |
boe |
# |
Sep 13th 2016, 08:40 |
Martin` |
Jullie moeten wel wat meer gaan praten hoor, ik zie 5 dagen in 1 scherm |
# |
Sep 13th 2016, 08:40 |
Martin` |
Goedemorgen :D |
# |
Sep 12th 2016, 11:58 |
Martin` |
ow je moet verplicht die 'implementedEvents' toevoegen aan app controller, is het dan wel slim om het in app controller te plaatsen? :P |
# |
Sep 12th 2016, 11:56 |
Martin` |
hoe werkt die after identify callback? ik maak in appcontroller functie aan maar wordt niet aangeroepen :P |
# |
Sep 12th 2016, 10:02 |
oldskool |
mogguh |
# |
Sep 12th 2016, 10:01 |
Martin` |
Goedemorgen wereld :D |
# |
Sep 9th 2016, 11:41 |
Martin` |
is afhankelijk van userlevel en producten van de winkel of je op bepaalde pagina mag |
# |
Sep 9th 2016, 11:41 |
Martin` |
hoe zouden jullie permissies tot controller/action regelen? |
# |
Sep 9th 2016, 11:40 |
Martin` |
http://appleplugs.com is leuker |
# |
Sep 9th 2016, 11:39 |
Martin` |
haha inderdaad :P |
# |
Sep 9th 2016, 09:03 |
renan |
https://www.producthunt.com/tech/apple-plug?utm_source=Product+Huntandutm_campaign=7a98b2b51d-LIFEHACK_ALERT_Upgrade_to_iPhone_7_with_9_7_2016andutm_medium=emailandutm_term=0_2cd7d34185-7a98b2b51d-124693193 |
# |
Sep 8th 2016, 10:25 |
Martin` |
ACTION schiet zichzelf neer |
# |
Sep 8th 2016, 10:25 |
Martin` |
ik snap niet! |
# |
Sep 8th 2016, 10:25 |
Martin` |
als ik url intype naar cakephp 1.3 dan gaat het prima |
# |
Sep 8th 2016, 10:24 |
Martin` |
terwijl als ik $_COOKIE log is de sessie er wel |
# |
Sep 8th 2016, 10:23 |
Martin` |
hmm als ik na login direct doorlink naar cake 1.3 project, dan geeft 1.3 een nieuwe sessie |
# |
Sep 8th 2016, 08:44 |
Martin` |
cakephp 1.3 heeft geen idee wat die met de frozentime object moet :P |
# |
Sep 8th 2016, 08:44 |
Martin` |
Maar eigenlijk moet dat terug na ophalen sessie :P |
# |
Sep 8th 2016, 08:43 |
Martin` |
Nadeel van sessies willen gebruiken van cakephp 3 in cakephp 1.3 is dat je objecten moet verwijderen voor het opslaan van sessie :o |
# |
Sep 8th 2016, 08:39 |
Martin` |
ja en die kost maar 9 dollar :D |
# |
Sep 8th 2016, 08:24 |
marlinc |
Zoals een Lightning dinges naar 3.5 kabel? :P |
# |
Sep 8th 2016, 08:24 |
marlinc |
En leuke dingen zien Martin`? |
# |
Sep 8th 2016, 08:23 |
Martin` |
marlinc: nieuwe iPhone en apple watch |
# |
Sep 7th 2016, 18:03 |
marlinc |
Wat is er nu precies bezig met de Apple event? |
# |
Sep 7th 2016, 13:59 |
djmenkveld |
https://gist.github.com/djmenkveld/3de93888bef5d69c74181f77b831a36d |
# |
Sep 7th 2016, 13:54 |
djmenkveld |
Resultaat: https://toernooivoetbal.com/ek2016/beste-pool |
# |
Sep 7th 2016, 13:54 |
djmenkveld |
http://pastebin.com/aXFkHBtT |
# |
Sep 7th 2016, 13:51 |
slackebot |
SUM(Predictions.points_home_team) + SUM(Predictions.points_away_team))/COUNT(DISTINCT Predictions.user_id),0),1) AS score', ], 'group' => 'Pools.name', 'order' => 'score DESC, Pools.name ASC' ]);``` |
# |
Sep 7th 2016, 13:51 |
slackebot |
['Predictions.user_id = Users.id'] ], ], 'fields' => [ 'Pools.tournament_id', 'Pools.name', 'Pools.slug', 'Predictions.tournament_id', 'ROUND(COALESCE((SUM(Predictions.points_score) + SUM(Predictions.points_home_goals) + SUM(Predictions.points_away_goals) + SUM(Predictions.points_toto) + SUM(Predictions.points_diff) |
# |
Sep 7th 2016, 13:51 |
slackebot |
['PoolsUsers.pool_id = Pools.id'] ], [ 'table' => 'users', 'alias' => 'Users', 'type' => 'LEFT', 'conditions'=> ['Users.id = PoolsUsers.user_id'] ], [ 'table' => 'predictions', 'alias' => 'Predictions', 'type' => 'LEFT', 'conditi |
# |
Sep 7th 2016, 13:51 |
djmenkveld |
```$poolRanking = $this->find('all', [ 'limit' => $limit, 'conditions' => [ 'Pools.tournament_id =' => $tournamentId, 'Predictions.tournament_id =' => $tournamentId, ], => [ [ 'table' => 'pools_users', 'alias' => 'PoolsUsers', 'type' => 'LEFT', 'condi |
# |
Sep 7th 2016, 13:50 |
djmenkveld |
Goal: is om de gemiddelde som van alle gebruikers verbonden aan een groep op te halen en dat resulteerde in deze code |
# |
Sep 7th 2016, 13:49 |
djmenkveld |
ok |
# |
Sep 7th 2016, 13:47 |
oldskool |
Merk je het snel genoeg ;) |
# |
Sep 7th 2016, 13:47 |
oldskool |
Ik zou zeggen, gooi hem in de groep. |
# |
Sep 7th 2016, 13:37 |
djmenkveld |
Zijn hier nog mensen die mij kunnen helpen met een query rebuild van 2.x naar 3.x, bij één kom ik er niet uit� :slightly_smiling_face: |
# |
Sep 7th 2016, 09:02 |
Martin` |
ow de time string is volledig anders :P |
# |
Sep 7th 2016, 08:40 |
Martin` |
Dat is namelijk enige verschil wat ik zo zie tussen sessie cakephp 3 en cakephp 1.3 (mysql versie) |
# |
Sep 7th 2016, 08:32 |
Martin` |
Kan je in cakephp 3 de secutiry niet omhoog gooien zoals cake 1? zodat hij useragent ook in sessie opslaat :P |
# |
Sep 7th 2016, 08:31 |
Martin` |
ja idd gaat om mysql timezone, naar wat ik begreep zou alles wat we hier gisteren zeiden moeten werken. :P |