[00:39] goth ok, done [03:25] goj joined #tikiwiki [03:31] dthacker joined #tikiwiki [03:36] dthacker joined #tikiwiki [04:21] marclaporte joined #tikiwiki [05:22] Tiki|bot New Forum Posts: Custom Header and Java - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=44443 [08:25] redflo joined #tikiwiki [09:13] xavi joined #tikiwiki [09:37] jacmoe joined #tikiwiki [11:22] vmachine joined #tikiwiki [11:48] Tiki|bot joined #tikiwiki [11:52] jacmoe joined #tikiwiki [11:54] Tiki|bot joined #tikiwiki [12:17] vmachine is it possible to password protect a tab in tikiwiki? [12:25] Tiki|bot joined #tikiwiki [12:38] xavi vmachine: yes, using http://doc.tiki.org/PluginGroup in the information displayed under that tab, and allowing only to see that info to users beloging to group X [13:12] jjg0th hi [13:13] jjg0th when I upload a .docx file to demo.tiki.org/8x (and 9x) using Cyberduck and then I click on it in the file gallery, it has the mime type application/ms-word. However when I do the same on my wiki site (9x) it has the mime type application/zip. What is the difference? How can I make it so that it also has mime type application/ms-word or even better the correct mime type for ocs? [13:28] rodrigoprimo joined #tikiwiki [13:35] vmachine on my global permissions ive allow registered users to view all pages but i want to restrict a specfic tab to admin groups only.. so i enter {GROUP(groups=>Registered|Admins, notgroups=Editors)}some content{ELSE}other content{GROUP} on the specific tab but register users are still able to see content [13:37] ricks99 joined #tikiwiki [13:39] CIA-75 tikiwiki: 03jonnybradley * r42497 10/branches/9.x/templates/user_registration.tpl: [FIX] registration: Mend js mangled in r42474 [13:50] RobertPlummer joined #tikiwiki [13:59] amette polom [14:00] ricks99 polom amette [14:00] amette heya ricks99 :) [14:03] dthacker joined #tikiwiki [14:05] vmachine left #tikiwiki [14:12] CIA-75 tikiwiki: 03jonnybradley * r42498 10/branches/9.x/lib/smarty_tiki/function.user_registration.php: [FIX] registration: "Call to undefined method ErrorReportLib::error()" (more damage from r42474 - testing is good) [14:13] RobertPlummer polom [14:13] amette moloq robert [14:17] RobertPlummer amette: tricky! [14:18] amette wicked, so to say! ;) [14:19] rodrigoprimo joined #tikiwiki [14:35] jjg0th when I upload a .docx file to demo.tiki.org/8x (and 9x) using Cyberduck and then I click on it in the file gallery, it has the mime type application/ms-word. However when I do the same on my wiki site (9x) it has the mime type application/zip. What is the difference? How can I make it so that it also has mime type application/ms-word or even better the correct mime type for docx files? [14:35] jjg0th When I download a file from my server directly (http://myserver/file.docx) it has the correct mime-type. [14:36] amette jjg0th: I think everyone in here has read your question at least three times. It won't help to repeat it over and over again. It is time to "Use the source, Luke"... [14:36] jjg0th ok, sorry, I thought it was common to repeat but maybe I did it a bit too often [14:36] jjg0th well the source doesn't help [14:36] fidel_ repeating in irc is common - but almost never helpful ;) [14:37] jjg0th I disagree [14:37] jjg0th it's common and useful imo but not too often (OK) [14:37] amette it can be helpful... but in the last three days the people in here didn't change too much - so in this case... I fear repeating won't help at all. [14:37] jjg0th :( [14:38] jjg0th the reason the source probably won't help much is that demo.tiki.org works [14:38] jjg0th so most probably the reason is somewhere else, I just dunno how I can debug this further [14:39] jjg0th it sounds like a server (apache) issue, but as I mentioned file downloads have the correct mime-type (?) [14:39] jjg0th what would help is to know what server demo.tiki.org is running and what modifications were made... [14:40] amette I agree, that is the last info you can get from here that would be helpful... [14:40] amette ... did you mail leu? [14:40] jjg0th yes [14:40] amette all other things are not a tiki-problem as you just stated yourself. [14:41] jjg0th however they might be solved by changing tiki wiki ;) [14:41] amette then use the source ;) [14:42] jjg0th ouff, ok I try again, but mime-types are like a full grown cancer inside tiki wiki source [14:42] jjg0th everywhere.... [14:42] amette growing metastasis all over the place.... ;) [14:42] jjg0th :) [14:43] jjg0th the webdav metastasis is the one that concerns me [14:44] amette you should compare the phpinfo of demo.tiki.org and your server... that's probably the easiest thing you can start with, if you don't have cooperative sysadmins in your company [14:44] jjg0th a bit hard for me to read the source (I don't understand php! neither webdav + all code is new to me obviously) [14:44] jjg0th good idea! :) [14:49] RobertPlummer Jyhem, you around? [14:50] jjg0th php 5.3.3 vs. php 5.3.13 [14:50] jjg0th could this be a reason? [14:50] RobertPlummer Jyhem: It just hit me on how we could use TrackerQuery to sort on huge tables in the way we have not been able to in the past. It could potentially make it so that we do not have to re-write trackers too, but performance will need to be checked. [14:51] radek82 joined #tikiwiki [14:51] RobertPlummer Jyhem: Just use a pre-query creating a temporary table, then simply join on it. [14:54] Tiki|bot joined #tikiwiki [15:03] dennmans joined #tikiwiki [15:14] jjg0th is it possible to have a month selecter instead of day selecter? [15:16] dennmans for calendar? [15:17] dennmans I keep getting fake users who manage to register via email, captcha is on. Does anyone else have this problem? [15:20] fidel_ jjg0th: could you rephrase your question? [15:22] xavi dennmans: yes [15:23] xavi @dennmans: temporary solutions: use passcode to register. or validate users by admin [15:24] xavi @dennmans: and in some cases, adding extra compulsory questions (for instance with checkboxes) in the tracker linked to registered users and shown in registration seems to reduce the spam load [15:24] dennmans xavi: are those the only options? I think these are bots and I expect that possibly thousands of people will want to register... [15:24] dennmans ah, thanks [15:25] dennmans how are they getting past captcha? [15:25] xavi no idea. [15:25] xavi some devs are revising the registration process, libs, etc. [15:25] dennmans ok, good to hear [15:26] dennmans at the moment it is ok, only a few fake users per day. [15:26] ricks99 dennmans: there's been discussion about this on the dev list. [15:26] xavi dennmans: lucky you (we did get dozens per day in some sites) [15:26] ricks99 look for updates soon (to tiki 9 and 6LTS) [15:26] ricks99 btw... hi xavi :) [15:27] xavi hi ricks99 :-) [15:27] dennmans thanks for the updates [15:27] dhazel joined #tikiwiki [15:28] dennmans I have one more question: what permissions should I have set to allow registered users to translate pages? [15:28] dennmans at the moment it tells me: object not found or something like that [15:28] dennmans admin can translate [15:30] ricks99 dennmans: there's an edit_languages [15:30] ricks99 will also need perm to create new pages, as needed [15:30] dennmans ok, well new pages is set [15:30] ricks99 fyi: you can perro [15:30] dennmans I will have a look for edit_languages [15:31] ricks99 fyi: you can perform keyword seach on the permissions page. makes it easy to find specific items [15:31] ricks99 try seaching for "translate" or "language" [15:31] ricks99 see docs for details [15:32] dennmans ok, got it, but that is set to registered [15:33] dennmans I dont have 'detach language' set at all [15:33] dennmans but I guess that is only for unhooking translations [15:34] dennmans does translating require being able to rename the page perhaps? [15:37] dennmans I don't use structures, as I don't understand what they do, however I have activated it and Multilingual structures is on. [15:38] ricks99 dont need rename. [15:38] dennmans Also, Use database for translation is also on, because I thought that that would use available languages (but I don't actually know what it is for). [15:38] ricks99 if you're not using structures, no need for those options either [15:38] dennmans ok [15:38] ricks99 q: are you translating wiki pages or articles? [15:38] dennmans both [15:38] ricks99 you do have the site set for multilingual, and have "users can change language" right? [15:39] dennmans multilingual is on and users can cange site language is on [15:39] ricks99 what's the error you get? [15:40] ricks99 are you using categories that override any perms? [15:41] dennmans The error is Error: No object indicated [15:41] benoitg joined #tikiwiki [15:41] dennmans I am using a category jail for a perspective [15:42] ricks99 and you get that error when you click the "TRANSLATE" button (tiki-edit_translation.php) ? [15:42] dennmans yes [15:43] ricks99 does the url include the correct page name? for example, if you're trying to translate the page "foo" you *should* be on tiki-edit_translation.php?page=Foo [15:43] dennmans ok, wait up, it reponds differently to the two translate buttons [15:44] dennmans using the one at the bottom, it tells me that the language for the page is not set [15:44] dennmans then allows user to set it [15:44] ricks99 ^^^ working as designed [15:45] dennmans clever [15:45] dennmans although would be good if the translate icon at the top would do the same [15:45] ricks99 when you mouse-over the icon, you then selected "translate" right? [15:46] dennmans yes, that one [15:47] ricks99 works on demo.t.o [15:47] dennmans ok, my hypothesis is that the pages were created before multilingual was set. [15:47] ricks99 do u have some sort of customizations? [15:48] ricks99 you can test on http://demo.tiki.org/9x/ [15:48] ricks99 seems to work fine [15:48] dennmans yeah, but I guess that site has different perms [15:49] dennmans my admin account can translate [15:49] ricks99 the "no object" error means that the page name is not being sent [15:49] ricks99 what perms do you have set? [15:50] Tiki|bot joined #tikiwiki [15:50] dennmans for translate? or for wiki? [15:51] ricks99 both [15:51] dennmans 1 mo [15:53] dennmans create page and translate are both set to registered [15:53] dennmans however: now that I have set a language, I can make further translations, also via the top icon [15:53] ricks99 tiki_p_edit? [15:53] dennmans (a little globe in this template) [15:54] dennmans yes, tiki_p_edit is set to registered [15:54] ricks99 and no object or category perm overrides? [15:54] Tiki|bot joined #tikiwiki [15:55] dennmans no, no overrides [15:56] dennmans actually, file gallery has and Object Permissions(1) tag, but I cant see what the override is. [15:57] dennmans ok, I may perhaps be misunderstanding what you mean [15:58] dennmans I do have a whole list of things that are listed in 'Object Permissions' for file gallery [15:59] ricks99 file gallery? thought we were translating wiki pages? [15:59] dennmans hehe [15:59] dennmans we are [15:59] * ricks99 confused now [15:59] dennmans so am I [16:00] ricks99 does the page taht you're trying to translate belong to a category? [16:00] dennmans Under the tab wiki page, there are no items listed for Object Permissions or Category permissions [16:00] dennmans yes [16:00] ricks99 do you have specific perms applied to that category (as they will override the group perms) [16:00] ricks99 for example, can registered users edit, create, translate pages in that category? [16:01] dennmans yes, I do [16:02] dennmans ... slowly dawning on mie [16:03] ricks99 Tiki perms are complex & powerful. be sure to check out the docs for full detalis [16:03] dennmans they certainly are [16:03] dennmans so to be sure, if I remove category permissions, will it revert to global permissions? [16:04] dennmans or is this simply global permissions, filtered for items that can have a category? [16:04] ricks99 yes... as long as there aren't any object-specific perms [16:05] ricks99 perms inherit downard (group -> category -> object) but override updward (object -> category -> group) [16:05] dennmans ok, that I understand. Just trying to figure out which list shows what [16:16] dennmans ok, I think I understand. I can see permissions by group and by object, which override any global permissions. [16:16] dennmans I have not set any category permissions or object permissions for wiki pages [16:21] ricks99 not sure. compare your perm settings with those on demo.tiki.org/9x [16:21] ricks99 you can also experiment on that site, too [16:27] dennmans I honestly think that the language button at the top is affected by a pre-existing language setting, whilst the translate button at the bottom is not. [16:28] dennmans As I had only tried translating pages that did not have a language set, the button at the top did not work, whereas the button at the bottom did work. [16:29] ricks99 works for me on demo.t.o, even with page not having preset language [16:29] ricks99 the error indicates that the page name is not being sent. which leads me to think it is a per issue -- user does not have permission to modify the object [16:29] dennmans yeah, the difference has to be the permissions, walking through them now. [16:30] dennmans especially as translate does work in all cases for admin [16:55] GillesM joined #tikiwiki [16:57] GillesM hi [17:02] dennmans hi Gilles [17:06] benoitg joined #tikiwiki [17:07] xavi left #tikiwiki [17:08] GillesM is there a way to execute PHP code inside Wiki page ? [17:08] RobertPlummer GillesM: Write a plugin is the best way. [17:09] GillesM ok [17:10] RobertPlummer http://dev.tiki.org/Create+a+Wiki+Plugin [17:11] GillesM yes I am reading [17:18] benoitg joined #tikiwiki [17:27] benoitg joined #tikiwiki [17:30] Tiki|bot New Forum Posts: Flagged revision reports - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=44448 [17:35] GillesM RobertPlummer: I defined a plugin that contains function wikiplugin_junk() { return ( "Location:../../../phpprogram"); } but all the page in covered by php program and not only my wikipage [17:49] Tiki|bot0 joined #tikiwiki [18:17] fabricius joined #tikiwiki [18:23] TomJarvis joined #tikiwiki [18:27] TomJarvis g0th: Try adding the following line to your .htaccess file: [18:27] TomJarvis AddType application/vnd.openxmlformats .docx .pptx .xlsx .xltx . xltm .dotx .potx .ppsx [18:30] TomJarvis left #tikiwiki [18:52] Tiki|bot joined #tikiwiki [19:19] benoitg joined #tikiwiki [19:27] Tiki|bot joined #tikiwiki [19:46] Tiki|bot joined #tikiwiki [20:06] marclaporte joined #tikiwiki [20:36] Tiki|bot joined #tikiwiki [20:57] fabricius goth: and, did it work? [21:09] Tiki|bot joined #tikiwiki [21:17] Tiki|bot joined #tikiwiki [21:25] sandroandrade joined #tikiwiki [21:31] Tiki|bot joined #tikiwiki [21:41] Tiki|bot0 joined #tikiwiki [21:50] Tiki|bot joined #tikiwiki [22:11] TomJarvis joined #tikiwiki [22:15] TomJarvis I find I am also having problems with Filegallery docx files. They upload OK, but I can not download them correctly with IE8. They download OK with Firefox and Opera. [22:17] Tiki|bot joined #tikiwiki [22:18] TomJarvis The most recent Tiki 9 Filegallery shows a word document icon, but it still says it is a "application/x-zipped-compressed" when you hover over the icon (in IE8). [22:20] TomJarvis Using IE8, even the "save" option corrupts the saved file. I think it may be an IE8 problem and not a Tiki problem. [22:22] TomJarvis Using IE8 and downloading the file directly from the Filegallery directory (I don't store in db), it saves the file without corruption, and I can rename it to .docx and it opens OK. [22:23] rodrigoprimo joined #tikiwiki [22:25] TomJarvis The docx file downloads OK using Chrome. It appears I only have a problem if I use IE8. [22:32] TomJarvis left #tikiwiki [22:33] amette IE being a culprit would be nothing new.... but goth couldn't reproduce with the same browser on demo.tw.o if I'm not mistaken. [22:38] Tiki|bot joined #tikiwiki [22:40] CIA-75 tikiwiki: 03changi67 * r42499 10/branches/9.x/lang/fr/language.php: [TRA] French [22:42] rodrigoprimo joined #tikiwiki [22:56] TomJarvis joined #tikiwiki [23:00] Tiki|bot joined #tikiwiki [23:01] TomJarvis amette: I just tested a docx file with IE8 on demo.tw.o Tiki 9, and it does work. The hover text also says "application/msword". I've updated my /etc/mime.types and restarted httpd, but it is still not working on my server, [23:02] TomJarvis maybe I will try a reboot later. [23:20] blast_hardcheese joined #tikiwiki [23:37] amette TomJarvis : That is good news - we can rule out the browser there - thanks for reporting back! :)