[00:41] *** Caarrie is now known as Caarrie|sleeping [01:43] *** TNRR2012 has joined #tikiwiki [01:50] *** goj|ghost has joined #tikiwiki [01:54] *** goj has quit IRC (Ping timeout: 276 seconds) [01:54] *** goj|ghost is now known as goj [01:55] tiki 7 new install: wordpress is my portal. i link to all my other sites including tiki from it. is there a way that once i am logged into wordpress to be logged into tiki? perhaps someone knows a post i can read on this? thanx [02:03] *** rodrigo_sampaio1 has quit IRC (Ping timeout: 258 seconds) [02:35] hmnn thanx i guess [02:35] *** TNRR2012 has quit IRC (Quit: Leaving) [03:03] *** TNRR2012 has joined #tikiwiki [03:06] tiki7: hoping that someone might be on that knows if it is possible to use wordpress to authenticate my login into tiki. what i mean is my wordpress is at mysite.com and the tiki at mysite.com/tiki i want to sign into wordpress and be able to click my link to tiki and be signed in. thank you [03:40] could someone simply tell me where to look within the tiki site for information similar to this? thanx [04:08] *** nkoth has quit IRC (Quit: nkoth) [04:08] *** nkoth has joined #tikiwiki [04:08] *** nkoth has quit IRC (Client Quit) [04:12] *** TNRR2012 has quit IRC (Quit: Leaving) [05:01] *** Bernard1 has joined #tikiwiki [06:30] *** chealer has quit IRC (Remote host closed the connection) [06:32] *** Merbster has joined #tikiwiki [06:32] Goodmorning. [06:33] We are haveing some trouble with trackers in TikiWiki 6.3 [06:33] it takes forever to save one, and the server returns Internal Server Error 500 [06:35] Yet the tracker is actually saved in the database. [07:09] What is weird; it's not even consistent. [07:09] Only _some_ of the trackers are affected [07:36] *** kstingel has joined #tikiwiki [07:36] Can anyone assist me with configuring my first Tracker? [07:38] the first field should be automatically filled with the current username, but upon creation of the Tracker, I have a drop-down user select list instead [07:39] kstingel, if you can activate tikiparsing of that field [07:39] you could use the wiki argument {user} [07:40] The Tracker's purpose is to collect First and Last names from new Users (and other data directly connected to the User) [07:40] Merbster: thanks, how do I activate tikiparsing on the field? [07:41] kstingel, I said if you can... I am not that much into the tracker functionality and I'm at work so I can't really test it out atm. [07:41] But if you google on the tikiwiki site [07:41] you can find alot of info about Wiki argument variables and wikiparsing [07:42] I'm just getting used to tiki-speak, I was still thinking in terms of $user *smile* [08:27] *** Jyhem_laptop has joined #tikiwiki [08:41] *** jph_ has joined #tikiwiki [08:41] *** SJ-jay has joined #tikiwiki [08:43] kstingel, hehe I know exactly what you're going trhough, I was there 1 month ago :P [08:48] Merbster: I figured out how to activate tikiparsing :D Admin->Editing & Plugins->General Settings - Wiki Argument variables [08:50] Merbster: I keep getting things wrong, so I'm resetting my localTiki and starting over a lot, once I get it sorted, I'll import it into the live Tiki [08:50] the admin panel is your friend, the search box of that admin panel your best friend. :P [08:50] good idea [08:50] You can lock yourself out of the wiki if you're not careful so a test server is a must [08:51] Tiki for Smarties & Tiki Essentials have been my good friends too [08:55] ofcourse :P [09:22] *** redflo has joined #tikiwiki [09:26] *** redflo has quit IRC (Client Quit) [09:31] *** xen216 has quit IRC (Ping timeout: 258 seconds) [09:34] *** jonnyb has joined #tikiwiki [09:34] 'fest poloms [09:43] tikiwiki: 03jonnybradley * r35238 10/branches/7.x/tiki-forum_import.php: [09:43] tikiwiki: [FIX] Better fix for [6.x r33612/bp r33611][FIX] mis-match of permission checking for import function [09:43] tikiwiki: so tpl changed to align with main php code to decide if Import button [09:43] tikiwiki: is shown [09:43] tikiwiki: thanks sept_7 [09:44] tikiwiki: 03jonnybradley * r35239 10/branches/proposals/6.x/tiki-forum_import.php: [09:44] tikiwiki: [bp/r35238[FIX] Better fix for [6.x r33612/bp r33611][FIX] mis-match of permission checking for import function so tpl changed to align with main php code to decide if Import button is shown [09:44] tikiwiki: thanks sept_7 [09:45] I can't get the value of a class attribute i.e. $fase->type [09:45] yet when I print_r() the object it shows the type is set according to what I expect. [10:11] *** Wilkins_ has quit IRC (Remote host closed the connection) [10:27] *** Merbster has quit IRC (Ping timeout: 255 seconds) [10:32] tikiwiki: 03jonnybradley * r35240 10/trunk/ (6 files in 3 dirs): [MRG] Automatic merge, branches/7.x 35212 to 35238 [10:32] *** Jyhem_laptop has quit IRC (Read error: Operation timed out) [10:33] *** Caarrie has joined #tikiwiki [10:33] *** Caarrie|sleeping has quit IRC (Disconnected by services) [10:34] *** Merbster has joined #tikiwiki [10:34] *** Caarrie is now known as Caarrie|away [10:36] *** jonnyb has quit IRC (Quit: jonnyb) [10:41] *** jme_ has joined #tikiwiki [10:41] *** jme_ has quit IRC (Client Quit) [10:44] *** Merbster has quit IRC (Ping timeout: 246 seconds) [10:48] *** kstingel has left "Leaving" [11:12] *** GillesMM has joined #tikiwiki [11:47] *** Wilkins has joined #tikiwiki [12:06] *** jonnyb has joined #tikiwiki [12:06] *** Jyhem_laptop has joined #tikiwiki [12:21] *** luciash has joined #tikiwiki [12:21] polom [12:21] polom from Strasbourg luciash [12:22] many greetings to Strasbourg :) [12:53] *** nkoth has joined #tikiwiki [12:53] hey Luci ! [12:54] *** jonnyb has quit IRC (Quit: jonnyb) [12:58] hi everyone [13:03] *** radek82 has joined #tikiwiki [13:08] salut Jyhem_laptop :) [13:09] hi nelson [13:09] tikiwiki: 03nkoth * r35241 10/trunk/lib/prefslib.php: [FIX] 'fgal_use_dir', 'sender_email' prefs were not showing in admin panel anymore [13:14] tikiwiki: 03nkoth * r35242 10/trunk/lib/ (filegals/filegallib.php tikilib.php): [FIX] Zend_Http_Client seems to fail with accents in urls but to avoid it it the only way that still maintain integrity of the URL is to urlencode the accents [13:18] tikiwiki: 03nkoth * r35243 10/trunk/lib/tikilib.php: [FIX] Change naming of function parameter to mean what it does (amend previous commit) [13:24] tikiwiki: 03jonnybradley * r35244 10/branches/7.x/lib/TikiWebdav/Backend/File.php: [FIX] Missing global [13:33] *** Wilkins has quit IRC (Ping timeout: 258 seconds) [13:33] *** Wilkins has joined #tikiwiki [13:43] *** xavi has joined #tikiwiki [13:43] polom [13:43] *** Merbster has joined #tikiwiki [13:45] *** rodrigo_sampaio has joined #tikiwiki [13:45] hi xavi [13:45] I'm investigating an issue with plugin tracker added in proposals/6.x ... r34445 [13:45] hi nkoth and rodrigo_sampaio [13:46] which makes weird urls after saving data in a wiki page with plugin tracker [13:46] weird: urlencoded (seems), and apache returns error 404 [13:47] this might be related with this change added by sylvieg (among other things, in that r34445 from proposals/6.x): [13:47] header('Location: '.urlencode($url[$key])); [13:47] which in the previous revision was: [13:47] header('Location: '.$url[$key]); [13:47] i.e., without the urlencode... [13:48] I wonder whether that urlencode is needed, and if so, how to change it so that it doesn't break plugin tracker, as it currently does in proposals/6.x [13:48] sylvieg? ^ [13:48] or maybe nkoth you know? ^ [13:49] well, urlencoding the entire url would encode the / as well [13:49] and some apache config don't like that [13:50] It depends on what the purpose of the urlencode there is [13:51] * sylvieg should have given the example in the commit message [13:51] I suuppose it is a opage with an accent [13:52] well, nope, it's a page like this: [13:52] The requested URL /tiki1/tiki-index.php?page=r_test3&itemId=4&view=user was not found on this server. [13:52] and all the ?, & and = are weird (urlencoded?) [13:53] * sylvieg wondering if it is an unwanted commit [13:53] i.e.: [13:53] tiki1/tiki-index.php%3Fpage%3Dr_test3%26itemId%3D4%26view%3Duser [13:53] and apache returns: error 404 [13:53] the only part of that url that needs to be urlencoded is the pagename [13:54] yes - I think that it was an error [13:54] and I confirm that if I remove the urlencode part, all is well again with plugin tracker [13:54] this has to go [13:55] syvlieg, the commit does more things... maybe it was just this tiny extra part that went through (without being that the intention) [13:55] Ok, I'll revert that tiny part (urlencode) and you can add it (if needed) again wherever to urlencode just the page name, if so, etc. [13:56] it does not exist anymore in 7 [13:56] * xavi is glad that he managed to identify the exact revision and line that was potentially breaking plugin tracker [13:56] first time (svn rocks!) [13:57] ok, so I commit in proposals/6.x only, then [13:57] wait 2 secs [13:57] to se if the page is well encoded [13:58] ok [13:58] hi xavi [13:59] hi all [13:59] hi :-) [14:01] seems to be an error - I can not find where in 7 the line can have been introduced/ deleted [14:03] tikiwiki: 03sylvieg * r35245 10/branches/proposals/6.x/lib/wiki-plugins/wikiplugin_tracker.php: [FIX]rollback partial 34445 - this line was not in tiki7 - Thx xavi [14:04] how can I get a reference to the page/article/whatever being viewed, from PHP ? [14:04] sorry xavi - I suppose it was a test I did ... I can not find out the historic of this [14:05] no problem, thanks for fixing [14:05] * sylvieg should not debug in the proposals [14:08] i.e. what file should I include? [14:08] or where can I read about this? [14:09] ther is no unique reference between objects (for one it is $page, for the other $articvleId..) if I well understand the question [14:11] sylvieg, I don't mind [14:12] it's a hack we need to do, to change perspective depending on category stuff [14:12] So as long as I can handle pages, wikis, articles and forums. [14:12] we're set. [14:13] I guess they all have their individual IDs, i.e. article id, forum id, blog etc. [14:16] sylvieg, is it possible to get the category ID of the watched page/wiki/article/whatever. [14:17] I don't really care about what I'm looking at, I'm caring alot more about the category and which perspective I've mapped to that category [14:22] hi xavi, sylvieg, rodrigo_sampaio ... :) [14:22] hello luciash [14:24] hi [14:24] sorry Merbster I do not understand - a perspective is a cetegory [14:24] sylvieg, no, a perspective can have a category jail [14:24] so a perspective can be bound to several categories [14:25] i think Merbster is trying to automatically change the perspective depending on where the object the user is viewing is categorized [14:25] I suspsect this is saved in the database, so from the page/wiki/whatever category I want to figure out what perspective it belongs to. [14:25] exactly nkoth [14:25] and hten I would want to set the perspective session var through the $_REQUEST object. [14:26] I'd like to implement it "the right way" but you know how it is; our boss wants us to finish yesterday. [14:26] :P [14:26] what version of tiki are you on? [14:26] 6.3 [14:27] We're keeping to the LTS release until we got first iteration of the new Intranet up and running. [14:30] I will have to go home from work soon, but I will come online when I hit home. [14:30] i'm thinking [14:30] i've done something similar before but it's a long time ago [14:30] I have seen a "resolve category from page id" like method somewhere [14:30] one problem is that your object is not jsut a page right? you have articles etc too? [14:30] Yes [14:31] evyerthhing that has a category [14:31] nkoth, will you still be here in 1 hour or so? [14:31] yes [14:32] do mind if I suck all the knowhow from your mind then? :P [14:32] i'll be around [14:33] hi luciash [14:38] heheh [14:38] "suck all the knowhow" sounds scary :) [14:39] luciash, lol :P [14:39] well [14:39] ... I hope it won' [14:39] t be [14:39] oh well. I'll be off for home now... See you later [14:39] *** Merbster has quit IRC (Quit: Leaving) [14:43] *** jph_ has quit IRC (Read error: Connection reset by peer) [14:43] *** SJ-jay has quit IRC (Read error: Connection reset by peer) [14:58] any idea why could i get downloading an ical export of the Calendar "interrupted" always at 3,5kB ? [14:58] ah, actually at 0.0/3.5kB says my Google Chrome [15:00] luciash: no errors in the apache log? [15:01] tikiwiki: 03omstefanov * r35246 10/branches/7.x/tests/testfile.txt: [test] olaf's test commit [15:10] tikiwiki: 03omstefanov * r35247 10/branches/7.x/tests/testfile.txt: [test] olaf's 2nd test commit [15:10] Hi, i have error on TW7.x while doing SVN cleanup; [15:10] svn: warning: cannot set LC_CTYPE locale [15:11] svn: warning: environment variable LC_CTYPE is UTF-8 [15:11] svn: warning: please check that your locale name is correct [15:11] never see that… someone ? [15:12] Bernard1: are you using linux or windows? [15:12] linux… same server than before (i have done this hundreds of time) [15:13] (checking another of my tw in case of something changed on the server itself) [15:13] Bernard1: than I can help you :) [15:13] tikiwiki: 03omstefanov * r35248 10/branches/7.x/tests/testfile.txt: [test] olaf's 3rd test commit [15:13] :) [15:13] Bernard1: it is not related with Tiki [15:13] Bernard1: it is some configuration missing on your server [15:14] Bernard1: just give me a minute to check, I have seen this before [15:14] ok tks [15:14] any one from TikiFestStrasbourg2011 online? [15:15] Bernard1: you know which linux distribution is on your server? [15:16] * rodrigo_sampaio ping Jyhem, Jyhem_laptop, nkoth: [15:16] Huu… lenny it should, let me recheck [15:17] PHP Version 5.2.6-1+lenny10 [15:17] Bernard1: lenny is a debian version [15:17] tikiwiki: 03sampaioprimo * r35249 10/trunk/ (4 files in 4 dirs): [MRG] Automatic merge, branches/7.x 35238 to 35247 [15:17] Bernard1: so it is debian :) [15:17] Ya [15:17] :) [15:20] Bernard1: check http://armenianeagle.com/2008/03/18/svn-warning-cannot-set-lc_ctype-locale-solution/ and http://www.svnforum.org/threads/33699-What-does-quot-cannot-set-LC_CTYPE-locale-quot-mean [15:20] Bernard1: I was hoping to find an easier solution but I couldn't [15:21] Bernard1: anyway it is just a warning so it should be safe to ignore it [15:21] Bernard1: if you don't have root, contact your server support and ask them to fix it for you [15:22] * Bernard1 always have root ! :D [15:22] Bernard1: :D [15:22] tks Rodrigo :) [15:22] Bernard1: welcome [15:22] Bernard1: by the way, you are the guy from Israel right? [15:23] Yes this one ! [15:23] Brazil ? [15:23] Bernard1: so it is my turn to ask you something :) [15:23] Bernard1: yes, I'm from Brazil [15:23] welcome [15:23] Bernard1: I'm working on a new version of get_strings.php (the script we use to collect translatable strings) [15:24] ok [15:24] Bernard1: there is a little hack in the old get_strings.php to deal strings ending with punctuation as an exception [15:25] Bernard1: for example, if you have "Login:" it is considered as "Login" and ":" [15:25] Bernard1: in the language.php files you will never find "Login:", only "Login" and ":" [15:25] exact [15:26] Bernard1: as far as I can understand this was done to avoid duplicating the work for translations, they don't have to translate "Login:" and "Login" [15:27] Bernard1: I would like to know from you if this works ok for Hebrew or if by the way the language is structured this creates a problem for translators/ [15:27] ? [15:27] yes and that depending your language the ":" can be in different place ("Login:" is not a good exemple but it was safer to remove punctuation) [15:28] Bernard1: sorry, not sure if I understood. can you elaborate? [15:28] yes this work ok : http://www.avtalyon.org.il/tiki-login_scr.php [15:28] herr.. ok go on... [15:29] Bernard1: so Hebrew works as the latin languages and the ":" goes in the end of the sentence? [15:30] yes :) [15:30] Bernard1: ok, good [15:30] Bernard1: I'm worried that the way we handle punctuation might create problems for translators of some languages [15:30] note that it is working because of the RTL management through styles/BiDi/BiDi.css [15:31] Bernard1: good to know that this is not the case for Hebrew [15:32] In hebrew if punctuation is at the beguining or the end of a sentence it is (should be) ok. If it is in the middle this can be a pain. When i translate he/language.php i usually remove "(" [15:33] the display is 75% ok BUT to write it correctly in the language.php file is A pain and lots of tries. [15:33] Bernard1: I'm going out to have lunch. I will be back later and then if you are still around I would like to continue this conversation. I'm interested to know what we can do in Tiki to make translator's work easier. [15:34] boas-vindas :) [15:35] :) [15:41] tikiwiki: 03muscote * r35250 10/trunk/tests/testfile.txt: just a test by Torsten (thx olaf for supporting me) [16:01] *** nkoth_ has joined #tikiwiki [16:01] *** nkoth has quit IRC (Read error: Operation timed out) [16:01] *** nkoth_ is now known as nkoth [16:17] tikiwiki: 03jonnybradley * r35251 10/branches/7.x/templates/tiki-admin_forums.tpl: [FIX] Rollback r33611 so this perm test now matches the test in tiki-forum_import.php (fixed in r35238 and will be rolled-back by QT in 6.x) [16:17] *** pkdille has joined #tikiwiki [16:19] *** Bernard1 has quit IRC (Quit: Leaving.) [16:23] *** xavi has left [16:26] *** dcedilotte has joined #tikiwiki [16:26] *** chealer has joined #tikiwiki [16:26] *** chealer has quit IRC (Changing host) [16:26] *** chealer has joined #tikiwiki [16:27] polom! [16:27] *** garypp has joined #tikiwiki [16:33] *** xen216 has joined #tikiwiki [16:36] *** Jyhem_laptop has quit IRC (Ping timeout: 250 seconds) [16:40] *** chealer has quit IRC (Remote host closed the connection) [16:40] *** chealer has joined #tikiwiki [17:10] *** Bernard1 has joined #tikiwiki [17:11] rodrigo_sampaio: diner, baby bed story and i'm back ;) cu [17:12] Bernard1: :) [17:12] tikiwiki: 03nkoth * r35252 10/trunk/lib/ (filegals/filegallib.php tikilib.php): [FIX] Better fix for r35242 (Zend_Http_Client seems to fail with accents) to handle whole range of utf8 chars and spaces [17:15] *** luciash has quit IRC (Ping timeout: 252 seconds) [17:15] tikiwiki: 03nkoth * r35253 10/trunk/lib/tikilib.php: [FIX] Remove function just a couple of commits ago added in r35242 which is now invalid via r35252 [17:31] *** Bernard1 has quit IRC (Quit: Leaving.) [17:43] *** Merbster has joined #tikiwiki [17:44] ok. [17:44] it was a bit more [17:48] Hi Merbster: under admin home...categories [17:48] *** Caarrie|away has quit IRC (Read error: Connection reset by peer) [17:48] yes [17:49] *** Caarrie has joined #tikiwiki [17:49] there is feature called "Categories used in templates (TPL" turn that on [17:49] *** Caarrie is now known as Caarrie|away [17:49] the secriet sause of that is found in lib/setup/categories/php [17:49] *** rodrigo_sampaio1 has joined #tikiwiki [17:49] it's enabled [17:49] *** rodrigo_sampaio has quit IRC (Read error: Connection reset by peer) [17:49] allready [17:50] check out that php file, basically to use: // use in smarty {if isset($objectCategoryIds) and in_array(54, $objectCategoryIds)} My stuff ..{/if} [17:51] now umm in)array might be problematic in some servers [17:51] We have totalt control over the server [17:51] anwyway, if you edit that php file you can assign any smarty vary you want [17:53] hmm. [17:53] * Merbster reads code [17:55] *** Bernard1 has joined #tikiwiki [17:57] that section stuff is set in lib.setup/sections.php if you are interested (background nfo) [17:57] so it picks up the "key [17:58] based on the section (wiki/article/etc...) e.g. articleId or whatever and then uses the value of that to find the category [17:58] AAH [17:58] yes [17:58] and since there can more than one object cateogry that's why it's in plural [17:59] So this enables me to refer to the object categories of the current "section" through smarty with the variable $objectcategories [17:59] objectcategoryids* [18:00] tikiwiki: 03sampaioprimo * r35254 10/branches/7.x/lang/ (48 files in 48 dirs): updating language.php files before backporting fix to get_strings.php (r35220) [18:00] $objectCategoryIds is the array of category ids [18:01] yes [18:01] in the example they're searching the array for the value 54 right? [18:01] right [18:02] I think this might have saved me alot of time. [18:03] nkoth, I am sorry if some of my questions are a bit lowlevel, but I just recently got familiar with PHP. [18:04] lowlevel as in nobish [18:04] not lowlevel as in assembler. [18:05] now [18:05] be careful about using in_array in smarty if smarty security is enabled... [18:05] We will disable it if need be [18:05] But in essence I could refernce the categoryid array from PHP code too couldn't I? [18:05] exactly [18:06] I will need to find the parentId of each category [18:06] there is a funciton in categlib for that [18:06] oh man. [18:07] tbh... I never liked php, but I sure hell like TikiWiki :P [18:07] more and more [18:07] lib/categories/categlib.php [18:07] get_category_parent or something like that [18:07] I'll check it myself. [18:07] tikiwiki: 03sampaioprimo * r35255 10/branches/7.x/ (. get_strings.php templates/list_file_gallery_content.tpl): [bp/35220][FIX] invalid strings collected by get_strings.php (bug #3881) [18:08] My theory is, to include a small hack file in tiki-setup.php that checks the categories, gets parent categories and according to some if statements I will set the required perspective. [18:08] do you think it will work? [18:09] "checking the load order..." [18:09] or will I run into trouble with when the categories are set compared to when I want to check for them? (or is that just a matter of including my "hack" at the right place in tiki-setup.php? :P [18:11] from what I can see, perpective is loaded in prefs.php [18:11] So as long as my hack is included belov prefs all should be sweet and dandy? [18:11] (because it needs to be at the time when prefs are set, makes sense right?) [18:11] so your check has to be above prefs [18:11] before/above... [18:12] If I manually overwrite the seesion variable [18:12] wouldn't it be best to set it after prefs set it so I don't get it overwritten? [18:12] well, the perspective would already be loaded [18:12] and the prefs set [18:12] ok [18:12] Perspectives are all about overriding default perspective prefs [18:12] Yes ofcourse [18:12] it makes sense [18:12] I just lack the overview of the general tiki design [18:13] So... Set perspective before prefs.php are included... [18:14] tikiwiki: 03sampaioprimo * r35256 10/branches/7.x/lang/ (48 files in 48 dirs): updating language.php files to remove invalid strings [18:16] when I last did this I think I actially did a redirect [18:16] i.e. check if the perspective is wrong, if wrong, redirect [18:17] wastes resources but simpler than figuring out the load sequence [18:17] I agree [18:17] ressources is not a problem [18:18] luckily the CEOs of our company backs up IT very well... :P [18:18] backs up as in "they give us what we need to do our job" [18:19] If it wastes too much [18:19] I can do a proper solution [18:20] When we have more time [18:20] they extended our deadline once allready [18:20] :P [18:20] allthough not just becuase of internal IT... external partners were also late on delivery :P [18:21] Just my quick glance at the code, I think it might also work if you move lib/setup/sections.php and lib/setup/categories.php up to just above lib/setup/prefs.php in tiki-setup_base.php but this kind of change needs a bit more care... [18:22] well, I think my braindump is pretty much complete now at least on this topic. All the best [18:24] hehehe [18:25] well it's a big thanks. allthough I would prefer to do as little change as possible to the core tiki stuff... most of our extensions has been kept in modules... [18:27] if moving setup/section and setup/categories up might work it might be an interesting tiki feature. I know simple making a redirect after categories.php work because that's what I did before but I suppose I was still kind of hoping for a better solution thus that never got committed [18:28] we are counting on this being our intranet the next 10 years [18:28] So hopefully I will be allowed to mature it [18:28] and commit some stuff back to the community [18:28] sounds excellent! [18:31] oh [18:31] girlfriend prepared food [18:31] nkoth, thanks. If you're still here after I've eaten I probably have more questions if stuff will be troublesome. [18:32] polom [18:37] tikiwiki: 03sampaioprimo * r35257 10/branches/7.x/lang/ (4 files in 4 dirs): merging translations done on trunk using doc/devtools/mergelang.pl [18:39] Hi Chealer [18:39] Nelson [18:39] Rodrigo here ? [18:45] hi [18:46] hi Bernard1 [18:54] *** Caarrie|away has quit IRC (Ping timeout: 255 seconds) [18:55] *** Caarrie|away has joined #tikiwiki [19:02] *** xen216 has quit IRC (Ping timeout: 255 seconds) [19:02] nkoth, it would be a redirect to the page itself, with the new perspective applied as an URL paraemeter, or would you set the session var and then redirect? [19:03] perspective as url parameter I think [19:03] actually setting the session var and redirect works too I think [19:03] sorry for the double answer :) [19:04] I am thinking, when you set the perspective with the url param, it's only temporary isn't it? [19:04] oh umm [19:04] when you click a new link the perspective will be lost (unless you apply that link there too) [19:04] ok,then set the session var - better [19:04] But I guess the perspective hack would set th epage appropriately anyways, becase it allways checks the conditions for what perspective the page should be in. [19:04] tikiwiki: 03changi67 * r35258 10/trunk/templates/tiki-install.tpl: ~INDENT~ Easier to read [19:06] tikiwiki: 03changi67 * r35259 10/trunk/templates/tiki-install.tpl: [MOD] Give the possibility to check all errors in one click [19:14] *** rodrigo_sampaio has joined #tikiwiki [19:14] tikiwiki: 03changi67 * r35260 10/branches/7.x/templates/tiki-install.tpl: [BP/35258] ~INDENT~ Easier to read [19:14] *** rodrigo_sampaio1 has quit IRC (Ping timeout: 258 seconds) [19:15] tikiwiki: 03changi67 * r35261 10/branches/7.x/templates/tiki-install.tpl: [BP/35259][MOD] Give the possibility to check all errors in one click [19:16] tikiwiki: 03jean-lucnavarro * r35262 10/trunk/lang/fr/language.php: [TRA] more French translations [19:17] nkoth, did you write your own code for resolving the perspective from the category id ? [19:17] or does tikiwiki allready have that [19:17] you mean mapping category id to perspective id? [19:18] I wrote my own for that [19:20] ok [19:23] i am blind... :P [19:23] I overlooked tiki_perspectives until i used the search function in my SQL tool :P [19:24] tikiwiki: 03changi67 * r35263 10/trunk/installer/schema/20110630_fix_blogs_copyright_frencho_tiki.sql: ~FIX~ Remove useless svn property [19:25] ouch [19:25] the categories linked to the perspective is saved as json if I'm not mistaken :S [19:27] json_decode [19:27] I know [19:27] I'm more thinking about the performance hit that will give the db [19:27] if we have 6000 perspectives [19:27] So either I have to use string functions in SQL to pinch out the numbers [19:27] that means it has to do a table scan for each search for mappings between categories and perspective [19:28] or I have to get it out in PHP parse the json and do the comparison in Php [19:28] you won't have 6000 perspectives will you? [19:28] We need a perspective for each project [19:29] and we have atleast 1500 active projects [19:29] and it will only grow [19:29] we might have 500-1000 projects a year. [19:29] (building engineering company) [19:29] ok, well caching it is just one line - can do that later on [19:30] I would be more tempted to hack the place where it saves categories to mirrow it's entrances in a table so that the database can search trhough the category Ids faster [19:32] hmmm. [19:32] actually [19:32] there might be a more elegant work around [19:32] or not... doh [19:33] tikiwiki: 03changi67 * r35264 10/trunk/templates/list_file_gallery_content.tpl: [MOD] Remove check all when no record found [19:33] if I could predict how the json would end up looking in the database [19:33] I could index the column with the json [19:33] and then search with the generated string... [19:33] but... that's tricky [19:35] tikiwiki: 03sampaioprimo * r35265 10/branches/proposals/6.x/lang/ (26 files in 26 dirs): merging translations done on trunk using doc/devtools/mergelang.pl [19:35] tikiwiki: 03changi67 * r35266 10/trunk/templates/browse_file_gallery.tpl: [MOD] Remove check all when no record found [19:38] *** xen216 has joined #tikiwiki [19:41] *** nkoth has quit IRC (Quit: nkoth) [19:42] *** nkoth has joined #tikiwiki [19:43] nkoth, what are you using TikiWiki for? [19:44] Merbster: all sorts of different sorts of sites. [19:52] nkoth, did you parse the json directly in SQL ? [19:53] tikiwiki: 03changi67 * r35267 10/trunk/templates/browse_file_gallery.tpl: ~REVERT~ Stupid things [19:53] no. I didn't have that many perspectives and categories, I simply had a hardcoded mapping [19:56] tikiwiki: 03changi67 * r35268 10/trunk/templates/list_file_gallery_content.tpl: ~CHANGE~ Add a select all in table head + revert previous commit [19:57] I don't think mysql can parse json reasonably fast [19:58] i normally use json_decode in php [19:58] yes. [19:59] That's prboably what I'll have to do to have this done by this evening [19:59] hmmm. [20:00] *** garypp has left [20:00] This is a semi bad code solution of tikiwiki [20:00] since this design will never allow you to query for perspectives based on category compositions. [20:00] atleast in a scalable manner [20:00] *** Bernard1 has quit IRC (Quit: Leaving.) [20:03] tikiwiki: 03changi67 * r35269 10/trunk/ (4 files in 2 dirs): [ENH] Introduce static CSS Sprite in admin panel - First step to CSS Sprite [20:25] *** xen216 has quit IRC (Quit: Ex-Chat) [20:34] tikiwiki: 03changi67 * r35270 10/trunk/lib/jquery_tiki/tiki-trackers.js: Add css class for table styling [20:36] tikiwiki: 03changi67 * r35271 10/trunk/templates/tiki-admin_tracker_fields.tpl: ~ENH~ Add select all [21:12] *** sylvieg has quit IRC (Quit: Leaving.) [21:28] *** sylvieg has joined #tikiwiki [21:28] *** ChanServ sets mode: +o sylvieg [21:39] tikiwiki: 03sampaioprimo * r35272 10/trunk/ (3 files in 2 dirs): [MRG] Automatic merge, branches/7.x 35247 to 35261 [21:49] tikiwiki: 03sampaioprimo * r35273 10/trunk/doc/devtools/svnbranchupdate.php: just updating script documentation by replacing .0 with .x [21:58] *** radek82 has quit IRC (Quit: Leaving) [22:15] rodrigo_sampaio: could you explain the problem with invalid strings? [22:15] I notice fuckage with apostrophes, I'm glad if you fixed it [22:19] *** GillesM has quit IRC (Remote host closed the connection) [22:41] chealer: check https://dev.tiki.org/tiki-view_tracker_item.php?itemId=3881 [22:42] chealer: which issue with apostrophes I fixed? :) [22:54] I have made a small hack that sets a perspective depending on what categories the page/wiki/whatever is categorized in [22:54] To work around having to figure out the load order of tikiwiki [22:54] I am using a redirect [22:55] and I use getenv('HTTP_REFERER') to get the referring page [22:55] to "redirect back" [22:55] and set a perspective [22:55] but this gives a problem when trying to edit, say a wiki page [22:55] because it's tiki-edit... etc. [22:56] Is the "target url" of the pressed link, stored somewhere in wiki? [23:10] rodrigo_sampaio: OK... what about the line modified with "Function:" in http://sourceforge.net/apps/trac/tikiwiki/changeset/35236/trunk/lang/fr/language.php [23:10] apparently it's just a backslash added, why? [23:11] rodrigo_sampaio: actually, let's talk about the first one on :2570 [23:13] I don't understand your question (and you seem to be doing something weird) [23:13] Merbster: ^^ [23:13] chealer, what's up? [23:15] Merbster: I don't understand your question (and you seem to be doing something weird) [23:16] Well. [23:16] point is [23:16] I want to set the perspective according to the current page's categories. [23:17] So that if for example a Wiki page is category 12 and it's parentId is 3 I know it's a "project related page" and one project will have one perspective and one category. so we can get a project-wise view across the "whole" wiki [23:17] reason why whole is in " " is because some places of the wiki [23:17] should have default view. [23:17] And it knows htis by the fact that any page that is not part of a project, won't need a perspective, thus we just set it to 0 [23:18] chealer, I wrote with nkoth earlier, he said he had atleast some good experience with this way of doing things [23:19] but I think I figured out how to direct to the correct page, by using $_SERVER[PHP_SELF] (or whatever it's called) [23:20] and the $_REQUEST["page"] thing [23:20] and then adding the perspectiveId [23:21] that I resolved via. a database search [23:21] chealer, does it make more sense now? [23:21] what kind of problem you face when you edit the page? [23:21] currently it's not resolving the perspective ID correctly [23:21] like it forgot one of the jaiuls [23:21] I am checking the db to see if it's correct [23:22] are you setting the SESSION perspective before redirecting? [23:22] Merbster: hum, it's still unclear, although I think I understand more. you were asking how to get the URL of the page being viewed? [23:22] Merbster: anyway, glad if you found the answer [23:22] semi [23:22] I think [23:23] maybe I have a problem with my db query because it only resolves the one with perspective Id 1 (the first row) but the second one (3) defaults to 0. [23:23] if so, then the perspective should stay the same as the one which is active when vuewing [23:23] hmmm [23:23] nkoth, when you say session variable, are you talking about $_REQUEST["perspectiveId"] ? [23:23] no [23:24] please elaborate then [23:24] or point me to where I can read about it myself :P [23:24] I believe I mean $_SESSION['current_perspective'] [23:25] I had no idea there was a $_SESSION varaible :P [23:25] I will check it [23:25] right, if you set that instead of $_REQUEST["perspectiveId, you will have a more "permanent" change... [23:26] *** Trebly has joined #tikiwiki [23:26] aaah [23:26] nice :) [23:27] Merbster: I still have no idea what kind of category tree you have or what you use perspectives for [23:28] chealer, we have one Category called "Project Page" [23:28] it's used as a "type" [23:28] as subcategories to "Project Page" [23:28] each project will have a category [23:28] each category will be assigned to a category jail in each their own perspective [23:29] So that we sort out all the irrelevant noise when you're going trhough all the steps to complete a Project [23:29] Merbster: BTW, it would be friendly and perhaps easier to follow you if you used more punctuation and less Enter-s [23:29] Sorry. I've been coding for over 12 hours today. [23:32] I will try to make my sentences longer isntead of flooding the chat. [23:34] Merbster, if you redirect to $_SERVER['REQUEST_URI'] after setting $_SESSION['current_perspective'] you should be fine [23:35] I guess REQUEST_URI just returns the full path of the active script, instead of just the actual filename like PHP_SELF [23:35] this is a good comparison what the difference is: http://raptor.hk/_serverphp_self-vs-_serverscript_name-vs-_serverrequest_uri/ [23:44] hi, it's a long time I could be present here and work on tiki. I am re-pack all my applications and dev on new computers and re-install. [23:44] With 6.x current that I update, I get two (or more) problems (I have some sites not yet updated to 7.0). [23:44] - Old one the admin with reinit (because it was refusing my password) of admin users-users record generated "invalid password", I think that I have well checked the rights of the group but ? [23:44] - I test installer (I must because I have updated), It shows a wrong message about DB (no UTF-8) but it is ? Don't remember why this wrong message, may be the test is on the data chanel default encoding not data base. If I remember it is reset if the option PDO. No really matters the problem is to be able to login as admin. I failed. [23:46] I could not find back the notes on the admin password pbs [23:59] nkoth, it keeps looping [23:59] redirecting to itself all the time and I can't seem to figure out a proper control structure to make it stop again