Search the website and IRC logs

Search is currently not available.

#TYPO3 IRC log from : Thursday 15 May 2008

Year: 2007 2008 2009 2010 2011 2012
Month: Jan Feb Mar Apr May Jun Jul Aug 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 31
02:20 pond anyone here offer German translation services?
02:20 pond English -> German
02:22 pond if so, email me -> info at fyreengine. dot com
06:54 Awillys good morning folks
07:15 d|g hi all =)
07:55 guzzi good morning
08:07 FloLeBlanc hi all
08:09 FloLeBlanc what a great day... sr_feuser_register has a security hole, they recommend an upgrade to 2.5.10 BUT in the repository it states that 2.5.8 ist the last version that supports PHP4.X... so what to do now if you have PHP4? lay down and cry? there is no manual that would give info how to manually fix the problem *grml*
08:29 FloLeBlanc anyone who tested sr_feuser_register 2.5.10 on a PHP4 server or does know if there is a changelog out there WHAT was fixed so I can manually add the lines?
08:33 Phlogi_ FloLeBlanc: maybe you could just diff the files
08:35 FloLeBlanc pholgi: thx but I'm afraid this will not work. I use a heavily modded version of 2.5.1, because the hooks weren't in the right places for me and I had to replace some actions (confirmation of the registration per SMS instead of email, etc.)
08:36 smeringe g'day!
08:36 FloLeBlanc awful day, hi smeringe :)
08:36 smeringe FloLeBlanc: awful? :( doesn't sound to good?
08:37 FloLeBlanc sr_feuser_register is XSS vulnerable and I use version 2.5.1 with heavy mods (the hooks didn't provide what I need)
08:37 FloLeBlanc to make things worse since 2.5.8 only PHP 5 is supported, and I have a server with PHP4 - the fixes are provided for version 2.5.10
08:38 FloLeBlanc I neither can find any documentation on how to fix the vulnerabilities manually
08:38 smeringe oooh :(
08:38 smeringe sucks
08:40 FloLeBlanc I could DOWNgrade to 2.2.8 but that would be even more stupid
08:48 s-andersen I just recieved the security bulletin about sr_feuser_register, but now that I updated from 2.5.8 to 2.5.10, the flexforms disappeared. So now instead of showing the form, it just shows a link. I have tried setting CODE to CREATE, but that didn't do anything. Can someone help me?
08:51 FloLeBlanc s-andersen: I'm facing the same fear of updating, according to the extension rep sr_feuser_register 2.5.10 only works with PHP5 and I have PHP4 on the server argl
08:52 s-andersen FloLeBlanc: Luckily I have PHP5, but I think that there might be issues with 4.1.X, my guess about the missing forms is that they might be made to work with 4.2.X
08:53 FloLeBlanc this would even worsen my situation. do you know of any logs that state how to fix the XSS vulnerability manually?
08:54 s-andersen Nope, unfortunately I don't. I have to go to school in a short time, leaving 3 of my websites malfunctioning... and I thought it was safe to do updates when it was from 2.5.X to 2.5.Y...
08:55 FloLeBlanc s-andersen: I never trust that :)
08:55 s-andersen From now on, I don't too :)
09:36 FloLeBlanc ries are you around perhaps?
10:30 soari hi
10:33 soari does anyone know how i can give the wrapped <li> tag in TMENU_LAYES an additional class attribute?
10:35 JosephJohnDubai HI
10:36 JosephJohnDubai Any typo3 user from UAE
10:37 null0_ gm
10:38 odie__ gm
10:38 swemark mornin
10:39 JosephJohnDubai gm
11:21 soari does anyone know how to wrap the whole content of a TMENU item with a <li class="id_{field:uid}">?
11:22 tPl0ch hi, how can I change the output of the anchors, like <a id="c19"></a> to <a id="c19" name="c19"></a>
11:25 xN33D a question about translating.. i did update "translating handling" to my language (dutch), now my indexed search is that language but tt_news is not translated.. how can i fix this?
11:26 null0_ soari: just like you pasted
11:26 null0_ wrap = ^
11:28 soari it doesn't work that way
11:28 soari you mean dataWrap
11:28 soari but then the <li> tag is inside the <a> tag
11:28 null0_ yes
11:29 null0_ how about linkwrap instead of wrap
11:29 null0_ i can't take a look at my site, cause i am updateding right now :(
11:32 soari my TS is: NO {
11:33 null0_ http://phpfi.com
11:33 soari stdWrap.dataWrap = <li class="id_{field:uid}"> | </li>
11:34 soari how do i post there?
11:35 null0_ paste into source, click save, and copy&paste the browser url here
11:35 soari ok thx
11:41 soari @null0_: http://phpfi.com/317031
11:41 soari that is a part of my TS
11:41 null0_ ok.
11:42 soari the <li> tag is inside the <a> tag, should be outside.. ;)
11:43 soari any ideas?
11:45 null0_ NO { stdWrap.wrap = <li class="id_{field:uid}"> | </li>
11:45 null0_ stdWrap.insertData = 1
11:45 null0_ }
11:46 null0_ should work
11:49 soari it's still inside.
11:52 soari maybe with prepend? or outerWrap?
11:54 tomaz Hello, I have a problem with my Typo3, GDLib and wt_gallery extension. I've created one and got an error message about undefined function ImageCreateFromJpeg(), I fixed this then by installing libgd and recompiling php, now I get a simillar message saying undefined function ImageJPEG(), OS: Linux 2.6.24.2 custom kernel Slack 12 distro.
11:56 soari @null0_: i got it. it works with "allStdWrap.wrap = ...
11:56 null0_ ah. fine
11:58 m4rtijn hi all
12:02 soari hi m4rtijn
12:22 ren0r hi everyone. i get the following error in my lzgallery: function.mb-split]: mbregex compile err: premature end of char-class in
12:23 ren0r is there a known solution for that? when i google for that string, i just get pages listed, which put the same error out
12:29 xN33D is indexed search not working on ie6 ?
12:40 soari does anyone know how i can set a static id for the <div> tag in TMENU_LAYERS?
12:45 soari sry, i found out: with layer_menu_id
12:59 soari is it possible to delete the anchor and item <div>s created by tmenu_layers?
13:11 soari how can i hide all submenues when i reload my site?
13:41 FloLeBlanc Voidus thy humble servant pleads a bidding :)
13:51 mydoubt hi techies
13:52 mydoubt is anybosy worked with contact form
13:52 mydoubt i want to make a form using typo3 backend
13:52 mydoubt which send mail to the admin
13:53 mydoubt i created the contact form through the admin
13:54 mydoubt but the problem is the form is not aligned
13:54 mydoubt how to create the project
13:54 ries FloLeBlanc: at that time I am normally sleeping :)
13:54 whnsnn what is better to use
13:54 whnsnn $GLOBALS['TSFE']->tmpl->setup['config.']['baseURL']
13:54 whnsnn or
13:54 whnsnn $GLOBALS['TSFE']->baseURL
13:54 whnsnn and why?
13:54 FloLeBlanc ries: oh sorry did I wake you? :)
13:55 ries FloLeBlanc: I normally turn the sound of my computer off ;)
13:55 FloLeBlanc hmm
13:56 FloLeBlanc ries: I wanted to ask you about the hooks you inserted in sr_feuser_register but it seems the quality of the ext has been greatly improved
13:56 whnsnn mydoubt: http://www.typo3.net/forum/list/list_post//41646/?page=2
13:56 FloLeBlanc (seems to be much "cleaner" now)
13:56 ries FloLeBlanc: that was a looooong time ago when I added these hooks :)
13:57 FloLeBlanc could you please aid me with a hook question. what do I have to do that the hooks in http://typo3.org/extensions/repository/view/sr_feuser_register/2.5.10/info/hooks%252Fclass.tx_srfeuserregister_hooksHandler.php/ are actually called
14:01 mydoubt hi whnsnn
14:03 mydoubt whnsnn, can i ask my doubt
14:05 FloLeBlanc ries: I think I found it will have to test that later nvm thx
14:08 soari why do menue layers in TMENU_LAYERS not hide when i give them a specific layer_menu_id?
14:39 mydoubt is anybody know ....where i have to edit to align the contact form created in admin panel --content type- form
15:10 pmk65_ mydoubt: Use CSS
15:10 mydoubt where
15:11 mydoubt p
15:12 pmk65_ mydoubt: There's an example on how to style the mailform here: http://www.pc-erfahrung.de/nebenrubriken/typo3/typo3-mailform-formatieren-anleitung.html
15:13 soari is it possible to format a TMENU_LAYER with CSS?
15:13 s-andersen Has anyone found out how to fix the flexform with sr_feuser_register, after an upgrade to 2.5.10?
15:13 mydoubt thanks
15:13 pmk65_ Also take a look at "The Man in Blue" -> http://www.themaninblue.com/experiment/InForm/ This site is not TYPO3 related, but describes how to format mailforms in general, using CSS.
15:15 pmk65_ soari: Don't use _LAYER menus. The code is really bloated, and hard to style. Use a SuckerFish based dropdown instead. It's much easier to maintain.
15:16 soari ok
15:16 soari i also found the suckerfish menue
15:17 soari hehe, it IS a b**** to style :D
15:18 soari but is it possible to have a suckerfish menu with totally different CSS-styled submenues?
15:18 soari http://typo3.intervation.de/snippets/menues/suckerfish-dropdowns.html
15:18 soari look at this example
15:23 pmk65_ soari: You can style it exactly as you want.
15:25 soari that's good to know
15:25 pmk65_ Here's a couple links to more advanced SF menus.
15:25 pmk65_ http://www.htmldog.com/articles/suckerfish/dropdowns/
15:25 pmk65_ http://www.htmldog.com/articles/suckerfish/shoal/
15:25 pmk65_ http://users.tpg.com.au/j_birch/plugins/superfish/
15:25 soari then i only have to find out "how"..^^
15:25 soari thank you
15:29 pmk65_ If you want some ideas on how you can style your menus using CSS, then check these sites:
15:29 pmk65_ http://www.cssplay.co.uk/menus/index.html
15:29 pmk65_ http://www.alistapart.com/articles/taminglists/
15:30 pmk65_ and also this one: http://css.maxdesign.com.au/index.htm
15:34 soari pmk65_: thats not the problem, as static html it works fine
15:35 soari the problem is to give menuitems the specific class and id-attributes so the they can be css-styled
15:39 pmk65_ soari: if you need different classes on each menuitem, you can use the "subst_elementUid" property of TMENU
15:39 soari when i have an unordered list like <ul id="mainlist"><li>kk</li><li><ul id="sublist">..
15:39 soari ok
15:39 pmk65_ If you set that to TRUE, then you can use the special marker "{elementUid}" to get the UID of the page inserted.
15:40 titii Hi there. Can I somehow to making some SQL DB import from SQL file?
15:40 pmk65_ like this: linkWrap = <div id="menuitem{elementUid}">|</div>
15:43 soari can i also edit the <ul> tags directly or only wrap them with divs?
15:52 mydoubt good night friends
16:11 soari anyone could help me concerning the tmenu structure?
16:11 m4rtijn hi pulp
16:11 pulponair m4rtijn: hey dude
16:11 m4rtijn whatup soari?
16:12 soari http://phpfi.com/317075
16:12 soari i have such a structure
16:12 soari like a few lists on one layer in my pagetree
16:13 swemark typoscript for additional css templates?
16:13 soari how could i give these lists different class and id attributes in the example
16:13 soari to style them differently
16:14 m4rtijn which ones exactly?
16:14 m4rtijn same sub-menu level same class?
16:14 m4rtijn or do you need different classes on one menu-level
16:15 soari for example on TMENU.1 level i have some lists that should be styled differently
16:15 soari so they need different class or id attributes
16:16 m4rtijn try to be more exact :p
16:16 m4rtijn .. different in a logical way?
16:16 m4rtijn like every second item -
16:17 soari k in my page tree the <div id="mainnav"> is on rootlevel
16:18 soari on the next level are lists like in the example from mainsub1 to mainsub5
16:18 soari those also have sublists like mainsub2_2 and so on
16:19 soari these sublists are on the next pagetreelevel
16:20 soari the problem is that each of this lists should be styled differently, even if they are on the same level/layer
16:20 m4rtijn hmm.. one way.. would be making different menus.. with special = folder
16:21 m4rtijn but i guess.. with typoscript u should be able to do some simple calculations
16:22 m4rtijn and maybe u can make an enumeration
16:22 soari what do you mean with "simple calculations"?
16:24 m4rtijn well.. what ure trying to do is just enumerating the sub-levels
16:24 m4rtijn i think
16:25 m4rtijn but.. anyway.. its kind of useless to automate..
16:25 m4rtijn thinking of it
16:25 m4rtijn you have to write the stylesheet anyways
16:25 m4rtijn by hand
16:26 m4rtijn .. so i guess the easiest way of solving your problem is using tmenu.special = folder
16:26 soari and create for each sublist a new HMENU?
16:26 m4rtijn hehe
16:27 m4rtijn well.. its just copy/paste anyways
16:27 m4rtijn but i cant think of anything more efficient :p
16:28 soari what are with the points in list that should show the submenues onmouseover?
16:33 m4rtijn well.. the sub menu would be 2.NO for example.. the sub-sub is 3.NO
16:34 m4rtijn thats where u would wrap
16:43 soari but then again i wrap a whole layer not an item
16:46 m4rtijn yes
16:46 m4rtijn thats no problem
16:46 soari please look at my example
16:46 soari then we have the same base
16:47 soari http://phpfi.com/317075
16:47 m4rtijn wrapping all at once instead of every item by itself.. thats easy
16:48 soari but only the 3. listpoint should show the submenu
16:49 fred^^ hey
16:49 fred^^ im trying to insert the page title to a mapped object through TV
16:49 soari hi
16:49 fred^^ lib.tittel = {page:title}
16:49 fred^^ should this work?
16:50 fred^^ or do i need something else?
16:50 soari field = title
16:52 fred^^ what format do i put it in? not lib.tittel = title
16:52 fred^^ err
16:52 fred^^ lib.tittel.field = title, right?
16:52 m4rtijn yes.. u dont need page:title
16:52 m4rtijn only title
16:52 soari lib.tittel = TEXT lib.tittel.field = title
16:53 m4rtijn yep
16:54 soari @m4rtijn: i think we talk about something completely different
16:54 fred^^ hmm, wierd. cant get it to work yet
16:54 soari can you imagine how my pagetree looks like and how i want to build up my menu? ;)
16:57 m4rtijn soari: ?
16:57 soari @fred: or try: lib.tittel = TEXT lib.tittel.data = page:title
16:58 soari with .1, .2, .3 ... i adress a whole layer of a menu right?
16:59 m4rtijn yes
16:59 soari ok
16:59 fred^^ huzzah
16:59 fred^^ that worked, soari
16:59 fred^^ :)
17:00 soari but i only neet to wrap one link of that layer and give it an id
17:02 s-andersen omg I just spent a lot of time bugtracking sr_feuser_registration since the update to 2.5.10...
17:08 m4rtijn yes soari..
17:10 m4rtijn if u only want to wrap one link
17:10 m4rtijn use optionsplit
17:11 m4rtijn but . u only want to wrap that link which has a submenu
17:11 m4rtijn for that u can use IFSUB
17:12 soari yes
17:12 m4rtijn yes..
17:12 m4rtijn IFSUB :p
17:13 soari can you shortly give an example how i would wrap only the 3rd out of 5 elements with optionsplit?
17:13 soari thx
17:13 soari i will try that
17:13 m4rtijn erm.. smth like *|*|bla||*| hehe
17:14 m4rtijn just check the tsref for the exact syntax.. sry im not sure
17:14 m4rtijn but if u only want to wrap the ITEM which has a submenu differently.. u can use IFSUB..
17:14 m4rtijn hardcoding the 3rd element might be a bad idea because the order moght change later
17:14 m4rtijn might*
17:16 soari can i also change the onemouseover property of the <a> tags?
17:16 m4rtijn .. sure. but with CSS i guess
17:16 m4rtijn r u using suckerfish?
17:16 soari jep i will try
17:16 soari now im working with tmenu_layers
17:17 m4rtijn thats the line which has : hover :
17:17 soari but it seems that this won't work
17:17 m4rtijn should.. RO
17:17 soari but that doesn't work with JS?
17:19 m4rtijn I'd recommend u use suckerfish as well though..
17:25 FloLeBlanc oh man... sr_feuser_register is a mess :(
17:34 s-andersen FloLeBlanc:
17:34 s-andersen I solved my problems
17:34 m4rtijn whats up flo?
17:43 FloLeBlanc m4rtijn: there's an XSS flaw in the "old" versions of sr_feuser_register, I heavily modified my version, nevertheless set up a testserver and tried the "current" version 2.5.10. This version however just lists english as default language, ignores CODE setting of edit and create... etc. furthermore I don't know WHAT caused the XSS vulnerability so I could just fix my "old" version manually
17:45 s-andersen FloLeBlanc: I have no problem with the language, the ignoring of the code setting is solved here: http://bugs.typo3.org/view.php?id=8416
17:46 FloLeBlanc thank you s-andersen
17:46 s-andersen FloLeBlanc: I'm glad if it helps you, I spent many hours solving it :)
17:47 FloLeBlanc s-andersen: you don't happen to know where a log can be found what security issues were fixed and in which classes?
17:48 s-andersen Nope, the only class that I know of is _data.php on line 129 as mentioned on the bugtracker. But actually I found a lot of differences between 2.5.9 and 2.5.10
17:49 FloLeBlanc *sigh* thank you
17:49 FloLeBlanc can you point me to the issue number of that entry plz s-andersen?
17:50 FloLeBlanc I can't find anything regarding the security issues on http://bugs.typo3.org/view_all_bug_page.php *scratches head*
17:51 s-andersen http://bugs.typo3.org/view.php?id=8416
17:51 FloLeBlanc s-andersen: that's the display mode bug, I meant the security issue :)
17:52 FloLeBlanc _data.php line 129... you mentioned above
17:52 FloLeBlanc can't seem to find that
17:52 s-andersen FloLeBlanc: That's mentioned in the display_mode bug. It's because there are made som htmlspecialchars changes there
17:53 FloLeBlanc hmm thank you
17:57 kv0s Hi!
17:57 kv0s Just made an update of ameos_formidable ... now my page www.freizeittaucher.org is only a blank page. Any ideas how i can change back? ;-)
18:06 FloLeBlanc hmm s-andersen: how do you set which language is used with your sr_feuser_register?
18:06 FloLeBlanc normally it worked when I just inserted the plugin and set it to "Default (German)"
18:08 FloLeBlanc s-andersen: sigh.. still a lot of open major issues in the tracker too
18:10 FloLeBlanc they changed one security issue for the other too, http://bugs.typo3.org/view.php?id=7932 :(
18:18 Buck $GLOBALS['TSFE']->getStorageSiterootPids(); gives me a syntax error, unexpected T_VARIABLE, expecting T_FUNCTION typo3 -- did I fail to initialize something in my ext?
18:19 pond looking for English -> German translation services...
18:26 s-andersen FloLeBlanc: I just use config.language and config.locale_all
19:59 |Awillys| hi there
20:00 Awillys how do i get the name of the logged in user to be displayed using some TS?
20:00 Denyerec I know this one!!
20:00 Awillys ^^ how??
20:01 Denyerec temp.40.20 = USER_INT
20:01 Denyerec temp.40.20.userFunc = user_getusername
20:01 Denyerec includeLibs.getUsername = fileadmin/template/getUsername.php
20:01 Denyerec Hmm
20:01 Denyerec Let me get the sauce of that one
20:02 Denyerec http://phpfi.com/317134
20:03 Awillys Denyerec: let me try this :)
20:06 Denyerec it worked for me :)
20:11 Awillys Denyerec: nothing for me so far ^^
20:11 Denyerec I am using um
20:12 Denyerec macmade loginbox
20:12 Denyerec perhaps that has different data available to it ?
20:14 Awillys oh
20:14 Awillys do i need macmade thing installed?
20:15 Awillys Denyerec: the getUsername.php is the php you paste right? nothing more
20:15 Denyerec that's all that's in mine
20:15 Denyerec then the call to it I pasted earlier
20:19 Alex_Manolache do any of you know any book or site were the tutorials about templates are explained better and in more detail? i have problems with continuing a site in typo3 and i don't understand some things
20:19 FoBunko yo denyerec :D
20:20 Denyerec Alex_Manolache I'm allegedly writing one.
20:20 Denyerec FoBunko ?
20:20 Alex_Manolache and how much have u written? :)
20:21 FoBunko Q: I want a dinamic menu. I'm trying: special=directory special.value.field=pid [treeLevel=2] special.value.field=uid [GLOBAL] but it doesn't seem to work...
20:22 Alex_Manolache the documentation on www.typo3.org doesn't help does it?
20:32 FloLeBlanc re
20:32 FloLeBlanc ups sorry
20:45 Buck is there any documentation on getStorageSiterootPids or related functions anywhere? I can't find anything, not even google is helping out
20:54 nd__ Anyone here involved in realurl development?
21:06 nd__ Grmpf... support via ML which they don't provide and nobody to reach
21:22 Awillys Denyerec: still around?
21:32 Buck $this->conf = $conf; <--- how come some extensions get access to $this->conf and others do not?
21:41 maholtz @Buck: $conf is usally the second parameter in the main method of frontend plugins
21:41 nd___ Buck: Every ext should have access. main() get's $conf as parameter by default (kickstarter).
21:47 nd___ Is there a way to tell typo3 to gzip *.js and *.css?
21:50 Buck I think that's an apache config
21:50 Buck maholtz: you're right.. it seems my $conf isn't holding ['storagePid'] whereas others are, and I'm not sure why
21:50 nd___ Ok, that's the way I knew. I hoped for a way to let typo3 do it ;)
21:54 maholtz @Buck: you defined it in typoscript?
21:54 maholtz plugin.tx_yourextension.storagePid = 100
21:57 maholtz im leaving for some minutes
22:00 nd___ Buck: or do you mean page.storagePid?
22:05 maholtz re
22:31 nd___ I wonder, is there a method to insert a row into my custom db_table of my extension without worrying about all the t3-specific fields which get added by t3?
22:37 mac3 nd___: check this page - http://typo3.org/documentation/document-library/core-documentation/doc_core_cgl/4.1.0/view/1/4/
22:46 Denyerec Awillys - did you get it working?
23:01 mac3 nd___: check this page - http://typo3.org/documentation/document-library/core-documentation/doc_core_cgl/4.1.0/view/1/4/
23:03 nd____ mac3: So exec_INSERTquery takes care of these fields?
23:04 nd____ (Or could they be left blank as they're not needed except if rows are managed in the BE?)
23:04 mac3 if you dont add them in the array
23:04 mac3 they wont be added
23:06 nd____ And what does the backend say to theses rows then?
23:29 maholtz @nd: there is no problem in the backend
23:30 maholtz the backend will handle them correct, you have to check in your extension localisation or workspace features
23:31 nd____ So I will try it that way tomorrow. Thanks alot guys
23:31 maholtz there is a function $this->cObj->enableField('yourtable') which creates an sql where
23:32 maholtz starting with " AND .." where the deleted, hidden, start and stop fields are used
23:32 maholtz so you do not have to add that yourself
23:33 nd____ great
23:37 omor hi
23:40 dokma hi guys
23:40 dokma just came to throw a quick hello
23:57 maholtz hi dokma:)
23:57 maholtz or evan - for me - good night
23:58 dokma good night :)

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.