Caarrie: joined #tikiwiki Caarrie3: joined #tikiwiki Caarrie|away: joined #tikiwiki
joined #tikiwiki fabricius: refizul: with the logos/images in columns ... if you do not find a good and simpke way, just knock again after Wednesday eveneing - I might hasve an idea .... generally there are simple ways to show specific or random images incling links and additionally there is the banner feature ... tell us what you want to achieve and we tell ya what features the one or the other considers refizul: fabricius: I want a list of logos as in datenschutzraum.de right column fabricius: refizul: easy refizul: when I create a custom logo, may I copy some .tpl stuff into the editor at Admin->Modules->Custom Modules fabricius: refizul: do NOT use image galleries - there is an module for images from the file gallery refizul: I tried with just one image, but there is still a box around. fabricius: do not use LOGO -> that are NOT sitelogos refizul: yes, I noticed that logo module was misleading
has the .tpl code (starting with "{tikimodule") to be wiki parsed? fabricius: BANNER was possible, but much overdone for this task, as you might noit need to show the banners in different zones at different times (show here at XX.XX from XX to XX
arrg no need for .tpl at this point refizul refizul: now I've got nested boxes around the image. Not what I wanted, but funny lukasjan: joined #tikiwiki fabricius: hi lukasjan refizul: I feel really strange. It's like owning an aircraft carrier (Tiki) and the only tool I know to use is a paddle. lukasjan: hallo refizul: hello lukasjan Caarrie|away: joined #tikiwiki fabricius: test refizul: test ack - missiles launched fabricius: refizul I just explain lukasjan the IRC basics refizul: ;-) Jyhem_laptop: joined #tikiwiki Caarrie: joined #tikiwiki sylvieg: joined #tikiwiki Caarrie: joined #tikiwiki Caarrie|away: joined #tikiwiki test_fab: joined #tikiwiki
left #tikiwiki Caarrie: joined #tikiwiki test_fab: joined #tikiwiki fabricius: . refizul: if I put the images into some subdir directly, I can show them via module, but only with a box around. Caarrie|away: joined #tikiwiki Caarrie: joined #tikiwiki
joined #tikiwiki Caarrie|away: joined #tikiwiki refizul: now I 've got a PNG in a banner and the banner in a module, but it shows the PNG source instead of the image Caarrie|away: joined #tikiwiki Caarrie: joined #tikiwiki refizul: banner with image works somehow, but still module box around it RobertPlummerMob: joined #tikiwiki goj_killedByISP: joined #tikiwiki fabricius: refizul no box around: moduleparameter nobox=y refizul: does nobox have more than one meaning?
Is it a difference to tell it as a parameter or inside the editor box? Caarrie|away: joined #tikiwiki refizul: I detected a funny effect here within theme Arcturus which has been puzzling me for a few hours Caarrie: joined #tikiwiki Caarrie|away: joined #tikiwiki Tiki|bot: New Forum Posts: unable to log in as admin after successful install - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=45345 fabricius: joined #tikiwiki
joined #tikiwiki Caarrie: joined #tikiwiki redflo: joined #tikiwiki j0n3: joined #tikiwiki dennmans: joined #tikiwiki j0n3: joined #tikiwiki vmachine: joined #tikiwiki
left #tikiwiki Tiki-KGB: tikiwiki 03kwem r43332 10branches/9.x/ 10templates/tiki-admin_newsletter_subscriptions.tpl 10lang/de/language.php
tikiwiki [FIX] Missing translation in admin newsletters, subscription. Typo in german translation arildb: joined #tikiwiki Tiki-KGB: tikiwiki 03kwem r43333 10trunk/ 10templates/tiki-admin_newsletter_subscriptions.tpl 10lang/de/language.php
tikiwiki [FIX] Missing translation in admin newsletters, subscription. Typo in german translation ravi: joined #tikiwiki
hi
i want to know how to use timer in tikiwiki page?
r u there? kstingel: joined #tikiwiki ravi: hi kstingel: hi all ravi: how to use timer in tikiwiki page? kstingel: haven't used it yet ravi, so I'm sorry, I can't advise ravi: ok
in new version is that provide? kstingel: who's responsible for themes? ravi: ok kstingel: I'll check ... one minute ravi: ok
hi
hi Tiki | bot
hi alll
hi kstingel: ravi: I couldn't (easily) find a reference for it ... but I think Rick is using it on his site; he's not here at present though Pulkit: joined #tikiwiki ravi: ok
thanks kstingel Pulkit: Hi mose ravi: is that any way to create template without admin rights? Pulkit: I need a solution for a problem in tiki Himanshu: joined #tikiwiki Pulkit: Hi wu-lee_
need support Himanshu: how to make new template in tikiwiki page for make profile page?
hi Pulkit: Hi amette
Hi Carrie|away
Hi rinnaN
Tiki-KGB Tiki-KGB: Pulkit: My master told me to not respond. Pulkit: I want answer not response
Jyhem_
Hi toe_
jst need support
fidel_
goj ravi: anyone who have deeper knowlege of tikiwiki?? fidel_: ? Pulkit: panamaus fidel_: Pulkit: dont you think highlightning all users is somehow ....well - not the way to go ;) Pulkit: How to use timer in tiki page fidel_: others may call it spamming fabricius: hi Pulkit it seems, that everybody is busy or not at keyboard Pulkit: ya fabricius: me aswell, sorry
if nobody has time, you either can ask in the forum or ask here later again
ravi: there are plenty Pulkit: Thnks fabricius fabricius: Pulkit: are you registered at tiki.org already? Pulkit: yes fabricius: documentation: http://doc.t.o forum: tiki.org/forum
http://tiki.org/forum ravi: we made profile page like facebook profile page functionality wise ...is that possible in tiki?? means create template where user fill that information and after that show that information? sylvieg: joined #tikiwiki kstingel1: joined #tikiwiki fabricius: the better you draft your question, the more the chance to get a quick helpful response
ravi: I regret not to have time to look into that now ... if you would write into the forum, here in the IRC we get a notice about a nwe forum threat ... and we see new forum posts on the tiki.org website in a module
there you could describe your project and question in a few more sentences ... I might get a chance to look at this tomorrow, or maybe today somebody else will see it and has an idea ravi: fabricius : thanks fabricius: np kstingel: joined #tikiwiki ravi: hi kstingel arildb: joined #tikiwiki arildb_: joined #tikiwiki jonnyb: joined #tikiwiki
oktoberpolom Tiki|bot: New Forum Posts: Omission in layout.css - http://tiki.org/tiki-view_forum_thread.php?forumId=14&comments_parentId=45348 kstingel1: joined #tikiwiki Tiki-KGB: tikiwiki 03jonnybradley r43334 03trunk/installer/schema/20121009_module_search_box_to_search_tiki.sql
tikiwiki [MOD] schema to replace search_box modules with search (search_box has been deprecated for several versions)
tikiwiki 03jonnybradley r43335 10trunk/modules/mod-func-search.php
tikiwiki [FIX] search: Make search module legacy mode work like search_box (for some reason help was dependant on fulltext mysql search?) jonnyb: hay woot - the commit messages are back! :)
was that you Caarrie|away? Tiki-KGB: tikiwiki 03jonnybradley r43336 10trunk/ 04modules/mod-func-search_box.php 04templates/modules/mod-search_box.tpl
tikiwiki [KIL] remove files for old search_box module Caarrie|away: no it is changi jonnyb: coo - i like the pretty colours too - bravo changi! Tiki-KGB: tikiwiki 03jonnybradley r43337 10trunk/ 10lib/search/searchlib-unified.php 10lib/smarty_tiki/block.filter.php
tikiwiki [ENH] search: Add visits to search sort modes (involves indexing visit data but it's just one number per object) Caarrie|away: i dont like all the colors some are hard to read jonnyb: is it according to filetype? looks like it (need to find a js file to change just to see the colour! :) ) Caarrie|away: would have to ask changi fabricius: joined #tikiwiki arildb: joined #tikiwiki arildb_: joined #tikiwiki rodrigoprimo: joined #tikiwiki dennmans: left #tikiwiki
joined #tikiwiki RobertPlummer: joined #tikiwiki ravi: joined #tikiwiki
hi sandroandrade: joined #tikiwiki ravi: i want to add questions and there four option in radio button below the question using tracker.............but the radio button not shown below the question......how to solve the issue Tiki|bot: New Forum Posts: how to use timer in tiki page? - http://tiki.org/tiki-view_forum_thread.php?forumId=3&comments_parentId=45349 jonnyb: hi ravi - not sure i understand - can explain more? radek82: joined #tikiwiki ravi: i had uploaded test on tiki page and i want user should complete it within a given time thats why i wanted to use timer on my page Tiki-KGB: tikiwiki 03jonnybradley r43338 10trunk/ 10css/admin.css 10templates/prefs/multicheckbox.tpl
tikiwiki [FIX] prefs: Better (unsorted list) layout for multicheckbox prefs jonnyb: so this is a tracker form of some sort? vmachine1: joined #tikiwiki
left #tikiwiki Tiki-KGB: tikiwiki 03jonnybradley r43339 10trunk/ 10templates/filter.tpl 10lib/prefs/search.php
tikiwiki [ENH] search: Change search_default_where pref to be a checkbox list (so you can set default search object types to say, "wiki page" or "articles") RobertPlummer: polom all vmachine: joined #tikiwiki jonnyb: hi RobertPlummer, long time no poloms :) RobertPlummer: jonnyb: Was out of town, and before that working on an on-site install.
I'm back in the captain's chair now. jonnyb: :D vmachine: left #tikiwiki jonnyb: did you see Marc's email about how i broke the draw icons for the img plugin? i just wrapped the whole bit of code in an if as it was throwing errors about galleryId not being set... RobertPlummer: jonnyb: I must have missed that one.
What file? jonnyb: wikiplugin_img
http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=43172&view=rev
galleryId isn't a real parameter for {img}, so i was guessing you were using it in some sort of undocumented way... RobertPlummer: What line?
nm jonnyb: donw at the bottom of the file RobertPlummer: fgalId is probably what I wanted jonnyb: this needs fixing now in trunk and 9.x - i'll do the back/fore-port if you can work out what's needed
nice to fix for 9.2 (which must be due soon) Tiki-KGB: tikiwiki 03robertplummer r43340 10trunk/lib/core/Tracker/Query.php
tikiwiki [NEW] Added delete method to tracker query, it first queries, then deletes the items from the query RobertPlummer: ok, sounds good, I will take care of it first thing. jonnyb: thanks R RobertPlummer: jonnyb: It it isn't a real param, how come it is listed at the top?
Did you do that? jonnyb: oh? (don't think so) RobertPlummer: In the revision you sent, it is not there.
However, in trunk, it is. jonnyb: what's not? gerreryId?
galleryId i mean RobertPlummer: yes dhazel: joined #tikiwiki RobertPlummer: trunk, line 328 jonnyb: seems to get set to '' but not set anywhere else
and there is a param called fgalId, which presumably is for the galleryId, no? RobertPlummer: I would assume so. jonnyb: that one says: Numeric ID of a file gallery. Displays all images from that gallery
i don't know what your one was supposed to do as it seems it was never set
$dbinfo['galleryId'] is used earlier on in the file, maybe that's the one you need?
(assuming dbinfo gets set) RobertPlummer: jonnyb: Are you getting any funded work that has to do with spam blocking? jonnyb: did have some, but have done most of it - mainly stopping spam registrations RobertPlummer: jonnyb: I was thinking, it is getting increasingly hard to stop spam, on my site I get tons of it. jonnyb: user trackers now work - just adding a "why do you want to register" mandatory question seems to put 99.9% of them off RobertPlummer: Are there instructions?
What about already existing users? jonnyb: for user trackers? try doc.tiki.org/user+tracker maybe?
not much progress on existing ones, expcept you can now sort the lists by "never logged in" etc RobertPlummer: But they do log in, that is how they are bypassing things like captcha
jonnyb: Anyway, I'm fixing it for the time being with the following command:
Tracker_Query::tracker('Contact us')
->byName()
->filterFieldByValue('Your name', 'Their name which is always the same')
->limit(999999)
->delete();
:)
Thing about automation, data repeats much of the time. They use the same name, so it makes it easy to detect and kill. fabricius: joined #tikiwiki Tiki-KGB: tikiwiki 03robertplummer r43341 10trunk/lib/core/Tracker/Query.php
tikiwiki [ENH] Gave access to bulk mode RobertPlummer: jonnyb: fixed
waiting for commit msg..... Tiki-KGB: tikiwiki 03robertplummer r43342 10trunk/lib/wiki-plugins/wikiplugin_img.php
tikiwiki [FIX] draw icon needed galleryId from db, not from plugin RobertPlummer: There we go. jonnyb: thanks Robert - will bp to 9.x shortly RobertPlummer: I get an error from imagecreatefromstring, let me see if I can sort it out.
It is thrown because it will not work with svg.
ok, got it sorted.
committing Tiki-KGB: tikiwiki 03robertplummer r43343 10trunk/lib/images/gd.php
tikiwiki [FIX] can't use imagecreatefromstring with svg, detect images that start with "<svg" and ensure they are not checked using said function sipherdee_: joined #tikiwiki Tiki-KGB: tikiwiki 03robertplummer r43344 10trunk/lib/core/WikiPlugin/ParserNegotiator.php
tikiwiki [FIX] $key didn't exist at time of check for match in input, needed it to set details just before, also moved plugin level modification array to addWaitingPlugin
tikiwiki 03robertplummer r43345 10trunk/lib/core/JisonParser/Wiki/Handler.php
tikiwiki [FIX] A few warnings, checked in phpunit to pass tests
tikiwiki 03arildb r43346 10trunk/templates/tiki-page_bar.tpl
tikiwiki [FIX] Auto display comments if "display by default" preference is set
tikiwiki 03jonnybradley r43347 10trunk/ 10lib/prefs/feature.php 10templates/searchresults-plain.tpl
tikiwiki [MOD] search: Change a couple of labels for consistency ("Pertinence" becomes "Relevance" and "Hits" becomes "Visits")
tikiwiki 03gregmartin r43348 10webdeploy/parameters.xml
tikiwiki fixed XML marclaporte: joined #tikiwiki arildb: joined #tikiwiki marclaporte: joined #tikiwiki Tiki-KGB: tikiwiki 03robertplummer r43349 10trunk/lib/parser/parserlib.php
tikiwiki [FIX] No linger store parser as it gets confused when executing modules and wiki pages, this keeps every instance private from the next parser
tikiwiki 03robertplummer r43350 10trunk/lib/core/JisonParser/Wiki/Handler.php
tikiwiki [FIX] In some rare cases, there will be leftover plugin entities, ensure that they are all restored back into output RobertPlummer: jonnyb: Do you have any interesting projects on the horizon? luciash: polom jonnyb: hi luciash Tiki-KGB: tikiwiki 03jonnybradley r43351 10branches/9.x/lib/wiki-plugins/wikiplugin_img.php
tikiwiki [bp/r43342][FIX] draw icon needed galleryId from db, not from plugin (thanks RobertPlummer & marclaporte) redflo: joined #tikiwiki marclaporte: RobertPlummer & jonnyb: thanks to the fixes to Tiki Draw! RobertPlummer: We do what we can. jonnyb: :)
any LHF for 9.2? (have a bit of slightly spare time ;) ) RobertPlummer: LHF? jonnyb: Low Hanging Fruit :) RobertPlummer: I am running into an issue, on trunk though, not sure how to fix it. I will when I get an hour or two if someone doesn't beat me to it.
In short, javascript is being turned off dynamically. 2 sites on the same server that use the same code are reacting differently, I think it is a session problem.
And I can't see it not affecting 9.
Although I have not tested it with 9.
I realize the use case, for some testing, but honestly, tiki is javascript dependant at this point. jonnyb: could be - i changed the cookie handling a bit in trunk a few weeks ago, for a new "cookie_consent" feature
it involved fiddling with the js detect (which is extremely flakey already)
but is fine on my tests (er, actually i haven't got many) RobertPlummer: I don't understand how a session variable should turn that off.
It should just be a feature, on, off. Easy. Tiki-KGB: tikiwiki 03arildb r43352 10branches/9.x/templates/tiki-page_bar.tpl
tikiwiki [bp/r43346][FIX] Auto display comments if "display by default" preference is set RobertPlummer: Do you agree jonnyb? jonnyb: session is involved in the tiki_cookiejar thing
what should be a feature? RobertPlummer: turning javascript on and off, which already exists.
The problem is that there is an override, I can't figure out when I'd want to override an easily changeable feature. jonnyb: $prefs['javascript_enabled'] you mean? it's not a real admin-changable pref, more like a detected global var RobertPlummer: jonnyb: Right, but there is an override to it that works off the session. jonnyb: oh? i thought it worked on whether the browser had js enabled or not, rather than the session RobertPlummer: Possibly, but in my tests, it is failing.
I'm trying to find it...
lib/setup/javascript.php line 15
$js_cookie = getCookie('javascript_enabled');
line 20-21
// Update the pref with the cookie value
$prefs['javascript_enabled'] = $js_cookie; jonnyb: i'm a bit unsure about this commit: http://tinyurl.com/9qfamnc
the whole $runs_before_js_detect thing is bad imho RobertPlummer: Perhaps that is it, all I can say is that I have 2 sites running on the same server (trunk.myurl.com and trunk2.myurl.com) trunk. is fine, trunk2. fails.
Crazy
Why are we trying to turn off a feature that tiki is dependant on?
Shouldn't we just put a banner up, "LOOK YOU NEED TO GET WITH THE TIMES! YOUR DEVICE IS ANCIENT AND DOESN'T SUPPORT TIKI
" jonnyb: if the client doesn't support js then tiki tries to be polite and allow some access
they might be blind, for instance (and SHOUTING isn't nice ;) ) RobertPlummer: I'm not saying we shouldn't but if js doesn't work, isn't it a bit like static text than a program?
The program should gracefully degrade without having to turn off sending the javascript to the client, which will be ignored anyway.
The javascript should always be sent, no? jonnyb: how do you mean "static text"?
historically it hasn't always been RobertPlummer: <script /> tags are treated like <comment />
They don't go and get the js files and run them as an application. fabricius: joined #tikiwiki RobertPlummer: I could be wrong, but that is what I thought happened when they don't support javascript, they don't run it. jonnyb: in html 3 it wasn't so organised RobertPlummer: I'm svn up'ing the sites so I can see what is going on.
But we are now into html 5, right?
I mean tiki is html 5. jonnyb: almost entirely :) RobertPlummer: So then could it be said that this feature is no longer required? jonnyb: i'd like to find a better js detect method - i seem to remember jquery.com use a good (simple) one RobertPlummer: Can't we just build a module that could be displayed if there was no javascript?
Ie it is displayed by default, and javascript removes it.
If it were a module, it'd be easy to display to end users. jonnyb: ew, sounds messy RobertPlummer: It is a module, it doesn't have to be turned on. jonnyb: what would it have in it? arildb: jonnyb: I recently tried out jcapture and it's really good for reporting from the screen (See: http://demo.tiki.org/trunk/tiki-index.php?page=For+Arild). The process is a bit different, than I've been used to, but once "discovered" it's really fast and easy!
Unfortunately it doesn't work in WYSIWYG RobertPlummer: <script>document.write('<style>.no_javascript{display: none;}</style>');</script>
<div class="no_javascript">Your browser doesn't support javascript, to get the most out of Tiki, try using a browser with it enabled.</div> jonnyb: thanks arildb - marclaporte put most of it together arildb: I did some debugging and it seems to come down to an empty "command string" being returned for CkEditor
I still haven't figured out what the right command is.... RobertPlummer: jonnyb: Also, the new parser is reaching a point to which we can start to incoporate wysiwyg, I'd LOVE to get your help in it when you get some free time in the future. I really think you'll like working in the new parser.
jonnyb: I even have a plan to keep using ckeditor using a reverse parser back to wiki syntax. jonnyb: arildb: i'll take a look (it's on my list) RobertPlummer: jonnyb: The shell already exists, the handler and negotiator for ckeditor. jonnyb: RobertPlummer: that's what it does at the moment RobertPlummer: but that is a project for another day
Does it parser on the DOM level? jonnyb: yes, but not in a very pretty way RobertPlummer: ie, if ($(this).hasClass('tiki-strike')) {return "--" + $(this).html() + "--} jonnyb: in editlib.php
no, it does it in php arildb: jonnyb: the problem seems to come from function getWysiwygToken( $areaId ) in toolbarlib.php line1572. The call $this->getSyntax($areaId) returns an empty string RobertPlummer: jonnyb: The only way for it to work right (that I can see) is to do a full conversion from DOM to wiki wyntax. This can be done either on the client side or server side. jonnyb: arildb: ah - probably because i forgot to fill it in! :) arildb: $exec_js = str_replace('&amp;', '&', $this->getSyntax($areaId)); // odd?
$this->setupCKEditorTool($exec_js, $this->name, $this->label, $this->icon);
I am not familiar with setupCKEditorTool jonnyb: it's some shared js code to add the button etc in ckeditor arildb: if you know what to fill in, I'm happy to test it for you jonnyb: will do, thanks rodrigoprimo: joined #tikiwiki
joined #tikiwiki fabricius: polom RobertPlummer: polom fabricius: pls tell me, who had the idea of the floating editbuttons? jonnyb: hi fabricius - floating? arildb: fabricius: Do you mean the floating command line, like dokuwiki? fabricius: yes
RobertPlummer: is there a script existing or in sight for converting a latin_1 database to an ut8 database in a way, that we can prevent or repair html entity problems?
arild yes ... your idea?
arildb: could you send me a screenshot of this pls? Tiki-KGB: tikiwiki 03jonnybradley r43353 10trunk/lib/toolbars/toolbarslib.php
tikiwiki [FIX] jcapture: Enable capture in wysiwyg (thanks marclaporte and arildb for the reminder) fabricius: arildb: if it is that, what I think what it is, I would like to take this onto the website revamp ... implementing it on the demo site arildb: it's from our review of Dokuwiki functionality. There are a couple of other ones too. See: http://demo.tiki.org/trunk/tiki-index.php?page=For+Arild
a revamp of the Tiki look would be great! The current look can be made much more attractive marclaporte: http://demo.tiki.org/trunk/ is now at latest trunk, ready for someone to test WYSIWYG / jCapture arildb: already fixed? jonnyb: hopefully :) fabricius: marclaporte: I have an encoding issue with flash/jcapture with Linux (Linux in general or Ubuntu) -> I want to find a general solution for that, but need a while for more research arildb: wow, that's quick. I cannot enter WYSIWYG mode on demo. I'll try locally Tiki-KGB: tikiwiki 03jonnybradley r43354 10trunk/lib/toolbars/toolbarslib.php
tikiwiki [FIX] toolbars: setSyntax is called from a static function, so needs to be public arildb: jonnyb: FF error console reports an error:
Timestamp: 10.10.2012 01:00:17
Error: ReferenceError: event is not defined
Source File: http://l5/tikidev/tiki-editpage.php?page=jcapture+test
Line: 2589
No screencapture window opens
...was testing in wysiwyg mode jonnyb: event? hmm... Tiki-KGB: tikiwiki 03robertplummer r43355 10trunk/lib/core/Tracker/Query.php
tikiwiki [FIX] Split each query up into it's own part jonnyb: can you get it to break on the error? -: jonnyb tests RobertPlummer: *scratches head*
*As he has been doing for hours* jonnyb: what's the difference?
except for the home page text RobertPlummer: That is it.
Tracker data
and homepage. jonnyb: but js seems to work on both for me RobertPlummer: It is probably a browser detection issue, I'm on firefox.
checking chrome... jonnyb: i'm on safari RobertPlummer: chrome works jonnyb: i get different dialogs when i select text arildb: jonnyb: The "event" reported may come from tiki-jcapture.js, and the (first) function openJCaptureDialog(area, page, event) { jonnyb: on trunk2 i don't seem to get the first "suggestions" dialog RobertPlummer: jonnyb: on webcompendia?
ok
jonnyb: If you select a whole sentence, you won't get a suggestion.
jonnyb: It will only pop-up if you get a partial.
.... or, um, it should ;) jonnyb: arildb: i'll try on fx RobertPlummer: jonnyb: In firefox on ubuntu I get this artefact only on trunk2 -> "<!-- jq smarty plugin inactive: feature_jquery off -->" jonnyb: odd indeed RobertPlummer: what is bothersome about this... I can't debug locally, I have to do it through ssh. jonnyb: how about trying some var_dump hacking? RobertPlummer: That is what I'm doing now. jonnyb: arildb: have the event error here - oddly it's fine in safari - not sure where the event it supposed to come from (yet) Tiki-KGB: tikiwiki 03amette r43356 10trunk/ 10tiki-install.php 10templates/tiki-install.tpl
tikiwiki [ENH] Show all errors to give users a clue why their installation fails
tikiwiki [ENH] On a fresh install default the Tiki to report problematic errors arildb: I got stuck at that one too RobertPlummer: jonnyb: I set an echo of $pref['javascript_enabled']; on line 26, and I get a big fat 'n'.
it is following the } else { of line 22 of javascript.php
If I set the 'n' in that else to 'y', the site is restored to working behavior.
Or better yet, if I just comment it out, the site works.
I'm not sure why we would want to set it if neither disableJavascript or $js_cookie have been set. jonnyb: in cookies, trunk2 has runs_before_detec=1 (but on trunk it = 2) RobertPlummer: Not sure what that means, any way to easily fix? jonnyb: i just found 118 matches for javascript_enabled in trunk (less than i would have expected actually)
so big changes would mean lots of work RobertPlummer: Is this a big fix?
I just want to fix it. jonnyb: but what are you fixing? more like hiding whatever the difference between your servers is, no? RobertPlummer: jonnyb: I commented it out to see where the problem was, seems it is elsewhere.
jonnyb: Do you think it is a small fix, or perhaps a much bigger one? jonnyb: not sure what needs fixing exactly arildb: jonnyb: I tried a screencapture in safari, and it did record a file. However, I am unable to view it. Error: "Flash player not available" jonnyb: hmmm, yes - cke has it's own weird flash thing...
but the wiki plugin should work (maybe not in the editor though, but after you save) arildb: Let me try it
jonnyb: I think I found a bug. marclaporte: jonnyb: you da top dog! http://demo.tiki.org/trunk/WYSIWYG+jCapture arildb: The movie url is in SEFURL format, even if SEFURL is off jonnyb: woo - seems a little fragile though Harman: joined #tikiwiki marclaporte: ah, yes fragile like a young tree
but the force is strong in this one
http://demo.tiki.org/trunk/tiki-editpage.php?page=WYSIWYG+jCapture jonnyb: :) Harman: hey guys jonnyb: arildb: the sefurl bit happens in wikiplugin_img so the bug's in there, i reckon arildb: marclaporte: Notice how the title of the page is "Home". I seem to get that in my local trunk installation too Harman: how to get fconnect to tiki marclaporte: Harman: how is your site coming along? Harman: its so awesome, *love for tiki*
i got the mobile thing configured too with specific modules for it
my friend asked me to add fbconnect to easy things for volunteers jonnyb: hi Harman - fb login was broken last time i tried (or i just didn't get it set up right)
would be nice to have working Harman: oh ok, i guess i can wait for a while till its developed arildb: jonnyb: I could look for the SEFURL problem, but to be able to debug properly, I need jcapture running in IE Harman: one more thing, how to stop spam? i get like 1-2 sign ups every 1 hour RobertPlummer: jonnyb: Where is the cookie set for 'javascript_enabled'? Harman: recaptcha doesnt seem to work much although better than captcha arildb: Is anybody else experiencing that all(?) pages have the title "Home" displayed? RobertPlummer: jonnyb: I see getCookie, but i do not see a setcookie. arildb: that is running the latest trunk version RobertPlummer: arildb: I have the issue fabricius: joined #tikiwiki jonnyb: RobertPlummer: setCookieSection (in php) for some reason arildb: RobertPlummer: so, seems to be something that has arrived recently RobertPlummer: jonnyb: there are 3 instances of setCookieSection, none of them have 'javascript_enabled' in them, so how is it being set?
Ah, I see line 33 now of javascript.php. jonnyb: yes, it's set be js - that's the test (well, one of them)
line 29 RobertPlummer: Can't we just use get_browser?
$browser = get_browser(null, true);echo $browser['browser']; marclaporte: There is a problem with http://demo.tiki.org/trunk/tiki-editpage.php?page=wysiwyg_sample_page plugins are not recognized (after the 1st one) jonnyb: RobertPlummer: how can that tell if js is enabled? RobertPlummer: the browser tells php, as the sample above shows. jonnyb: but not about js - see http://uk1.php.net/manual/en/function.get-browser.php#41008 refizul: Is it possible to enable Captchas only for special wiki edits? RobertPlummer: jonnyb: I forgot completly about <noscript>!
<noscript>Please enable Javascript for best performance</noscript>
Done! refizul: I'd like to disable them normally but reenable them if someone wants to insert an external link. jonnyb: refizul: not as far as i know, sorry marclaporte: arildb: I now see the nice DokuWiki UI enhancements, thanks to jCapture! http://demo.tiki.org/trunk/For+Arild This is the future of Tiki feature requests and bug reports! refizul: If seen something like this as MediaWiki plugin.
s/If/I've/ arildb: marclaporte: yes, jcapture is an excellent tool for such reporting jonnyb: marclaporte and arildb - nice j0n3_: joined #tikiwiki arildb: The problem with the always-on "Home" title comes from breacrumlib.php line 28
function Breadcrumb($title, $desc='', $url='', $helpurl='', $helpdesc='')
{
if ($title == '') {
$this->title = 'Home';
} else {
changing the title to Home1, is reflected as the displayed page title
...I hope this gives a clue to somebody RobertPlummer: arildb: add a thrown new Exception("die"); in there and see what is calling that, and why the title is blank arildb: ok
1 0,0031 237136 {main}( ) ..tiki-index.php:0
2 1,4195 8078640 WikiRenderer->runSetups( ) ..tiki-index.php:635
3 1,4885 8664360 WikiRenderer->setupBreadcrumbs( ) ..renderlib.php:92
4 1,4885 8664704 Breadcrumb->Breadcrumb( ) ..renderlib.php:503 RobertPlummer: looks like a renderlib issue to me refizul: oh - anonymous search gives results from pages which are not allowed to be viewed anonymous Tiki-KGB: tikiwiki 03jonnybradley r43357 10trunk/ 10tiki-error_simple.php 03styles/site_closed.html
tikiwiki [ENH] site_closed: Simple html template for site closed message (styles/site_closed.html - will use styles/site_closed_local.html if found).
tikiwiki Replaces {error}, {title}, {back} and {login} in the html. marclaporte: jonnyb: thank you that will be much less ugly. Can it be HTTP code 503? luciash: RobertPlummer: i was just about to ask why you do not use <noscript> tag ;) RobertPlummer: The issue was a cookie was stale on my system.
luciash: But after looking at the code, just ugly.
all: I feel that the javascript auto detection should be gutted from tiki, clever code, but a hack. Exactly what shouldn't be put into tiki.
noscript should be our friend, it is what it was designed for. marclaporte: jonnyb: http://www.askapache.com/seo/503-service-temporarily-unavailable.html#Whats_503_Service_Temporarily_Unavailable jonnyb: marclaporte: i guess so, but isn't 503 something more important? marclaporte: unless we want site_closed.html to be indexed... jonnyb: that shouldn't be accessible - it's in the styles dir though (was contemplating putting it in templates/styles) luciash: RobertPlummer: i am not 100% sure it is "autodetection" code. there was actually a preference in tiki to force JS off per site - for some reason (debugging ? disabled people community site ?) someone needed that preference perhaps.
RobertPlummer: better discuss on dev list RobertPlummer: luciash: Auto detection and an override are very different.
auto detection overrides everything, and it is hacked together. panamaus: I have a user who is trying to inline-display in a wiki page a PDF stored in Tiki's File Gallery, but can't because of the limitations of the MEDIAPLAYER plugin. I store files in the database rather than in a directory on the web server, so I have no workaround within Tiki... right? luciash: panamaus: try IFRAME wikiplugin linking to the file with &display at the end of URL panamaus: luciash: oh that's pretty clever; I'll try that luciash: panamaus: the user has to have PDF (Acrobat) reader browser plugin installed of course panamaus: luciash: yeah, I assumed that much jonnyb: marclaporte: i think it should be http 302 (or 307) "Moved Temporarily" rather than a server error marclaporte: sounds good luciash: jonnyb: +1 jonnyb: geoff had a broken server today where he had enable IDS on trunk (experimental) and his server was failing badly due to it's 503 errors
hi luciash :) marclaporte: yeah, amette has something on the way for PHPIDS :-) Tiki-KGB: tikiwiki 03jonnybradley r43358 10trunk/ 10tiki-error_simple.php 03templates/styles/site_closed.html 04styles/site_closed.html
tikiwiki [FIX] site_closed: Add http error (302) and move template into templates/styles to prevent crawler indexing (thanks marclaporte) luciash: jonnyb: hi again :) jonnyb: :) Tiki-KGB: tikiwiki 03jonnybradley r43359 10trunk/tiki-error_simple.php
tikiwiki [FIX] site_closed: Restore form post action to tiki-login.php?page=tikiIndex (tikiIndex is a special "page" which redirects to the currently set home page or feature) jonnyb: been meaning to improve the site_closed for ages! luciash: yay! :) RobertPlummer: jyhem_ Jyhem_laptop you around? Tiki-KGB: tikiwiki 03arildb r43360 10trunk/lib/wiki/wikilib.php
tikiwiki [FIX] Avoid having "Home" as the title to "all" pages panamaus: luciash: it worked! HUZZAH luciash: :) refizul: settings: is it possible to register without an email?
registration at a test tiki says: This field is required jonnyb: refizul: isn't there a pref for that? would be on admin/login arildb: jonnyb: I tried jcapture and safari again. Capturing an image works fine in wysiwyg in safari.....Nice to see the image (almost instantly) in the browser! refizul: no - email cannot be set to optional AFAICS jonnyb: refizul: the label on the email field on login depends on the validate prefs
validateUsers and validateEmail refizul: I disabled all validation, but email is still mandatory (but neither used nor checked) jonnyb: arildb: that's good - mine seems totally broken now :( something about server not matching a request refizul: e.g. a fake address a@b.c works jonnyb: refizul: the validations in admin/login are off?
maybe it's become hard-coded now, unusual not to require email refizul: jonnyb: yes, all validations are disabled fabricius: ahh btw: anything about external links or rel for menu-items?
a parameter for target? jonnyb: arildb: fix for firefox hopefully on it's way in Tiki-KGB: tikiwiki 03jonnybradley r43361 10trunk/lib/toolbars/toolbarslib.php
tikiwiki [FIX] jcapture: Somewhat ugly fix for ckeditor not making event global for toolbar clicks in firefox (thanks arildb) arildb: sounds good jonnyb: i'm off for food - mbbl marclaporte: joined #tikiwiki marclaporte1: joined #tikiwiki refizul: tiki-minical_export.php shows me ASCII in browser, but no download - is this intended? arildb: Question: can I detect if sefurl is active in javascript? marclaporte: joined #tikiwiki kstingel: joined #tikiwiki kstingel1: joined #tikiwiki