[0:4] CIA-36 tikiwiki: 03chealer * r39884 10/trunk/ (lib/smarty_tiki/block.textarea.php templates/wiki_edit.tpl): [FIX] "Only variables should be passed by reference" [0:11] CIA-36 tikiwiki: 03chealer * r39885 10/trunk/lib/init/initlib.php: [REF] Clarify comment on @ [0:49] benoitg joined #tikiwiki [1:20] CIA-36 tikiwiki: 03marclaporte * r39886 10/trunk/lib/ (setup/prefs.php wiki-plugins/wikiplugin_wysiwyg.php): [MOD] PluginWYSIWYG: adding a toolbar icon (any ideas for a nicer one?), and putting it by default in the toolbar (if plugin has been activated) [2:19] Tiki|bot Recent Bug: Tracker item: #4166 - - Review all HTML5 tags and consider support for missing tags like ABBR and ACRONYM - http://dev.tiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=4166 [3:2] goj_killedByISP joined #tikiwiki [3:21] CIA-36 tikiwiki: 03chealer * r39887 10/trunk/lib/smarty_tiki/function.button.php: [FIX] "Only variables should be passed by reference" [4:44] Jyhem joined #tikiwiki [8:48] redflo joined #tikiwiki [9:23] Beestje joined #tikiwiki [9:36] Beestje Hello all! Long time no see :-) [9:37] Beestje Q : I have a v 3.3 and the trackers are using mirrored tables. Upgrading to v7 works, except for the trackers. [9:39] Beestje How do I export the trackers completely out of 3.3 and import them into v7 or v8.3 ? [9:40] Beestje I think luciash answered this Q roughly in July but I had a lot of other projects and I forgot :-( [9:49] Beestje I know that the feature is removed but I read somewhere that there will be a data migration script. [9:58] Beestje I'm thinking of setting up another 3.3 test environment without mirrored trackers and then importing the trackers. [10:18] CIA-36 tikiwiki: 03sept_7 * r39888 10/third_party/smarty31/ (22 files in 4 dirs): [UPDATE] Update to Smarty 3.1.8 [10:24] kaory joined #tikiwiki [10:24] kaory !help [10:24] Tiki|bot You can get a more complete list of commands that work with this bot at http://tiki.org/TikiBot . [10:29] CIA-36 tikiwiki: 03sept_7 * r39889 10/third_party/htmlpurifier/ (44 files in 15 dirs): [UPDATE] Update to HTMLPurifier 4.4.0 [12:3] Beestje I set up a 3.3 test environment (copy of the production one) removed all the trackers and disabled the mirrored trackers [12:5] Beestje I'm able to import the tracker itself and the fields, but importing the csv is where it seems to go wrong [12:15] xavi joined #tikiwiki [13:27] Beestje anyone awake that can help me migrating trackers from mirrored tables to a normal tracker? :-) [13:28] CIA-36 tikiwiki: 03xavidp * r39890 10/trunk/lib/wiki-plugins/wikiplugin_trackerlist.php: [FIX]Show last created AND modif items in the period, not just the last created [13:29] Beestje after importing, the tracker shows that it has 1016 items but on opening them it has 0 items found. [13:31] Beestje tiki_tracker_items contains 1016 records, but they're not in tiki_tracker_item_fields [13:31] Beestje how can I find out where it's going wrong? [13:31] CIA-36 tikiwiki: 03xavidp * r39891 10/branches/8.x/lib/wiki-plugins/wikiplugin_trackerlist.php: [bp/r39890][FIX]Show last created AND modif items in the period, not just the last created [13:31] CIA-36 tikiwiki: 03xavidp * r39892 10/branches/proposals/6.x/lib/wiki-plugins/wikiplugin_trackerlist.php: [bp/r39890][FIX]Show last created AND modif items in the period, not just the last created [14:3] ricks99 joined #tikiwiki [14:5] Bernard1 joined #tikiwiki [14:8] sandroandrade joined #tikiwiki [14:28] rodrigoprimo joined #tikiwiki [14:39] xavi Beestje: hi. check the mysql tables in the target tiki [14:40] xavi to se whether the items are uploaded/imported or not [14:40] xavi play in a local tiki to add a couple of items, then export them (csv), then re-import them (csv) [14:41] xavi and then, you can use the same format to re-shape your items (from a former mirror tracker), so that they fit with the tracker item syntax in csv to be imported [14:41] xavi my 2 cents (HTH) [14:42] xavi and yes, you need to define (kind of clone by hand) the tracker fields in the target tiki, compared to the mirror tracker in the source tiki [14:42] xavi for trackers to be imported successully in a later stage, etc. [14:45] Bernard1 joined #tikiwiki [14:49] root1 joined #tikiwiki [14:49] Beestje Thanks xavi! [14:50] root1 exit [14:52] Beestje seemed to get it working for a small tracker. [14:53] Beestje Where can i reset the field id's and item id's autonumbering? so that once i know how to import properly i don't have numberings starting at 3500 and such? [14:54] Beestje it's not taking the date properly though, sets everything at 12-12-1999 00:00 [14:59] zac2944 joined #tikiwiki [15:4] xavi Beestje: play with a new tracker on a new tiki, and learn the basics for csv export and csv import [15:4] xavi you'll get fieldId numbers, itemId, date syntax, etc [15:5] xavi at csv export, and csv import, afaik [15:6] radek82 joined #tikiwiki [15:24] Beestje thanks again xavi, i'm playing around now. it exports the date and time properly [15:24] xavi np [15:24] Beestje after import in list mode, it shows an incorrect date. when editing an item, it shows the correct date. [15:25] rodrigoprimo polom xavi [15:25] xavi hi rodrigoprimo [15:26] rodrigoprimo I'm testing the upgrade of a tiki 5.x to 8.x and I'm having some problems with a custom template and Smarty 3 [15:26] rodrigoprimo is there a script to convert an Smarty 2 template files to Smarty 3? [15:26] xavi no idea [15:27] rodrigoprimo xavi: thanks [15:30] xavi rodrigoprimo: can you open skype? [15:31] rodrigoprimo xavi: yes, I'm online on skype [15:31] xavi mmm, ok, for some reason, I can't see you as online there [15:31] xavi anyway, np [15:32] xavi whenever we are both online for skype, you'll see that I've added you to a private chat [15:34] rodrigoprimo ok [15:35] rodrigoprimo I'm going out for lunch. I will be back soon. [15:57] jonnyb joined #tikiwiki [16:2] xavi polom jonnyb [16:2] jonnyb hi xavi [16:3] ricks99 left #tikiwiki [16:6] jonnyb xavi: did your mail thing work? [16:7] xavi not sure (it's triggered by a cron script every few hours) and when some item status changed a day earlier, etc [16:7] xavi :-) [16:7] xavi I'll know tomorrow evening probably :-) [16:7] jonnyb ah right, one of those (how exciting!) [16:8] xavi :-) [16:8] xavi I made the change to setText in demo.t.o/trunk and in my local production proposals/6x here at work [16:8] xavi so next emails I receive from any of them, I'll see it :-) [16:9] xavi I will not commit anything else until I've tested that anything is better than before [16:9] jonnyb i had an odd tracker notification thing yesterday - i restarted my machine (having killed both browser and apache experimenting with plugin wysiwyg!) and afterwards i got about 100 "tracker item deleted" emails, which i eventually realised were from when we were experimenting with the barter profile and i ended up with about 50 offers and wants duplicated [16:9] xavi I was re-wrtiting to that guy with the drag&drop lib for structures, etc. (pizzaware-licese) [16:10] xavi he he... self-spamming happens every now and then :-) [16:10] xavi with tiki also [16:10] jonnyb the problem was they all had the date bit set to "16:52" etc, because it uses that short date thing where if it's "today" it only prints the date (even though they were delivered some days later) [16:11] jonnyb do you agree we should change them all to use the long date? or at least always put the day in as well? [16:11] jonnyb sadly it applies to most of the mail tpls :( [16:14] Beestje @xavi : thanks once more, figured it out for the most part [16:15] Beestje date was exported in the system date format : 24-12-2010, for import it needs 24/12/2010 [16:15] Beestje still not taking the time properly, just makes it 00:00 [16:15] xavi Beestje: please, fix if you know how! [16:16] xavi Beestje: or request a coder to fix it for you, if possible [16:16] xavi jonnyb: +1 (it's a pity when emails say: "today", or just the time but not the day, etc (like in "Daily reports" emails) [16:16] jonnyb thought so [16:17] xavi jonnyb: are you using google+ ? [16:17] jonnyb only to block [16:17] xavi I've just emailed the developer of that drag & drop thingy for structures... to his google+ account [16:17] jonnyb (people) [16:17] jonnyb :) [16:17] xavi :-D [16:18] jonnyb ok, super - no response from the contact form? (i guess) [16:18] xavi yes, no response :-( [16:18] xavi that's why I'm trying g+ [16:19] xavi see pm [16:27] xavi btw, jonnyb, any news about Simile Timeline? [16:27] * xavi looking forward to use in 9x in a few months for the task tracker that we have at work [16:28] jonnyb no sorry - no re-looked for a while [16:28] jonnyb the tracker one does work though (if you refresh the page ;) ) [16:31] xavi :-) [16:33] xavi that's the only thing I know about features using it: [16:33] xavi http://doc.tiki.org/PluginTrackerTimeline&highlight=simile [16:34] xavi jonnyb: is it ready for plugintrackerfilter, for instance, already? [16:34] xavi in trunk [16:34] * xavi didn't look at the code nor tested, just asking about your knowledge of the state of the art [16:34] * xavi willing to test it in the following weeks [16:35] jonnyb no, it's and alternative to trackerlist or filter [16:35] jonnyb that's why i started the other one to be more flexible (but haven't had time to get back to it) [16:36] Beestje found the culprit in trackerlib.php. Exported date time field contains e.g. : 18/12/2010 17:21 [16:36] jonnyb [off] here's my demo page - http://alcns.net/TikiFest+Timeline [16:37] Beestje function to import only gets the $d $m and $y value [16:37] Beestje here : list($d, $m, $y) = split('/', $data[$i]); [16:37] jonnyb Beestje: isn't there a choice of date format on tracker export? [16:37] xavi go Beestje, go! (& fix it if you know how) [16:37] jonnyb (that default to the wrong one of course) [16:38] Beestje don't know crap about php unfortunately so I'll need some help :-) [16:38] Beestje how do I modify that list function so it gets the HH:MM values as well? [16:38] * jonnyb must rebuild that fest timeline on tiki.org one day... [16:38] jonnyb Beestje: why not just export it with the right format? [16:39] Beestje it does export now in the right format, it's the import function that just takes the date and ignores the time [16:39] jonnyb trackerlib is not a good place to start learning php ;) [16:39] Beestje first part of function : list($d, $m, $y) = split('/', $data[$i]); [16:39] jonnyb mind you, you wouldn't be the first! [16:39] Beestje then : $data[$i] = $tikilib->make_time(0, 0, 0, $m, $d, $y); [16:39] * xavi willing to fix another minor but long-standing-issue with PluginTrackerFilter [16:40] Beestje so it sets the time to 0 to import it in the new tracker and disregards the time that 's in the exported csv [16:40] jonnyb best thing would be to use the strtotime() fn (i think it's called) [16:43] xavi to avoid disturbing jonnyb, anyone else that knows how to add html anchor so that when you hit at "filter", the user is sent to that page fo the page where the trackerfilter results are? sylvieg ? Jyhem? rodrigoprimo? [16:43] xavi regarding PluginTrackerFilter in 6x, 8x and trunk ^ [16:43] * xavi ignores 7x, of course, in purpose [16:44] xavi same issue in all of them, so probably, same fix will apply to all of them [16:45] xavi probably aroun line 114 in trunk/templates/wikiplugin_trackerfilter.tpl , where it says: [16:45] xavi [16:46] CIA-36 tikiwiki: 03jonnybradley * r39893 10/trunk/lib/wiki-plugins/wikiplugin_wysiwyg.php: [FIX] wysiwyg plugin: Close other wysiwyg editors when opening a new one (lost changes alert still to do) [16:46] xavi somewhere around that line, some html name and/or anchor needs to be added I guess, somehow [16:50] * Jyhem does not understand the issue at all :-( [16:51] jonnyb xavi: you need to add an anchor at the place you want at the top, and then make the form action have #anchorname at the end [16:51] xavi Jyhem, hold on a few scs... I'm preparing a place in demo.t.o/trunk so that it can be reproduced easily :-) [16:51] * Jyhem might need help setting up "Daily reports" emails [16:52] xavi Jyhem: see this: http://demo.tiki.org/trunk/Wants#Search [16:52] xavi or jonnyb to understand the issue [16:54] Jyhem ok, I'm in http://demo.tiki.org/trunk/Wants#Search [16:54] jonnyb xavi: looks like line 12 of wikiplugin_trackerfilter.tpl - add #Search to the end of the action url string (might work) [16:55] jonnyb except that wouldn't work - you need a unique anchor for each plugin [16:55] * Jyhem does not understand the issue yet [16:56] Jyhem xavi: is the point that you wish to click on "filter" and then see the #Search part again ? [16:56] Jyhem instead of getting on top ? [16:56] Narkster joined #tikiwiki [17:5] xavi The question (in short) would be: how can a user achieve than when he clicks at filter , he is sent to the bottom of the page? [17:6] xavi sorry for the dealy in my reply (I've been busy out of computer a few minutes) [17:6] xavi Jyhem: the point is that when you click at filter, you are sent to the table of results at the bottom [17:6] xavi right now you are sent back to the top of the page [17:13] Jyhem Yes, I kinda figured that out in the meantime [17:13] xavi jonnyb, thanks, that part is needed, I agree. But not enough.... [17:14] xavi I guess that then a aname is needed somewhere else... [17:14] jonnyb yes, at the start of the form [17:14] xavi he he, still looking for that start fo the table in the tpl... [17:15] xavi line 138 says: