←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
fabriciusjoined #tikiwiki
polom
I have a question
[00:20]
Tiki|botWelcome 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]
fabriciushi Tiki|bot
actually I have a weird problem:
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:21]
PenguinMan98polom fabricius [00:23]
fabriciusfurther more strange is, that in different languages a different number of menu items is visible, whilst using literally identical menus/modules
hi PenguinMan98, how r u? long time no see
[00:24]
PenguinMan98Oh, 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:24]
...... (idle for 26mn)
lindonbjoined #tikiwiki [00:50]
Tiki-KGB03jyhem r50503 10branches/12.x/admin/include_sefurl.php * Fix minor notice warning when testing presence of .htaccess [00:54]
......... (idle for 41mn)
Tiki|botjoined #tikiwiki [01:35]
Gwaynejoined #tikiwiki [01:38]
.... (idle for 17mn)
dabrightjoined #tikiwiki [01:55]
fabriciusI found the problem PenguinMan98: wrong page names!!! ahhh always pebcak
renamed and woohoo working
[01:58]
Tiki|botjoined #tikiwiki [02:05]
................... (idle for 1h30mn)
joined #tikiwiki [03:35]
lindonbleft #tikiwiki [03:44]
............................. (idle for 2h22mn)
chibaguyjoined #tikiwiki [06:06]
........... (idle for 53mn)
TomJarvisBye [06:59]
................... (idle for 1h31mn)
Tiki-KGB03chibaguy r50504 10trunk/templates/ 10(6 files in 6 dirs) * [FIX] Left and right column id names added to facilitate styling. [08:30]
xavijoined #tikiwiki [08:39]
redflojoined #tikiwiki [08:44]
Tiki-KGB03chibaguy r50505 10trunk/styles/ 10(8 files in 2 dirs)
[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:50]
chibaguyjoined #tikiwiki [08:51]
..... (idle for 23mn)
coaboajoined #tikiwiki [09:14]
..... (idle for 24mn)
Tiki-KGB03gezzzan r50506 10trunk/templates/layouts/application/layout_view.tpl * [ENH] adding admin menu [09:38]
coaboahi can I use mail-in to create a tracker item instead of a wiki page? [09:41]
....... (idle for 30mn)
xavijoined #tikiwiki [10:11]
Jyhemhmmm, no visible comments in blog with sefurl on nginx :-( [10:19]
Tiki-KGB03gezzzan r50507 10trunk/templates/admin/include_profiles.tpl * [MOD] attempt to simplify UI, still quite messy but getting better [10:24]
xavijoined #tikiwiki [10:36]
chibaguyjoined #tikiwiki
polom
[10:45]
..... (idle for 24mn)
xavimolop
hi Gary :-)
aka chibaguy
[11:09]
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:15]
chibaguyHi Xavi. Ok, I'll check that when I have a chance. [11:16]
xaviand I know almost nothing from whatever is needed to fix those style issues in trunk (bootstrap classes or whatever else is done)
thks chibaguy
[11:16]
chibaguyYeah, a lot has changed. [11:16]
xaviand 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....
after a few years, I managed to add that myself to a profile :-)
[11:17]
.................... (idle for 1h39mn)
Tiki-KGB03jonnybradley r50508 10branches/12.x/tiki-switch_lang.php
[FIX] switch lang: Don't lose the beginning of the url if it's a category sefurl (thanks Bernard)
[12:56]
Telesightjoined #tikiwiki [13:00]
dabrightjoined #tikiwiki [13:06]
fabriciusjoined #tikiwiki [13:07]
jonnybjoined #tikiwiki [13:09]
dabright1joined #tikiwiki [13:13]
dabright2joined #tikiwiki [13:14]
dabright1joined #tikiwiki [13:15]
jonnybjonnyb is quite excited to find Smarty 3 has a ternary operator at last! [13:16]
.... (idle for 18mn)
Tiki-KGB03jonnybradley r50509 10trunk/ 10templates/tiki-admin_surveys.tpl 10tiki-admin_surveys.php * [FIX] surveys: More on cookietab and title URL [13:34]
xavibbl [13:44]
Tiki-KGB03jonnybradley r50510 10trunk/admin/include_sefurl.php 10trunk/tiki-switch_lang.php 10trunk * [MRG] Automatic merge, branches/12.x 50499 to 50508 [13:50]
.... (idle for 16mn)
chibaguyjoined #tikiwiki [14:06]
robertplummerjonnyb: What does it look like?
?. ?
[14:12]
jonnybhi robertplummer [14:12]
robertplummero, ic
(true ? do_if_true : do_if_false)
[14:12]
jonnyb{($foo eq $bar) ? 'true' : 'false'} seems to work [14:13]
robertplummeri use ternary often [14:13]
jonnybor {$baz = ($foo eq $bar) ? 'true' : 'false'} for an assignment [14:13]
robertplummernice [14:13]
jonnybyes, been wanting one in smarty for ages [14:13]
robertplummerIt really shortens the amount of code.
Sometimes, it does sacrifice readability, but it is a tossup at times.
[14:14]
jonnybindeed [14:14]
Tiki-KGB03xavidp r50511 10branches/12.x/lang/ca/language.php * a few fixes [14:28]
lphuberdeaujoined #tikiwiki [14:39]
robertplummerjonnyb: 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.
jonnyb: So wikiLingo acts like the expression is actual elements. The parser thinks that they are actual entered syntax.
[14:41]
jonnybsorry robertplummer - not really following, but am happy for you :)
back later
[14:52]
robertplummerjonnyb: k [14:52]
.... (idle for 19mn)
jonnybjoined #tikiwiki [15:11]
..... (idle for 23mn)
ricks99joined #tikiwiki [15:34]
..... (idle for 20mn)
Tiki-KGB03jonnybradley r50512 10trunk/ 10templates/tiki-take_survey.tpl 10lib/surveys/surveylib.php 10templates/tiki-admin_survey_questions.tpl
[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.
03jonnybradley r50513 10trunk/lib/surveys/surveylib.php * [MOD] surveys: Remove unused list_all_questions function
[15:54]
robertplummerDoes anyone know the branch date at this time? Has it ben pushed back? [16:06]
PenguinMan98Hey guy
s
So I had an error last night and it wasn't PEBKAC
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.
Weeeeelllll... the actual template used to display the CAPTCHA text entry field is NOT variable width to match that length.
It's fixed at 8 characters maxlength
So in efforts to frustrate the spambot, I upped the captcha to 10 characters
But then I got reports that nobody could sign up at all because they couldn't get through the captcha
because they couldn't enter all 10 characters in the form field
[16:18]
ricks99left #tikiwiki [16:22]
PenguinMan98and that's in 'antibot.php'
I changed mine to 12 characters and cleared the template cache and all seems to be well now
But it's a problem just waiting to happen again
THought I'd make you all aware if you weren't already
err, 'antibot.tpl' anyway
[16:22]
xaviback
PenguinMan98: you are welcome to commit your fix to the code
see http://dev.tiki.org/Commit
and related links
[16:32]
PenguinMan98I would, but I wouldn't call that a 'fix' I just made a workaround
Maybe tonight I'll do some research and make an actual 'fix' by making that field variable length based on the security setting
[16:33]
found it
$prefs['captcha_wordLen']
So, the proper solution would be to change <input type="text" maxlength="12" size="22" name="captcha[input]" id="antibotcode">
to <input type="text" maxlength="{$prefs.captcha_wordLen}" size="22" name="captcha[input]" id="antibotcode">
correct?
[16:40]
Tiki-KGB03jonnybradley r50514 10trunk/tiki-take_survey.php * [FIX] surveys: Don't record that a survey has been taken if there are errors [16:46]
PenguinMan98So, have you guys seen Facebook's new 'Hack' php-ish code and their templating system 'Blade'?
it's F***ing SWEEEET
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.
http://hacklang.org/tutorial/
check it out
[16:51]
lphuberdeaunot sure I like having to write types everywhere
if I did, I would use an entire different language anyway
[17:01]
PenguinMan98It's optional
The advantage of doing so is that if you do, their compiler will spot bugs easier
And that's another thing. JIT compiler!
[17:05]
lphuberdeauthat's HHVM
has been around for a while now
funny, exercise 24 is something I suggested a long time ago when they were discussing traits
[17:12]
PenguinMan98PenguinMan98 nods [17:14]
lphuberdeauI like the inline lambda functions [17:16]
PenguinMan98Mmmhmm
Blade is sweet for the shorthand escaping functions
anti-xss makes templates ugly
[17:27]
...... (idle for 26mn)
lphuberdeaunot sure I like the embedding of HTML within the code like that, but the escaping is smart
in fact, most modern templating engines are safe by default nowdays, only smarty leaves us stuck with |escape all around
[17:53]
PenguinMan98I'm still wondering why you guys even use SMARTY for tiki. What advantage does it offer?
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.
After that, I've always seen SMARTY as a needless complication
[18:03]
dabrightjoined #tikiwiki [18:07]
lphuberdeauactually, at the stage we are, changing is nearly impossible [18:10]
marclaportejoined #tikiwiki [18:11]
lphuberdeaubut 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:11]
ricks99joined #tikiwiki [18:18]
xavileft #tikiwiki [18:22]
PenguinMan98But 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:26]
lphuberdeaufollow, conventions are what allows large teams to work together
although the newer code typically has simpler templates with the services
trying really hard to avoid having extremely complex templates that perform a thousand actions
[18:27]
PenguinMan98HA. And yet you develop TIKI
:p
Oh wait, I read that wrong
I read that as "Trying really hard to avoid complex sites that perform a thousand actions
I've been thinking about writing a chat / forum / wiki daemon with node.js
I'm convinced forums and wiki's and even chats still suffer from ui's inherited from the 90's
I think I can do better
Create a communications platform for the next gen
My wish list though contains an intuitive and simple permissions system that is as powerful as Tiki's.
[18:35]
lphuberdeauI have yet to see node.js code that scales as it grows without turning into a completely messy callback soup [18:43]
PenguinMan98callback soup? Could you elaborate please? [18:43]
lphuberdeauit has been a while since I looked at node.js, but anything non-trivial ended up being nested callbacks [18:44]
Tiki-KGB03jonnybradley r50515 10trunk/ 10tiki-admin_surveys.php 10tiki-take_survey.php
[FIX] surveys: Reset surveyId after save and record hit and immediately redirect after taking survey
[18:48]
PenguinMan98hmm. 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
Mainly I'm after the socket IO for the data transport solution
mmmmmm full duplex event-based communication....
[18:48]
Tiki-KGB03jonnybradley r50516 10trunk/lib/surveys/surveylib.php
[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:50]
PenguinMan98PenguinMan98 drools [18:51]
Tiki-KGB03jonnybradley r50517 10trunk/lib/structures/tiki-edit_structure.js * [SVN] missing Id keyword [19:04]
...... (idle for 28mn)
marclaportejoined #tikiwiki [19:32]
...... (idle for 27mn)
marclapo1joined #tikiwiki [19:59]
.............. (idle for 1h9mn)
Tiki-KGB03jonnybradley 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:08]
fabriciusjoined #tikiwiki [21:13]
.... (idle for 18mn)
PenguinMan98: hi
16:43:26 - PenguinMan98: to <input type="text" maxlength="{$prefs.captcha_wordLen}" size="22" name="captcha[input]" id="antibotcode">
16:43:43 - PenguinMan98: correct?
seems correct for me
you tested?
commit then?
[21:31]
............. (idle for 1h0mn)
Tiki|botjoined #tikiwiki [22:32]
Telesightjoined #tikiwiki [22:32]
Tiki|botNew 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
Recent Bug: - Score feature useless - http://dev.tiki.org/item5175
[22:32]
.... (idle for 19mn)
marclaportejoined #tikiwiki [22:51]
...... (idle for 25mn)
joined #tikiwiki [23:16]
......... (idle for 42mn)
marclapo1joined #tikiwiki [23:58]

←Prev date Next date→ Show only urls(Click on time to select a line by its url)