Search the website and IRC logs

#TYPO3 IRC log from : Monday 22 March 2010

Year: 2007 2008 2009 2010 2011 2012
Month: Jan Feb Mar Apr May Jun Jul Sep Oct Nov Dec
Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
00:30 rawtaz_ hmm ok
00:30 rawtaz_ i take it it doesnt matter the least then :P
01:55 ries hey guys, some RTE guru home?
09:15 milpoer morning.. .
09:19 No5251 moin
09:22 milpoer how to ensure that locallang.xml files are used from the typo3conf/l10n/ dir ? My mm_forum and new_loginbox use the one from the extension dir ...
09:40 iaj someone experienced in typoextension programming..prot0 helped me out by writing an ext that makes use of the hooks from powermail ext... my goal is to automatically register a user at our newsletter... still I got errors when I activate the extension... someone able to help?? http://pastebin.com/jH9jZ3Xj I've been trying around for some hours now.. but no success:-[
09:47 jbaptiste_j Greetings
09:48 iaj hello
10:03 iaj is there a simple way to just launch the function off a plugin?
10:04 No5251 iaj: ?
10:04 No5251 which one?
10:04 iaj i got a plugin which enables public function PM_SubmitAfterMarkerHook($o_caller, $a_markers, $a_sessionData)
10:04 iaj and I just wanna call it for testing issues
10:04 iaj :-D
10:05 No5251 hm, are u searching for "userFunc"?
10:05 iaj hu? :-S
10:25 LightMare Hi,
10:25 jbaptiste_j Hello LightMare
10:26 LightMare is the right place for help ?
10:26 milpoer LightMare: yes..
10:26 jbaptiste_j sometimes ;;)
10:27 LightMare I'm usign version 4.3.1 with templavoila, and I have huge data
10:27 LightMare the fe works perfectly, but the be is very slow when user save content
10:28 LightMare save text blocs takes about 30 seconds !
10:29 LightMare no charge on servers, It drive me crazy :-(
10:29 LightMare any ideas ?
10:33 LightMare is anybody for help ?
10:40 sieby hi all, is there someone who can help me? i want to extend the BE edit function. i want to add a new form under the access tab when editing a record. is there a way like hooks or xclass?
10:50 LightMare Hello, need help about backend issue, saving text content becomes very very slow ! CPU is OK, I don't understand where does it come from, is any one to help me ?
10:54 Provito LightMare, what version of typo3?
10:56 sieby LightMare: I'm usign version 4.3.1
11:04 LightMare I'm using 4.1.3 with templavoila
11:07 LightMare sieby, do you need more informations ?
11:34 Provito Lightmare have you tried turning off the new caching framework in the install tool, there is an inefficient delete when modifying content
11:35 Provito the system will use the old style caching
11:46 iaj hm if i got to extend the value of a text to more than one line
11:46 iaj 15 = TEXT 15.value ( ?
11:46 iaj is that it?
11:48 PiMB bingo
11:49 iaj what if the text i insert after that contains ) as well?
11:50 PiMB well..
11:50 PiMB that's a good question
11:50 PiMB might want to change that to html entity?
11:52 iaj hm seems to work :-D not quite sure tho
12:20 Winston_S hey's
12:27 sieby hi all, is there someone who can help me? i want to extend the BE edit function. i want to add a new form under the access tab when editing a record. is there a way like hooks or xclass?
12:33 pmk65 sieby: Just extend TCA with your custom field, and it will show up in the BE.
12:34 sieby and it will be saved and autofilled with informations from the db too?
12:34 pmk65 if you code it for that, then yes.
12:34 pmk65 Read this -> http://typo3.org/documentation/document-library/tutorials/doc_tut_backend/0.0.1/view/
12:34 pmk65 and this -> http://typo3.org/documentation/document-library/core-documentation/doc_core_api/4.3.0/view/
12:35 Bitcrusher hey guys
12:37 sieby ok, big thanks pmk65 =)
12:41 ndee hi there, what's the best way to unit test an extension?
12:43 milpoer i want to have an unsubscribe link in my newsletter, i have did this: http://paste.phlogi.net/-db445fa7d4/ but want the text from "lib.unsublink.10.value" to be the link text, right now its the pagetitle of pid = 113 that is shown. am i missing something ??
12:46 milpoer my badd.. typo :(
12:49 Bitcrusher anyone here have experience with mm_forum and the moderation and the activation of user accounts?
12:52 pmk65 ndee: -> http://typo3.org/extensions/repository/view/phpunit/current/
12:53 pmk65 Bitcrusher> Useraccounts in mm_forum is using the stanbdard fe_users table..
12:54 ndee pmk65: sweet. From now on, all my extensions will be unit-tested :D
12:57 pmk65 ndee: don't base your ext 100% on unit testresults. As sometimes unittests are not usable. (I wrote a HTML parser a while ago for cropping HTML text. It failed unittests because I didn't return the result the unit test expected. (If I did that the output would be invalid html)
12:57 ndee pmk65: nope, won't do that but it's better than no tests at all :D
12:58 pmk65 You could also try this one: -> http://typo3.org/extensions/repository/view/pedantic/current/
12:58 Bitcrusher pmk65: yeah, but I'm just wondering if there was a way, that i had overlooked, that enabled the admin to activate the useraccounts, rather then letting people activate their own accounts.
12:59 Bitcrusher if not, I'm just gonna go with sr_feuser_register instead
12:59 Bitcrusher just thought if anyone else had been in the same situation
13:05 pmk65 Bitcrusher> I have only set it up. not administrating it.. (And it was a custom setup, as I had added a lot of extra fields to the signupform)
13:06 Bitcrusher ok, dont bother with it then :) i'll just hack the plugin a bit
13:06 Bitcrusher judging from the comments in the code, its only able to send to the user
13:38 ndee if something ever was complicated, it's the template marker substitute stuff :/
14:33 nd___ ndee: how's that complicated?
14:46 ndee nd___: it's somehow so unnatural and the functions have weird names ;)
14:54 zed_devil hi all
14:54 miousse hi
14:55 zed_devil is there a possibility to give the <label> in powermail css classes
14:56 zed_devil only the <input> fields have special css classes // but i want to hide a lable with a special class
14:56 miousse got no clue i dont know powermail very well
14:57 miousse sry
15:25 ries nd___: dude?
15:26 ndee ries :D
15:26 ries ndee: can you do be a small favor?
15:26 ries takes 30 secs
15:26 ries see pm
15:26 ndee ries: always
15:27 ries thanks
15:27 ndee np
15:36 PiMB sounds like a dodgy drug deal this.. ;)
15:43 Bitcrusher hehe @ PiMB
15:49 iaj if I got a form with action submit.. can I call that by just calling that url with post data?
15:49 PiMB what do you mean exactly?
15:53 iaj well currently I got a form.. which looks like that : http://pastebin.com/493udZL1
15:53 PiMB aight
15:53 iaj and I want to just add someone.. by having a button
15:53 iaj clicked.
15:53 PiMB you mean with a submit button?
15:53 iaj or rather a powermail hook calling an abo for the newsletter
15:53 iaj nah.. well.. I want to have 2 actions if someone fills in a form
15:54 iaj the basic powermail one
15:54 iaj and an addabo which would be triggered by that form I just posted
15:54 PiMB you should probably hook powermail so that upon save it does some magic to addabo too.
15:55 PiMB i;ve done a newsletter subscription based on powermail myself once.
15:55 iaj PiMB, are you experienced in that?
15:55 iaj ive got an extension
15:55 iaj thanks to prot0.. but it doesnt pull off yet
15:55 PiMB you might even be able to use the mapping of powermail to save into a custom table
15:55 PiMB Prot0 normally does some good things.
15:55 PiMB so what extension do you have?
15:56 iaj http://cl1p.net/2AEEA0BC-0BE4-4A46-BE8A-6BDD81B4D957
15:56 iaj there it is
15:56 PiMB but that one uses fe_user_register
15:56 iaj but I got an error when I try to enable it... its actually working on the page it should.. but iI get the error: urlencode expects parameter 1 to be a string
15:57 iaj yeh ignore that one
15:57 iaj it uses powermail hook as well
15:57 PiMB ah cool
15:57 PiMB some hardcoded uid's in there.
15:57 PiMB are they all correct?
15:57 iaj yeah the only dynamic things.. is name, forename and email
15:58 iaj in the pastebin you can see the whole form as its working on my page
15:58 PiMB $a_postSets[] = urlencode($s_name).'='.urlencode($s_value);
15:58 PiMB isn't it trampling over these urlencodes?
15:58 iaj yeh.. thats the problem there
15:58 iaj but I dunno on howto fix
15:59 PiMB add a if( !empty( $s_name ) && !empty( $s_value ) )
15:59 PiMB hm, or might it be that the given parameter is something else then a string.
15:59 PiMB might it be an array?
15:59 iaj yeh..
15:59 iaj watch the $a_postData array
15:59 iaj there are other arrays in there
16:02 PiMB damn, not really awake yet.
16:02 PiMB you're right sorry mate.
16:02 PiMB then it's obvious, you can't throw an array into urlencode
16:03 iaj hm
16:03 iaj any way to fix it :S?
16:03 PiMB was the extdbfields added later?
16:04 iaj huh.. what you mean by added later
16:04 iaj I dont know if that is really needed tho :D
16:05 iaj customerID, Liste[1], Vorname, Nachname, Email are crucial
16:05 iaj but Liste[1] is an array as well :(
16:05 iaj s/\[1\]//
16:06 PiMB I only see that the data is later posted to the addabo.php via a curloption
16:06 PiMB and it's impossible to send an array along which will work 100%
16:06 PiMB so you need to implode the url into usuable values.
16:06 PiMB that's the urlencode part for.
16:07 PiMB so if you need these value's to be send you need to make those array's into strings as well..
16:08 PiMB or you might give the is_string function a try in a if (){ around the url encode
16:08 PiMB if( is_string( $s_name ) && is_string( $s_value ) )
16:08 PiMB then only the actual strings are added to a_postSets
16:08 PiMB but i'm not sure if the other data is needed.
16:09 PiMB don't know the addabo functions
16:09 PiMB when did he build this?
16:09 iaj hmm
16:09 iaj 4 weeks ago I think
16:10 iaj but I never came to test it at that time .. and now hes gone :D
16:10 PiMB he's gone?
16:10 PiMB whereto?
16:10 iaj at least hes been off for some days
16:10 iaj dunno brussel agian or sth like that I'd say :D
16:10 PiMB ah, no mate.
16:10 PiMB he changed jobs.
16:11 iaj hmm PiMB I really am not into php'ing.. i could just comment out the extdbfields
16:11 iaj and add liste as Liste[1] =>
16:11 PiMB you could try that
16:11 iaj or wont that work?
16:11 iaj "Liste[1]" i Mean
16:11 PiMB only one way to find out
16:11 PiMB :)
16:12 iaj btw how did you teach yourself into stuff like that/
16:13 PiMB asking around, learning from other people's stuff and actually talking to Prot0
16:14 PiMB he was a colleague up to couple of weeks ago
16:14 PiMB so have good people around that can teach you
16:14 iaj heh.. yeah :D
16:15 PiMB kinda like Nike says.
16:15 PiMB just do it.
16:15 PiMB ask yourself the question. how many people will you kill if your php script outputs errors?
16:15 iaj all :(
16:15 iaj there will be no tomorrow
16:15 iaj if it fails :(
16:15 PiMB probably none, if the answer is more, you might want to change jobs
16:16 iaj :-) ye was just kidding
16:16 iaj am trying now
16:17 iaj hmm I didnt get any errors
16:18 PiMB :)
16:18 PiMB good start
16:18 PiMB was the account added?
16:18 iaj but the nuffing popped up from the newsletterabo page
16:21 PiMB so, no good?
16:22 PiMB hm, then it probably needs the value's after all.
16:23 PiMB you could try it with the changing of the s_name into Liste[1] indeed
16:25 iaj YAY
16:26 iaj I got a subscription :)
16:26 PiMB :)
16:26 iaj if powermail works as well now
16:26 iaj would be awesome :)
16:29 PiMB sure it works
16:32 iaj yaaaeh!!! PiMB !! thakns !:)
16:32 iaj the extdbfields were unnecessary it seems
16:32 iaj i dunno how many hours that took me -_-
16:42 Frantic guys, is anyone running TYPO3 4.2 or 4.1 on PHP 5.3?
16:43 Frantic from what I read on the download page 5.3 is not supported with typo3 less than 4.3, but when I look at http://wiki.typo3.org/index.php/TYPO3_4.2.6 it mentions a fix for PHP 5.3
16:43 charly21 Hi, last week maholzt|WORK helped out with my CASE user_function problem. I have a funny resolution now. If i send the resolution of my functions to a marker, it works. if i don't send it to a marker, it doesn't work
16:44 charly21 the link to the function etc.
16:44 charly21 http://www.typo3.net/forum/list/list_post//97629/?page=1#pid355067
16:46 charly21 i have to: page.10.marks.TEST < temp.text2, otherwise the cookie will not be read out and set
16:57 milpoer_ hi,, which i the "best" way to send newsletter in multilple languages ? right now i have a sysfolder for each language, that contains the registered users for the specific language newsletter..
16:58 milpoer_ is the simpliest to create a page for each language ?
17:37 charly21 we created groups for each language
17:37 charly21 while subscribing to a newsletter we differ between the languages and save the user in different groups.
17:38 charly21 In Typo3 backend you can create the newsletters and send them to different groups
17:38 uriahheep kraftb: hey, do you know much about db prefilling of powermail forms?
17:39 uriahheep kraftb: i'm trying to prefill radio buttons / checkboxes / select menus with strings from db, but it doesn't seem to be working, although there seems to be support for it in powermail's code at first glance... does this support only work with numeric values though?
18:28 milpoer any mm_forum users ?? how use non-english lang for the plugin ??
21:07 marcuslind Hi guys.
21:08 miousse hi
21:08 marcuslind I'm having some performance problems with a TYPO3 site I'm running. I've talked to the hosting-company and they keep telling me that they dont have any problems at their part.
21:09 marcuslind It's TYPO3 4.3.1, I dont have any special extensions installed.
21:09 marcuslind I dont have IM, I'm trying to use GD instead. Could this cause performance problems?
21:10 miousse not supposed to
21:12 marcuslind How can I check if it's the hosting that's the problem?
21:30 marcuslind exit
21:33 nd___ arghs, why are my properties not persisted!? They are in tca, they are persisted just fine if added in backend. Ideas?
21:38 nd___ nevermind... crap
22:18 nd___ Ok, some errors later it's still not solved.
22:18 nd___ I can save and change the properties in backend, but cannot output them. Only NULL comes out (with the correct count of objects in my repository though)
22:19 nd___ When I use setValue($value) on my object and getValue() right after it, I get my value just fine. The problem has to be close to the repository, I assume
22:20 nd___ Using a findAll() and remove() to delete objects (without properties) works fine though... so I wonder, what else could that be?

Technologies


R. van Twisk 2004-2010 R. van Twisk / Avenida Diego de Almagro No: 22-47 y Juan Severino / Quito Ecuador
callto://r.vanTwisk | Support: +1 (803) 4263350

© 2012 R. van Twisk. All Rights Reserved.