[00:20] fabricius joined #tikiwiki [00:21] fabricius polom [00:21] fabricius I have a question [00:21] Tiki|bot Welcome to the official Tiki Wiki CMS Groupware channel. Please ask your question directly. Don't ask to ask. Someone will reply if and when they know the answer. Welcome again and please stay a while. Thank you! [00:21] fabricius hi Tiki|bot [00:21] fabricius actually I have a weird problem: [00:23] fabricius certain menu items in ordinary Tiki menus with exact same permissions (public = anonymous allowed) are unequally and arbitrary shown or not shown ... I do not find a solution to make all menu items visible [00:23] PenguinMan98 polom fabricius [00:24] fabricius further more strange is, that in different languages a different number of menu items is visible, whilst using literally identical menus/modules [00:24] fabricius hi PenguinMan98, how r u? long time no see [00:24] PenguinMan98 Oh, you know. Just livin it up. Got my site upgraded to tiki 12. Not sure what you're seeing with the menu though. I was working on mine earlier and it seems fine [00:50] lindonb joined #tikiwiki [00:54] Tiki-KGB 03jyhem r50503 10branches/12.x/admin/include_sefurl.php * Fix minor notice warning when testing presence of .htaccess [01:35] Tiki|bot joined #tikiwiki [01:38] Gwayne joined #tikiwiki [01:55] dabright joined #tikiwiki [01:58] fabricius I found the problem PenguinMan98: wrong page names!!! ahhh always pebcak [01:58] fabricius renamed and woohoo working [02:05] Tiki|bot joined #tikiwiki [03:35] Tiki|bot joined #tikiwiki [03:44] lindonb left #tikiwiki [06:06] chibaguy joined #tikiwiki [06:59] TomJarvis Bye [08:30] Tiki-KGB 03chibaguy r50504 10trunk/templates/ 10(6 files in 6 dirs) * [FIX] Left and right column id names added to facilitate styling. [08:39] xavi joined #tikiwiki [08:44] redflo joined #tikiwiki [08:50] Tiki-KGB 03chibaguy r50505 10trunk/styles/ 10(8 files in 2 dirs) [08:50] Tiki-KGB [NEW] Less-compiled Bootstrap-based TheNews theme . Don't edit the CSS file(s) directly; make any changes in the styles/thenewsbs/*.less files and compile (which PhpStorm does transparently). For info on this method of making Bootstrap themes, see http://coding.smashingmagazine.com/2013/03/12/customizing-bootstrap/ . [08:51] chibaguy joined #tikiwiki [09:14] coaboa joined #tikiwiki [09:38] Tiki-KGB 03gezzzan r50506 10trunk/templates/layouts/application/layout_view.tpl * [ENH] adding admin menu [09:41] coaboa hi can I use mail-in to create a tracker item instead of a wiki page? [10:11] xavi joined #tikiwiki [10:19] Jyhem hmmm, no visible comments in blog with sefurl on nginx :-( [10:24] Tiki-KGB 03gezzzan r50507 10trunk/templates/admin/include_profiles.tpl * [MOD] attempt to simplify UI, still quite messy but getting better [10:36] xavi joined #tikiwiki [10:45] chibaguy joined #tikiwiki [10:45] chibaguy polom [11:09] xavi molop [11:09] xavi hi Gary :-) [11:09] xavi aka chibaguy [11:15] xavi chibaguy, for whenever you have a chance, I'd like you to test the "Random Header Images" profile in trunk, because for some reason, the image gets out of the surrounding box, while in 12.x, the image is displayed all right inside the surrounding box [11:16] chibaguy Hi Xavi. Ok, I'll check that when I have a chance. [11:16] xavi and I know almost nothing from whatever is needed to fix those style issues in trunk (bootstrap classes or whatever else is done) [11:16] xavi thks chibaguy [11:16] chibaguy Yeah, a lot has changed. [11:17] xavi and I hope you like that profile. In fact, I remember that I asked you years ago about some potential way to allow something like this easily for new tiki admins.... [11:17] xavi after a few years, I managed to add that myself to a profile :-) [12:56] Tiki-KGB 03jonnybradley r50508 10branches/12.x/tiki-switch_lang.php [12:56] Tiki-KGB [FIX] switch lang: Don't lose the beginning of the url if it's a category sefurl (thanks Bernard) [13:00] Telesight joined #tikiwiki [13:06] dabright joined #tikiwiki [13:07] fabricius joined #tikiwiki [13:09] jonnyb joined #tikiwiki [13:13] dabright1 joined #tikiwiki [13:14] dabright2 joined #tikiwiki [13:15] dabright1 joined #tikiwiki [13:16] * jonnyb is quite excited to find Smarty 3 has a ternary operator at last! [13:34] Tiki-KGB 03jonnybradley r50509 10trunk/ 10templates/tiki-admin_surveys.tpl 10tiki-admin_surveys.php * [FIX] surveys: More on cookietab and title URL [13:44] xavi bbl [13:50] Tiki-KGB 03jonnybradley r50510 10trunk/admin/include_sefurl.php 10trunk/tiki-switch_lang.php 10trunk * [MRG] Automatic merge, branches/12.x 50499 to 50508 [14:06] chibaguy joined #tikiwiki [14:12] robertplummer jonnyb: What does it look like? [14:12] robertplummer ?. ? [14:12] jonnyb hi robertplummer [14:12] robertplummer o, ic [14:13] robertplummer (true ? do_if_true : do_if_false) [14:13] jonnyb {($foo eq $bar) ? 'true' : 'false'} seems to work [14:13] robertplummer i use ternary often [14:13] jonnyb or {$baz = ($foo eq $bar) ? 'true' : 'false'} for an assignment [14:13] robertplummer nice [14:13] jonnyb yes, been wanting one in smarty for ages [14:14] robertplummer It really shortens the amount of code. [14:14] robertplummer Sometimes, it does sacrifice readability, but it is a tossup at times. [14:14] jonnyb indeed [14:28] Tiki-KGB 03xavidp r50511 10branches/12.x/lang/ca/language.php * a few fixes [14:39] lphuberdeau joined #tikiwiki [14:41] robertplummer jonnyb: So the other day I introduced in wikiLingo a plugin called "Template". It is a repeatable item that works with %variabels%. Anyway, I'm totally geeking out about it, as it repeats the actual wikiLingo expressions (ie, the objects that render to html) for the length of the returned associative array for the variable scope. [14:42] robertplummer jonnyb: So wikiLingo acts like the expression is actual elements. The parser thinks that they are actual entered syntax. [14:52] jonnyb sorry robertplummer - not really following, but am happy for you :) [14:52] jonnyb back later [14:52] robertplummer jonnyb: k [15:11] jonnyb joined #tikiwiki [15:34] ricks99 joined #tikiwiki [15:54] Tiki-KGB 03jonnybradley r50512 10trunk/ 10templates/tiki-take_survey.tpl 10lib/surveys/surveylib.php 10templates/tiki-admin_survey_questions.tpl [15:54] Tiki-KGB [ENH] surveys: New type of "question" that's not a question, but a heading to go between question. Will evolve to do more stuff... currently just makes an H3 heading. [15:58] Tiki-KGB 03jonnybradley r50513 10trunk/lib/surveys/surveylib.php * [MOD] surveys: Remove unused list_all_questions function [16:06] robertplummer Does anyone know the branch date at this time? Has it ben pushed back? [16:18] PenguinMan98 Hey guy [16:18] PenguinMan98 s [16:18] PenguinMan98 So I had an error last night and it wasn't PEBKAC [16:19] PenguinMan98 You know how the built in Tiki CAPTCHA feature has a variable length string? You can set the length of the string in the security settings page. [16:19] PenguinMan98 Weeeeelllll... the actual template used to display the CAPTCHA text entry field is NOT variable width to match that length. [16:20] PenguinMan98 It's fixed at 8 characters maxlength [16:20] PenguinMan98 So in efforts to frustrate the spambot, I upped the captcha to 10 characters [16:20] PenguinMan98 But then I got reports that nobody could sign up at all because they couldn't get through the captcha [16:21] PenguinMan98 because they couldn't enter all 10 characters in the form field [16:22] ricks99 left #tikiwiki [16:22] PenguinMan98 and that's in 'antibot.php' [16:22] PenguinMan98 I changed mine to 12 characters and cleared the template cache and all seems to be well now [16:23] PenguinMan98 But it's a problem just waiting to happen again [16:23] PenguinMan98 THought I'd make you all aware if you weren't already [16:24] PenguinMan98 err, 'antibot.tpl' anyway [16:32] xavi back [16:32] xavi PenguinMan98: you are welcome to commit your fix to the code [16:32] xavi see http://dev.tiki.org/Commit [16:33] xavi and related links [16:33] PenguinMan98 I would, but I wouldn't call that a 'fix' I just made a workaround [16:33] PenguinMan98 Maybe tonight I'll do some research and make an actual 'fix' by making that field variable length based on the security setting [16:40] PenguinMan98 found it [16:40] PenguinMan98 $prefs['captcha_wordLen'] [16:43] PenguinMan98 So, the proper solution would be to change [16:43] PenguinMan98 to [16:43] PenguinMan98 correct? [16:46] Tiki-KGB 03jonnybradley r50514 10trunk/tiki-take_survey.php * [FIX] surveys: Don't record that a survey has been taken if there are errors [16:51] PenguinMan98 So, have you guys seen Facebook's new 'Hack' php-ish code and their templating system 'Blade'? [16:51] PenguinMan98 it's F***ing SWEEEET [16:53] PenguinMan98 The story is, Facebook runs on php but they'd grown out of it. The language wasn't developing quick enough and in the ways they wanted. They were sick of being slaves to it. So they rolled their own. [16:54] PenguinMan98 http://hacklang.org/tutorial/ [16:54] PenguinMan98 check it out [17:01] lphuberdeau not sure I like having to write types everywhere [17:01] lphuberdeau if I did, I would use an entire different language anyway [17:05] PenguinMan98 It's optional [17:05] PenguinMan98 The advantage of doing so is that if you do, their compiler will spot bugs easier [17:08] PenguinMan98 And that's another thing. JIT compiler! [17:12] lphuberdeau that's HHVM [17:12] lphuberdeau has been around for a while now [17:13] lphuberdeau funny, exercise 24 is something I suggested a long time ago when they were discussing traits [17:14] * PenguinMan98 nods [17:16] lphuberdeau I like the inline lambda functions [17:27] PenguinMan98 Mmmhmm [17:27] PenguinMan98 Blade is sweet for the shorthand escaping functions [17:27] PenguinMan98 anti-xss makes templates ugly [17:53] lphuberdeau not sure I like the embedding of HTML within the code like that, but the escaping is smart [17:53] lphuberdeau in fact, most modern templating engines are safe by default nowdays, only smarty leaves us stuck with |escape all around [18:03] PenguinMan98 I'm still wondering why you guys even use SMARTY for tiki. What advantage does it offer? [18:04] PenguinMan98 I remember first learning about SMARTY for other projects but then another employer pointed out that it didn't really offer any significant advantages over writing the templates yourself in PHP. [18:05] PenguinMan98 After that, I've always seen SMARTY as a needless complication [18:07] dabright joined #tikiwiki [18:10] lphuberdeau actually, at the stage we are, changing is nearly impossible [18:11] marclaporte joined #tikiwiki [18:11] lphuberdeau but it's still an advantage over raw PHP as it can secure things a little more, it's a bit more compact, and less scary for integrators and UI tweakers [18:18] ricks99 joined #tikiwiki [18:22] xavi left #tikiwiki [18:26] PenguinMan98 But lets say I started building my own TIKI bits and I didn't use SMARTY, would that be OK? Or should I follow suit? [18:27] lphuberdeau follow, conventions are what allows large teams to work together [18:27] lphuberdeau although the newer code typically has simpler templates with the services [18:27] lphuberdeau trying really hard to avoid having extremely complex templates that perform a thousand actions [18:35] PenguinMan98 HA. And yet you develop TIKI [18:35] PenguinMan98 :p [18:36] PenguinMan98 Oh wait, I read that wrong [18:36] PenguinMan98 I read that as "Trying really hard to avoid complex sites that perform a thousand actions [18:38] PenguinMan98 I've been thinking about writing a chat / forum / wiki daemon with node.js [18:39] PenguinMan98 I'm convinced forums and wiki's and even chats still suffer from ui's inherited from the 90's [18:39] PenguinMan98 I think I can do better [18:39] PenguinMan98 Create a communications platform for the next gen [18:43] PenguinMan98 My wish list though contains an intuitive and simple permissions system that is as powerful as Tiki's. [18:43] lphuberdeau I have yet to see node.js code that scales as it grows without turning into a completely messy callback soup [18:43] PenguinMan98 callback soup? Could you elaborate please? [18:44] lphuberdeau it has been a while since I looked at node.js, but anything non-trivial ended up being nested callbacks [18:48] Tiki-KGB 03jonnybradley r50515 10trunk/ 10tiki-admin_surveys.php 10tiki-take_survey.php [18:48] Tiki-KGB [FIX] surveys: Reset surveyId after save and record hit and immediately redirect after taking survey [18:48] PenguinMan98 hmm. I suppose I was still in the 'evangelized' stage of being enamored with node.js. I'll take a deeper look into this weakness. Though already I'm seeing that Async.js was developed to handle this [18:49] PenguinMan98 Mainly I'm after the socket IO for the data transport solution [18:50] PenguinMan98 mmmmmm full duplex event-based communication.... [18:50] Tiki-KGB 03jonnybradley r50516 10trunk/lib/surveys/surveylib.php [18:50] Tiki-KGB [REF] surveys: Complete modernisation of database access in surveylib - still some obscure logic regarding options remaining but easier to see what's going on now [18:51] * PenguinMan98 drools [19:04] Tiki-KGB 03jonnybradley r50517 10trunk/lib/structures/tiki-edit_structure.js * [SVN] missing Id keyword [19:32] marclaporte joined #tikiwiki [19:59] marclapo1 joined #tikiwiki [21:08] Tiki-KGB 03jonnybradley r50518 10trunk/ 03lib/surveys/tiki-admin_survey_questions.js 10lib/surveys/surveylib.php 10templates/tiki-admin_survey_questions.tpl 10tiki-admin_survey_questions.php * [ENH] surveys: Make questions (drag & drop) sortable on admin questions [21:13] fabricius joined #tikiwiki [21:31] fabricius PenguinMan98: hi [21:31] fabricius 16:43:26 - PenguinMan98: to [21:31] fabricius 16:43:43 - PenguinMan98: correct? [21:32] fabricius seems correct for me [21:32] fabricius you tested? [21:32] fabricius commit then? [22:32] Tiki|bot joined #tikiwiki [22:32] Telesight joined #tikiwiki [22:32] Tiki|bot New Forum Posts: [Tikiwiki-cvs/svn] SF.net SVN: tikiwiki:[50505] trunk/styles - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=51583 [22:32] Tiki|bot Recent Bug: - Score feature useless - http://dev.tiki.org/item5175 [22:51] marclaporte joined #tikiwiki [23:16] marclaporte joined #tikiwiki [23:58] marclapo1 joined #tikiwiki