tiki 6.3: i use tiki mainly for trackers and google maps. would it be wise for me to move into tiki 7 if these are the main features i use? thanx mornig guys tikiwiki: 03jean-lucnavarro * r35186 10/trunk/lang/fr/language.php: [TRA] more French translations tikiwiki: 03jean-lucnavarro * r35187 10/branches/7.x/lang/fr/language.php: [bp/r35186][TRA] more French translations who wrote the LDAP module? svn blame might be able to answer that question for you I haven't set up SVN. :P We're just having trouble with the ldap module after we upgraded from 6.1 to 6.3 But it's not consistant Only some users are having trouble New Forum Posts: Persistent "Database Version Problem" even though update completed - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=41717 tikiwiki: 03lphuberdeau * r35188 10/trunk/ (3 files in 3 dirs): [MOD] Displaying additional help about tracker field types pre-fest polom ready to drive ? hi Jyhem_laptop - think so decided to pack everything to save choosing nice! Olaf-Michael will be the first resident tonight New Forum Posts: parameters of the googlemap plugin - http://tiki.org/tiki-view_forum_thread.php?forumId=2&comments_parentId=41719 tikiwiki: 03lphuberdeau * r35189 10/trunk/ (3 files in 3 dirs): [MOD] Adding remove field controls What is the easiest way to "disable" a user account in Tiki? Is it the banning feature? or is there an easier way? hi nkoth - i think banning is the one I think I am going to have to write a ban user plugin to simplify this nkoth: a plugin? if the banning system doesn't ban people wouldn't it be better to fix it? it works, it is just not particularly user friendly for the "admin" takes too many clicks to get to it so could be improved? the point is that I would like a ban button next to the user list and I was thiking a plugin because then it could be used both in adminusers and in a pretty tracker as well sort of an ajax "ban user" button tikiwiki: 03lphuberdeau * r35190 10/trunk/templates/tracker/edit_field.tpl: [FIX] Missing file would be nice - see what you mean now tikiwiki: 03jonnybradley * r35192 10/trunk/ (66 files in 57 dirs): (log message trimmed) tikiwiki: [MRG] Automatic merge, branches/7.x 35090 to 35187 tikiwiki: Conflicts occured during the merge. (hopefully correctly fixed - authors please check - remember: whitespace counts!) tikiwiki: tiki-edit_draw.php tikiwiki: lib/setup/prefs.php tikiwiki: lib/webmail/tikimaillib.php tikiwiki: lib/prefs/email.php wow - that was a hard merge... some of them are harder... hi lphuberdeau - indeed some of the changes to setup/prefs.php are very tricky to check most of the time, it's because of a backport yup - with different formatting in each branch (so dull) I always merge right after backporting so it's only my mess me too - if only... ;) i'm trying to fix nested trackerlists - was working in 6.x but in 7.x you only get the first item don't suppose you'd have any idea? my theory is a global (probably smarty) var getting mixed up maybe the {foreach} that was changed form a {section}... might be some variable override or something hmmm - there were also the changes for smarty 3 in there... tea might help! brb jonnyb: do you mean in 8 it does not work? (first item only except for last level is expected behavior for 6 and 7) ok, i got condused in 6 it worked but not in 7? really nkoth - i thought i had it working in 6 haven't rechecked in 6 but definitely not working in 7 or trunk well,afaik, even in 6, nested only works if "the first (or any level except the last) trackerlist delivers one item" it works using something other than trackerlist in the tpl - i.e. other plugins (i get three items) that true, but if you use other plugins other then tracker list in the tpl it is not strictly speaking a nested trackerlist but only the first one with trackerlist (using exact filter or itemId to get one item each time) there was a problem in 5 i fixed with plugins general, so it's not that (was just checking) so the trackerlist in the nest is only getting one item each time, it just doesn't come back after the first one any clue what itemChoices is supposed to do? jonnyb: afaik, if your "outer" trackerlist returns > 1 item, and if you nest an "inner" trackerlist in it, the "outer" trackerlist will show only 1 item. However, if your "outer" tracker list returns 1 item, and if the nested "inner" tracker returns many items, it is fine lphuberdeau: itemChoices is used to limit the choices shown to the user in the dropdown I thought dropdowns declared the options in the options field it's more for the user sector and country selector I think maybe certain other fields as well sry - phone... OK, I'll try to see with those if I can get it to show in the UI jonnyb, was there a way to have a separator on the autocomplete stuff or my memory is filling gaps? for multiple items? yes... well, multiple groups for example one of the constructor options - it'll be on the jqueryui demo ah, got it I think it used to be handled by Tiki wasn't it? actually not documented it was a 3rd party plugin but by the guy who wrote the ui one polom hi chealer nkoth: sorry (client override) my "outer" trackerlist returns three items, and the "inner" one should then return one item for each of the three "sent" by the outer - didn't that use to work in 6? jonnyb: that used to *not* work. I documented this on doc.t.w.o specifically hmm, weird - i'm (sort of) sure i have that working on Geoff's events thing jonnyb: if you can check that will be great tikiwiki: 03lphuberdeau * r35195 10/trunk/ (4 files in 3 dirs): [MOD] Adding the permission-related field options nkoth: nope, can't find an example now - and out of time, will have to fight that one another day... (but it really _should_ work ;) ) tikiwiki: 03chealer * r35196 10/trunk/lib/prefs/print.php: fix "WebKit" case jonnyb: i did spend a couple of days trying to fix it but got no where :) it's not much fun is it! very murky and smarty-y in there... tikiwiki: 03nkoth * r35197 10/trunk/templates/wiki-plugins/wikiplugin_trackerlist.tpl: [ENH] item iteration is useful in pretty tracker as well Hi @ all help! !help hmm You can get a more complete list of commands that work with this bot at http://tiki.org/TikiBot . tikiwiki: 03chealer * r35198 10/trunk/lang/fr/language.php: [FIX] French: typos hi all ... just have a small question: i cannot find the place to set right to create new wiki pages ... there is no permission to create pages, just edit thanx, but the right to edit pages was given, but the tab2 for creating pages is not displayed (by the custom group) also after cleaning caches tikiwiki: 03lphuberdeau * r35200 10/trunk/ (4 files in 4 dirs): [MOD] Adding multi-delete controls and field export tikiwiki: 03sampaioprimo * r35201 10/trunk/doc/devtools/get_translation_percentage.php: minor fix on get_translation_percentage.php script tikiwiki: 03sampaioprimo * r35202 10/trunk/lib/setup/timer.class.php: indentation tikiwiki: 03sampaioprimo * r35203 10/trunk/lib/ (3 files in 3 dirs): tikiwiki: new get_strings.php: keep old translations even if it is equal to source tikiwiki: English string tikiwiki: 03sampaioprimo * r35204 10/trunk/get_strings2.php: new get strings: adding basic timer tikiwiki: 03lphuberdeau * r35205 10/trunk/ (4 files in 4 dirs): [MOD] Handling field import, removing now obsolete code tikiwiki: 03sampaioprimo * r35206 10/trunk/ (5 files in 3 dirs): tikiwiki: new get strings: optimizing algorithm to collect strings tikiwiki: and write to files bad news for the doc team, everything related to tiki-admin_tracker_fields.php is now outdated chealer: question. How do I escape in php to make a var safe for use in javascript/html? hi RobertPlummer polom RobertPlummer: I suppose your question is related to a mail I sent recently? yup want to make sure things are safe ;) is urlencode sufficient? RobertPlummer: it depends on the context, but the most common case just needs htmlspecialchars() $pageName = htmlspecialchars{$_REQUEST['pageName']); like that? as in the case I was discussing for r35099 oops, $pageName = htmlspecialchars($_REQUEST['pageName']); so instead of "" "" RobertPlummer: indeed RobertPlummer: (assuming that $gal['id'] doesn't have metacharacters you da man RobertPlummer: https://www.owasp.org/index.php/XSS_%28Cross_Site_Scripting%29_Prevention_Cheat_Sheet has a number of contexts that need different solutions, unfortunately it doesn't give precisely the solutions we use in Tiki RobertPlummer: for #2 Attribute Escape Before Inserting Untrusted Data into HTML Common Attributes you may need htmlspecialchars($foo, ENT_QUOTES) tikiwiki: 03lphuberdeau * r35207 10/trunk/lib/jquery_tiki/tiki-trackers.js: [FIX] Sorting broke somewhere along the way lphuberdeau: have you yet started anything that would incorporate the tracker query lib into trackers? no, and it's not anywhere in my to-do list think it would be a good idea if we make pretty trackers joinable? well, you could support pretty-tracker-like templates although that would most likely be read-only I just didn't envision tracker query lib a competing lib to trackers, I envisioned it as a core way of communicating from the database to tiki. you know, double the work. pretty tracker is very much happening in the plugins it's not a core feature at all ah, understood. With tracker query lib, I feel that it could partially be, and I hope to use some of the new funding for that, that is if you feel it is a good idea. ie, pretty trackers to me seems like a very nice UI for the tracker api, as we clean it up, we could incorporate it into tracker lib a bit. although I know much of it is plugin related. Also, sometime back jonnyb or you told me about a method to export tracker definitions, do you remember how? It might not have been you, it has been a long time, and I have a bad memory. into profiles or just the normal export? profile I would think that is under the profiles admin panel, but I never used it The only thing that concerns me about it is that it has a tracker id. is that somehow updated? o well, guess I'll have to test it. lphuberdeau & chealer: I'm having problems with tiki-admin_trackers.php?trackerId={my_tracker_id}&exportTrackerProfile=y, I've got it running all the way down to line 44 of Tiki_Profile_InstallHandler_Tracker, and from there I get no errors, anyone know what is up? I'm on trunk. tikiwiki: 03robertplummer * r35208 10/trunk/tiki-edit_draw.php: [FIX] Fixes for intercepting changes that aren't saved. Info: Tiki will be at OSCON 2011 - http://info.tiki.org/article171-Tiki-will-be-at-OSCON-2011 never looked at that bit, sorry lphuberdeau: I know what it is, the Tiki_Profile_Object isn't sent to the profileinstaller. How do I send it? Although I am an experienced programmer, I am new to php objects. is the issue with import or export? export I just don't know how that code works In class Tiki_Profile_InstallHandler, function __construct( Tiki_Profile_Object $obj, $userData ), if I remove Tiki_Profile_object, and let the var be dynamic, it works fine. the other way around, the installer looks up the profile and the installation process handles all of this creation I think I have it, I need to send it Tiki_Profile_Object::serializeNamedObject( "type name" ) chealer, what do you think? any reason why I can't just remove the Tiki_Profile_Object type in from of $obj? Won't php just handle the var dynamically? depends on the code, but if if expects methods on the object, no RobertPlummer: no idea, I know nothing of tracker internals and virtually nothing of profile internals neither Hi. New user here. Created my first wiki, something I find useful from mediawiki is after creating a few subheadings a index will be created. I do not see this happening. How can I make this happen? hrm, for as many features this proj has id thing there would be way more people in here chealer: I'm trying to load in a profile that I made, and I get no profile data when I go to install it with the profile installer through the admin interface, anything I should try? tightwork: did you see http://doc.tiki.org/Table+of+Contents ? RobertPlummer: is it on profiles.tiki.org or what? yea function showDetails returns null and throws exception, (javascript) I've been developing on my system for some time, I reverted back to a fresh svn and db, and I still get the same error. RobertPlummer: I get a JavaScript error clicking on Invoice on my trunk "missing ) in parenthetical" What browser are you using? Yea that is the same error I get. I get it with any profile. RobertPlummer: with Iceweasel 4 (Firefox) I loaded up 7, and it works fine.