#silverstripe IRC Log

IRC log for 15 July 2015

All timestamps are in UTC.

1: [00:05:00] * spronk has joined #silverstripe
2: [00:06:01] <antmas> spronk: o/
3: [00:09:13] * Stomach quit (Quit: zzz)
4: [00:12:24] * Stomach has joined #silverstripe
5: [00:14:45] <spronk> \o
6: [00:20:22] * muskie9 has joined #silverstripe
7: [00:23:04] <Hailwood> Hey folks, Can anyone tell me how I can filter a list down to those where EndDate <= todays date
8: [00:23:24] <Hailwood> EndDate = SS_Datetime (but I'm not using the time component)
9: [00:25:23] <Ryan-Toast> Hailwood: ->filter(array(‘EndDate:LessThanOrEqual’ => $todaysDate));
10: [00:25:36] <DanaeNZ> ah beat me to it
11: [00:25:37] <DanaeNZ> http://sspaste.com/paste/show/55a5a87676974
12: [00:26:15] <Hailwood> Ah snap! I almost had it, but I had 'EndDate:LessThanOrEqualFilter'
13: [00:28:33] <Hailwood> Cheers guys
14: [00:31:58] * ss-helper quit (Remote host closed the connection)
15: [00:32:11] * ss-helper has joined #silverstripe
16: [00:33:11] * Stomach quit (Quit: zzz)
17: [00:35:27] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
18: [00:35:42] * Stomach has joined #silverstripe
19: [00:45:39] * marvanni quit (Quit: marvanni)
20: [00:45:53] <spronk> a wild /me appears again
21: [00:47:55] <spronk> :(
22: [00:48:09] <spronk> fuck is it nearly 1pm already
23: [00:50:44] * adrexia_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
24: [00:53:38] * DimiStripe quit (Quit: DimiStripe)
25: [00:54:15] * micmania1 quit (Quit: micmania1)
26: [00:54:37] * glenn-bautista quit (Quit: Leaving.)
27: [00:55:59] * stecman quit (Quit: This computer has gone to sleep)
28: [01:02:34] * adrexia has joined #silverstripe
29: [01:03:17] * stecman has joined #silverstripe
30: [01:03:52] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
31: [01:08:59] * glenn-bautista has joined #silverstripe
32: [01:18:07] * DanaeNZ quit (Quit: DanaeNZ)
33: [01:19:13] <Ryan-Toast> antmas: gassy was closed, had to knock on the door so they would let me in to buy nippys.
34: [01:20:50] <Colin[pi]> gassy nippys?
35: [01:21:40] <spronk> NIPPYS ICED COFFEE?
36: [01:22:38] <Ryan-Toast> chocolate milk, boiiii
37: [01:22:48] <Ryan-Toast> gassy = gas station
38: [01:22:56] <spronk> well
39: [01:22:58] <spronk> whatever
40: [01:23:04] <spronk> NIPPYS IN HE OLD SCHOOL BRANDING TETRAPAK
41: [01:24:01] <Ryan-Toast> I haven’t tried the ice coffee.
42: [01:24:13] <Ryan-Toast> because chocolate milk is life.
43: [01:24:16] <spronk> tey're all good
44: [01:27:47] * UncleCheese has joined #silverstripe
45: [01:28:14] <Colin[pi]> UncleCheese: o/
46: [01:28:44] <UncleCheese> hi
47: [01:28:47] <UncleCheese> oh hey
48: [01:28:47] <antmas> Ryan-Toast: LOL
49: [01:29:00] <antmas> Ryan-Toast: I was running late so I couldn't get any from gassy
50: [01:29:10] <antmas> UncleCheese: o/
51: [01:30:20] * Tanger has joined #silverstripe
52: [01:30:54] * Stomach quit (Ping timeout: 246 seconds)
53: [01:32:54] * Stomach has joined #silverstripe
54: [01:39:15] * DanaeNZ has joined #silverstripe
55: [01:40:21] * micmania1 has joined #silverstripe
56: [01:47:28] * Liquide quit ()
57: [01:52:18] <Kingy> why doesn't this work in excel
58: [01:52:18] <Kingy> =SUM(A1:A7*B1:B7)
59: [01:54:14] <antmas> might have to put ranges in brackets
60: [01:54:22] <antmas> either side of operator
61: [01:54:35] <antmas> maybe?
62: [01:54:36] <antmas> :P
63: [01:54:46] <Kingy> nope
64: [01:54:49] <Kingy> looks like SUMPRODUCT works
65: [01:54:59] <Kingy> im looking at one that works
66: [01:55:14] <Kingy> and then i copy the same function to another cell and get #VALUE!
67: [01:55:41] * stecman quit (Quit: Leaving)
68: [01:55:42] * vebvebvebveb is now known as vebb
69: [01:55:45] <Kingy> but that's ok, i got it
70: [01:55:55] <Kingy> now to transfer to PHP
71: [01:59:29] <Tanger> Morning guys
72: [01:59:37] <antmas> Tanger: o/
73: [02:00:43] * Stomach quit (Quit: zzz)
74: [02:01:43] * UncleCheese quit (Remote host closed the connection)
75: [02:03:53] <Ryan-Toast> antmas: you play terraria?
76: [02:04:21] <antmas> Ryan-Toast: have done yeah
77: [02:05:02] <Ryan-Toast> antmas: Do you know if servers can be hosted by steam?
78: [02:05:55] <antmas> Ryan-Toast: couldn't tell yah
79: [02:06:00] <antmas> never really played it much online
80: [02:06:06] * vebb is now known as vebvebvebveb
81: [02:06:08] <Ryan-Toast> antmas: It’s so fun.
82: [02:06:14] <Ryan-Toast> Really enjoying it.
83: [02:06:19] <antmas> yeah it was good fun
84: [02:06:26] <Colin[pi]> what's this, Terraria?
85: [02:06:35] <DanaeNZ> I played it a bit :D
86: [02:06:37] <Colin[pi]> yeah I like that game, it's pretty cool
87: [02:06:51] <Ryan-Toast> Colin[pi]: played 1.3?
88: [02:06:58] <Colin[pi]> DanaeNZ: did you end up trying Remember Me?
89: [02:06:59] <antmas> it came out on top of that massive 'minecrafty' era of games
90: [02:07:07] <DanaeNZ> Colin[pi]: I downloaded it haha
91: [02:07:11] <DanaeNZ> But haven’t played it yet
92: [02:07:14] <DanaeNZ> too busy
93: [02:07:16] <Colin[pi]> DanaeNZ: play dat thing!
94: [02:07:29] <Colin[pi]> antmas: they have a number of Terraria toys alongside the Minecraft ones at EB here
95: [02:07:33] <DanaeNZ> I’ll have way more time after I move house :D
96: [02:07:36] * antmas just finished Borderlands The Presequel
97: [02:07:46] <antmas> and is now onto finally playing BL2
98: [02:07:56] <Colin[pi]> I got goat simulator yesty lol
99: [02:08:00] <Colin[pi]> $2.50 with coupon
100: [02:08:03] <antmas> those games are shithouse without people to play with
101: [02:08:05] <Ryan-Toast> goat simulator is so fun
102: [02:08:11] <Tanger> Have you guys played I Am Bread?
103: [02:08:12] <antmas> +10 for GS
104: [02:08:13] <Colin[pi]> it's... pretty much exactly what I expected lol
105: [02:08:21] <Colin[pi]> Tanger: it looks cool too
106: [02:08:25] <antmas> Tanger: I did and rage quit instantly
107: [02:08:29] <Tanger> It's only $5 on steam last I checked
108: [02:08:31] <Tanger> Hahaha
109: [02:08:38] <Colin[pi]> Tanger: I think I have a coupon for it too
110: [02:09:13] <Tanger> Colin[pi]: Nice. A worthy investment if you've had a few beers
111: [02:09:44] <Colin[pi]> yep I have a 50% off coupon
112: [02:09:55] <antmas> Spin Tires was the last random game I bought
113: [02:10:00] <antmas> that game is hillarious
114: [02:10:15] <Kingy> spin tires was fun
115: [02:10:21] <DanaeNZ> my friend is a truckie
116: [02:10:25] <DanaeNZ> he looooves that game
117: [02:10:39] * vebvebvebveb is now known as vebb
118: [02:10:41] <Kingy> gotta concentrate a lot
119: [02:11:00] <antmas> there are so many mods now
120: [02:11:29] <antmas> bit like Eurotruck
121: [02:11:40] <antmas> can't help but call everyone 'Rubber Ducky'
122: [02:11:51] * micmania1 quit (Quit: micmania1)
123: [02:13:38] <Colin[pi]> Eurotruck is surprisingly fun
124: [02:14:14] <Colin[pi]> tuning into the real internet radio stations is a nice touch
125: [02:14:22] <Colin[pi]> "life is a highway... I wanna ride it allll night loooong"
126: [02:15:08] * vebb is now known as vebvebvebveb
127: [02:17:28] * Stomach has joined #silverstripe
128: [02:19:55] <Kingy> lolol
129: [02:25:54] <Colin[pi]> this is how I feel everytime I need to write JavaScript: https://www.youtube.com/watch?v=faJx8ikHJAo
130: [02:26:59] <antmas> lol dat cat
131: [02:27:01] <antmas> CLUNK
132: [02:27:02] <Kingy> damn you Colin[pi]
133: [02:27:05] <Kingy> LIFE IS A HIGHWAYYY
134: [02:27:10] <Kingy> stuck in my headdd
135: [02:27:11] <Colin[pi]> HAHA SUCCESS
136: [02:28:16] <antmas> yeah it's got me too
137: [02:28:23] * antmas puts on trucker hat
138: [02:28:49] <antmas> no idea why that game got so popular
139: [02:28:53] <Colin[pi]> https://www.youtube.com/watch?v=QM88kxxMlhQ
140: [02:29:30] <antmas> Rascal Flatts
141: [02:30:08] <antmas> were they a one hit wonder?
142: [02:30:35] <Colin[pi]> this was a cover of it
143: [02:30:36] <antmas> LOL
144: [02:30:42] <antmas> the singers name is Gary LeVox
145: [02:30:47] <antmas> crinnnnnnnggggggge
146: [02:30:53] <Colin[pi]> original was Tom Cochran I think?
147: [02:34:45] <antmas> yeah
148: [02:35:49] <DanaeNZ> anyone watched these before? http://blip.tv/todds-pop-song-reviews
149: [02:36:51] <DanaeNZ> blip has the shittiest video player tho
150: [02:37:27] <DanaeNZ> as in
151: [02:37:30] <DanaeNZ> it doesn’t even work
152: [02:37:32] <DanaeNZ> :<
153: [02:38:00] <antmas> have not seen those before but it looks great :D
154: [02:38:25] <antmas> as in the videos don't load :P
155: [02:38:29] <DanaeNZ> they are hilaaarious
156: [02:38:34] <antmas> protip - never use your own video player
157: [02:38:37] <DanaeNZ> it’s on youtube
158: [02:39:00] <antmas> vimeo/youtube or gtfo
159: [02:39:12] * spronk quit (Quit: I may need a longer sleep timer...)
160: [02:39:42] <Colin[pi]> youtube really need to improve their video quality some how
161: [02:39:55] <antmas> OMG https://www.youtube.com/watch?v=68ugkg9RePc
162: [02:40:25] <antmas> love the fact it has subtitles
163: [02:40:29] <Colin[pi]> lol
164: [02:40:42] <DanaeNZ> haha wow
165: [02:40:52] <DanaeNZ> looks like some kids first 3D project
166: [02:41:13] <antmas> they just need a better compression algorithm
167: [02:41:30] <Colin[pi]> haha there was I time I would have looked at CGI like that and gone "omfg, that's incredible"
168: [02:41:43] <DanaeNZ> intro to Age of Kings anyone?
169: [02:41:47] <DanaeNZ> that was mind blowing
170: [02:41:57] <Colin[pi]> DanaeNZ: http://mygaming.co.za/news/wp-content/uploads/2012/08/unreal-magazine-cover.jpg
171: [02:42:09] <Colin[pi]> Yes, this is an ACTUAL SCREENSHOT
172: [02:42:10] <DanaeNZ> Hahahah YES
173: [02:42:11] <Colin[pi]> OMFG
174: [02:43:05] <DanaeNZ> “street fighter 3: disappointement of the year? Page 23"
175: [02:43:07] <antmas> hahaha
176: [02:43:08] <DanaeNZ> lmao
177: [02:43:22] <antmas> I did remember sitting in front of a PS1 for the first time, loaded up Pandemoium and was like 'IT'S LIKE REAL LIFE'
178: [02:43:37] * vebvebvebveb is now known as vebb
179: [02:43:58] <DanaeNZ> we’re getting into that uncanny valley shit tho
180: [02:44:03] <ss23> Yeah
181: [02:44:07] <ss23> The eyes...
182: [02:44:09] <ss23> Lifeless, souless
183: [02:44:10] <ss23> >.<
184: [02:44:20] <ss23> Give me cute anime girls who aren't made to look perfect <3
185: [02:44:25] <DanaeNZ> lmao
186: [02:44:52] <antmas> Pandemonium*
187: [02:44:54] <DanaeNZ> I want my Elder Scrolls VI :( :( :(
188: [02:45:08] <DanaeNZ> gimme brutish, axe-weilding barbarians
189: [02:45:08] <Colin[pi]> DanaeNZ: schlongs of Skyrim aint realistic enough for ya?
190: [02:45:11] <Ryan-Toast> How would you add a HeaderField to a modelAdmin?
191: [02:45:19] <DanaeNZ> Colin[pi]: is that a mod? XD
192: [02:45:29] <Colin[pi]> yes, yes it is
193: [02:45:31] <Colin[pi]> don't ask how I know
194: [02:45:34] <DanaeNZ> oh
195: [02:45:35] <DanaeNZ> oh god
196: [02:46:03] <antmas> https://www.youtube.com/watch?v=7CSOZsIJeIs
197: [02:46:13] <DanaeNZ> that’s not schlongs of Skyrim is it, antmas?
198: [02:46:19] <Colin[pi]> LOLOL
199: [02:46:23] <Colin[pi]> risky click
200: [02:46:51] <antmas> wat
201: [02:47:12] <ss23> I remember the opening scene for a Final Fantasy that looked super cool, thinking "Not bad for a PS1 game"
202: [02:47:16] <antmas> not
203: [02:47:27] <antmas> lol
204: [02:47:33] <ss23> then realising the cut scene isn't even close to the real game :(
205: [02:47:37] <antmas> <ss23> Give me cute anime girls who aren't made to look perfect <3
206: [02:47:39] <antmas> notice me senpai?
207: [02:47:42] * vebb is now known as vebvebvebveb
208: [02:47:44] <ss23> sempai~
209: [02:47:54] <ss23> echii till I die, all these lolis call me SEMPAI~
210: [02:48:40] * vebvebvebveb is now known as avwave
211: [02:48:51] <ss23> 21 video game myths
212: [02:48:53] <antmas> hahaha
213: [02:48:56] <ss23> Are US Marines trained on Doom?
214: [02:48:58] * avwave is now known as veb
215: [02:49:22] <antmas> the log from today is all japanese/games/food/frontend and vebb changing nicks
216: [02:49:27] <ss23> lol
217: [02:49:31] <DanaeNZ> so the usual
218: [02:49:34] <ss23> Another normal day in #silverstripe
219: [02:49:44] <ss23> Oh but uh Ryan-Toast did ask a question
220: [02:49:51] <DanaeNZ> haha
221: [02:49:57] <DanaeNZ> getCMSForm()
222: [02:49:58] <Ryan-Toast> ss23: :/
223: [02:50:02] <ss23> 14:45:12 < Ryan-Toast> How would you add a HeaderField to a modelAdmin?
224: [02:50:08] <ss23> There, DanaeNZ helped :D
225: [02:50:15] <DanaeNZ> I’m totally guessing
226: [02:50:23] <DanaeNZ> pretty sure it’s that tho
227: [02:50:32] * micmania1 has joined #silverstripe
228: [02:51:40] * veb is now known as vebb
229: [02:52:30] * vebb is now known as veb
230: [02:52:33] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
231: [02:52:33] <Zauberfisch> DanaeNZ: Ryan-Toast: it's getEditForm I believe
232: [02:52:51] <Zauberfisch> or just EditForm
233: [02:52:52] <Ryan-Toast> Zauberfisch: I have that. Would you set a new FieldList and pass the old $fields in?
234: [02:53:19] <Zauberfisch> depends. if you want to overwrite all other fields aswell and just have a headerfield then create a new fieldlist
235: [02:53:24] <Zauberfisch> otherwise add it
236: [02:53:30] <Ryan-Toast> I just want to append a HeaderField
237: [02:53:39] <Zauberfisch> $form->Fields()->push(new HeaderField(...))
238: [02:53:42] <Zauberfisch> or
239: [02:54:00] <Zauberfisch> $form->Fields()->addFieldsToTab('Root.Main', [new HeaderField(...)])
240: [02:54:15] <Zauberfisch> not sure if modeladmin has tabs and if so, what they are called
241: [02:54:31] <ss23> omg new array syntax
242: [02:54:33] <ss23> error error
243: [02:54:51] <Zauberfisch> haha
244: [02:55:40] <DanaeNZ> I miss shorthand array declaration :(
245: [02:55:41] <Ryan-Toast> Zauberfisch: Don’t think it has tabs
246: [02:55:57] <Ryan-Toast> Zauberfisch: push should work fine though :)
247: [02:57:11] <Ryan-Toast> Zauberfisch: Ended up jjust using $form->Fields()->insertBefore(HeaderField::create('', 'Foo'), 'CaseStudyPage');
248: [03:02:08] * veb is now known as vebb
249: [03:05:25] <antmas> how warm is Auckland around late Aug / start of sep?
250: [03:05:44] <ss23> It doesn't get that hot in NZ, or that cold, so probably "not very"
251: [03:05:52] * oddnoc quit (Quit: yawn!)
252: [03:07:21] * spronk has joined #silverstripe
253: [03:07:45] <antmas> compared to now though
254: [03:08:23] <spronk> bag
255: [03:08:29] <ss23> There are 20 letters in the alphabet, right?
256: [03:08:50] <Ryan-Toast> ss23: stfu
257: [03:08:53] <Ryan-Toast> :P
258: [03:08:55] <Ryan-Toast> STOP
259: [03:08:55] <ss23> ;_;
260: [03:08:57] <ss23> come on
261: [03:08:58] <Ryan-Toast> RIGHT THERE
262: [03:08:59] <ss23> come on Ryan-Toast
263: [03:09:00] <ss23> come on
264: [03:09:02] <Ryan-Toast> CRIMINAL SCUM
265: [03:09:03] <ss23> bro it'll be fun
266: [03:09:04] <ss23> just do it
267: [03:09:07] <spronk> o_O
268: [03:09:10] <Ryan-Toast> U FORGOT URAFGT
269: [03:09:14] <DanaeNZ> YES OBLIVION REFERENCE
270: [03:09:15] <ss23> :3
271: [03:09:20] <ss23> COME ON
272: [03:09:21] <ss23> COMEON
273: [03:09:23] <Ryan-Toast> NO
274: [03:09:24] <DanaeNZ> I GOT THAT REFERENCE
275: [03:09:25] <Ryan-Toast> NONE FOR YOU
276: [03:09:31] <ss23> come on
277: [03:09:33] <ss23> lets try again
278: [03:09:35] <ss23> There are 20 letters in the alphabet, right?
279: [03:09:40] <Ryan-Toast> ss23: yes
280: [03:09:49] <DanaeNZ> :D
281: [03:09:58] <Ryan-Toast> ss23: There are 20 letters in the alphabet, right? who?
282: [03:10:04] <Ryan-Toast> knock knock.
283: [03:10:05] <Ryan-Toast> What?
284: [03:10:15] <ss23> :(
285: [03:10:18] <DanaeNZ> Who’s there?
286: [03:10:19] <Ryan-Toast> <3
287: [03:10:21] <ss23> u r 2 mean 4 me
288: [03:10:22] * adrexia has joined #silverstripe
289: [03:10:34] <Ryan-Toast> ss23: I<3 5 evar.
290: [03:10:39] <ss23> sometimes I wonder
291: [03:10:45] <DanaeNZ> (dat mean he love u more dan 4eva)
292: [03:10:50] <ss23> XD
293: [03:10:53] <spronk> ooh
294: [03:10:57] <adrexia> awww
295: [03:11:01] <spronk> my daughter's favourite joke right now:
296: [03:11:01] <spronk> knock knock
297: [03:11:01] <adrexia> that's sweet
298: [03:11:06] <ss23> spronk: whos there?
299: [03:11:09] <spronk> banana
300: [03:11:10] <DanaeNZ> ~*~*~leik disa if u cry evertim~*~*~
301: [03:11:20] <DanaeNZ> BANANA WHO
302: [03:11:21] <Ryan-Toast> bae caught me interrupting pickup lines.
303: [03:11:24] <spronk> knock knock
304: [03:11:27] <DanaeNZ> WHO
305: [03:11:34] <ss23> ORANGE
306: [03:11:35] <adrexia> is your daughter under the age of 5?
307: [03:11:38] <ss23> ORGANGE YOU GLAD I DIDN'T SAY BANANA?
308: [03:11:41] <spronk> ss23 yeah, that one
309: [03:11:41] <spronk> :p
310: [03:11:45] <DanaeNZ> WHOSE JOKE IS THIS
311: [03:11:45] <spronk> adrexia yes, yes she is
312: [03:11:57] * antmas quit (Ping timeout: 246 seconds)
313: [03:11:58] <DanaeNZ> adrexia: is this a joke too?
314: [03:11:59] <adrexia> under 5's have the most surreal sense of humour in the world
315: [03:12:04] <DanaeNZ> omg
316: [03:12:05] <DanaeNZ> yes
317: [03:12:08] <spronk> they are brilliant
318: [03:12:10] <DanaeNZ> I have a joke from my niece
319: [03:12:17] <adrexia> yeah
320: [03:12:28] <Ryan-Toast> _.---"'"""""'`--.._
321: [03:12:28] <Ryan-Toast> _,.-' `-._
322: [03:12:28] <DanaeNZ> “Why was the cow dead?"
323: [03:12:29] <adrexia> knock know, who's there, lightbulb
324: [03:12:30] <Ryan-Toast> _,." -.
325: [03:12:31] <Ryan-Toast> .-"" ___...---------.._ `.
326: [03:12:32] <adrexia> ahhh.... ok?
327: [03:12:33] <Ryan-Toast> `---'"" `-. `.
328: [03:12:34] <Ryan-Toast> `. \
329: [03:12:36] <Ryan-Toast> `. \
330: [03:12:36] <ss23> IT'S A TRAP
331: [03:12:37] <Ryan-Toast> \ \
332: [03:12:39] <Ryan-Toast> . \
333: [03:12:40] <ss23> oh god
334: [03:12:40] <ss23> help
335: [03:12:40] <Ryan-Toast> | .
336: [03:12:41] <ss23> spam
337: [03:12:41] <Zauberfisch> Ryan-Toast: to slow
338: [03:12:42] <Ryan-Toast> | |
339: [03:12:42] <DanaeNZ> “Because the farm was on the road!!!"
340: [03:12:42] <ss23> we need an op
341: [03:12:43] <Zauberfisch> noob
342: [03:12:43] <Ryan-Toast> _________ | |
343: [03:12:44] <ss23> help there's an op
344: [03:12:45] <Ryan-Toast> _,.-'" `"'-.._ : |
345: [03:12:46] <Ryan-Toast> _,-' `-._.' |
346: [03:12:46] <Stomach> WHATS HAPPENING
347: [03:12:47] <ss23> where
348: [03:12:47] <spronk> omg
349: [03:12:48] <Ryan-Toast> _.' `. '
350: [03:12:49] <ss23> where is an op
351: [03:12:49] <Ryan-Toast> _.-. _,+......__ `. .
352: [03:12:49] <spronk> kill it with fire
353: [03:12:50] <DanaeNZ> my 5 yr old joke was lost
354: [03:12:51] <Ryan-Toast> .' `-"' `"-.,-""--._ \ /
355: [03:12:52] <ss23> jesus so many spam
356: [03:12:52] <Ryan-Toast> / ,' | __ \ \ /
357: [03:12:53] <DanaeNZ> OMFG
358: [03:12:54] <Ryan-Toast> ` .. +" ) \ \ /
359: [03:12:54] <ss23> fuck me
360: [03:12:55] <Ryan-Toast> `.' \ ,-"`-.. | | \ /
361: [03:12:57] <ss23> god whats going on
362: [03:12:57] <Ryan-Toast> / " | .' \ '. _.' .'
363: [03:12:58] <Ryan-Toast> |,.."--"""--..| " | `""`. |
364: [03:12:59] <DanaeNZ> is it feels guy
365: [03:12:59] <ss23> fuckkkkkkk
366: [03:13:00] <adrexia> lololl
367: [03:13:00] <Ryan-Toast> ," `-._ | | |
368: [03:13:01] <Ryan-Toast> .' `-._+ | |
369: [03:13:02] <ss23> help
370: [03:13:02] <spronk> hahahaha DanaeNZ
371: [03:13:04] <ss23> help help help
372: [03:13:04] <Ryan-Toast> | ` ' | / |
373: [03:13:06] <Ryan-Toast> `-.....--.__ | | / |
374: [03:13:07] <ss23> please sminnee
375: [03:13:07] <Ryan-Toast> `./ "| / `-.........--.- ' | ,' '
376: [03:13:08] * vebb is now known as veb
377: [03:13:09] <Ryan-Toast> /| || `.' ,' .' |_,-+ /
378: [03:13:09] <ss23> help ehlp heplkheplp
379: [03:13:10] <adrexia> life is a highway
380: [03:13:10] <Ryan-Toast> / ' '.`. _,' ,' `. | ' _,.. /
381: [03:13:12] <ss23> jesus this is so long
382: [03:13:12] <Ryan-Toast> / `. `"'"'""'" _,^--------"`. | `.'_ _/
383: [03:13:12] <spronk> RYAN TOAST BE BANNED
384: [03:13:13] <Ryan-Toast> /... _.`:.________,.' `._,.-..| "'
385: [03:13:14] <ss23> im going to die
386: [03:13:14] <Ryan-Toast> `.__.' `._ /
387: [03:13:15] <Ryan-Toast> "' mh
388: [03:13:16] <Ryan-Toast> Zauberfisch: dammit
389: [03:13:17] <ss23> whats the point in living
390: [03:13:17] * spronk smites him
391: [03:13:17] <Ryan-Toast> NOOO
392: [03:13:18] <DanaeNZ> I WANNA RIDE IT
393: [03:13:19] <ss23> god why am i alive
394: [03:13:19] <DanaeNZ> ALLL
395: [03:13:20] <DanaeNZ> NIIIGHT
396: [03:13:22] <ss23> jesus this is worse than death
397: [03:13:22] <DanaeNZ> LOOONG
398: [03:13:23] <Ryan-Toast> NOOOOOOOOOOOOO
399: [03:13:24] <ss23> fuckkkkkk
400: [03:13:27] <adrexia> lol
401: [03:13:35] <adrexia> EXTREME IRC
402: [03:13:56] * DanaeNZ is shitting herself laughing
403: [03:13:56] <Stomach> http://i.imgur.com/zOrK6uW.gif
404: [03:13:58] <Ryan-Toast> That joke was so meta: http://i.imgur.com/fBVXFh0.png
405: [03:14:06] <ss23> lol Ryan-Toast
406: [03:14:07] <DanaeNZ> NO
407: [03:14:08] <DanaeNZ> NO
408: [03:14:09] <DanaeNZ> NO
409: [03:14:09] <ss23> on our screen it wasn't even close to that
410: [03:14:10] <ss23> like
411: [03:14:10] <DanaeNZ> STOMACH
412: [03:14:11] <DanaeNZ> NO
413: [03:14:19] <spronk> lol fucking ol
414: [03:14:19] <ss23> on our screen ,it is a fucking abmoniation of a slowpoke
415: [03:14:27] <Ryan-Toast> ss23: I know, muhahahahaha
416: [03:14:28] <DanaeNZ> ss23: he was watcing my screen
417: [03:14:28] <ss23> Stomach: one of my favorite gifs
418: [03:14:29] <DanaeNZ> appalled
419: [03:14:30] <spronk> yeahhh
420: [03:14:31] <ss23> lol
421: [03:14:46] <Stomach> DanaeNZ - there is only one gif
422: [03:14:57] <Ryan-Toast> Stomach: <3
423: [03:15:04] <adrexia> it was amazing
424: [03:15:12] <DanaeNZ> I’ve never watched that gif start to end
425: [03:15:26] <DanaeNZ> ooh, now I know how to troll the IRC
426: [03:15:40] <DanaeNZ> just post multiline ascii
427: [03:15:51] <DanaeNZ> when it’s least expected
428: [03:15:56] <Kingy> ok someone anyone, give me 7 numbers between 1-10
429: [03:16:02] <ss23> 1
430: [03:16:02] <ss23> 2
431: [03:16:03] <ss23> 3
432: [03:16:03] <ss23> 4
433: [03:16:03] <ss23> 5
434: [03:16:04] <Ryan-Toast> Need to do it when it’s really quiet, and see if you can get the whole thing in without being interrupted.
435: [03:16:06] <ss23> 6
436: [03:16:08] <ss23> 7
437: [03:16:11] <Kingy> boring
438: [03:16:13] <ss23> if that doesn't work try
439: [03:16:14] <ss23> 1
440: [03:16:14] <ss23> 1
441: [03:16:15] <ss23> 1
442: [03:16:15] <ss23> 1
443: [03:16:17] <ss23> 1
444: [03:16:20] <ss23> 1
445: [03:16:22] <ss23> 1
446: [03:16:24] <adrexia> 4 8 4 9 2 3 5 5
447: [03:16:29] <DanaeNZ> 5555555
448: [03:16:36] * veb is now known as vebb
449: [03:16:41] <DanaeNZ> SHUTUP VEB
450: [03:16:47] <Kingy> adrexia: count :P
451: [03:16:59] <DanaeNZ> 1 2 3 potato
452: [03:17:02] <adrexia> count?
453: [03:17:20] <adrexia> oh you cn ditch one
454: [03:17:22] <adrexia> your choice ;0
455: [03:17:29] <Kingy> haha
456: [03:17:31] <DanaeNZ> ditch the 4
457: [03:17:34] <DanaeNZ> no one likes 4
458: [03:17:39] <spronk> FA FA FA
459: [03:17:40] <spronk> BA BA BA
460: [03:17:41] <spronk> FA FA FA
461: [03:17:42] <adrexia> I Love the 4
462: [03:17:51] <adrexia> that's why there's multiple of them
463: [03:17:58] <DanaeNZ> 3 is the best number
464: [03:18:14] <Stomach> https://www.youtube.com/watch?v=JZshZp-cxKg
465: [03:18:16] <adrexia> 7 isn't bad either
466: [03:18:29] * spronk high fives adrexia
467: [03:18:43] * vebb is now known as veb
468: [03:18:50] <Kingy> ok good ty :D
469: [03:19:02] <DanaeNZ> Stomach: is it chicken butt
470: [03:19:14] <Stomach> DanaeNZ - not this time
471: [03:19:30] <Colin[pi]> Stomach: lol childhood flashbacks
472: [03:21:23] <DanaeNZ> http://www.clickhole.com/article/10-signs-youve-got-good-man-2752?utm_campaign=default&utm_medium=ShareTools&utm_source=facebook
473: [03:22:29] <Ryan-Toast> DanaeNZ: Stupid website, great list.
474: [03:22:50] <DanaeNZ> I thank my friend who slowly dripfeeds me the best of the internet over the course of the day
475: [03:24:02] * veb is now known as vebb
476: [03:24:12] * vebb is now known as veb
477: [03:24:43] <Ryan-Toast> DanaeNZ: “MRW when I won't let my vegetative state stop my marathon training” http://i.imgur.com/4LsFghn.gif
478: [03:24:59] <DanaeNZ> OH MY FUCK
479: [03:25:01] <DanaeNZ> HAHAHAHAHAHAHA
480: [03:25:33] <Ryan-Toast> “MRW I ask for my friend's staff so I can cast a level 100 charisma spell” http://i.imgur.com/JBJn8Ub.gifv
481: [03:25:52] <DanaeNZ> AHAHAHAHA YES
482: [03:25:54] <DanaeNZ> WOW
483: [03:26:54] <Ryan-Toast> “MRW I'm taking a selfie and the zoom level is controlled by my eyebrows” http://i.imgur.com/Wh9MTIW.gif
484: [03:27:13] <DanaeNZ> staaaahhp D :D :D :D :D
485: [03:30:08] <DanaeNZ> Hey has anyone seen The Doomstar Requiem?
486: [03:30:10] <DanaeNZ> :D
487: [03:30:19] <DanaeNZ> It’s Metalocalypse
488: [03:30:22] <DanaeNZ> musical
489: [03:30:51] <Ryan-Toast> Does anyone know a dungeon master for dungeons and dragons?
490: [03:31:01] <Ryan-Toast> Group of friends and I want to give it a go.
491: [03:31:07] <DanaeNZ> My flatmate is a pretty good DM
492: [03:32:02] <adrexia> DanaeNZ who is your flatmate?
493: [03:32:08] <DanaeNZ> some guy
494: [03:32:13] <adrexia> lol
495: [03:32:23] <DanaeNZ> he just happens to like D&D
496: [03:32:30] * adrexia nods
497: [03:32:32] <DanaeNZ> he also happens to have TAKEN THE UMBRELLA
498: [03:32:36] <adrexia> just wondering if I knew him
499: [03:32:37] <DanaeNZ> SO I HAVE TO WALK IN THE RAIN
500: [03:32:38] <Stomach> THAT BASTARD
501: [03:32:39] <Colin[pi]> read that as B&D
502: [03:32:39] <adrexia> hahah
503: [03:32:44] <DanaeNZ> Well his name is Willo
504: [03:32:50] <DanaeNZ> Colin[pi]: hahahah
505: [03:32:57] <adrexia> like Willow
506: [03:32:59] <adrexia> ?
507: [03:33:06] <DanaeNZ> ya but no ending dubya
508: [03:33:16] <Stomach> I always wanted to marry a girl whos initials were B.D. so we could invite them to the wedding of B.D.S.M
509: [03:33:18] <DanaeNZ> his parents were hippies?
510: [03:33:22] <DanaeNZ> i dounno
511: [03:33:22] <adrexia> :D
512: [03:33:29] <DanaeNZ> Stomach: Hahahaha
513: [03:33:31] <Zauberfisch> Stomach: lol
514: [03:33:34] <Ryan-Toast> Stomach: lol!
515: [03:33:41] <Ryan-Toast> Actually laughed aloud.
516: [03:33:48] <DanaeNZ> Can confirm
517: [03:33:53] <DanaeNZ> Ryan-Toast laughe aloud
518: [03:34:00] <DanaeNZ> klaughe*
519: [03:34:00] <Stomach> :P
520: [03:34:02] <DanaeNZ> laughed*
521: [03:34:03] <DanaeNZ> FUK
522: [03:34:07] <Stomach> *FUCK
523: [03:34:13] <DanaeNZ> CUFK
524: [03:34:14] <DanaeNZ> FUCK
525: [03:34:15] <DanaeNZ> FUCK
526: [03:34:16] <DanaeNZ> FUCKf
527: [03:34:17] <DanaeNZ> sdfdf
528: [03:34:29] * DanaeNZ is crowned minister of typoes
529: [03:34:34] <Zauberfisch> anyway
530: [03:34:35] <DanaeNZ> typos*
531: [03:34:37] <Zauberfisch> stop
532: [03:34:41] <Zauberfisch> I have to get work done
533: [03:34:46] <Zauberfisch> :|
534: [03:34:57] <Stomach> hahaha
535: [03:35:11] <Stomach> http://stevie.co.nz/zauberfisch.jpg
536: [03:35:22] <Stomach> heres your cookie
537: [03:35:24] <Stomach> get back to work
538: [03:35:36] <DanaeNZ> hahah Stomach what even is
539: [03:36:01] <spronk> i want a cookie :(
540: [03:36:05] <DanaeNZ> ME TOO
541: [03:36:13] <Zauberfisch> no
542: [03:36:18] <Zauberfisch> it's mine
543: [03:36:29] <DanaeNZ> well, it /does/ have your name on it
544: [03:36:29] <spronk> yeah
545: [03:36:31] <spronk> i don't want your cookie
546: [03:36:31] <spronk> that's disgusting
547: [03:36:38] <spronk> i want a cookie of my very own
548: [03:37:02] <DanaeNZ> *spronk breaks into song*
549: [03:37:06] <DanaeNZ> A COOOKIEEE
550: [03:37:11] <DanaeNZ> A COOOKIE OF MY OOOWWWN~
551: [03:42:54] * muskie9 has joined #silverstripe
552: [03:43:20] * micmania1 quit (Quit: micmania1)
553: [03:46:22] <Stomach> http://stevie.co.nz/spronk.jpg
554: [03:46:43] * antmas has joined #silverstripe
555: [03:47:10] <antmas> Stripe The Net eh?
556: [03:47:21] <Stomach> huh
557: [03:47:33] <DanaeNZ> that cookie looks soooo yum
558: [03:47:36] <antmas> hosting for StW
559: [03:48:49] <Stomach> bought by solnet
560: [03:49:28] <antmas> :P
561: [03:50:56] * zippy has joined #silverstripe
562: [03:51:16] <zippy> I wonder if should make it so DataObjects can have a fillable array of things which you can easily assign from an array.
563: [03:51:17] <zippy> ie
564: [03:51:28] <zippy> $myobject->fill($request->postVars());
565: [03:51:35] <zippy> instead of having to set 5 fields
566: [03:51:46] <zippy> like how you can saveInto with a form
567: [03:52:09] <zippy> spronk: aye ;-)
568: [03:52:47] <antmas> I like that idea
569: [03:52:53] <spronk> you mean
570: [03:52:59] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
571: [03:53:01] <spronk> just like laravel
572: [03:53:01] <spronk> :p
573: [03:53:14] <spronk> works well there
574: [03:53:23] <spronk> has a private attribute defining what is fillable
575: [03:53:38] <zippy> spronk: sh don't say the L word, will scare them off
576: [03:53:39] <spronk> fill() method, ::create() method, new accepts array of fillables
577: [03:53:42] <spronk> i mean
578: [03:53:49] <spronk> OTHER POPULAR FRAMEWORKS
579: [03:53:53] * DanaeNZ hisses
580: [03:54:06] <zippy> yea, I use it quite a bit
581: [03:54:19] <zippy> and the validation
582: [03:54:24] <zippy> of other popular frameworks
583: [03:54:36] <spronk> i dont really like validation that much
584: [03:54:44] <spronk> i'd prefer to use dataobjects with their own validation rules
585: [03:54:47] <spronk> err
586: [03:54:48] <spronk> value object
587: [03:54:49] <spronk> s
588: [03:55:33] * Stomach quit (Quit: zzz)
589: [03:56:02] <zippy> it feels cumbersome when you do something like, does this email already exist
590: [03:57:25] * Stomach has joined #silverstripe
591: [03:58:12] <Stomach> did someone say validation
592: [03:58:12] <Stomach> https://github.com/Respect/Validation
593: [03:59:05] <zippy> wo
594: [03:59:34] <antmas> R E S P E C T
595: [03:59:38] <DanaeNZ> dat ucfirst namespace
596: [04:00:03] <DanaeNZ> hey, are those new Travis CI badges?
597: [04:00:06] <DanaeNZ> noice
598: [04:02:39] <spronk> hmm
599: [04:02:45] <spronk> respect .... has a somewhat akward api
600: [04:02:49] <zippy> Stomach: now just need something where you can say, Email => lowercase and trim. Name => trim etc
601: [04:02:51] <zippy> prep / normalize the data before working on it
602: [04:03:12] <spronk> mm..
603: [04:03:27] <Stomach> spronk - yeah but it works and makes sense and is readable :d
604: [04:03:43] <spronk> i guess
605: [04:03:48] <spronk> it does miss the 'clean' part
606: [04:06:54] <antmas> hmmmmmm
607: [04:07:02] <antmas> anyone tried/use FanPass?
608: [04:07:17] <antmas> tempted to try that for F1
609: [04:10:00] <spronk> yeah
610: [04:10:01] <spronk> i used it
611: [04:10:02] <spronk> its pretty good tbhy
612: [04:10:04] <spronk> but..... expensive
613: [04:10:10] <spronk> ^^ 1080p quality was better than skygo
614: [04:10:30] <spronk> but its nice, and you can delay by any number of seconds you want
615: [04:12:07] * benjhocking has joined #silverstripe
616: [04:12:52] <antmas> that's pretty sweet
617: [04:12:59] <antmas> but yeah it is a little pricey
618: [04:13:09] <antmas> but I will pay for good 1080p
619: [04:13:23] <antmas> have tried doing the grey area streaming thing and it just sucks :P
620: [04:13:38] <Ryan-Toast> Stomach: do you know who burnbright is?
621: [04:13:45] <Stomach> Jeremy Shipman
622: [04:14:06] <Stomach> I think he works with adrexia
623: [04:14:09] <Stomach> but maybe not
624: [04:14:12] <spronk> antmas yeah, it really does
625: [04:14:15] <spronk> chops every 5 seconds
626: [04:14:22] <spronk> basically makes the video unwatchable
627: [04:14:35] <Ryan-Toast> adrexia: Do you work with Jeremy Shipman?
628: [04:15:00] * benjhocking quit (Read error: Connection reset by peer)
629: [04:15:14] <zippy> isn't that the jedateach dude
630: [04:15:21] <antmas> yeah
631: [04:15:24] <antmas> pretty sure
632: [04:16:38] <Stomach> or maybe ive fucked it up :D
633: [04:18:03] <antmas> spronk: now I just need something for MotoGP :D
634: [04:18:06] <antmas> have WEC covered
635: [04:18:10] <antmas> their app is pretty sweet
636: [04:18:17] <spronk> mm
637: [04:18:29] <spronk> fanpass would be alright for half the price
638: [04:18:32] <spronk> or even 2/3rds
639: [04:18:45] <spronk> though
640: [04:18:48] <spronk> $99 for the half season pass.....
641: [04:18:48] <spronk> hmmmm
642: [04:18:59] <DanaeNZ> Who said MotoGP??
643: [04:19:02] <DanaeNZ> :D
644: [04:19:07] * antmas
645: [04:19:08] <antmas> :D
646: [04:19:13] <DanaeNZ> I haven’t watched MotoGP forever
647: [04:19:18] <spronk> VWAOOARMMM
648: [04:19:19] <spronk> *lean8
649: [04:19:21] <spronk> *lean some more*
650: [04:19:29] <spronk> *lean woah waht the fuck seriously how do you lean this much*
651: [04:19:33] <DanaeNZ> Used to gather the whole motorcycle club to catch the races
652: [04:19:34] <spronk> *leans some more*
653: [04:19:35] <antmas> I used to like SBK more, but now that Rossi is winning again :D
654: [04:19:35] <spronk> VOWARMRMMm
655: [04:19:40] <DanaeNZ> *rossi sticks his foot out*
656: [04:19:44] <DanaeNZ> ROSSI WAT R U DOIN
657: [04:19:45] <antmas> lol
658: [04:19:51] <DanaeNZ> *everyone else copies him*
659: [04:19:54] <DanaeNZ> I think he’s a troll
660: [04:20:41] <antmas> motogp uses this https://secure.motogp.com/en/subscribe?utm_source=motogp.com&utm_medium=link&utm_content=menu_right&utm_campaign=DefaultCampaign
661: [04:20:45] <antmas> woah link
662: [04:21:35] <antmas> pretty awesome features but WHOLEY PHUCK PRICES
663: [04:22:07] <DanaeNZ> we used to pirate it from that bike racer website
664: [04:22:21] <DanaeNZ> even Sky doesn’t televise it enough
665: [04:22:35] <DanaeNZ> I wanna watch motorcycle racing now
666: [04:22:40] <DanaeNZ> FOOKIN NEEOOOWWW
667: [04:22:59] <DanaeNZ> brings me back to uni motorcycle club and kiwibiker.co.nz
668: [04:23:14] <spronk> lol
669: [04:23:14] <spronk> so
670: [04:23:16] <DanaeNZ> that one time i 12 o’clocked a scooteer
671: [04:23:19] <spronk> sky wants $99nzd for a half season of f1
672: [04:23:29] <spronk> motogp will sell you a full season for 80euro?
673: [04:23:35] <DanaeNZ> haha suddenly the prices sound reasonable
674: [04:23:42] <spronk> sigh
675: [04:23:43] <DanaeNZ> wait
676: [04:23:45] * nimeso has joined #silverstripe
677: [04:23:48] <DanaeNZ> no still expensive
678: [04:23:49] <spronk> i'd pay $130 for a full season of f1
679: [04:24:00] <ss23> test test test
680: [04:24:05] <ss23> test test test123
681: [04:24:12] <DanaeNZ> hi ss23 :D
682: [04:24:17] <ss23> hi2u
683: [04:24:17] * benjhocking has joined #silverstripe
684: [04:24:22] <ss23> I'm teaching cheddam about how to use IRC
685: [04:24:26] <ss23> He didn't know up was a thing
686: [04:24:27] <ss23> :P
687: [04:24:30] <ss23> (he's a scrub)
688: [04:24:35] <antmas> I dunno
689: [04:24:36] <ss23> (and his taste in anime is sugoi bad)
690: [04:24:41] <antmas> I reckon flat $100 for a season
691: [04:24:43] <DanaeNZ> (probably like mine)
692: [04:24:46] <antmas> for either
693: [04:24:52] <ss23> DanaeNZ: yours is pretty bad too
694: [04:24:57] <ss23> DAME ONII, THAT ANIME IS BAD :O
695: [04:25:02] <ss23> NARUTO WILL RUIN YOUR SOUL
696: [04:25:03] <DanaeNZ> I pride myself in my terrible taste in anime
697: [04:25:16] <DanaeNZ> onee* D:
698: [04:25:18] <spronk> antmas yeah, sounds fair
699: [04:25:19] <antmas> that drag and drop video feed doe
700: [04:25:22] <antmas> holy shit awesome
701: [04:25:23] <spronk> $100 is quite a bit of cash
702: [04:25:24] <ss23> DanaeNZ: Granted :O
703: [04:25:29] <antmas> mm
704: [04:25:49] <DanaeNZ> as soon as you watch 1 animus your soul is gone tho
705: [04:26:01] <DanaeNZ> it’s like i racked up a whole soul debt
706: [04:26:06] <DanaeNZ> so I owe maybe 50 souls
707: [04:26:14] <nimeso> Hey Spronk! :) anyone know where unclecheese is ... bastard has not replied to my Git issue... lol. Slacker!
708: [04:26:17] <nimeso> ;)
709: [04:26:24] <DanaeNZ> !seen UncleCheese
710: [04:26:25] <ss-helper> DanaeNZ: I last saw UncleCheese 2 hours ago
711: [04:26:31] <antmas> :O
712: [04:26:39] * antmas always forgets ss-helper commands
713: [04:27:00] <nimeso> ss-helper :) yah he is alive! I'm sure he will reply because he is awesome
714: [04:27:01] <spronk> haha
715: [04:27:04] * spronk has no idea nimeso
716: [04:27:07] <antmas> nimeso: just wait for mortgage rates/housing issues to come on the news and he'll be back in
717: [04:27:07] <spronk> whats your git issue?
718: [04:27:26] <ss23> wakatanyaa~
719: [04:27:48] <nimeso> trying to hack his dropzone module in to Ajax response https://github.com/unclecheese/silverstripe-dropzone/issues/23
720: [04:27:51] <nimeso> :)
721: [04:28:59] <Colin[pi]> antmas: nimeso: just wait for mortgage rates/housing issues to come on the news and he'll be back in <--- loool
722: [04:29:00] <ss23> DanaeNZ: lack of souls?
723: [04:29:02] <ss23> maybe you should watch
724: [04:29:03] <ss23> um
725: [04:29:06] <ss23> you know that show that has soul in the name...
726: [04:29:08] <ss23> soul reaper?
727: [04:29:18] <ss23> SOUL EATER
728: [04:29:20] <ss23> yeah.
729: [04:29:21] <zippy> nimeso: while you wait, format that error a bit nicer :)
730: [04:29:23] * joelpittet has joined #silverstripe
731: [04:29:41] <DanaeNZ> ss23: is it good? Or is it goodbad?
732: [04:30:08] * ccburns has joined #silverstripe
733: [04:30:26] <DanaeNZ> Oh shiiiiet Auckland Armageddon announcements incominggg~~~
734: [04:30:47] <ss23> DanaeNZ: Never seen it, but it has soul in the name :D
735: [04:30:55] <DanaeNZ> ss23: lmao close enuf
736: [04:31:04] <ss23> DanaeNZ: Oh Cheddam is going to armageddon here I think
737: [04:31:12] <DanaeNZ> Oh no
738: [04:31:14] * DanaeNZ hides
739: [04:31:24] <DanaeNZ> wait who’s Cheddam
740: [04:31:30] <antmas> $185 for MotoGP season????
741: [04:31:31] <antmas> WOAH
742: [04:31:35] <nimeso> And no one should get me started on mortgage rates/housing issues ;)
743: [04:31:38] <ss23> DanaeNZ: coworker, he's on IRC occasionally
744: [04:31:42] * micmania1 has joined #silverstripe
745: [04:31:56] <antmas> is he the other Brittish person?
746: [04:32:03] <DanaeNZ> ss23: is he the one that nearly threw up
747: [04:32:28] <DanaeNZ> antmas: other? Who is british :D
748: [04:32:30] <antmas> yes
749: [04:32:35] <antmas> micmania1: is
750: [04:32:39] <antmas> irrc
751: [04:32:47] <antmas> apples and pears etc
752: [04:32:56] <DanaeNZ> :D ?
753: [04:32:59] <DanaeNZ> *lost*
754: [04:34:00] <ss23> DanaeNZ: omg yes
755: [04:34:01] * Azure|dc has joined #silverstripe
756: [04:34:01] <ss23> you remember him
757: [04:34:02] <ss23> :D
758: [04:34:09] <ss23> antmas: naw, he's from NZ
759: [04:34:10] <DanaeNZ> haha yaay
760: [04:35:16] * Azure quit (Read error: Connection reset by peer)
761: [04:35:16] <antmas> :O
762: [04:35:17] <antmas> oh
763: [04:35:18] <antmas> idk
764: [04:35:44] * ccburns quit (Quit: Colloquy for iPhone - http://colloquy.mobi)
765: [04:35:58] <antmas> honestly though, $200 for a season of sports, multi cameras, replays when you want etc
766: [04:36:11] <antmas> you get better viewing than actually being at the race in a stand
767: [04:36:16] <spronk> yeah
768: [04:36:16] <spronk> but
769: [04:36:18] <spronk> its still expensive
770: [04:36:19] <antmas> so, can't REALLY complain
771: [04:36:21] <antmas> :P
772: [04:36:29] <spronk> they make a FUCKTON of money off it
773: [04:36:30] <spronk> so
774: [04:36:31] <spronk> its expensive
775: [04:36:57] <antmas> I guess so
776: [04:37:24] <antmas> I'd be happy with paying week to week for my favourite circuits maybe
777: [04:37:30] <DanaeNZ> Have you ever been to the Paeroa battle of the streets tho?
778: [04:37:36] <DanaeNZ> that shit’s intense
779: [04:37:43] <antmas> DanaeNZ: yeah but street races is different
780: [04:37:47] <DanaeNZ> they have motards and sidecar races
781: [04:37:52] <antmas> Wanganui too
782: [04:38:37] <DanaeNZ> Taupo is fun as well!
783: [04:38:41] <antmas> mm
784: [04:38:46] <DanaeNZ> man I used to go to a lot of motorcycle stuff
785: [04:38:56] <DanaeNZ> WHEN DID I GET SO LAME
786: [04:39:17] * antmas now misses his motorcycle
787: [04:39:19] <antmas> ;___;
788: [04:39:22] <DanaeNZ> Me too :(
789: [04:39:25] <DanaeNZ> What did you ride?
790: [04:39:39] <antmas> CBR600r was my last ride
791: [04:39:43] <DanaeNZ> noooiiice
792: [04:39:53] <antmas> then 2008 XTX600X
793: [04:39:54] <DanaeNZ> I only had 2 motorcycles
794: [04:39:58] <antmas> before that*
795: [04:40:02] <DanaeNZ> XTX? what make is that?
796: [04:40:06] <antmas> Yamaha
797: [04:40:09] <antmas> super motard
798: [04:40:12] <DanaeNZ> omfg nice
799: [04:40:16] <antmas> 660*
800: [04:40:21] <antmas> yeah that was awesome
801: [04:40:28] <DanaeNZ> you can’t not behave like a dick on a motard tho
802: [04:40:33] <antmas> before that an FZR400RR
803: [04:40:39] <DanaeNZ> heheh sweet
804: [04:40:47] * muskie9 has joined #silverstripe
805: [04:40:53] <antmas> that 400 was a POS
806: [04:41:04] <DanaeNZ> fzr 400 are
807: [04:41:13] <antmas> 12937129863218361 kgs
808: [04:41:16] <antmas> and like 80hp
809: [04:41:44] <DanaeNZ> I had an FXR 150 for like, 4 years
810: [04:41:53] <DanaeNZ> that little guy took me all over the north island
811: [04:41:56] <antmas> I sold my CBR to a close friend and he sent it into the back of a mazda familiar at 60kph :P
812: [04:42:03] <DanaeNZ> noooo
813: [04:42:05] <DanaeNZ> ;___;
814: [04:42:10] <antmas> yup
815: [04:42:13] <antmas> deeeeestroyed
816: [04:42:16] <DanaeNZ> a lady in a Golf drove into mine
817: [04:42:17] <Ryan-Toast> antmas: what kind of cbr?
818: [04:42:27] <antmas> Ryan-Toast: 600r
819: [04:42:31] <DanaeNZ> I put a big dent in her bonnet with my knee
820: [04:42:36] <antmas> last of the steel frame onse
821: [04:42:36] <DanaeNZ> served that bitch right
822: [04:42:38] <antmas> ones*
823: [04:42:38] * Ryan-Toast misses his cbvr
824: [04:42:46] <antmas> DanaeNZ: lol
825: [04:42:50] <DanaeNZ> Then I got a GB400
826: [04:42:50] <antmas> lemme find a pic
827: [04:42:58] <DanaeNZ> noice classic, comfortable, tractor-like
828: [04:42:58] <antmas> it was deliciously 90s coloured
829: [04:43:09] <zippy> what were those suzuki 2 stroke rockets called
830: [04:43:19] <Ryan-Toast> antmas: http://i.imgur.com/xbGJfFe.jpg
831: [04:43:30] <zippy> similar to the fzr 150's
832: [04:43:53] <antmas> Ryan-Toast: that's the twin model eh?
833: [04:44:01] <antmas> zippy: RZs
834: [04:44:02] <Ryan-Toast> antmas: yarp
835: [04:44:21] <zippy> mm no sport bike
836: [04:44:25] <DanaeNZ> RGV
837: [04:44:36] <DanaeNZ> you could get an RGV 250
838: [04:44:41] <DanaeNZ> fucking death machine
839: [04:44:43] <zippy> rvg yea
840: [04:44:49] <DanaeNZ> technically learner approved
841: [04:44:50] <antmas> http://moto.zombdrive.com/images/honda-cbr600f-1998-6.jpg
842: [04:44:51] <DanaeNZ> hilarious
843: [04:44:52] <Ryan-Toast> I want a speed triple
844: [04:44:53] <antmas> oh, RGV yeah
845: [04:45:00] <DanaeNZ> I want a speed triple :(
846: [04:45:01] <zippy> that thing was fast, holly shit
847: [04:45:08] <DanaeNZ> Awww yeah 80s colours
848: [04:45:10] <antmas> mmm Speed Triple
849: [04:45:11] <zippy> sounded like shit thou :)
850: [04:45:20] <zippy> do miss it
851: [04:45:22] <antmas> any streetfighter style bike I love
852: [04:45:22] * muskie9 quit (Client Quit)
853: [04:45:41] <DanaeNZ> my boyfriend has one of these: https://upload.wikimedia.org/wikipedia/commons/d/d4/1994_Honda_RVF400.jpg
854: [04:45:44] <DanaeNZ> sooo
855: [04:45:45] <DanaeNZ> niiice
856: [04:45:53] <antmas> oh RVF
857: [04:45:59] <antmas> dat single sided swing arm :D
858: [04:46:00] <DanaeNZ> there’s like, 3 in Auckland
859: [04:46:03] <DanaeNZ> ughhhh
860: [04:46:08] <DanaeNZ> an USD forks
861: [04:46:10] <DanaeNZ> hnnnng
862: [04:46:12] <antmas> http://derestricted.com/wp-content/uploads/2014/01/ktm-superduke-1290-black-13.jpg
863: [04:46:15] <antmas> so much this
864: [04:46:17] <DanaeNZ> and honda gear driven cams
865: [04:46:24] <DanaeNZ> that whine
866: [04:46:29] <antmas> mm
867: [04:46:35] <DanaeNZ> antmas: yuuuum
868: [04:46:48] <Colin[pi]> are we on bikes now?
869: [04:46:50] <DanaeNZ> shit yes
870: [04:47:03] <Ryan-Toast> antmas: hnnng
871: [04:47:05] <antmas> brother in law has an RS250, CBR600RR and now a Ducati Monster S4RS
872: [04:47:10] <antmas> I hate him so much :|
873: [04:47:16] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
874: [04:47:17] <Colin[pi]> oh man I love Ducatis
875: [04:47:24] <DanaeNZ> is that the monster that is not underpowered?
876: [04:47:37] <antmas> overpowered :P
877: [04:48:28] <DanaeNZ> i love this happy bike: v
878: [04:48:29] <DanaeNZ> http://www.motorcyclespecs.co.za/Gallery%20%20A/Triumph%20Daytona%20600%2003%20%202.jpg
879: [04:48:46] <antmas> I never really liked the Daytonas
880: [04:48:58] <antmas> I did ride a new 675 daytona to ChCh once
881: [04:49:01] <antmas> that was fun
882: [04:49:08] <antmas> then a 2009 R1 all the way home :D
883: [04:49:18] <DanaeNZ> https://upload.wikimedia.org/wikipedia/commons/7/77/Suzuki_SV650.jpg
884: [04:49:21] <DanaeNZ> dat v twin do
885: [04:49:27] <DanaeNZ> ugh yes sounds so good
886: [04:49:32] <DanaeNZ> look so weird
887: [04:49:47] <antmas> DanaeNZ: the 1000 is nicer (SV) and has that little bellypan fairing lol
888: [04:49:55] <DanaeNZ> http://s108.photobucket.com/user/SrpowerdSilvia/media/2008-ducati-848-white-04.jpg.html
889: [04:49:57] <DanaeNZ> HNNNG
890: [04:50:08] <DanaeNZ> antmas: maybe i was thinking of that one
891: [04:50:26] <DanaeNZ> http://www.motorcyclespecs.co.za/Gallery/Honda%20SP2%20%202.jpg
892: [04:50:28] <DanaeNZ> yesyesyes
893: [04:50:29] <antmas> oh white ducatis
894: [04:50:32] <antmas> get in my face
895: [04:51:03] <antmas> oh fuck I'm still at work
896: [04:51:03] <antmas> lol
897: [04:51:05] <antmas> time to go home
898: [04:51:11] <antmas> o/ all
899: [04:51:12] <DanaeNZ> Haa
900: [04:51:14] <DanaeNZ> see ya
901: [04:51:22] * antmas quit (Quit: Page closed)
902: [04:51:27] <DanaeNZ> now I want a motorbike :(
903: [05:02:17] * ss-helper quit (Remote host closed the connection)
904: [05:02:32] * ss-helper has joined #silverstripe
905: [05:08:59] * DanaeNZ quit (Quit: DanaeNZ)
906: [05:12:11] * veb is now known as vebb
907: [05:17:11] * Hailwood quit (Remote host closed the connection)
908: [05:21:28] * Stomach quit (Quit: zzz)
909: [05:23:27] * vebb quit (Quit: veb-irc: &)
910: [05:24:47] * Stomach has joined #silverstripe
911: [05:26:26] * vebb has joined #silverstripe
912: [05:31:10] * vebb quit (Client Quit)
913: [05:45:16] * glenn-bautista quit (Quit: Leaving.)
914: [05:46:38] * darjus01 has joined #silverstripe
915: [05:50:27] <adrexia> Ryan-Toast:
916: [05:50:27] <adrexia> adrexia: Do you work with Jeremy Shipman?
917: [05:50:29] <adrexia> nah
918: [05:50:36] <adrexia> he used to work for DNA
919: [05:50:42] <adrexia> now works for... BNZ UI think
920: [05:50:46] <adrexia> *I
921: [05:51:34] <spronk> anz, apparently
922: [05:52:21] * ccburns has joined #silverstripe
923: [05:53:39] * Stomach quit (Quit: zzz)
924: [05:53:40] * joelpittet quit (Read error: Connection reset by peer)
925: [05:55:01] * ccburns quit (Client Quit)
926: [05:55:34] * adrexia quit (Ping timeout: 272 seconds)
927: [06:00:18] * benjhocking quit (Read error: Connection reset by peer)
928: [06:04:28] * Mike123 has joined #silverstripe
929: [06:04:34] * r_hector has joined #silverstripe
930: [06:04:40] <Mike123> Morning )
931: [06:22:22] * benjhocking has joined #silverstripe
932: [06:24:28] * cloph_away quit (Remote host closed the connection)
933: [06:24:46] * cloph_away has joined #silverstripe
934: [06:32:21] * adrexia has joined #silverstripe
935: [06:46:22] * micmania1 quit (Quit: micmania1)
936: [06:51:32] * spronk quit (Quit: I may need a longer sleep timer...)
937: [07:01:20] * Colin[pi] quit (Ping timeout: 265 seconds)
938: [07:05:21] * vebb has joined #silverstripe
939: [07:17:31] * swaiba has joined #silverstripe
940: [07:17:50] * vebb quit (Quit: veb-irc: &)
941: [07:19:08] * Vedran__ has joined #silverstripe
942: [07:23:12] * Vedran___ quit (Ping timeout: 264 seconds)
943: [07:23:21] * wmk has joined #silverstripe
944: [07:32:52] * Ryan-Toast quit (Quit: Ryan-Toast)
945: [07:37:22] * Colin[pi] has joined #silverstripe
946: [07:38:05] * Copperis has joined #silverstripe
947: [07:38:42] * vebb has joined #silverstripe
948: [07:39:06] * micmania1 has joined #silverstripe
949: [07:44:30] * cloph_away quit (Remote host closed the connection)
950: [07:44:44] * cloph_away has joined #silverstripe
951: [07:50:30] * hamror is now known as nowizards
952: [08:01:07] * aditya_ has joined #silverstripe
953: [08:02:57] <aditya_> i have created a folder named articles and uploaded some images what when i use any image from them in htmltext editor and try to render that in frontend image doesn't appear
954: [08:04:08] <nimeso> aditya_ send code somewhere?
955: [08:04:11] <aditya_> it shows in front instead of image -------- [embed width="422" height="286" class="leftAlone" thumbnail="https://pmf-live.s3-eu-west-1.amazonaws.com/Uploads/articles/june/PM-June-text-page25-image10.jpg?r=33989"]https://pmf-live.s3-eu-west-1.amazonaws.com/Uploads/articles/june/PM-June-text-page25-image10.jpg[/embed]
956: [08:04:57] <wmk> aditya_, well, how did you include the image?
957: [08:05:32] <aditya_> from htmltextareaeditor
958: [08:05:44] <wmk> you need to take the image from local storage
959: [08:05:51] <wmk> not "from web" or how this is called
960: [08:06:11] <aditya_> what it will not show on live site i think
961: [08:06:13] <wmk> but normally it'd include an <img> tag when you include an image from "files and images"
962: [08:07:01] <wmk> i dunno where this [embed] shortcode is coming from. but it's definitely wrong.
963: [08:07:16] <wmk> so either you included the image in a wrong way, or you found a bug.
964: [08:07:20] <wmk> any fancy modules you use?
965: [08:07:38] <aditya_> not at all
966: [08:08:26] <nimeso> When I use that url to your image using the wysiwyg editor, I don't have permissions to it on pmf-live.s3-eu-west-1.amazonaws.com... you will need to download the image to the disk and upload like any other file in SS.
967: [08:08:58] * kinglozzer has joined #silverstripe
968: [08:09:19] * GioVdK has joined #silverstripe
969: [08:09:31] <aditya_> i already uploaded in ss upload section
970: [08:10:48] <nimeso> wmk... agreed... no idea how the [embed' code got there... the 'from web' tab tells me I don't have perms to the file. Strange
971: [08:11:20] * Pyiobuhnk has joined #silverstripe
972: [08:11:22] * Vedran__ quit (Remote host closed the connection)
973: [08:12:02] <wmk> aditya_, did you copy /paste from somewhere?
974: [08:12:29] <nimeso> 1. in wysiwyg editor click the image icon 2. click the 'from CMS' tab 3. find the uploaded file ... is that what your doing?
975: [08:12:57] * Vedran__ has joined #silverstripe
976: [08:13:12] <aditya_> yes
977: [08:17:10] * sminnee_ has joined #silverstripe
978: [08:17:24] <nimeso> ok ... that is super super super crazy... hmmmm so you 'downloaded' the image from https://pmf-live.s3-eu-west-1.amazonaws.com/Uploads/articles/june/PM-June-text-page25-image10.jpg and saved it locally, then uploaded it to the cms using the 'Files' menu item ... then you added the file using the wysiwyg editor and the html says all that crazy [embed] code?
979: [08:19:50] <aditya_> not thats not like that, firstly i extracted images from a pdf and stored in local system, then i uploaded them in cms and then using in wysiwyg and all that happned
980: [08:21:10] * Vedran__ quit (Remote host closed the connection)
981: [08:21:45] <wmk> but you have that images from pdf as image file, e.g. jpg on your local pc?
982: [08:21:58] <nimeso> And only uploaded images work fine?
983: [08:22:19] <wmk> (extracting from pdf - are you allowed? not that you or your customer get a copyright issue later on)
984: [08:22:20] <nimeso> sorry... *other images
985: [08:22:49] <nimeso> it is a jpg https://pmf-live.s3-eu-west-1.amazonaws.com/Uploads/articles/june/PM-June-text-page25-image10.jpg
986: [08:23:20] * bemusedrat has joined #silverstripe
987: [08:23:21] <wmk> nimeso, it should be a jpg, but IS it really a jpg?
988: [08:23:32] <wmk> so if it's a file, or gzip or whatever...
989: [08:23:41] * wmk wonders where the [embed] shortcode comes from
990: [08:24:42] * Kingy is now known as Kingy[a]
991: [08:25:05] <wmk> class Oembed, handle_shortcode
992: [08:26:18] <wmk> so aditya_, i guess you included it in a wrong way?
993: [08:26:44] * keroberos quit (Max SendQ exceeded)
994: [08:29:02] * keroberos has joined #silverstripe
995: [08:29:36] <wmk> aditya_, any htmleditor config you changed?
996: [08:30:53] <aditya_> not at all
997: [08:31:07] <wmk> hmm...
998: [08:31:33] <wmk> how about uploading another image and try there? any photo you can upload?
999: [08:35:34] * micmania1 quit (Ping timeout: 256 seconds)
1000: [08:35:39] * micmania2 has joined #silverstripe
1001: [08:41:17] * simon_w has joined #silverstripe
1002: [08:43:17] * nimeso quit (Quit: Page closed)
1003: [08:51:22] <kinglozzer> lol https://lolcommits.github.io/
1004: [08:51:27] <kinglozzer> great idea :P
1005: [08:52:17] <Pyiobuhnk> back again swaiba! http://www.silverstripe.org/community/forums/general-questions/show/102479
1006: [08:52:36] <swaiba> Morning Pyiobuhnk
1007: [08:53:15] <swaiba> it's the same guy from before
1008: [08:53:23] <Pyiobuhnk> I know yeah, in the same thread too
1009: [08:53:37] <swaiba> as I said then, I'm being generous, benifit of the doubt
1010: [08:53:39] <Pyiobuhnk> oh wait, 2 days ago
1011: [08:53:41] <Pyiobuhnk> hmm
1012: [08:53:49] <swaiba> if they do it again, I'll ghost em
1013: [08:54:22] <Pyiobuhnk> swaiba: nah, because site is NOT in silverstripe.
1014: [08:54:37] <Pyiobuhnk> maybe just take the link out and leave a warning
1015: [08:54:38] <Pyiobuhnk> idk
1016: [08:55:15] <swaiba> I can't edit others posts, I just clean up the trash
1017: [08:55:47] <swaiba> and while that smells a little, I'd prefer to be generous
1018: [08:59:30] * mahfuz quit (Ping timeout: 246 seconds)
1019: [09:00:24] <wmk> kinglozzer, cool ;)
1020: [09:00:32] <wmk> though commits become a bit more data?
1021: [09:02:32] * ss-helper quit (Remote host closed the connection)
1022: [09:02:47] * ss-helper has joined #silverstripe
1023: [09:03:40] <Pyiobuhnk> I see
1024: [09:06:14] <simon_w> Ugh, I forgot this site's not on my fork
1025: [09:06:17] <simon_w> flush tokens :(
1026: [09:07:04] <ss23> urgh
1027: [09:07:06] <ss23> bane of my existence
1028: [09:08:01] <simon_w> On the bright side, <3 Hack
1029: [09:08:17] <aditya_> i clicked on sync files and now images files are not showing in cms
1030: [09:14:08] * ss31noob has joined #silverstripe
1031: [09:17:33] <ss-helper> Dynamically adding fields based on what is selected in the DropdownField [SilverStripe] - http://stackoverflow.com/questions/31426081/dynamically-adding-fields-based-on-what-is-selected-in-the-dropdownfield-silver
1032: [09:22:57] * sminnee_ quit (Quit: sminnee_)
1033: [09:26:06] * sminnee_ has joined #silverstripe
1034: [09:29:49] * Tanger quit (Quit: sleep())
1035: [09:31:28] * Tanger has joined #silverstripe
1036: [09:41:32] * aditya_ quit (Quit: Page closed)
1037: [09:47:34] <ss-helper> Dynamically adding fields based on what is selected in the DropdownField with SilverStripe - http://stackoverflow.com/questions/31426081/dynamically-adding-fields-based-on-what-is-selected-in-the-dropdownfield-with-si
1038: [09:49:50] * vebb quit (Quit: veb-irc: &)
1039: [09:50:04] * vebb has joined #silverstripe
1040: [09:50:26] * vebb quit (Client Quit)
1041: [09:51:57] * sminnee_ quit (Quit: sminnee_)
1042: [10:05:52] * cloph_away quit (Ping timeout: 244 seconds)
1043: [10:15:41] * Vedran__ has joined #silverstripe
1044: [10:30:46] * cloph_away has joined #silverstripe
1045: [10:36:51] * cloph_away quit (Ping timeout: 255 seconds)
1046: [10:38:11] <Pyiobuhnk> Hmm, this channel has been quite dead recently :(
1047: [10:38:24] <Pyiobuhnk> where's that NETim fellow to liven things up kinglozzer ?
1048: [10:38:28] <Pyiobuhnk> Brummy right?
1049: [10:38:37] <kinglozzer> Pyiobuhnk: no idea, somewhere uk I think
1050: [10:38:44] <Pyiobuhnk> brummy I think.
1051: [10:39:38] <swaiba> ok well I've got a questino then...
1052: [10:40:03] <swaiba> for a regular scafoled gridfield that you want to add an extra filter to
1053: [10:40:28] <swaiba> e.g. "status=on" how would you add that in getCMSFields?
1054: [10:41:44] * cloph_away has joined #silverstripe
1055: [10:42:19] <Pyiobuhnk> getConfig() ?
1056: [10:42:44] <Pyiobuhnk> get config, add component, set config
1057: [10:42:48] <Pyiobuhnk> I imagine
1058: [10:42:57] <swaiba> Pyiobuhnk - yeah - which component?
1059: [10:43:11] <Pyiobuhnk> swaiba: you wanting an extra filter?
1060: [10:43:14] <wmk> swaiba, filter?
1061: [10:43:16] <Pyiobuhnk> an extra field?
1062: [10:43:20] <wmk> as dropdown?
1063: [10:43:20] <Pyiobuhnk> with filterheaders?
1064: [10:43:30] <Pyiobuhnk> extra html attribute?
1065: [10:43:32] <wmk> or filter the displayed list by default?
1066: [10:43:32] <Pyiobuhnk> depends.
1067: [10:43:35] <swaiba> like I want to show records only for, say linked to someone
1068: [10:43:37] <Pyiobuhnk> You might need to make a component
1069: [10:43:46] <Pyiobuhnk> swaiba: just turn filterheaders on?
1070: [10:43:59] <Pyiobuhnk> should probably already be on... maybe
1071: [10:44:03] <swaiba> Pyiobuhnk - no the user shouldn't get to see other stuff
1072: [10:44:12] <swaiba> so user a sees stuff for location a
1073: [10:44:16] <Pyiobuhnk> swaiba: ah, just filter the list beforehand
1074: [10:44:18] <swaiba> user b only location b
1075: [10:44:21] <Pyiobuhnk> oh but scaffolded
1076: [10:44:23] <Pyiobuhnk> hmm
1077: [10:44:32] <wmk> so like Gridfield::create('Name', 'title', 'config', $this->Relation()->filter(...) ) ??
1078: [10:44:46] <Pyiobuhnk> I think you can do it... not entirely sure how though. api.silverstripe.org/3.1/class-GridFieldConfig.html ?
1079: [10:45:02] <swaiba> I'll try that wmk, I guess I should have started there
1080: [10:45:03] <Pyiobuhnk> wmk: yeah but it's scaffolded currently
1081: [10:45:16] <swaiba> I get ti though, remove it and make it again
1082: [10:45:23] <Pyiobuhnk> well either way you gotta do stuff to the field, so just modify the list I guess
1083: [10:45:25] <Pyiobuhnk> easier
1084: [10:45:38] <wmk> swaiba, http://api.silverstripe.org/3.1/class-GridField.html#_setList
1085: [10:45:47] <wmk> Pyiobuhnk, you're right
1086: [10:46:03] <Pyiobuhnk> swaiba: should be able to parent::getcmsfields()->datafieldbyname('datgridfield')->modiftythelist or something
1087: [10:46:06] * Pyiobuhnk shrugs
1088: [10:46:08] <wmk> in Bavaria we say: ".. and who's right has to pay a beer"
1089: [10:46:28] <swaiba> cool beans, thanks
1090: [10:46:35] <Pyiobuhnk> pay the beer? Winner gets the beer in English!
1091: [10:46:38] <Pyiobuhnk> :P
1092: [10:46:46] <wmk> oh, clash of cultures?
1093: [10:46:50] <Pyiobuhnk> Maybe
1094: [10:46:59] <Pyiobuhnk> Not sure. So if I'm right I have to buy everyone a beer?
1095: [10:47:26] * wmk just opened the box of pandora...?
1096: [10:48:36] <wmk> Pyiobuhnk, you know good beer in london?
1097: [10:49:14] <Pyiobuhnk> wmk: hmm. English love Ale more than Lager (or Stout or Porter or what have you)
1098: [10:49:45] <Pyiobuhnk> There are good ones, yeah. But you have to try and see. Over here it seems to be an acceptable thing to ask for a taste before you buy a pint, so that's cool :)
1099: [10:50:00] <kinglozzer> swaiba: $grid->setList($grid->getList()->filter('foo', 'bar'));
1100: [10:50:59] <Pyiobuhnk> mmhmm
1101: [10:51:35] <swaiba> wmk good beer --> there's a brew dog...
1102: [10:51:51] <swaiba> kinglozzer thanks
1103: [11:05:23] * marvanni has joined #silverstripe
1104: [11:26:51] * Mike123 quit (Ping timeout: 246 seconds)
1105: [11:27:11] <Pyiobuhnk> kinglozzer: https://www.newedge.co.uk/about
1106: [11:27:14] <Pyiobuhnk> NE Tim
1107: [11:27:47] <Pyiobuhnk> send'm an email.
1108: [11:29:59] <kinglozzer> !seen NETtim
1109: [11:29:59] <ss-helper> kinglozzer: Never seen that person before...
1110: [11:30:01] <kinglozzer> !seen NETim
1111: [11:30:02] <ss-helper> kinglozzer: I last saw NETim 4 days ago
1112: [11:30:10] <kinglozzer> Hmm, might be back in soon
1113: [11:30:28] <Pyiobuhnk> Yeh, pops by reasonably frequently. Used to be about every day, but has dropped off recently.
1114: [11:30:54] * sminnee_ has joined #silverstripe
1115: [11:31:02] * benjhocking1 has joined #silverstripe
1116: [11:31:21] * Vedran___ has joined #silverstripe
1117: [11:31:43] * micmania1 has joined #silverstripe
1118: [11:33:29] * micmania1 quit (Client Quit)
1119: [11:34:20] * Werner_2_ has joined #silverstripe
1120: [11:34:37] * wmk quit (Read error: Connection reset by peer)
1121: [11:35:14] * Mike123 has joined #silverstripe
1122: [11:36:04] * r_hector quit (Remote host closed the connection)
1123: [11:37:32] * micmania2 quit (Ping timeout: 250 seconds)
1124: [11:37:33] * sminnee quit (Ping timeout: 250 seconds)
1125: [11:37:33] * Vedran__ quit (Ping timeout: 250 seconds)
1126: [11:37:34] * benjhocking quit (Ping timeout: 250 seconds)
1127: [11:37:55] * Mike123 quit (Changing host)
1128: [11:37:55] * Mike123 has joined #silverstripe
1129: [11:46:21] * swaiba quit (Remote host closed the connection)
1130: [11:47:36] <ss-helper> Retrieve details of selected object with AJAX [SilverStripe] - http://stackoverflow.com/questions/31429333/retrieve-details-of-selected-object-with-ajax-silverstripe
1131: [11:51:44] * lerni has joined #silverstripe
1132: [11:56:52] * sminnee has joined #silverstripe
1133: [12:00:25] * daz has joined #silverstripe
1134: [12:00:25] * Werner_2_ quit (Read error: Connection reset by peer)
1135: [12:00:49] * daz is now known as Guest12724
1136: [12:00:57] * wmk has joined #silverstripe
1137: [12:01:45] <Guest12724> Does anyone know if I can use $allowed_children for 2 pages, 1 for itself, another for a different page
1138: [12:02:06] <Guest12724> If so whats the syntax
1139: [12:02:32] <ss23> I don't understand the question
1140: [12:02:40] <ss23> It's page type based, so which page types can the current page create
1141: [12:02:53] <Guest12724> This doesnt seem to work private static $allowed_children = array( 'ProductPage', 'ProductsHolderPage' );
1142: [12:03:06] <Guest12724> PoductsHolderPage is itself
1143: [12:03:18] <ss23> I'd expect taht to work, did you flush etc?
1144: [12:03:32] <Guest12724> Yes but didnt work
1145: [12:03:59] <ss23> Weird, dunno sorry
1146: [12:04:25] <Guest12724> When I do to add the new page under itself it only shows 1 option
1147: [12:04:35] <Guest12724> and not the other option of itself
1148: [12:04:51] <Guest12724> Any ideas?
1149: [12:05:07] <Guest12724> self::??
1150: [12:05:41] <Guest12724> wrong syntax for array(.. , ..)?
1151: [12:07:48] <Pyiobuhnk> wrong syntax would give you a php error.
1152: [12:08:27] * wmk quit (Read error: Connection reset by peer)
1153: [12:08:28] <Guest12724> No error, just doesnt give me the option to add itself
1154: [12:09:14] <Pyiobuhnk> what if you take the other option out of there?
1155: [12:09:40] * wmk has joined #silverstripe
1156: [12:11:32] <Guest12724> I need that option, but maybe I'll just try to see what it does
1157: [12:11:55] <Guest12724> Oh got it
1158: [12:12:20] <Guest12724> Can do it, just needed to flush=all not flush=1
1159: [12:12:46] <Guest12724> ok ta
1160: [12:16:42] * UndefinedOffset has joined #silverstripe
1161: [12:16:56] * Guest12724 quit (Quit: Page closed)
1162: [12:18:04] <Pyiobuhnk> oh, those are still things?
1163: [12:18:08] <Pyiobuhnk> urgh, fuck flushing.
1164: [12:18:22] <Pyiobuhnk> kinglozzer: fixitfixitifixit
1165: [12:18:31] <wmk> Pyiobuhnk, NOT THAT PICTURE!!!!
1166: [12:18:44] <Pyiobuhnk> wmk: hmm?
1167: [12:18:46] <Pyiobuhnk> o.0
1168: [12:29:09] * Vedran___ quit (Remote host closed the connection)
1169: [12:32:15] <Copperis> has anyone made a DropdownField to display images?
1170: [12:33:25] * marvanni quit (Ping timeout: 256 seconds)
1171: [12:38:01] <wmk> Copperis, images like what?
1172: [12:38:07] <kinglozzer> Pyiobuhnk: eh? all vs 1 makes no difference anymore
1173: [12:38:09] <wmk> flags?
1174: [12:38:09] * r3v3rb has joined #silverstripe
1175: [12:38:17] <r3v3rb> phew!
1176: [12:38:20] <r3v3rb> back at last
1177: [12:38:25] <Copperis> wmk, to display images as dropdown options
1178: [12:39:14] <kinglozzer> Pyiobuhnk, ss23: That allowed_children thing is probably because you *must* flush on a page that's using CMSMain as the controller
1179: [12:39:21] <kinglozzer> i.e. /pages/add?flush=1
1180: [12:39:28] <kinglozzer> Regular flush/build doesn't work
1181: [12:39:28] <ss23> I just rm -rf /tmp/silver*
1182: [12:39:30] <kinglozzer> Because stupid
1183: [12:42:01] <Copperis> I looked at the sources and it seems it's not possible to display images atm. So I could make another field, with image url's as 'data-url' properties and display them like that. So, where can I find the code that makes that white "div" element from the "select" element?
1184: [12:42:32] <r3v3rb> ss23: me too, far easier and guaranteed to work
1185: [12:44:59] <r3v3rb> meeting with client - explained ‘isse’ with translatable not translating unless you are in admin group or have edit capability on the default locale. Client said fine - we wont offer them the option of translating from our site unless we do the translation for them! YIPPPPPPPEEEEEEEEEE!!!!!
1186: [12:45:06] <r3v3rb> issue*
1187: [12:53:46] * marvanni has joined #silverstripe
1188: [12:57:29] * Vedran__ has joined #silverstripe
1189: [12:58:59] <wmk> Copperis, you can subclass Dropdown and alter the templates
1190: [12:59:25] <wmk> you might look at other formfield modules how that's done
1191: [13:00:06] <wmk> r3v3rb, sounds like a good solution ;)
1192: [13:00:47] <r3v3rb> wmk, it is - I explained it gives them more control ;)
1193: [13:01:27] <Copperis> wmk, yeah, but DropDownfield.ss only has a <select /> element. It gets hidden in the cms and a white div is added below it. So maybe you know where is the code that does that?
1194: [13:05:14] <kinglozzer> Copperis: JavaScript does that
1195: [13:05:23] <kinglozzer> Chosen.js is the lib that framework uses
1196: [13:08:58] <Copperis> yup, thanks
1197: [13:11:10] <Copperis> there's even an Chosen.js plugin for images: http://websemantics.github.io/Image-Select/
1198: [13:13:34] * swaiba has joined #silverstripe
1199: [13:13:35] <wmk> Copperis, cool
1200: [13:13:47] <wmk> though afaik the ss chosen.js is quite modified
1201: [13:13:57] <wmk> if you get it working write a blog post!
1202: [13:14:52] * bemusedrat quit (Quit: Leaving)
1203: [13:15:05] <Copperis> ok, I'll see if I can get it working
1204: [13:19:55] * cupcake has joined #silverstripe
1205: [13:20:29] <cupcake> Hi guys
1206: [13:20:52] <swaiba> cupcake o/
1207: [13:20:57] <cupcake> is there a way of removing the red Delete button from a grid field item edit form
1208: [13:21:09] <cupcake> without using canDelete?
1209: [13:21:23] <cupcake> i have a gridfield with a list of menus which u can edit or delete
1210: [13:21:34] <cupcake> but when i edit it i want to remove the delete button
1211: [13:21:42] <cupcake> or hide it
1212: [13:22:01] <cupcake> so that users dont get confused by it compared to the delete function on each menu item
1213: [13:22:11] <wmk> ain't there something in config?
1214: [13:22:12] <cupcake> it happens users are stupid most of the time
1215: [13:22:18] * marvanni quit (Ping timeout: 256 seconds)
1216: [13:22:26] <wmk> cupcake, users are not stupid
1217: [13:22:28] <wmk> they are users
1218: [13:22:50] <cupcake> users are users right :)
1219: [13:24:17] <wmk> cupcake, either: use GridFieldConfig_RecordViewer or remove the GridFieldDeleteAction() from components in config
1220: [13:24:34] * marvanni has joined #silverstripe
1221: [13:24:38] <wmk> see framework/forms/gridfield/GridfieldConfig.php
1222: [13:25:20] <cupcake> but then i want to retain the delete functionality in the row
1223: [13:25:35] <cupcake> cause ure option will totally remove delete functionality right?
1224: [13:25:47] <kinglozzer> cupcake: How can they be confused about a big, red button with the word "delete" in it? D:
1225: [13:26:19] <cupcake> big red button intrigues the user to click it and remove a whole menu instead of one menu item haha
1226: [13:26:27] <kinglozzer> cupcake: Install this? https://github.com/unclecheese/silverstripe-gridfield-betterbuttons it moves button over to the right, and makes it more red
1227: [13:26:36] <kinglozzer> Also has a "User-friendly delete" option
1228: [13:26:38] <cupcake> we have that
1229: [13:26:43] <cupcake> but still they delete it
1230: [13:26:44] <cupcake> :)
1231: [13:26:56] <cupcake> so now they want to remove it
1232: [13:27:03] <kinglozzer> but
1233: [13:27:09] <kinglozzer> I'm so confused
1234: [13:27:10] <wmk> cupcake, you mean the delete action in the grid listing (each row) or the red button in gridfield detail form?
1235: [13:27:20] <cupcake> red button in gridfield detail form wmk
1236: [13:27:37] <wmk> ah.
1237: [13:27:40] <wmk> well...
1238: [13:27:41] <kinglozzer> So they want to remove the option to delete them when editing, but *not* from the gridfield inline actions?! Surely the inline button is more likely to be accidentally clicked :P
1239: [13:27:48] <kinglozzer> clients, eh
1240: [13:27:49] <cupcake> hehehe
1241: [13:27:59] <cupcake> yeh but least confusing i guess
1242: [13:28:11] <cupcake> even if the menu items themselves are being shown in the gridfield
1243: [13:28:18] <cupcake> each one of them has a delete action
1244: [13:28:19] <wmk> hmm... kinglozzer any idea how to tweak detail form action?
1245: [13:28:22] <cupcake> so why click red button
1246: [13:28:47] <kinglozzer> https://www.bigfork.co.uk/takeaway/silverstripe-tip-using-unsaved-relations-in-gridfield-edit-forms
1247: [13:28:54] <wmk> cupcake, maybe you want to go sure it's the right item, so you go to "show/edit all data of this item" before clicking delete
1248: [13:28:56] <kinglozzer> Follow that approach (excuse the broken fonts etc currently)
1249: [13:29:06] * marvanni quit (Ping timeout: 256 seconds)
1250: [13:29:09] <wmk> depends on the complexiiy of the item
1251: [13:29:19] <kinglozzer> But instead of editing fields, do $form->Actions()->removeByNAme('action_doDelete') or something
1252: [13:29:44] * marvanni has joined #silverstripe
1253: [13:31:24] * muskie9 has joined #silverstripe
1254: [13:32:18] * elgabbu has joined #silverstripe
1255: [13:32:54] * ss-helper quit (Remote host closed the connection)
1256: [13:33:08] * ss-helper has joined #silverstripe
1257: [13:33:33] <kinglozzer> cupcake: https://gist.github.com/kinglozzer/8c14cfd1108ad27380f7
1258: [13:36:25] <wmk> cupcake, the grid is in modeladin?
1259: [13:36:53] * travis-ci has joined #silverstripe
1260: [13:36:54] <travis-ci> silverstripe/silverstripe-framework#5328 (3.1 - 2549fa8 : Daniel Hensby): The build passed.
1261: [13:36:54] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/903bbd5ae4d4...2549fa8a93de
1262: [13:36:54] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/71076458
1263: [13:36:54] * travis-ci has left #silverstripe
1264: [13:39:13] <cupcake> no
1265: [13:39:48] * adrexia quit (Ping timeout: 272 seconds)
1266: [13:40:33] <cupcake> i meant yes wmk
1267: [13:40:39] <cupcake> my bad
1268: [13:40:45] <wmk> ?
1269: [13:41:11] * Otterpocket has joined #silverstripe
1270: [13:42:23] <Otterpocket> I am correct to assume that there is not a default way to display the length of string in template $Name.Length etc ?
1271: [13:42:23] * Colin[pi] quit (Read error: Connection reset by peer)
1272: [13:44:20] <wmk> Otterpocket, http://api.silverstripe.org/3.1/class-Varchar.html#_getSize would be worth a try
1273: [13:44:26] <wmk> so $Name.Size
1274: [13:49:29] <kinglozzer> wmk: That's the max length though (i.e. Varchar(255) will return 255, even if the value is 1 character)
1275: [13:49:59] <cupcake> kinglozzer
1276: [13:50:11] <wmk> kinglozzer, oh,
1277: [13:50:14] <cupcake> i tried what u posted but it didnt remove the button
1278: [13:50:24] <wmk> Otterpocket, so you have to extend StringField with the method you want
1279: [13:50:38] <kinglozzer> cupcake: Yeah that was just rough, you might need to change the name of the button you're trying to remove
1280: [13:50:46] <kinglozzer> And the name of your DataObject classes of course
1281: [13:56:34] <Otterpocket> wmk, https://gist.github.com/Otterpocket/cc1c947c585bc79ccfd9
1282: [13:56:43] <Pyiobuhnk> [13:38] <kinglozzer> Pyiobuhnk: eh? all vs 1 makes no difference anymore
1283: [13:56:47] <Pyiobuhnk> Oh good, I thoguht so
1284: [13:57:00] <Otterpocket> That's going to win me that drone dammit!
1285: [13:57:02] <Pyiobuhnk> Chappy seemed to think it did, but I guess they were probably on an older version or something
1286: [13:57:04] * Pyiobuhnk shrugs
1287: [13:57:31] <Pyiobuhnk> oic [13:39] <kinglozzer> Pyiobuhnk, ss23: That allowed_children thing is probably because you *must* flush on a page that's using CMSMain as the controller
1288: [13:57:36] <Pyiobuhnk> so .. all doesn't do all.
1289: [13:57:39] <Pyiobuhnk> because it's not a thing
1290: [13:57:43] <Pyiobuhnk> great, that's not confusing at all
1291: [13:58:18] <kinglozzer> Pyiobuhnk: Yeah 'all' isn't a thing, hasn't been since 3.0 I believe
1292: [14:00:21] <Pyiobuhnk> [14:20] <cupcake> Hi guys
1293: [14:00:22] <Pyiobuhnk> \o cupcake
1294: [14:01:44] <cupcake> Pyiobuhnk o/
1295: [14:02:06] <Pyiobuhnk> kinglozzer: 3.1 I thought.
1296: [14:02:15] <Pyiobuhnk> but it was always extremely unclear :<
1297: [14:02:24] <Pyiobuhnk> dev/build, flush, flush all, flush 1
1298: [14:02:31] <Pyiobuhnk> all just like, MANIFEST PISS OFF
1299: [14:02:44] <wmk> Otterpocket, good luck with the drone ;)
1300: [14:02:52] <wmk> though it'd name it Length (uppercase)
1301: [14:02:54] <Pyiobuhnk> rm -rf silverstripe-cache && mkdir silverstripe-cache
1302: [14:03:28] <Pyiobuhnk> sudo rm -rf silverstripe-cache; mkdir silverstripe-cache && chmod 777 silverstripe-cache
1303: [14:03:31] <Pyiobuhnk> or somethnig like that
1304: [14:03:35] <Pyiobuhnk> chown too probably
1305: [14:03:37] * Pyiobuhnk shrugs
1306: [14:03:44] <Pyiobuhnk> shit is more difficult than it needs to be.
1307: [14:04:37] <kinglozzer> Pyiobuhnk: 3.0.6: https://github.com/silverstripe/silverstripe-framework/commit/7656a22329be88ec7706547a6889726a3f022d15
1308: [14:04:51] <kinglozzer> But yeah, fuck flushing
1309: [14:04:52] <kinglozzer> :P
1310: [14:05:29] <Pyiobuhnk> indeed.
1311: [14:05:49] <Pyiobuhnk> Otterpocket: $this->owner->DataValue()
1312: [14:06:09] <Pyiobuhnk> or just Value
1313: [14:06:15] <Pyiobuhnk> I never remember which is which
1314: [14:07:48] * catcher has joined #silverstripe
1315: [14:07:56] <Pyiobuhnk> o/ catcher
1316: [14:08:08] <catcher> 'ello
1317: [14:08:15] <catcher> how's life?
1318: [14:11:58] * darjus01 quit (Read error: Connection reset by peer)
1319: [14:14:26] <Otterpocket> Pyiobuhnk, it works with or without ->Value, maybe owner on StringField returns value by default
1320: [14:15:03] <wmk> Otterpocket, but it's better / more specific using Value in your extension
1321: [14:15:22] <wmk> on possible error less
1322: [14:17:41] <cupcake> kinglozzer yes obv dataobject is Menu in this case
1323: [14:18:02] <cupcake> the action button when i do debug::dump($form->Actions()) i dont find it anymore
1324: [14:18:06] <cupcake> but still visible
1325: [14:18:19] <cupcake> since betterbuttons are being used could it be its being overriden?
1326: [14:18:26] <kinglozzer> Possibly, yeah
1327: [14:20:37] <cupcake> i guess so
1328: [14:23:50] <Otterpocket> Pyiobuhnk, You can 'mkdir -m 777 silverstripe-cache' fyi
1329: [14:26:16] <wmk> cupcake, you can configure better buttons which buttons / actions to show
1330: [14:33:40] * cloph_away is now known as cloph
1331: [14:39:47] * cloph_away has joined #silverstripe
1332: [14:39:52] * cloph quit (Ping timeout: 246 seconds)
1333: [14:42:06] * ss23 cries
1334: [14:42:07] <ss23> 4 hours
1335: [14:42:07] <ss23> 4 hours
1336: [14:42:09] <ss23> of debugging
1337: [14:42:15] <ss23> I didn't rm -rf my cache dir
1338: [14:42:15] <ss23> :(
1339: [14:43:46] * cloph has joined #silverstripe
1340: [14:44:00] * cloph_away quit (Ping timeout: 246 seconds)
1341: [14:44:21] <r3v3rb> ss23: and we agreed it was the correct way earlier ;)
1342: [14:44:48] <ss23> I didn't think it was caching
1343: [14:44:49] <ss23> it...
1344: [14:44:49] <ss23> it
1345: [14:44:50] <r3v3rb> ss23: I just rm -rf /tmp/silver*
1346: [14:44:57] <ss23> I thought it was some super complicated code I made a bug in
1347: [14:44:58] <ss23> like
1348: [14:45:01] <ss23> I don't know how it cached
1349: [14:45:04] <r3v3rb> r3v3rb: ss23: me too, far easier and guaranteed to work
1350: [14:45:04] <ss23> I didn't know it was caching
1351: [14:45:10] <ss23> srsly I'm super sad about this
1352: [14:45:29] <r3v3rb> yup, four hours wasted. been there done that
1353: [14:45:33] <Pyiobuhnk> Otterpocket: you're using strlen, it's calling __toString internally
1354: [14:45:38] <r3v3rb> its a killer on motivation
1355: [14:45:51] <Pyiobuhnk> Otterpocket: also yeh, ta for shortcut.
1356: [14:46:29] <swaiba> ss23 - I have had and will have it again, but the faster I at least try deleting the cache the better
1357: [14:46:48] <ss23> I should cron it
1358: [14:46:54] <ss23> if I spend more than 10 mins on a bug, insta caceh kill
1359: [14:47:16] <swaiba> make a module for that :) dev mode, clear cache ever x minutes and after error
1360: [14:48:49] <r3v3rb> ss23 write a phpstorm plugin for it :D
1361: [14:48:56] <Pyiobuhnk> catcher: life is... boring. I'm on documentation.
1362: [14:49:09] <catcher> eww
1363: [14:49:16] <r3v3rb> Pyiobuhnk: who you working for now?
1364: [14:50:07] <Pyiobuhnk> ss23: at least you didn't spend 6 hours debugging something getting all upset about it on a tight deadline only to find out you were editing the wrong fucking install.
1365: [14:50:28] <Pyiobuhnk> install/file
1366: [14:50:37] <ss23> Pyiobuhnk: idk, I was almost cryingh about this
1367: [14:50:39] <ss23> it's 3am man
1368: [14:50:46] <r3v3rb> Pyiobuhnk: or realise that your client like that bug that stops users creating translations from the default locale if they are in the editing group
1369: [14:50:49] <Pyiobuhnk> true, I never did t all night
1370: [14:50:55] <ss23> I reached "yelling things into the air and banging my fists" about 2 hours ago
1371: [14:51:00] <ss23> It's not often I get this frustrated :(
1372: [14:51:18] <Pyiobuhnk> Yeah, so caching in SS, that's pretty sucky :<
1373: [14:51:20] <r3v3rb> ss23, come work with me its an everyday occurence
1374: [14:51:24] <Pyiobuhnk> necessary, but over complicated.
1375: [14:51:58] <r3v3rb> first thing i do is create an ss-caceh folder then regularly delete everything in it
1376: [14:52:03] <r3v3rb> ss-cache*
1377: [14:52:29] <cupcake> guys, can you suggest a contact form to be used in ss3 ?
1378: [14:52:32] <r3v3rb> otherwise its anyones guess, bug, cache, server tmp folder…
1379: [14:52:41] <r3v3rb> cupcake roll your own
1380: [14:53:00] * slievr quit (Ping timeout: 246 seconds)
1381: [14:53:08] <r3v3rb> too easy to be bothering with modules and template issues
1382: [14:55:10] <swaiba> cupcoake - https://github.com/bluehousegroup/silverstripe-contact-form
1383: [14:55:21] <wmk> cupcake, ^^^
1384: [14:55:22] <swaiba> *cupcake
1385: [15:01:02] * Mike123 quit (Quit: Page closed)
1386: [15:14:42] <r3v3rb> bai, i got work todo
1387: [15:15:21] * r3v3rb quit (Quit: r3v3rb)
1388: [15:19:55] * marvanni quit (Quit: marvanni)
1389: [15:20:00] <Pyiobuhnk> that yours swaiba ?
1390: [15:20:20] <swaiba> Pyiobuhnk what the "bluehousegroup" thing?
1391: [15:20:31] <Pyiobuhnk> cupcake: and I almost always went with UserForms
1392: [15:20:32] <Pyiobuhnk> swaiba: yeh
1393: [15:20:38] <swaiba> that is UC, I'm all about "BookingLive"
1394: [15:20:43] <Pyiobuhnk> oh
1395: [15:20:55] <Pyiobuhnk> yeah kinda makes sense then, had that UC feel about it.
1396: [15:21:03] <swaiba> cupcake - yeah I'd go for UDF too - Pyiobuhnk
1397: [15:23:02] <Pyiobuhnk> if you need a custom form, or more control, then Form::create($this, __FUNCTION__, FieldList::create(TextField::create('Name'),EmailField::create('Email'),TextareaField::create('Message')),FieldList::create(FormAction::create('sendContact','Contact Us')),RequiredFields::create('Name','Email','Message')))
1398: [15:23:39] * Liquide has joined #silverstripe
1399: [15:24:36] <Pyiobuhnk> public function sendContact($data, $form, $request){$doemailstuff; $this->redirect($this->Link('thanks'));}
1400: [15:26:42] <Pyiobuhnk> contact forms aren't complicated things, generally ;)
1401: [15:30:06] * ss31noob quit (Ping timeout: 246 seconds)
1402: [15:30:22] <Copperis> wmk, so I got it working. The relevant part of chosen.js were backported to ss, so with minor modifications - the field works
1403: [15:32:51] <Copperis> https://github.com/Copperis/DropdownImageField , basic functionality, the comments are off, the code could be cleaned up and so on. Maybe I'll work on it in the future
1404: [15:33:46] * sminnee quit (Quit: sminnee)
1405: [15:34:54] <swaiba> lerni
1406: [15:35:11] <swaiba> was wondering if you got the front end forms working?
1407: [15:35:25] <lerni> swaiba: em?
1408: [15:35:51] <swaiba> was it you that breifly asked about editing on the front end
1409: [15:36:07] <swaiba> and I mentioned generic views... just I came across another one for V3
1410: [15:36:21] <lerni> ahhh yes now I got it
1411: [15:36:39] <swaiba> did you end up with this one https://github.com/nyeholt/silverstripe-frontend-objects or a custom one
1412: [15:36:49] <swaiba> yeah sorry a bit random, but I'm looking now :)
1413: [15:37:03] * simon_w quit (Ping timeout: 265 seconds)
1414: [15:37:04] <lerni> I've made something realy easy in the end.
1415: [15:37:36] <swaiba> righto
1416: [15:37:57] <lerni> burnbright/silverstripe-listeditor
1417: [15:38:29] <Pyiobuhnk> swaiba: what are you looking for?
1418: [15:38:39] <swaiba> generic views for V3
1419: [15:39:17] <Pyiobuhnk> swaiba: 'generic views' ?
1420: [15:39:29] <swaiba> hehe it's an oldie
1421: [15:39:57] <swaiba> https://github.com/chillu/silverstripe-genericviews
1422: [15:40:08] <swaiba> didn't you read *the* book?
1423: [15:40:31] <Pyiobuhnk> swaiba: this is just for searching?
1424: [15:40:36] <swaiba> CRUD
1425: [15:40:46] <Pyiobuhnk> If so, then I believe it was superceeded by SearchContext
1426: [15:40:51] <Pyiobuhnk> hmm, same idea.
1427: [15:40:57] <Pyiobuhnk> You can use gridfield on the front end, btw.
1428: [15:41:07] <Pyiobuhnk> It's a smidge of a faff, but not un-doable.
1429: [15:41:37] <Pyiobuhnk> and if you find it too much of a faff (I managed to get vanilla working fine) there's frontendgridfield module.
1430: [15:41:53] <swaiba> I know its not impossible to dev, but if there is a something 80% there...
1431: [15:42:02] <Pyiobuhnk> with searchcontext and generic ++ button (--button use gridfield component)
1432: [15:42:15] <swaiba> silverstripe-frontend-objects looks OK, but requires the restricted access
1433: [15:42:15] <Pyiobuhnk> yeah, look at frontendgridfield maybe
1434: [15:42:58] <Pyiobuhnk> I tried to read *the* book, but didn't get far.
1435: [15:43:10] <Pyiobuhnk> Although I probably got further than I did with Xerra's book.
1436: [15:43:27] <Pyiobuhnk> Which was more of a cursory glance through a friend's copy.
1437: [15:43:42] <swaiba> the packet pub one?
1438: [15:43:45] <Pyiobuhnk> mmm.
1439: [15:43:49] <swaiba> that was drier than a dry county
1440: [15:44:07] <Pyiobuhnk> the one that came out unfortuantely jsut before 3.0 (and was for 2.4)
1441: [15:44:15] <lerni> swaiba: 'll look into frontend-objects. it does what you need but not search?
1442: [15:44:22] <swaiba> room for a book about V3 - you game Pyiobuhnk?
1443: [15:44:28] <Pyiobuhnk> you reckon swaiba ?
1444: [15:44:31] <Pyiobuhnk> I could do it like
1445: [15:44:34] <Pyiobuhnk> but... time.
1446: [15:44:35] <Pyiobuhnk> effort
1447: [15:44:41] <Pyiobuhnk> more goes into a book than one might think.
1448: [15:44:49] <swaiba> indeed time+ effort = wonderous things
1449: [15:44:57] <Pyiobuhnk> and fuck all returns :(
1450: [15:45:16] <Pyiobuhnk> better off writing a few shit tutorials for wordderp and becoming an internet celebrity.
1451: [15:45:17] <swaiba> yeah, and how could we improve on cheese tutorials?
1452: [15:45:31] <Pyiobuhnk> like, how not to fuck up css in wordderp
1453: [15:45:36] <Pyiobuhnk> SUDDENLY MILLIONAIRE
1454: [15:45:41] <swaiba> ha
1455: [15:45:55] <Pyiobuhnk> or at least, invited and paid to come and speak at conferences, or something.
1456: [15:46:06] <Pyiobuhnk> running over priced workshops, which is the next best thing really.
1457: [15:46:09] <swaiba> could be like how to wean yourself off wordpress and start really developing
1458: [15:46:14] <Pyiobuhnk> haha
1459: [15:46:15] <Pyiobuhnk> could be.
1460: [15:46:25] <Pyiobuhnk> but would need to seriously tidy SS code base beforehand.
1461: [15:46:48] <Pyiobuhnk> For all my knowledge and aid socially, I've committed fuck all, and certainly nothing of any real note.
1462: [15:46:55] <swaiba> lerni - well my first thought was about the need for the resticted objects module
1463: [15:47:05] <Pyiobuhnk> Other than deprecating support for apache 1, lol
1464: [15:47:32] <Pyiobuhnk> (ie, tidied .htaccess and modified a few lines in docs).
1465: [15:47:34] <Pyiobuhnk> rofl
1466: [15:48:14] <Pyiobuhnk> newae
1467: [15:48:27] <Pyiobuhnk> aboot taem fer dragoon boat'n
1468: [15:49:31] <Pyiobuhnk> ciao!
1469: [15:49:35] * Pyiobuhnk quit ()
1470: [15:50:57] * sminnee has joined #silverstripe
1471: [15:52:09] <kinglozzer> https://github.com/tessalt/echo-chamber-js
1472: [15:52:13] <kinglozzer> hahaha, genius
1473: [15:55:39] * oddnoc has joined #silverstripe
1474: [16:08:03] * lerni quit (Remote host closed the connection)
1475: [16:17:25] <swaiba> kinglozzer user will be like "why no replies :("
1476: [16:23:05] * Otterpocket quit (Quit: Leaving)
1477: [16:24:22] <wmk> Copperis, congrats!
1478: [16:24:56] <wmk> don't forget to add it to packagist ;)
1479: [16:26:47] <Copperis> thanks, I'll have to clean it up first, check the licenses and other things
1480: [16:29:45] * kinglozzer quit ()
1481: [16:30:39] <wmk> ;)
1482: [16:31:00] <wmk> well, was just reading through code of another recent addon, and decided not to use it
1483: [16:31:18] <wmk> wondered if i should file an issue "clean up your code first!"
1484: [16:33:35] <Copperis> probably, maybe the author is not aware of a mess
1485: [16:39:18] <wmk> probably not
1486: [16:39:31] <wmk> but a fancy website with "high quality websites"
1487: [16:39:59] <wmk> Zauberfisch, SphereSilver: be sure to have enough "my code is elegant" buttons at the 2015conf
1488: [16:42:15] * travis-ci has joined #silverstripe
1489: [16:42:16] <travis-ci> silverstripe/silverstripe-framework#5335 (3.1 - 44bf602 : Daniel Hensby): The build passed.
1490: [16:42:16] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/2549fa8a93de...44bf602e3ac7
1491: [16:42:16] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/71109439
1492: [16:42:16] * travis-ci has left #silverstripe
1493: [16:48:25] * travis-ci has joined #silverstripe
1494: [16:48:26] <travis-ci> silverstripe/silverstripe-framework#5336 (3.1 - 55a60e8 : Daniel Hensby): The build passed.
1495: [16:48:26] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/44bf602e3ac7...55a60e86f0be
1496: [16:48:26] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/71109647
1497: [16:48:26] * travis-ci has left #silverstripe
1498: [16:55:36] * GioVdK quit (Ping timeout: 246 seconds)
1499: [16:56:39] * travis-ci has joined #silverstripe
1500: [16:56:40] <travis-ci> silverstripe/silverstripe-framework#5337 (3.1 - bd316b9 : Daniel Hensby): The build passed.
1501: [16:56:40] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/55a60e86f0be...bd316b900266
1502: [16:56:40] <travis-ci> Build details : https://travis-ci.org/silverstripe/silverstripe-framework/builds/71109715
1503: [16:56:40] * travis-ci has left #silverstripe
1504: [17:03:17] <SphereSilver> Evening folks
1505: [17:03:31] <wmk> evening SphereSilver
1506: [17:06:12] <SphereSilver> https://github.com/axyr/silverstripe-ideannotator/commit/6aad02122a4cf5575665267f0be64c1acdee3a1a
1507: [17:06:17] <SphereSilver> I like the commit message :D
1508: [17:09:21] <wmk> SphereSilver, ;)
1509: [17:09:34] <wmk> i'd love this as part of the phpstorm plugin
1510: [17:09:41] <wmk> but i have no clue to code java
1511: [17:09:58] <wmk> SphereSilver, did you try this plugin?
1512: [17:10:05] <SphereSilver> I use it all the time, yeah
1513: [17:10:13] <SphereSilver> And Java isn't that hard, just do it ;)
1514: [17:10:36] <SphereSilver> Just start coding and see where you end up. Get IntelliJ CE and go ;)
1515: [17:13:32] <wmk> well, i have intellij normal edition, so it should also work
1516: [17:15:01] <wmk> SphereSilver, https://plugins.jetbrains.com/plugin/7320 looks promising as a start / howto
1517: [17:21:47] * joelpittet has joined #silverstripe
1518: [17:22:22] * Kingy[a] quit (Ping timeout: 248 seconds)
1519: [17:23:52] * Kingy[a] has joined #silverstripe
1520: [17:23:58] <swaiba> SphereSilver evening
1521: [17:37:18] * cloph quit (Ping timeout: 256 seconds)
1522: [17:39:12] * lerni_ has joined #silverstripe
1523: [17:44:24] * cloph_away has joined #silverstripe
1524: [17:46:28] * _hschillig has joined #silverstripe
1525: [17:47:32] <_hschillig> Hey I have a Simple Machines Forum in a sub directory on my website: http://intellectproductions.com/bunnymeadows/ Is there anyway to make Silverstripe NOT redirect that one? It keeps saying it isn't found UNLESS I type in http://intellectproductions.com/bunnymeadows/index.php I have to do this with almost everything.. any help would be appreciated!
1526: [17:48:53] <swaiba> _hschillig i think you want to look into .htaccess
1527: [17:49:32] <swaiba> by default everything is sent to main.php, you'd clearly like an exception for that one URL
1528: [17:49:58] <_hschillig> And a lot of others! Anything inside of freelance, bunnymeadows, adventure, and there may be a few more sub directories.
1529: [17:52:01] <swaiba> well they all need to be excluded then :)
1530: [17:52:37] <swaiba> easier solution might be to put it on forums.yoursite.com instead
1531: [17:52:39] <SphereSilver> Add RewriteCond %{REQUEST_FILENAME} !-d to your .htaccess
1532: [17:53:07] <_hschillig> I can't create a subdomain for all my clients :P What does REQUEST_FILENAME do?
1533: [17:54:56] <_hschillig> I replaced RewriteCond %{REQUEST_FILENAME} !-f with RewriteCond %{REQUEST_FILENAME} !-d and it still keeps saying file not found..
1534: [17:55:20] <_hschillig> I dont have to do a flush or anything liek that right/
1535: [17:56:41] <SphereSilver> No, it's an Apache setting
1536: [17:56:58] <_hschillig> OHHH ok I added it.. kept both of them. Woops
1537: [17:57:05] <_hschillig> Shouldn't have erased it and replaced it.
1538: [17:57:10] <_hschillig> Keeping both of them worked
1539: [17:57:44] <_hschillig> Thank you!
1540: [17:58:04] <SphereSilver> It's easy to google it next time ;) https://groups.google.com/forum/#!topic/silverstripe-dev/YvZ5ZkuOcF0
1541: [18:01:48] * gelignite has joined #silverstripe
1542: [18:02:06] <_hschillig> I tried googling it and I couldn't find anything... I didn't exaclty know WHAT to google though
1543: [18:03:00] <ss-helper> Format date produced by variable in SilverStripe function - http://stackoverflow.com/questions/31437343/format-date-produced-by-variable-in-silverstripe-function
1544: [18:03:16] * ss-helper quit (Remote host closed the connection)
1545: [18:03:32] * ss-helper has joined #silverstripe
1546: [18:05:11] * cloph_away quit (Ping timeout: 256 seconds)
1547: [18:08:27] * sminnee has left #silverstripe
1548: [18:09:26] * swaiba quit (Remote host closed the connection)
1549: [18:18:23] * _hschillig has left #silverstripe
1550: [18:30:29] * UndefinedOffset quit (Quit: Leaving.)
1551: [18:30:47] * lerni_ quit (Remote host closed the connection)
1552: [18:32:06] * lerni has joined #silverstripe
1553: [18:36:48] <SphereSilver> Hmmm, marvanni not online. Bummer, I just made a PR
1554: [18:39:00] <SphereSilver> I'm tired. Which is not a good thing at this moment :|
1555: [18:39:50] * SphereSilver is now known as Firesphere
1556: [18:40:09] <Firesphere> Yay! Nickname is available, finally! And no ghosting!
1557: [18:44:08] <Firesphere> There, nick registeredededdded
1558: [18:44:46] * cloph_away has joined #silverstripe
1559: [18:45:15] * UndefinedOffset has joined #silverstripe
1560: [18:52:09] <Firesphere> https://www.facebook.com/IFeakingLoveScience/photos/a.456449604376056.98921.367116489976035/1158720694148940/?type=1
1561: [18:52:12] <Firesphere> Hmmmm....
1562: [18:55:09] * gelignite quit (Remote host closed the connection)
1563: [18:58:35] * gelignite has joined #silverstripe
1564: [19:02:59] * cloph_away quit (Ping timeout: 256 seconds)
1565: [19:24:56] <Firesphere> I am allowed to spam here, right?
1566: [19:25:39] <Firesphere> Conference 2015 is happening! We're working on the new website. http://www.meetup.com/SilverStripe-Europe-Meetup/events/216972322/
1567: [19:28:49] * cloph_away has joined #silverstripe
1568: [19:41:42] * r3v3rb has joined #silverstripe
1569: [19:42:57] <r3v3rb> hi all, i have a modeladmin view for a class, when logged in as admin I can see all the entries in the gridfield. I then have a group of users who only have access to that modeladmin section of the site - when they log in there is no data shown in the gridfield - any ideas?
1570: [19:46:18] <wmk> r3v3rb, yup
1571: [19:46:27] <muskie9> r3v3rb check the can permissions on the managed class
1572: [19:46:37] <muskie9> canView, canCreate, etc
1573: [19:46:39] <wmk> those members have to be in canView, canEdit etc...
1574: [19:46:43] <wmk> ;)
1575: [19:47:09] * PenguinMan98 has joined #silverstripe
1576: [19:47:51] <r3v3rb> wmk, muskie9 yep just found a post by ingo
1577: [19:48:03] <wmk> r3v3rb, wrote a dataextension for that, with permissions provided, so you can enable all decorated dataobjects in security section.
1578: [19:50:15] <PenguinMan98> I'm returning an object named Kiosk to my page template. It is of the type DataList. When I use $Kiosk.Debug , I get a bunch of name-value pairs that I want to use in my template. I set up the with block with <% with $Kiosk %> and then output the name $Name. Nothing appears. wtf?
1579: [19:50:31] <wmk> r3v3rb, https://gist.github.com/wernerkrauss/34238007031ef9ea8b79
1580: [19:51:27] <wmk> PenguinMan98, DataList (any list, = many items) -> <% loop ... %>, DataObject, ArrayData -> <% with .. %>
1581: [19:51:46] <PenguinMan98> ok
1582: [19:51:54] <r3v3rb> wmk, nice
1583: [19:52:04] <PenguinMan98> So I get it from Kiosk::get()->filter();
1584: [19:52:12] <wmk> yup. i stumble over that issue all the time
1585: [19:52:31] <PenguinMan98> How do I convert that?
1586: [19:52:33] <wmk> PenguinMan98, yup, that's a list, even with only one item returned you need <% loop %>
1587: [19:52:52] <wmk> PenguinMan98, convert to what?
1588: [19:52:56] <PenguinMan98> I only want one record
1589: [19:53:01] <muskie9> PenguinMan98 if you're looking for a single instance then you would add ->first() after ->filter()
1590: [19:53:03] <wmk> ->first()
1591: [19:53:10] <PenguinMan98> cool, thanks
1592: [19:53:20] <wmk> PenguinMan98, see docs for ORM
1593: [19:53:57] <wmk> docs.silverstripe.org/en/3.1/developer_guides/model/data_model_and_orm/
1594: [19:54:22] <wmk> and of course: http://www.silverstripe.org/learn/lessons/
1595: [19:55:14] <r3v3rb> wmk, quick one - as the modeladmin manages 7 DO's should I add permission checks on every DO? or can permission checks be applied to the modeladmin itself?
1596: [19:55:26] <wmk> r3v3rb, to the DOs
1597: [19:55:36] <r3v3rb> pah!
1598: [19:55:40] <wmk> as modeladmin checks the DO if current user is allowed to do that
1599: [19:55:55] <wmk> so, add it to every DO you want in your config.yml and be happy
1600: [19:56:23] <wmk> and add the perms to the group in cms
1601: [19:56:31] <r3v3rb> wmk, is this one a better starting place: https://gist.githubusercontent.com/wernerkrauss/99c1565a4b16e08145e6/raw/d65c58b759ab46263d4c1f59ef61cde23ebdf1e9/MyDataObject.php
1602: [19:56:42] <PenguinMan98> I was going through the lesson 14
1603: [19:57:03] <wmk> r3v3rb, that one is more fine grained
1604: [19:57:09] <PenguinMan98> And 13
1605: [19:57:12] <PenguinMan98> and 7
1606: [19:57:18] <wmk> if some users can edit this, and other users can edit that stuff
1607: [19:57:33] <wmk> the extension is much more simpler: one permission for all dataobjects
1608: [19:57:35] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1609: [19:57:36] <r3v3rb> wmk, okay and more specific by the looks of it as it extends a single do only
1610: [19:57:37] <wmk> applied...
1611: [19:58:14] <wmk> you can of course add specific permissions to every dataobject if you need it.
1612: [19:58:37] <wmk> i normally have: admin (me) and nearly-admin who should edit pretty much everything (except of really admin stuff).
1613: [19:58:45] <wmk> nothing more for simple websites
1614: [19:59:01] <wmk> but i don't want my editor to edit security or other settings
1615: [19:59:04] <wmk> but all DOs
1616: [20:00:27] * Stomach has joined #silverstripe
1617: [20:02:54] * wmk quit (Quit: nice to meet you ;))
1618: [20:07:37] * lerni quit (Remote host closed the connection)
1619: [20:13:36] <r3v3rb> wmk, sure - sorry was watching some wierd shark program
1620: [20:18:54] <PenguinMan98> Sharknado 4 - Seriously, we have a budget this time
1621: [20:24:58] * lerni_ has joined #silverstripe
1622: [20:28:38] * antmas has joined #silverstripe
1623: [20:28:57] <antmas> morning all o/
1624: [20:30:01] * sminnee has joined #silverstripe
1625: [20:30:42] <r3v3rb> antmas, evening :)
1626: [20:30:48] <r3v3rb> \o
1627: [20:34:58] <PenguinMan98> hey doods
1628: [20:35:13] <PenguinMan98> I want to put a thumbnail image in the model admin
1629: [20:35:15] <PenguinMan98> how do?
1630: [20:35:17] * Stomach quit (Quit: zzz)
1631: [20:35:23] <PenguinMan98> in Summary Fields
1632: [20:36:03] <PenguinMan98> I tried $summary_fields = ['StoreFront.SetHeight(75)' => 'Image',]
1633: [20:36:23] <PenguinMan98> If I just do 'StoreFront' the image works fine
1634: [20:36:27] <PenguinMan98> but it's too big
1635: [20:38:21] * DanaeNZ has joined #silverstripe
1636: [20:38:41] * UndefinedOffset quit (Quit: Leaving.)
1637: [20:38:42] <DanaeNZ> Oh man, getting to work is so much quicker when you don’t have to detour through newmarket and also it’s school holidays
1638: [20:38:54] * UndefinedOffset has joined #silverstripe
1639: [20:39:01] <DanaeNZ> 15 minutes vs 1 hour
1640: [20:39:56] * Stomach has joined #silverstripe
1641: [20:40:04] <antmas> was about 20 mins for me today as opposed to 10
1642: [20:40:06] <DanaeNZ> Stomach: o/
1643: [20:40:07] <antmas> stupid fog
1644: [20:40:12] <DanaeNZ> fog? boo
1645: [20:40:14] <antmas> looks cool though :D
1646: [20:40:19] <DanaeNZ> fuck yeah it looks cool
1647: [20:40:34] <antmas> http://www.tasman.govt.nz/tasman/webcams-in-tasman/richmond-webcam/
1648: [20:40:35] <DanaeNZ> I’m gonna see if I can sneak out early today
1649: [20:40:42] <Stomach> hey DanaeNZ \o
1650: [20:40:46] <DanaeNZ> gotta drive to tauranga after work
1651: [20:40:50] * glenn-bautista has joined #silverstripe
1652: [20:40:52] <DanaeNZ> antmas: COOOOL
1653: [20:40:58] <Stomach> why tauranga
1654: [20:41:22] <DanaeNZ> I’m picking up a friend there first
1655: [20:41:26] <DanaeNZ> then driving to welly
1656: [20:41:30] <DanaeNZ> tomoz
1657: [20:42:01] * cloph_away quit (Ping timeout: 264 seconds)
1658: [20:43:17] * UndefinedOffset quit (Ping timeout: 240 seconds)
1659: [20:45:38] <Stomach> OH FUN
1660: [20:45:54] <DanaeNZ> YEAH BUDDY
1661: [20:45:56] <DanaeNZ> ROAD TRIP
1662: [20:46:02] <antmas> man
1663: [20:46:12] <antmas> I've never driven a vehical in the NI
1664: [20:46:17] <antmas> so many good roads too
1665: [20:46:22] * DanaeNZ tries not to think to think about black ice
1666: [20:46:27] <antmas> vehicle*
1667: [20:46:35] <antmas> DanaeNZ: racist
1668: [20:46:39] <Stomach> antmas - there are some shit roads too
1669: [20:46:40] <DanaeNZ> lmao
1670: [20:46:40] <Stomach> :P
1671: [20:46:46] <DanaeNZ> *african american ice
1672: [20:46:49] <antmas> :P
1673: [20:47:02] <DanaeNZ> I did a south island motorcycle tour once
1674: [20:47:07] <DanaeNZ> it was awweeesome
1675: [20:47:10] <DanaeNZ> arthurs pass
1676: [20:47:13] <DanaeNZ> queen charlotte driv
1677: [20:47:14] <DanaeNZ> e
1678: [20:47:21] <DanaeNZ> milford sounds
1679: [20:47:22] <Stomach> queen charlotte would be awesome
1680: [20:47:31] <DanaeNZ> we did queen charlotte in 15 mins
1681: [20:47:46] <DanaeNZ> fucking fanging it
1682: [20:47:53] <DanaeNZ> i think the speed limit there is like
1683: [20:47:54] <DanaeNZ> 30
1684: [20:47:59] <DanaeNZ> >>;
1685: [20:48:09] <DanaeNZ> we were running late for the ferry
1686: [20:48:54] * Copperis quit (Quit: Leaving)
1687: [20:48:57] <antmas> arthurs pass is amazing
1688: [20:49:38] * cloph_away has joined #silverstripe
1689: [20:49:42] <antmas> used to do the run from Hoki to ChCh once a month
1690: [20:49:50] <antmas> 3 hour drive becomes 2 hour ride :P
1691: [20:50:00] <DanaeNZ> heheheh
1692: [20:53:04] <antmas> riding on nothing but a hastily drunken pint and a hot potato top pie from Sheffield :P
1693: [20:53:36] * r3v3rb quit (Quit: Leaving)
1694: [20:55:42] * Ryan-Toast has joined #silverstripe
1695: [20:55:50] <antmas> Ryan-Toast: o/
1696: [20:56:21] <DanaeNZ> antmas: wheeee
1697: [20:56:33] <DanaeNZ> i really want a motorbike now :(
1698: [20:56:40] <antmas> same
1699: [20:59:36] <Ryan-Toast> antmas: \o
1700: [21:00:08] * Stomach quit (Quit: zzz)
1701: [21:03:07] * Stomach has joined #silverstripe
1702: [21:03:08] <PenguinMan98> http://www.silverstripe.org/learn/lessons/introduction-to-modeladmin
1703: [21:03:17] <PenguinMan98> In the section on $summary_fields
1704: [21:03:36] <PenguinMan98> 'Region.Title' => 'Region' works because the Region object has a Title() method
1705: [21:04:16] <PenguinMan98> but 'MyImage.SetWidth(80)' => 'Image' doesn't work
1706: [21:04:24] <PenguinMan98> Is there a workaround?
1707: [21:05:22] <PenguinMan98> I suppose I can make a custom image type that has a 'Thumbnail()' method
1708: [21:05:29] <PenguinMan98> but that seems verbose
1709: [21:05:56] <DanaeNZ> do .CMSThumbnail
1710: [21:05:57] <Ryan-Toast> PenguinMan98: make a method getSummaryImage() or some biz, and return the $this->Image()->setWidth(80)
1711: [21:06:19] <PenguinMan98> oh, not bad. That works too
1712: [21:06:20] <Ryan-Toast> the in your summary fields ‘SummaryImage’ => ‘Thumbnail’
1713: [21:06:31] <DanaeNZ> Ryan-Toast method is tidier
1714: [21:06:48] <Ryan-Toast> just make sure to check if the ID exists.
1715: [21:06:58] <Ryan-Toast> Otherwise you’ll throw an exception.
1716: [21:08:06] <PenguinMan98> if($this->Image->exists()){ ?
1717: [21:08:21] <Ryan-Toast> if($this->Image()->ID)
1718: [21:08:33] <DanaeNZ> exists() checks for ID
1719: [21:08:42] <DanaeNZ> and sometimes other stuff
1720: [21:08:49] <PenguinMan98> and it just reads beautifully
1721: [21:08:52] <DanaeNZ> I don’t think it checks if the file exists tho
1722: [21:09:43] <Zauberfisch> no, it doesn't
1723: [21:11:27] * simon_w has joined #silverstripe
1724: [21:14:16] <PenguinMan98> hmm
1725: [21:14:22] <PenguinMan98> My image is named StoreFront
1726: [21:14:31] <PenguinMan98> private static $has_one = array( 'StoreFront' => 'Image' );
1727: [21:15:04] <PenguinMan98> When I var_dump($this->StoreFront) I get null whether it has an image or not
1728: [21:15:18] <DanaeNZ> StoreFront() ?
1729: [21:15:40] <PenguinMan98> oh
1730: [21:15:52] <PenguinMan98> because it's not a property of the object itself
1731: [21:15:55] <PenguinMan98> makes sense
1732: [21:16:27] <PenguinMan98> perfect!
1733: [21:17:04] <PenguinMan98> UncleCheese would be proud
1734: [21:17:06] <PenguinMan98> http://screencast.com/t/lTrDurD4n9q
1735: [21:18:42] * Stomach quit (Quit: zzz)
1736: [21:19:18] <Ryan-Toast> PenguinMan98: do croppedImage(70, 39)
1737: [21:19:34] <Ryan-Toast> 16:9 aspect ratios look nicer in gridfields
1738: [21:19:52] <Ryan-Toast> and setWidth will have different sizes.
1739: [21:20:47] * Stomach has joined #silverstripe
1740: [21:22:47] * vebb has joined #silverstripe
1741: [21:26:48] * Vedran__ quit (Ping timeout: 264 seconds)
1742: [21:30:15] * antmas quit (Ping timeout: 246 seconds)
1743: [21:35:05] * Stomach quit (Quit: zzz)
1744: [21:35:55] * antmas has joined #silverstripe
1745: [21:39:07] * Stomach has joined #silverstripe
1746: [21:43:08] * Kingy[a] is now known as Kingy
1747: [21:44:50] * Hailwood has joined #silverstripe
1748: [21:45:58] * lerni_ quit ()
1749: [21:48:17] * micmania1 has joined #silverstripe
1750: [21:48:39] <PenguinMan98> I used setHeight
1751: [21:48:42] <PenguinMan98> 80
1752: [21:49:10] <PenguinMan98> These images should *should* all be the same size
1753: [21:49:42] <Ryan-Toast> Again, they will all be different if people upload different ratios.
1754: [21:50:28] <PenguinMan98> cropped 70 x 39 is so small...
1755: [21:51:02] <Ryan-Toast> It’s supposed to be a thumbnail., not an image :P
1756: [21:55:07] * catcher quit (Quit: Leaving)
1757: [21:57:12] <Kingy> morning
1758: [21:58:14] <antmas> Kingy: o/ moin
1759: [21:59:21] <Kingy> how doing antmas
1760: [21:59:39] <antmas> Kingy: not bad
1761: [22:00:01] <antmas> bit bored trying to get this rails app working
1762: [22:00:23] <Kingy> lol you're a man of many talents
1763: [22:00:32] <Kingy> sharepoint, php, rails
1764: [22:00:53] <DanaeNZ> choo choo mother fucker
1765: [22:01:10] <antmas> :D
1766: [22:01:19] <antmas> antmas of all trades
1767: [22:01:42] <antmas> tbf the app is working, just need to adjust the xml going off to paymentexpress
1768: [22:02:04] <Kingy> oh yeah that's always fun
1769: [22:02:44] <Kingy> what's worse is trying to figure out why one product fails but all the rest don't
1770: [22:02:56] <antmas> mm
1771: [22:03:03] <antmas> this is for peoples rates though
1772: [22:03:16] <antmas> probably need to get this right :P
1773: [22:03:46] <Kingy> rofl
1774: [22:03:56] <Kingy> rates + 1% for antmas
1775: [22:04:02] <antmas> :D
1776: [22:04:14] <antmas> <txnData4> :P
1777: [22:08:21] <antmas> Kingy: you use skygo right?
1778: [22:08:30] <Kingy> ah I did
1779: [22:08:34] <Kingy> cancelled sky when we left though
1780: [22:08:43] <antmas> ah ok
1781: [22:08:57] <Kingy> be a bit silly to keep paying for something that doesn't work :P
1782: [22:08:59] <Kingy> whys that
1783: [22:09:04] <antmas> did you have to authorise your sky account to allow for SkyGo?
1784: [22:09:11] * Azure|dc quit (Quit: Oops.)
1785: [22:09:32] <Kingy> don't think so
1786: [22:09:37] <antmas> hmm
1787: [22:09:37] * Azure has joined #silverstripe
1788: [22:09:51] <antmas> going to setup skygo up here from my parent's sky account :P
1789: [22:10:15] <DanaeNZ> oh shit, PHP conference early bird rates are gonna expire on the 17th
1790: [22:10:30] <Kingy> antmas: should be fine, just login with their deets and watch
1791: [22:10:39] <Kingy> only way you'll get caught is if they've used it on 3 devices already
1792: [22:10:42] <nowizards> http://curtis.lassam.net/comics/cube_drone/155.gif
1793: [22:11:11] <antmas> Kingy: I tried it a while ago and I ended up on the phone with sky - they mentioned that the account holder has to authorise it :/
1794: [22:11:15] <DanaeNZ> nowizards: hahaha
1795: [22:11:22] <nowizards> pretty good
1796: [22:11:42] <Kingy> antmas: seems weird. I just logged in on all my devices. My phone, at work etc all worked fine
1797: [22:12:03] <antmas> all you use is your sky account number right king?
1798: [22:12:07] <antmas> Kingy: **
1799: [22:12:19] <Kingy> nah just logged in with email pass
1800: [22:12:25] <Kingy> oh
1801: [22:12:33] <antmas> I mean the registration step
1802: [22:12:42] <antmas> sign up for SkyGo, then link to sky account etc
1803: [22:12:53] <Kingy> yeah they'll need to link the account
1804: [22:13:24] <antmas> yeah it was that step that it didn't work, so rang them, they then asked for 'permission' from the account holder
1805: [22:17:16] <DanaeNZ> good surface pro 3 cases
1806: [22:17:17] <DanaeNZ> go
1807: [22:17:30] <antmas> uym
1808: [22:17:31] <antmas> um
1809: [22:17:33] <antmas> hmmm
1810: [22:17:47] <DanaeNZ> preferable adventure time themed
1811: [22:17:53] <antmas> I rolled out a bunch of Surface 2 Pros with Incipio Capture cases
1812: [22:18:02] <antmas> although good, they are rugged cases :P
1813: [22:18:15] <DanaeNZ> haha i see
1814: [22:18:19] <DanaeNZ> function over form :P
1815: [22:18:22] <antmas> other than that it's actually hard to find good cases for Surfaces I find
1816: [22:18:38] <DanaeNZ> or just like
1817: [22:18:40] <DanaeNZ> a bag
1818: [22:18:43] <DanaeNZ> i think i mean a bag
1819: [22:19:13] <antmas> I'll find out what cases our hardware department gives people here now
1820: [22:21:34] * mahfuz has joined #silverstripe
1821: [22:24:38] * sminnee quit (Quit: sminnee)
1822: [22:26:01] * Stomach quit (Quit: zzz)
1823: [22:29:37] * DanaeNZ does a dance
1824: [22:29:48] <DanaeNZ> Company is paying for my PHP Conference Ticket!!
1825: [22:31:12] <Ryan-Toast> yay
1826: [22:33:28] <antmas> DanaeNZ: for both you and Ryan-Toast ?
1827: [22:33:34] <Ryan-Toast> antmas: I’ll be gone
1828: [22:33:39] <antmas> ah yes true
1829: [22:34:18] <antmas> I'll make a point of going to that conf next year
1830: [22:34:20] * spronk has joined #silverstripe
1831: [22:34:23] <antmas> it sounds pretty good
1832: [22:34:33] * Jakx has joined #silverstripe
1833: [22:34:37] <Jakx> Yo
1834: [22:34:39] * spronk quit (Client Quit)
1835: [22:34:43] * Vedran__ has joined #silverstripe
1836: [22:34:59] <antmas> Jakx: o/
1837: [22:36:10] * Vedran___ has joined #silverstripe
1838: [22:37:05] <Jakx> Is there a trick to writing nicer code than this, in this situation?: http://sspaste.com/paste/show/55a6dfdb9b0ea
1839: [22:37:28] <DanaeNZ> pass that all as an assoc array into the create() I believe
1840: [22:37:55] <DanaeNZ> also you may wish to $myDataObject->write()
1841: [22:38:04] <DanaeNZ> depending on what you’re trying to achieve
1842: [22:38:22] <Jakx> DanaeNZ, what of the pre-existing object established on line 3?
1843: [22:38:37] <DanaeNZ> mmmm, ->update() I think
1844: [22:38:51] <DanaeNZ> I think you can just use update() tbh
1845: [22:39:09] <DanaeNZ> http://api.silverstripe.org/3.2/class-DataObject.html#_update
1846: [22:39:20] * Vedran__ quit (Ping timeout: 256 seconds)
1847: [22:39:40] * Stomach has joined #silverstripe
1848: [22:39:45] <Jakx> DanaeNZ, ah very nice. Ty. Good reminder to check the docs first too!
1849: [22:39:56] <DanaeNZ> Jakx: :) np
1850: [22:42:18] <muskie9> so ::get()->fitler() returns DataList, but ::get->filter()->filterByCallback() return ArrayList... that's confusing
1851: [22:43:51] <DanaeNZ> filterByCallback exists on both DataList and ArrayList
1852: [22:44:02] <DanaeNZ> which both implement SS_Filterable
1853: [22:44:09] <DanaeNZ> which has the orignal filterByCallback
1854: [22:44:42] <DanaeNZ> so ->filterByCallback should return an instance of the class it was called on, but tbh it doesn’t matter too much as they bothe implement pretty much the same shit
1855: [22:45:50] <Zauberfisch> always*
1856: [22:46:03] <antmas> ?>
1857: [22:46:16] <Zauberfisch> wrong person
1858: [22:46:21] <DanaeNZ> antmas: thanks for closing that PHP tag
1859: [22:46:37] <muskie9> weird it didn't error on the page, just in my test
1860: [22:46:38] <Zauberfisch> muskie9: this is because ->filter() works on an sql level
1861: [22:46:39] * ss-helper quit (Ping timeout: 252 seconds)
1862: [22:46:53] <Zauberfisch> muskie9: but filterByCallback works in php.
1863: [22:46:56] <antmas> DanaeNZ: np, I'm here to help
1864: [22:47:30] <muskie9> right, saw there's a comment that it could change in the future, only second time I've used the callback feature... rather useful
1865: [22:47:30] <Zauberfisch> muskie9: DataList is always something that comes from the database without being modified, so as soon as you filterByCallback, it becomes an ArrayList
1866: [22:47:49] <muskie9> that makes more sense
1867: [22:47:56] <Zauberfisch> muskie9: yes it is, but be aware of the performance penalty
1868: [22:48:12] <Zauberfisch> filterByCallback means that the ORM will fetch ALL records, and then foreach loop them in php
1869: [22:48:23] <Zauberfisch> which is a lot slower than filter(), which does the filter using sql
1870: [22:48:49] <Zauberfisch> but some thing's can't easily be done with filter()/where(), so it is useful
1871: [22:48:58] <Zauberfisch> and for small datasets, the performance doesn't matter
1872: [22:49:39] * Vedran__ has joined #silverstripe
1873: [22:49:56] <muskie9> had the filterByCallback in a different spot, then moved it to the get() chain... figured it might be better: https://gist.github.com/muskie9/6685169bb5fa2e5a7e7b
1874: [22:50:16] * Vedran___ quit (Read error: Connection reset by peer)
1875: [22:50:26] <muskie9> if I filter() before filterByCallback() it should do the callback on the filtered results right?
1876: [22:50:52] <Zauberfisch> yes
1877: [22:51:27] <muskie9> cool, I think I'd trust the ORM's ability to do the heavy lifting than my own code ;P
1878: [22:51:55] <muskie9> anyone ever have to build an event recursion system, other than UC
1879: [22:52:32] <muskie9> have something working, but it's ugly
1880: [22:52:58] <Zauberfisch> yes
1881: [22:53:03] <Zauberfisch> though it's a while ago
1882: [22:53:18] <Zauberfisch> I don't even remember where
1883: [22:53:48] <Zauberfisch> all I remember is that UCs module didn't work the way I needed it to, and that I built my own
1884: [22:54:15] <muskie9> same here
1885: [22:54:21] <Zauberfisch> anyway
1886: [22:54:23] <Zauberfisch> bed time
1887: [22:54:25] <Zauberfisch> good night
1888: [22:54:38] <muskie9> mmmmmmm sleep
1889: [22:54:47] <Zauberfisch> yeah
1890: [22:54:49] <Zauberfisch> o/
1891: [22:54:59] <muskie9> later
1892: [23:01:16] * ss-helper has joined #silverstripe
1893: [23:01:31] <Hailwood> Hey Folks, if a custom field type requires some javascript to be loaded where/how should it load it?
1894: [23:02:03] <DanaeNZ> Hailwood: good question, I too would like to know
1895: [23:02:48] <Hailwood> I'm attempting to use https://github.com/thisisbd/silverstripe-fontawesome-iconpickerfield - but it only works if you refresh the page where the picker is on - it's using Requirements:: to load it's custom css/js inside it's Field function, but that appears to only take effect on full page reload
1896: [23:03:16] <Ryan-Toast> Hailwod: sunds like the entwine isn’t firing.
1897: [23:03:17] <muskie9> DateField loads it in an onAfterRender... although I'm not sure if that's a consistent function https://github.com/silverstripe/silverstripe-framework/blob/3.1/forms/DateField.php#L573
1898: [23:03:27] <antmas> Hailwood: I have a custom field but I just have the requirements stuck in there :P
1899: [23:03:35] <antmas> probably not best practise etc
1900: [23:04:10] <Ryan-Toast> Hailwood: wrap this in entwine: https://github.com/thisisbd/silverstripe-fontawesome-iconpickerfield/blob/master/code/FontAwesomeIconPickerField.php#L29
1901: [23:04:10] <antmas> in my public function Field()
1902: [23:05:25] <Ryan-Toast> Hailwood: an example https://github.com/Rhym/silverstripe-boilerplate/blob/master/javascript/colorpicker.init.js
1903: [23:08:15] * cupcake quit (Ping timeout: 246 seconds)
1904: [23:14:03] <Hailwood> Ryan-Toast, I gave it a go: https://gist.github.com/hailwood/baaa10a0f9875cc92cae but it seems to be having the same effect
1905: [23:14:44] <Ryan-Toast> Hailwood: Hmm, try serving it from an external file instead of customscript
1906: [23:22:01] <Hailwood> Ryan-Toast, That's fixed it - customscript bugged?
1907: [23:22:34] <Ryan-Toast> Hailwood: I don’t think the ajax likes loading inline scripts.
1908: [23:23:06] <Ryan-Toast> Hailwood: Don’t forget to send a pull request to that repo :D
1909: [23:23:32] <Hailwood> Ryan-Toast, Doing that now :)
1910: [23:24:43] * Colin[pi] has joined #silverstripe
1911: [23:25:24] <antmas> Colin[pi]: o/
1912: [23:26:07] <Colin[pi]> antmas: o/
1913: [23:29:11] <Hailwood> Ryan-Toast, Pull request sent
1914: [23:29:16] <Ryan-Toast> Hailwood: (Y)
1915: [23:31:21] * spronk has joined #silverstripe
1916: [23:31:51] <Kingy> dont be jelly Colin[pi]
1917: [23:33:02] * spronk quit (Client Quit)
1918: [23:33:34] <Colin[pi]> Kingy: :O
1919: [23:33:48] <Colin[pi]> Kingy: is that antmas telling secrets
1920: [23:33:51] <Kingy> :P
1921: [23:33:52] <Colin[pi]> bad antmas bad
1922: [23:33:57] * spronk has joined #silverstripe
1923: [23:35:00] <antmas> :D
1924: [23:35:02] <antmas> \o/
1925: [23:35:04] * antmas spins
1926: [23:35:16] <antmas> dat knife skin doe
1927: [23:38:28] <Kingy> Colin[pi] antmas http://i.imgur.com/DHN8n25.jpg
1928: [23:39:31] <PenguinMan98> halp!
1929: [23:39:48] <PenguinMan98> I just built that shiny new feature
1930: [23:39:54] <PenguinMan98> and it uses the html editors
1931: [23:40:04] <PenguinMan98> but when I pushed it to staging, the editors are gone
1932: [23:40:18] <DanaeNZ> Kingy: What game is that?
1933: [23:40:20] <PenguinMan98> What could cause the tinymce editors to fail to appear ?
1934: [23:40:24] <Kingy> DanaeNZ: CS:GO
1935: [23:40:28] <Colin[pi]> DanaeNZ: eurotruck simulator
1936: [23:40:29] <DanaeNZ> _b
1937: [23:40:47] <Kingy> DanaeNZ: if you can't tell Colin[pi] is still salty
1938: [23:41:10] <Kingy> Colin[pi]: Got a drop the other day. Sun of Leo AWP
1939: [23:41:11] <PenguinMan98> note: The images don't work either
1940: [23:41:27] <antmas> PenguinMan98: ?flush in the admin panel?
1941: [23:42:15] <antmas> :O flights and accom sorted for Auckland
1942: [23:42:23] <antmas> hope skycity rooms are decent :P
1943: [23:42:46] <Kingy> whats in auckland antmas?
1944: [23:43:03] <antmas> Kingy: Sharepoint conf (lol) and TechEd
1945: [23:43:07] <Kingy> ehehe
1946: [23:43:27] <DanaeNZ> Kingy: Mm hmm hmmm. I know some of these words!
1947: [23:43:33] * Stomach quit (Quit: zzz)
1948: [23:43:49] <PenguinMan98> antmas: tried that
1949: [23:44:12] <antmas> PenguinMan98: any missing js files in console?
1950: [23:44:41] * spronk quit (Quit: I may need a longer sleep timer...)
1951: [23:44:45] <PenguinMan98> no
1952: [23:46:53] * Stomach has joined #silverstripe
1953: [23:47:49] <PenguinMan98> http://screencast.com/t/KNUeQfijbEq
1954: [23:47:59] <PenguinMan98> My local is on the left, staging is on the right
1955: [23:48:14] <PenguinMan98> You can see they look identical but for the missing editor
1956: [23:49:19] <PenguinMan98> I deleted the entire mysite folder and themes folder from staging and copied my versions up in their place
1957: [23:49:27] <PenguinMan98> Still does this
1958: [23:54:50] <PenguinMan98> I don't even know where to start troubleshooting this
1959: [23:56:39] <PenguinMan98> halp!
1960: [23:58:49] <antmas> PenguinMan98: what ver you using again?
1961: [23:59:00] <PenguinMan98> 3.1
1962: [23:59:07] <PenguinMan98> I think
1963: [23:59:36] <antmas> could be your .htaccess RewriteBase
1964: [23:59:44] <DanaeNZ> not to mention your tabs are gone
1965: [23:59:52] <antmas> that too

These logs were automatically created by ss-log on irc.freenode.net.