#silverstripe IRC Log

IRC log for 24 March 2016

All timestamps are in UTC.

1: [00:03:24] * micmania1 has joined #silverstripe
2: [00:14:16] * Stomach quit (Quit: zzz)
3: [00:16:25] * robbieaverill has joined #silverstripe
4: [00:25:17] * Stomach has joined #silverstripe
5: [00:29:25] * Azure quit (Ping timeout: 244 seconds)
6: [00:30:41] * robbieaverill quit (Remote host closed the connection)
7: [00:31:43] * Azure has joined #silverstripe
8: [00:35:35] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
9: [00:42:17] * robbieaverill has joined #silverstripe
10: [01:02:10] * Hailwood quit (Quit: Leaving)
11: [01:10:27] * Phlunk3 quit (Remote host closed the connection)
12: [01:15:04] <ss-helper> SilverStripe admin area overwrite - http://stackoverflow.com/questions/20078980/silverstripe-admin-area-overwrite
13: [01:22:33] * jules0x quit (Quit: Leaving)
14: [01:33:35] * Stomach quit (Quit: zzz)
15: [01:37:01] * Stomach has joined #silverstripe
16: [01:41:53] * Firesphere_ has joined #silverstripe
17: [01:55:40] * sunzofman quit (Ping timeout: 264 seconds)
18: [02:10:58] * robbieaverill quit (Remote host closed the connection)
19: [02:13:30] * DanaeNZ quit (Quit: TIME TO FEED)
20: [02:15:23] * robbieaverill has joined #silverstripe
21: [02:18:53] <Pyromanik> oh muskie9, l2yaml :P
22: [02:20:06] <robbieaverill> What's the deal with SCSS in SS 3.x? Is it build in, and can be used for custom styles, or does it require a processor to be plugged in to parse?
23: [02:20:19] * Stomach quit (Ping timeout: 248 seconds)
24: [02:21:45] <micmania1> robbieaverill: do you mean on the front end or the CMS?
25: [02:22:00] <robbieaverill> Sorry, the CMS
26: [02:22:18] * Stomach has joined #silverstripe
27: [02:22:21] <robbieaverill> I've just written a f**king ugly CSS stylesheet and got excited when I realised there is (?) a preprocessor in there already
28: [02:22:52] <Pyromanik> although muskie9 I've no idea why ss-helper decided suddenly that a 2 year old SO answer with a marked solution was suddenly worth noting.
29: [02:23:21] <robbieaverill> @Pyromanik the question was edited an hour ago
30: [02:23:26] <robbieaverill> + answer
31: [02:23:45] <Pyromanik> robbieaverill, well no, the sass parser isn't bundled in with SS.
32: [02:24:06] <Pyromanik> just the CMS build files, becasue that makes sense.
33: [02:24:20] <Pyromanik> robbieaverill, oic.
34: [02:24:29] <muskie9> Pyromanik ya, thought it was an odd one, but figured what the heck lolz
35: [02:24:31] <robbieaverill> @Pyromanik ok, so I can write the styles but they won't get used without a parser added? :)
36: [02:24:36] <Pyromanik> also, skip the @ :< This ain't twitter :<
37: [02:24:43] <robbieaverill> lol
38: [02:25:00] <Pyromanik> robbieaverill, you can write plain css, sure.
39: [02:25:07] <robbieaverill> @muskie9 was it my upvote on your answer that triggered your interest?
40: [02:25:19] <Pyromanik> you can write scss too, but you'll need to parse it before you can use it, same as every other project around.
41: [02:25:50] <robbieaverill> Pyromanik: Wishful thinking I suppose. So the .scss files that are there are more just source essentially?
42: [02:25:55] <muskie9> na, just saw it ping this channel lol
43: [02:25:58] <Stomach> ss23 i have an actual silverstripe support problem for once!
44: [02:26:02] <Stomach> yaaaaaay
45: [02:28:08] <robbieaverill> muskie9: Hmmmmm odd, that probably means that it wasn't your edit that triggered it in here?
46: [02:29:00] <muskie9> nope, might be ss-helper bugging out again... a while back it was posting forum posts and stackoverflow questions from years ago like spam
47: [02:29:33] <robbieaverill> HAL...?
48: [02:32:10] <micmania1> robbieaverill: checkout the blog module again :) There’s some CMS scss in there - you have to do it yourself but just copy.
49: [02:33:07] <Pyromanik> hitting the town tonight ss23 ?
50: [02:33:57] <Pyromanik> when does beer o'clock start micmania1 ?
51: [02:34:03] <muskie9> http://puu.sh/nRKIP/bdb4f84d65.gif
52: [02:34:05] <micmania1> Pyromanik: 4pm
53: [02:34:18] <Pyromanik> ss23 getting a -leaving- /piking/ party?
54: [02:34:37] <muskie9> wait, is it thurs or fri over there?
55: [02:34:46] <Pyromanik> yThrus, but is easter
56: [02:34:48] <Pyromanik> good friday
57: [02:34:55] <muskie9> ah, right
58: [02:35:10] <Pyromanik> ss23's last day
59: [02:35:21] <muskie9> whaaaaaaa?!
60: [02:35:32] <Pyromanik> voluntary unemployment
61: [02:35:47] <muskie9> sounds like a party!
62: [02:35:51] <micmania1> Pyromanik: yep :)
63: [02:36:09] <Pyromanik> Are 'outsiders' welcome? :P
64: [02:36:41] <micmania1> I’m not sure - i could ask :)
65: [02:37:01] <robbieaverill> I'll be in Wellington this weekend for my stag do - if you see a drunk, naked guy taped to the fountain in Cuba Mall it's probably me (unless that's a regular occurrence)
66: [02:37:58] <Pyromanik> keke
67: [02:38:13] <Pyromanik> either or I think robbieaverill
68: [02:38:29] <Pyromanik> people will probably just think it's blanket man come back from the grave or something
69: [02:38:31] <robbieaverill> Sweet, I'll fit right in
70: [02:38:36] <robbieaverill> haha
71: [02:39:33] * spronk has joined #silverstripe
72: [02:41:20] <Pyromanik> :C
73: [02:41:32] <Pyromanik> "And if you see it bouncing around a bit, it just means the threading is wrong."
74: [02:41:47] <Pyromanik> No, no! Fuck you, youtube 'tutorial'.
75: [02:42:01] <Pyromanik> How about you emphasise how FUCKED you're making shit by crossthreading!
76: [02:42:02] * robbieaverill is now known as robbiea
77: [02:42:41] <Pyromanik> gawd. So nonchalant about rek'n things. "oh, you just fucked it, but that's ok. Just keep going"
78: [02:42:45] <Pyromanik> gawd
79: [02:42:49] <Pyromanik> so anyway
80: [02:42:54] <Pyromanik> where are you based robbiea?
81: [02:43:40] <robbiea> chch
82: [02:44:38] <Pyromanik> long way to come for a stag do.
83: [02:44:43] <Pyromanik> You from WLG orignally?
84: [02:44:52] <robbiea> Nope, Christchurch is just a shit-hole right now :)
85: [02:44:57] <robbiea> It's only a 30 minute flight
86: [02:45:04] <Pyromanik> Or is it one of those excuses for "what goes on tour..."
87: [02:45:06] <ss-helper> Looping through a dataobject with a $has_many relationship? - http://stackoverflow.com/questions/36192258/looping-through-a-dataobject-with-a-has-many-relationship
88: [02:45:06] <Pyromanik> :P
89: [02:45:11] * Stomach quit (Quit: zzz)
90: [02:45:14] <Pyromanik> yeh I know robbiea, used to be in CHC
91: [02:46:01] <robbiea> Out of sight out of mind
92: [02:46:03] * kerozene quit (Quit: brb)
93: [02:46:09] <robbiea> Wellington's a classic location for a cheeky bender
94: [02:47:59] * kerozene has joined #silverstripe
95: [02:48:22] <Pyromanik> Yes, had my best night out ever (that I can remember of recent[ish] memory) in wellington.
96: [02:48:42] <Pyromanik> did the ol' classic catch a lift home in the back of a delivery truck
97: [02:48:46] <Pyromanik> haha
98: [02:48:48] <Pyromanik> good night
99: [02:49:06] <robbiea> Yeah nothing like it. That's wicked. I just love being able to smash a kebab at 4am if you want to
100: [02:49:46] <Pyromanik> so where do you work robbiea ?
101: [02:49:54] <robbiea> Kathmandu
102: [02:49:57] <Pyromanik> oh yeah
103: [02:50:04] <Pyromanik> I have asked that before
104: [02:50:16] <robbiea> Have you?
105: [02:50:47] <Pyromanik> yep. I remember the answer.
106: [02:51:09] <robbiea> Seems like my brain could do without a dousing this weekend then
107: [02:51:36] <Pyromanik> eh?
108: [02:51:39] <robbiea> NVM
109: [02:51:41] <Pyromanik> oh it was yonks ago
110: [02:51:42] <robbiea> Where were you in Chch?
111: [02:51:45] <Pyromanik> was
112: [02:51:49] <Pyromanik> I'm in WLG
113: [02:52:00] <robbiea> Where'd you work in Chch?
114: [02:52:03] <Pyromanik> haven't been in CHC for 3 years
115: [02:52:15] <Pyromanik> well, 2.5
116: [02:52:22] * Stomach has joined #silverstripe
117: [02:52:57] <Pyromanik> Tried to do my own thing, didn't work out.
118: [02:53:19] <robbiea> bugger
119: [02:53:28] <Pyromanik> learnt a lot though
120: [02:53:32] <Pyromanik> which was fun
121: [02:53:55] <robbiea> That's good. I don't really like doing my own thing in this biz - too easily distracted.
122: [02:54:13] <Pyromanik> mmm. A problem I got too
123: [02:54:22] <robbiea> Mine's BF4
124: [02:54:25] <Pyromanik> plus no mentor makes shit hard as fuck sometimes :<
125: [02:54:27] <Pyromanik> hahahaha
126: [02:54:35] <Pyromanik> I used to be big on BF
127: [02:54:37] <robbiea> Yep true
128: [02:54:38] <Pyromanik> (2)
129: [02:54:52] <Pyromanik> everything since though has been... poor.
130: [02:55:01] <Pyromanik> nothing has quite measured up.
131: [02:55:22] <robbiea> I will forgive you once for spouting such herecy
132: [02:55:36] <robbiea> JJ
133: [02:56:10] <Pyromanik> 3 was a monumental letdown/fuckup/bastard
134: [02:56:50] <Pyromanik> 4 was to 3 what the CoD:MW2 was to CoD4
135: [02:56:55] <Pyromanik> in my eyes.
136: [02:57:15] <Pyromanik> ie. Same shit with some new maps and pay full price because fuck you we hate our customers.
137: [02:58:27] <robbiea> that's fair
138: [02:58:46] <Pyromanik> anyway, since 3 I swore I'd never give that franchise another cent.
139: [02:59:13] <Pyromanik> I had buyer's remorse like I'd been told I had stage 4 cancer with 3.
140: [02:59:27] <Pyromanik> 1000% regret.
141: [02:59:42] <robbiea> lol. I'll think of you next time I'm having a great time in Operation Metro.
142: [02:59:49] <Pyromanik> wtf
143: [02:59:51] <Pyromanik> the worst map
144: [02:59:55] <Pyromanik> played so much
145: [02:59:58] <Pyromanik> i just didn't get it.
146: [03:00:30] <Pyromanik> BC2 was the last decent BF IMO.
147: [03:00:44] <Pyromanik> very different to 2 though, which I consider the franchise peak.
148: [03:00:49] <Pyromanik> despite it's horrendous amout of bugs.
149: [03:01:39] <robbiea> I never played it back then. BC2 was my favourite and first
150: [03:01:50] <robbiea> Ahhh - to have free time...
151: [03:02:20] <Pyromanik> haha, know them feels.
152: [03:02:33] <Pyromanik> Unemployed atm, bought that new CS on sale recently.
153: [03:02:38] <Pyromanik> fuck what a bastardisation.
154: [03:02:51] <robbiea> which one?
155: [03:03:07] <Pyromanik> you aim, you get nothing. You don't aim, you get all the headshots. It's basically just dice roll and complete nerf for nub friendlyness.
156: [03:03:11] <Pyromanik> but hey, whatever.
157: [03:03:20] <Pyromanik> passes the time while waiting for application replies.
158: [03:04:22] <robbiea> fair enough
159: [03:04:34] <robbiea> i have a date with docker (and need to get back to work) - catch ya
160: [03:08:24] <Pyromanik> ciao
161: [03:10:53] * spronk quit (Quit: I may need a longer sleep timer...)
162: [03:11:08] * mahfuz has joined #silverstripe
163: [03:15:31] <munk0r> can anyone point me in the direction of why when I run `sake ExampleTask` it would (a) not run and (b) give me html 404 output, even though the task class is defined and extends CliController?
164: [03:15:56] * micmania1 quit (Quit: micmania1)
165: [03:18:03] * spronk has joined #silverstripe
166: [03:31:02] <munk0r> if I make it a BuildTask I can run it, but if it's in a module and extends from CliController the app doesn't know about it.
167: [03:31:36] <muskie9> munk0r have you tried sake dev/tasks/ExampleTask
168: [03:31:45] <muskie9> make sure you dev/build and flush as well
169: [03:32:04] <munk0r> it's not listed under /dev/tasks
170: [03:32:16] <munk0r> unless i extend from BuildTask
171: [03:32:42] <muskie9> ah, right... that's how I've usually done it since it's accessible via both browser and cli
172: [03:32:56] <munk0r> yer, i can probably swing it that way, but i was hoping to make it a module.
173: [03:33:24] <muskie9> ah, right... I'm not sure how others do it in that case
174: [03:33:51] <munk0r> (and yes i'm clearing caches thoroughly)
175: [03:34:08] <munk0r> so for example https://github.com/Little-Giant/silverstripe-youtubefeed
176: [03:34:23] <munk0r> contains a code/Tasks/YouTubeFeedTask.php
177: [03:34:53] <munk0r> i tried to add another one.. meh nevermind :)
178: [03:34:55] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
179: [03:37:42] * Stomach quit (Quit: zzz)
180: [03:38:07] * Stomach has joined #silverstripe
181: [03:57:02] * Stomach quit (Quit: zzz)
182: [03:57:59] * robbiea quit (Remote host closed the connection)
183: [04:01:32] * robbiea has joined #silverstripe
184: [04:03:45] * robbiea quit (Client Quit)
185: [04:05:25] * UncleCheese has joined #silverstripe
186: [04:07:04] * UncleCheese quit (Client Quit)
187: [04:17:03] * Firesphere_ quit (Ping timeout: 240 seconds)
188: [04:18:02] * Firesphere_ has joined #silverstripe
189: [04:19:57] * phorloop has joined #silverstripe
190: [04:22:29] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
191: [04:22:34] * phorloop quit (Max SendQ exceeded)
192: [04:23:10] * phorloop has joined #silverstripe
193: [04:26:48] * mahfuz quit (Ping timeout: 250 seconds)
194: [05:16:59] * MichalKleiner has joined #silverstripe
195: [05:59:52] * MichalKleiner quit (Ping timeout: 264 seconds)
196: [06:15:06] * spronk quit (Quit: I may need a longer sleep timer...)
197: [06:23:39] * Stomach has joined #silverstripe
198: [06:35:23] * spronk has joined #silverstripe
199: [06:37:52] * Stomach quit (Quit: zzz)
200: [06:38:48] * marvanni has joined #silverstripe
201: [06:39:04] * Stomach has joined #silverstripe
202: [06:40:17] * Agilix_ has joined #silverstripe
203: [06:43:15] * marvanni quit (Ping timeout: 248 seconds)
204: [06:44:08] * marvanni has joined #silverstripe
205: [06:45:23] * Pyromanik quit (Quit: Leaving)
206: [07:03:01] * Mike123 has joined #silverstripe
207: [07:06:41] * Firesphere_ quit (Ping timeout: 268 seconds)
208: [07:06:55] * spronk quit (Max SendQ exceeded)
209: [07:09:29] * Stomach quit (Quit: zzz)
210: [07:13:12] * marvanni quit (Remote host closed the connection)
211: [07:32:57] * Stomach has joined #silverstripe
212: [07:46:01] <Agilix_> Can anyone see why the populateDefaults() is not doing it's thing? http://pastie.org/10771958
213: [07:57:12] * arnhoe has joined #silverstripe
214: [07:57:26] * arnhoe quit (Remote host closed the connection)
215: [07:58:01] * arnhoe has joined #silverstripe
216: [08:15:36] * marvanni has joined #silverstripe
217: [08:30:18] <Agilix_> Can anyone see why the populateDefaults() is not doing it's thing? http://pastie.org/10771958
218: [08:33:07] <marvanni> $this->Bio : $this->owner>Bio
219: [08:33:44] <marvanni> and you dont need to return anything there, just calling parent::populateDefaults(); will do
220: [08:37:22] <Agilix_> marvanni: Thanks! Testing it now
221: [08:37:37] * MichalKleiner has joined #silverstripe
222: [08:40:37] * Kingy[a] quit (Ping timeout: 260 seconds)
223: [08:40:48] * Kingy[a] has joined #silverstripe
224: [08:41:02] <Agilix_> marvanni: works like a charm :)
225: [08:41:10] <marvanni> I know
226: [08:44:58] * swaiba has joined #silverstripe
227: [08:49:14] * Stomach quit (Quit: zzz)
228: [08:57:25] * MichalKleiner quit (Remote host closed the connection)
229: [09:14:08] <Mike123> how does ListBoxField work on 2.4 ?
230: [09:14:30] <Mike123> i select my option's , save, and nothing is saved
231: [09:19:13] <Agilix_> Hmmmm [User Error] Uncaught LogicException: Orphaned $belongs_many_many value for BlogHolder.Tag
232: [09:40:26] * agent44 has joined #silverstripe
233: [09:44:01] * phorloop quit (Quit: Byeee...)
234: [10:23:09] <marvanni> Does DataList accepts extensions?
235: [10:30:11] <swaiba> marvanni https://docs.silverstripe.org/en/3.3/developer_guides/extending/extensions/
236: [10:30:17] <swaiba> "Developers can add Extensions to any Object subclass within core, modules or even their own code to make it more reusable."
237: [10:30:20] <swaiba> I'm guess ing yes
238: [10:30:42] <marvanni> ah, that looks nice
239: [10:37:23] <marvanni> can anyone say something about how expensive it is to do something like this in a template
240: [10:37:23] <marvanni> http://sspaste.com/paste/show/56f3c338f080a
241: [10:37:56] <marvanni> And then I mean calling $List.count inside the <$ loop $List %>
242: [10:38:21] <swaiba> marvanni I'm really not sure... however I *certainly* avoid using the templates when I'm in a big loop
243: [10:38:32] <marvanni> and TemplateColumnClass and TemplateColumns are defined in a TemplateGlobalProvider
244: [10:39:07] <marvanni> ofcourse a lot can be cached, but thats finetuning
245: [10:39:42] <swaiba> I would certainly pass in the employee count... but of course this is nothing if you are talking <100
246: [10:39:54] <swaiba> but approaching 1000 I'm sure that would help
247: [10:41:12] <marvanni> I will try an arraylist 1000, see how that goes
248: [10:41:30] <marvanni> Do you see an improvement in my approach in the example?
249: [10:44:57] <marvanni> hehe, doet does not like 20
250: [10:45:14] <ss-helper> Silverstripe fields validation in CMS - http://stackoverflow.com/questions/36198010/silverstripe-fields-validation-in-cms
251: [11:17:39] * kinglozzer has joined #silverstripe
252: [11:48:22] * torican has joined #silverstripe
253: [11:49:35] <torican> anyone awake at the moment... got an install error I've never come across.... client hosting with OpenHost (webdrive).... account previously had WP running fine.... install gives SQL errors "Silverstripe cannot alter tables. This won't prevent installation, however it may cause issues if you try to run a /dev/build once installed."
254: [11:50:01] <torican> Plesk/phpmyadmin, have tried creating new user/account, no luck...
255: [11:51:52] <swaiba> anyone seen this...
256: [11:51:52] <swaiba> http://design.google.com/resizer/
257: [11:52:31] <swaiba> pretty nice to get all views of a webpage at once and switch to many sizes in the same place
258: [11:58:57] <torican> ohh similar to http://ami.responsivedesign.is/ (have used this tool so many times to send quick screenshots to clients)
259: [12:02:54] <swaiba> yeah torican but when you want to quickly shift between multiple and a specfic I think resizer does it quite a bit better
260: [12:08:26] <torican> yeah didn't notice that feature - quite cool! thanks for the heads up
261: [12:10:43] * gelignite has joined #silverstripe
262: [12:24:02] * UndefinedOffset has joined #silverstripe
263: [13:01:50] * agent44 quit (Quit: zzz)
264: [13:02:43] * agent44 has joined #silverstripe
265: [13:41:22] * muskie9 has joined #silverstripe
266: [13:50:56] * agent44 quit (Quit: zzz)
267: [13:51:12] * agent44 has joined #silverstripe
268: [13:55:53] * agent44 quit (Ping timeout: 244 seconds)
269: [14:12:38] <Mike123> Hey guys
270: [14:12:53] <Mike123> i have really confusing situation here
271: [14:13:46] <Agilix_> Hey Mike, do tell :)
272: [14:15:26] <swaiba> Mike123 go on...
273: [14:16:17] <Mike123> my client has his MSSQL based system where people info is saved, i need to make member zone in SS based on member from this system, the thing is that i cant save ANY information from this system in my DB, privacy things...
274: [14:16:26] <Mike123> sorry for my bad english
275: [14:16:34] * torican quit (Ping timeout: 250 seconds)
276: [14:16:35] <Mike123> i hope u understand
277: [14:19:36] <Mike123> so.. to be in short.. There's member profile in SS , there's MSSQL DB from Client, I need to make member profile module, not allowed to save ANY member info to my DB
278: [14:21:42] <Mike123> why it's so quiet here ;D
279: [14:21:45] <Agilix_> seems like you need to extend the members and overwrite the save to push all data to the MSSQL DB from you client
280: [14:22:32] <Agilix_> But I have nog experience with this particular question, maybe swaiba has a better idea :)
281: [14:23:38] <swaiba> could be quiet today because Mike123 it's the start of a FOUR DAY WEEKEND - WOO HOOO
282: [14:23:59] <Agilix_> That's tomorrow for me :p
283: [14:24:11] <swaiba> in terms of this member and multiple DB's do you have any contorl of the structure?
284: [14:24:15] <marvanni> create your own API on top of the MSSQL database and create a custom authenticator for the members?
285: [14:24:39] <Mike123> Agilix_ , swaiba, this MSSQL DB kad users, offers,points for each user, i need to make member profile , where ppl could login using MSSQL DB , and see offers from this DB
286: [14:24:48] <swaiba> http://stackoverflow.com/questions/32582566/silverstripe-save-data-to-external-table/32583325#32583325
287: [14:25:01] <swaiba> this indicates how to save to another DB easily
288: [14:25:22] <swaiba> so you could hack each part that saves to connect to the MSSQL one and then change back after
289: [14:25:30] <swaiba> but that is likely going to be a little picky
290: [14:25:31] <Mike123> the problem isn't on how to save to DB, problem is that i have to create member from out of nothing
291: [14:26:18] <swaiba> "from out of nothing" sounds a bit sinister
292: [14:26:25] <marvanni> are you allowed to store the MSSQL ID and email?
293: [14:26:39] <muskie9> Mike123 you could sub-class ViewableData to show the data, or singleton a member... just don't ever call write()
294: [14:26:41] <swaiba> surely there is something that indicates the info and you must have some idea where to put it?
295: [14:27:28] <swaiba> yeah, like muskie9 says... you could go so far as to use a custom class for member and puposesly NOT write in the write() function
296: [14:27:46] <swaiba> either way it's a little ticky
297: [14:28:35] <muskie9> I've had to migrate data from other mysql databases to silverstripe and the stack link above is how I connect to the other db and back to my own... it's pretty easy actually to query the "other" database... you just have to do a bit more work to get it setup to display in some kind of model/viewable data
298: [14:28:38] <Agilix_> Quick question, how do I populateDefaults an Image? $this->owner->ProfilePicture = $member->ProfilePicture; does not seem to do it :p
299: [14:29:20] <marvanni> ProfilePictureID
300: [14:29:23] <muskie9> ^
301: [14:30:12] <Agilix_> that makes so much sense, thx
302: [14:34:41] <Mike123> swaiba, i am not allowed to store ANYTHING
303: [14:34:46] <Mike123> that's the point
304: [14:35:03] <Mike123> so i need to answer client, is it possible at all or not :)
305: [14:35:08] <swaiba> Mike123 then read from it
306: [14:35:54] <muskie9> Mike123 so you literally just need to query the other db, you won't write to EITHER your db or theirs?
307: [14:36:00] <Mike123> but all other info in that Member Zone will be retrieved from this DB by user's ID and email
308: [14:36:26] <Mike123> i will write to theirs DB , no info will be written to mine DB
309: [14:37:02] * arnhoe quit ()
310: [14:37:14] <Mike123> i will need to save this ID and EMAIL somethere, so i could gell all offers, point and other stuff for that user
311: [14:37:43] <Mike123> also i will need to determine is user is LOGEN IN
312: [14:38:03] <Mike123> so that anyone cannot access member profile pages
313: [14:39:06] * Agilix_ quit (Ping timeout: 250 seconds)
314: [14:39:19] <Mike123> it's something similar to https://github.com/wilr/silverstripe-facebookconnect but no user Data from that DB must be saved
315: [14:40:14] <muskie9> well you'll need to at least save some identifying data to your db or you won't be able to have them "logged in" to your SS instance... be it the ID number from the other system or their email address
316: [14:40:57] <Mike123> perfect muskie9, all i needed :)
317: [14:42:09] <muskie9> I'm 99% sure that when a member logs in with SS, part of the system relies on the logged in member's ID number (from the native member table), but I could be wrong on that
318: [14:42:20] <muskie9> hence, Member::currentUserID()
319: [14:46:54] <swaiba> yes muskie9 there is still an "element" of writing when using SSO
320: [14:47:17] <muskie9> right, there has to be some kind of link to the local record and the remote record
321: [14:47:18] <swaiba> and Mike123 I GET IT - that is why I suggested you disable the ability to WRITE to the Memeber!
322: [14:49:42] <Mike123> swaiba, u get it , but i dont :D
323: [14:50:47] <swaiba> Mike123 ok, well you know sometimes people ask for things that are not possible
324: [14:51:10] <swaiba> normally things are possible, just not cheap or elegant
325: [14:55:25] <Mike123> hmm but how does willr's module has option to NOT create member and get the logged member by $CurrentFacebookMember
326: [15:03:42] <swaiba> I'd read the module to find out why...
327: [15:06:27] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
328: [15:06:33] <marvanni> As far as I see, it DOES create a Member
329: [15:06:41] * cloph_away quit (Ping timeout: 244 seconds)
330: [15:07:10] <Mike123> marvanni http://snag.gy/HPVBR.jpg
331: [15:07:11] <marvanni> it will
332: [15:07:31] * cloph_away has joined #silverstripe
333: [15:07:32] <marvanni> ah ok.
334: [15:08:19] <Mike123> but i think it's getting member info from facebook token , session or something like that, my MSSQL does not has any tokens etc
335: [15:09:10] * muskie9 has joined #silverstripe
336: [15:10:59] <swaiba> and then is says "don't use $member, just $facebook member or something
337: [15:11:41] <swaiba> Mike123 it's just using OAuth (or similar)
338: [15:11:56] <swaiba> the point is you ARE logged in else where and that is providing the user details
339: [15:12:14] <swaiba> you are asking can MSSQL do this... and it's not going to happen
340: [15:12:36] <swaiba> that information wrapped up and servered via something like OAuth
341: [15:12:57] <swaiba> or if they have a windows server (makes sense if they have a windows db) then LDAP
342: [15:13:19] <swaiba> and http://addons.silverstripe.org/add-ons/silverstripe/activedirectory is what you want
343: [15:13:45] <swaiba> but again be careful about it actually writing Member info
344: [15:19:41] <Mike123> hmm, thank you swaiba, i will check it
345: [15:22:40] * UncleCheese has joined #silverstripe
346: [15:26:47] * BrewNaked has joined #silverstripe
347: [15:27:57] * UncleCheese quit (Ping timeout: 276 seconds)
348: [15:42:06] <marvanni> Just dont tell your client you are writing to your own database ;)
349: [15:43:55] <Mike123> well if they will notice it , i will be fired :D
350: [15:44:50] <Mike123> but what if i will save loged users defails, ID and Email , into session ? and use that session like authenticator to determine if user is loged or not
351: [15:50:04] <marvanni> that can work as well. just like the FacebookMember example
352: [15:51:33] <swaiba> Mike123 don't use the session!
353: [15:51:56] <swaiba> if you want to be sneaky and use a DB that "isn't a DB, but just a file" then use sqlite
354: [15:54:08] * MichalKleiner has joined #silverstripe
355: [15:58:23] * elgabbu has joined #silverstripe
356: [16:21:48] * Mike123 quit (Ping timeout: 250 seconds)
357: [16:24:16] * muskie9__ has joined #silverstripe
358: [16:24:30] * muskie9 quit (Ping timeout: 246 seconds)
359: [16:25:09] * muskie9__ is now known as muskie9
360: [17:11:13] * kinglozzer quit ()
361: [18:06:19] * arnhoe has joined #silverstripe
362: [18:21:11] * muskie9 quit (Ping timeout: 250 seconds)
363: [18:24:56] * arnhoe quit (Remote host closed the connection)
364: [18:27:41] * muskie9 has joined #silverstripe
365: [18:51:46] * neomang has joined #silverstripe
366: [19:27:00] * krofek__ quit (Quit: Leaving)
367: [19:27:40] * krofek has joined #silverstripe
368: [19:30:04] * oddnoc has joined #silverstripe
369: [19:30:52] * krofek_ has joined #silverstripe
370: [19:31:40] * krofek quit (Client Quit)
371: [19:36:00] <marvanni> is there any way to load a theme config.yml into cached config?
372: [19:36:59] <oddnoc> marvanni: if it is in a _config/ directory, I think it will be loaded automatically.
373: [19:37:24] <marvanni> not if it lives in a theme/mytheme/ dir
374: [19:39:06] <muskie9> marvanni I don't think so... since the config system is tied to the php classes it lives in a directory setup like mysite or a module
375: [19:40:25] <oddnoc> If the theme isn’t a theme meant for sharing around, you could move it all into mysite, in that case.
376: [19:40:37] <marvanni> Nah, I can make up any config key, wihtout being tied to a class. but it wont read theme dirs. I can use a yaml parser to read theme config on the fly, but i want it to be cached
377: [19:40:49] <marvanni> no, thats no option
378: [19:41:43] <oddnoc> You might have to make a support module for the theme, then.
379: [19:42:48] * MichalKleiner quit (Remote host closed the connection)
380: [19:45:22] <ss-helper> Generic classes Silverstripe 3.2 - http://stackoverflow.com/questions/36208627/generic-classes-silverstripe-3-2
381: [19:45:28] * marvanni quit (Ping timeout: 264 seconds)
382: [19:55:59] * marvanni has joined #silverstripe
383: [19:56:05] <marvanni> test
384: [19:56:07] <marvanni> ok
385: [20:20:07] * marvanni quit (Quit: marvanni)
386: [20:21:47] * UndefinedOffset quit (Quit: Leaving.)
387: [20:43:36] * MichalKleiner has joined #silverstripe
388: [20:48:24] * MichalKleiner quit (Ping timeout: 276 seconds)
389: [21:00:24] <ss-helper> Rules about ContentController or Page_Controlle in Silverstripe - http://stackoverflow.com/questions/36209837/rules-about-contentcontroller-or-page-controlle-in-silverstripe
390: [21:12:23] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
391: [21:46:28] * muskie9 has joined #silverstripe
392: [22:08:35] * vanny has joined #silverstripe
393: [22:08:56] <vanny> howdy all
394: [22:15:55] <vanny> In Model admin can I add a button next to the edit and delete icon
395: [22:22:01] * Azure quit (Quit: Oops.)
396: [22:23:46] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
397: [22:44:46] * MichalKleiner has joined #silverstripe
398: [22:46:58] * muskie9 has joined #silverstripe
399: [22:49:00] <vanny> hey muskie
400: [22:49:40] * MichalKleiner quit (Ping timeout: 264 seconds)
401: [22:55:33] * Azure has joined #silverstripe
402: [22:57:14] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
403: [22:57:28] * muskie9 has joined #silverstripe
404: [23:00:02] * ss-helper quit (Remote host closed the connection)
405: [23:00:17] * ss-helper has joined #silverstripe
406: [23:00:50] <muskie9> hey vanny
407: [23:00:58] <vanny> how goes it?
408: [23:01:09] <muskie9> snowy
409: [23:02:22] <muskie9> thought spring was here, then the snow storm came and messed everything up
410: [23:03:21] <vanny> Wait, where are you based?
411: [23:03:32] <muskie9> Wisconsin, USA
412: [23:04:23] <vanny> Oh Cool, im in texas
413: [23:04:45] <muskie9> guessing no snow down there?
414: [23:05:38] <vanny> not in houston
415: [23:05:43] * Azure quit (Remote host closed the connection)
416: [23:07:06] <vanny> how long have you been using SS
417: [23:07:08] <muskie9> would love to not have snow, it was in the 60's about a week and a half ago... shoulda stayed that way
418: [23:07:23] <muskie9> I think 7 years now... started in it when it was 2.3.x
419: [23:07:53] <vanny> oh wow, i've dabbled for about a year in it.
420: [23:08:17] * Azure has joined #silverstripe
421: [23:08:31] <vanny> it is very pwoerful, just finding what I want to do and how to do is always a challenge
422: [23:08:33] <muskie9> really didn't feel like I knew it very well until probably a year and a half ago... but I was still getting into oop that whole time
423: [23:08:40] <muskie9> ya, that's the trick
424: [23:08:55] <muskie9> docs have gotten a lot better, and the lessons are pretty good too
425: [23:10:27] <vanny> right now, I just want to add a print button in the gridfield next to the edit delete button, and basically make it open a new page format. Looking everywhere and cant find anything, but then I might not be searching for the right stuff
426: [23:14:53] <muskie9> actually, we're working on something where we want to implement an additional button... one sec
427: [23:15:35] <muskie9> I found this the other day, might be along the lines of what you're looking for: https://docs.silverstripe.org/en/3.3/developer_guides/forms/how_tos/create_a_gridfield_actionprovider/
428: [23:16:01] <muskie9> so you're action would essentially be open a new link
429: [23:16:09] <vanny> yeah, that is cool
430: [23:16:12] <vanny> thanks
431: [23:16:20] <muskie9> sure
432: [23:16:34] <muskie9> gridfield is still on my list to better understand
433: [23:17:02] * JackOconnor has joined #silverstripe
434: [23:17:18] <muskie9> I know with uncle cheese's better buttons, when you're in a detail view of an object from a gridfield, you can add a custom action button there too
435: [23:17:42] <muskie9> https://github.com/unclecheese/silverstripe-gridfield-betterbuttons#creating-a-custom-action
436: [23:17:50] <vanny> yeah, i was looking at that.
437: [23:18:24] <muskie9> I tried implementing that a while ago and didn't have much luck, was on a tight timeline though so didn't mess with it too much
438: [23:19:13] <vanny> I was playing with modules one day, and come across one that made really cool data object forms. but accidentally deleted it and now cant find it to play with
439: [23:19:50] <muskie9> try keyword searching the addons site
440: [23:20:55] <muskie9> I search SS on github every once in a while too: https://github.com/search?utf8=%E2%9C%93&q=silverstripe+dataobject&type=Repositories&ref=searchresults
441: [23:43:21] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)

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