[00:03] are there any .html pages in tiki? [00:12] To everyone who was saying removing the tiki- prefix on pages is a huge task that probably isn't really worth it, I just accomplished it with a grand total of three (3) lines of code in the .htaccess file. I win. [00:13] For anyone interested, this is what I did: [00:13] ReWriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /tiki-(.+)\.php [00:13] ReWriteRule ^tiki-(.+)\.php %1.html [R=301,QSA,L] [00:13] ReWriteRule ^(.+)\.html $1.php [QSA] [00:13] Feel free to post it on the tiki site if you want :) [00:16] Oh, sorry, I forgot one more line further down in the file: ReWriteRule ^(.+)\.php tiki-$1.php [QSA] [00:19] that's only half of the issue [00:19] you still need to get tiki to generate those links [00:19] Eh, it's good enough [00:20] If you click on a tiki link that goes to a tiki- page, it'll change it to a non-tiki- page...the only time users will see the tiki- is in the little bar at the bottom of their browser that says where a link goes to when they mouse over it [00:22] hmm...i take that back, it appears to prevent me from logging in :( [00:24] meh, i was so close :( [00:25] why is there a tiki- in front of all the pages anyway? [00:27] someone thought it was a good idea nearly a decade ago and the convention stuck [00:30] maybe i'll try renaming all the files again... [00:38] it's sad really, seems like tikiwiki is a great cms, one of the best i've tried, but this is really preventing me from using it :( [00:41] *** rodrigoprimo has quit IRC (Quit: Leaving.) [00:56] all right, i can't get this to work :( [00:57] you said before there's a ton of templates and some php to modify...any hints on where i should start looking for these? [01:10] *** redflo has quit IRC (Quit: Leaving.) [01:27] anyone here? [01:28] Myrkul: For the PHP side, tiki-sefurl.php, lib/smarty_tiki/modifier.sefurl.php and/or the tiki_sefurl_regex_out table. [01:29] ok, 2 files, that's not so bad [01:31] For templates, see for example templates/tiki-lastchanges.tpl line ~53 ( {$lastchanges[changes].pageName|sefurl} ) [01:31] how many templates do i need to change? [01:47] probably a few hundreds [01:48] but the sefurl out table wih the option enabled might help [01:55] *** Myrkul_ has joined #tikiwiki [01:56] *** Myrkul has quit IRC (Ping timeout: 265 seconds) [02:02] *** goj has quit IRC (Disconnected by services) [02:02] *** goj_killedByISP has joined #tikiwiki [02:02] *** goj_killedByISP is now known as goj [02:04] all right, well, there's no way i'm gonna change a few hundred templates [02:04] thanks for all the help, but tikiwiki is useless for me, i'll have to find a different cms [02:20] sad to hear hiding the CMS was your #1 priority [02:20] good luck [02:24] ok, i'm trying to understand how these template files work...in the one chealer posted before (templates/tiki-lastchanges.tpl), there's a link that looks like this: when you said that i need to edit a few hundred template files, i thought it would actually involve major changes, a lot of work...if all i need to do is add |sefurl, i can write a script to do that in a matter of minutes... [02:26] and it's not that i'm trying to hide the CMS btw, removing the powered by tiki in the footer of every page would be a lot more effective if i was trying to do that...i just find it looks bad [02:28] the guy in the sourceforge post chealer posted earlier sums up my thoughts well: "You would never hide this from anyone who desired to check, but IMO having that info in urls is just "noise" for end users." [02:47] as an aside, what global permission is it that makes admins able to see everything in menus even if they shouldn't be able to? [02:47] and how do i rename to myrkul without the underscore? :P [02:57] *** Caarrie|away is now known as Caarrie|sleeping [03:01] Recent Bug: Tracker item: #4046 - - Category field in tracker not displayed - http://dev.tiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=4046 [03:25] If you guys aren't answering me because I said tikiwiki is useless, I sincerely apologize for that... I didn't mean to offend anyone, and I do still plan on using tiki, whether or not I figure out how to get rid of the tiki- prefix. [03:27] And I do want to stress, again, that I don't want to remove the tiki- prefix from the pages because I'm trying to hide the CMS I'm using, of course I'll give credit where credit is due, I didn't remove the powered by link in the footer of all the pages. I just want to remove the prefix because I don't particularly like seeing it there on every page, it isn't needed. [03:27] Myrkul_: hi, in theory u should be able to get rid of the prefix by using rewrite mod in .htaccess [03:28] I tried that, it only works one way though [03:28] hmm [03:28] Getting user_preferences.php to point to tiki-user_preferences.php is easy, but if you click on the preferences link under mytiki in the menu, it still goes to tiki-user_preferences.php [03:29] i think i was able to do something like that, let me check [03:30] I added a rule to the tiki_sefurl_regex_out table in the database, but as I found out here, it doesn't actually do anything unless you modify a couple PHP files and a few hundred templates, and I'm afraid I have no clue how to do that :( [03:31] I did come up with a hack using the rewrite mod as you said, with a couple extra redirects, but it had side effects, notably making it impossible to log in :P [03:31] Never did figure out why that happened :( [03:32] Myrkul_: on http://www.kincwood.cz/?no_bl=y&page=home if u use the switch lang dropdown, it doesn't show the tiki-index.php [03:32] Myrkul_: i don't remember exactly how i did that though :) [03:32] Yes, turning on SEFURLs in the preferences fixes some pages, notably wiki pages which is a majority of the site...but it doesn't do everything [03:34] BTW, how do I rename? :P [03:34] here ? [03:34] use /nick Myrkul [03:34] *** Myrkul_ is now known as Myrkul [03:34] thank you :) [03:43] ok, so, i have a few pages on my site which i want to be visible to everyone, and the rest will only appear when you log in. when logged out, only the public pages will appear obviously, but once you log in i want all those public pages to collapse under one header, public site [03:44] i came up with a hack, where i have two sets of the pages, the first set at the root level of the menu, and visible to anonymous, and the second set as subpages under a public site section, all only visible to registered [03:44] (if anyone has a better solution, i'm open to ideas btw) [03:44] but the problem with that is, admins see both sets, even though in theory they shouldn't see the first set - it's set to be visible only to anonymous [03:45] is there a global preference or something that allows admins to see every menu item regardless of the permissions set to them? [03:45] a global permission, i mean [03:46] there is setting "Display anonymous modules only to anonymous" if that helps [03:47] hmm, i'll try that...are menu options considered modules though? [03:47] nope [03:48] menu options are menus related, menus can be assigned and displayed through modules [03:48] hmm, so you're saying make two different menus? that could work [03:48] yup [03:49] let me try that - btw, where is that setting? :P [03:49] on Modules Admin panel i believe [03:50] tiki-admin.php?page=module [03:50] ah yes, hide anonymous modules from admins, that would do it :) [03:51] my anonymous-only set of menu options are still showing though, i guess i do need to make a separate menu [03:51] thanks for the help :) [03:52] you could also put in the Custom User module something like {if empty($user)}{menu id=43}{else}{menu id=44}{/if} [03:53] then you would have only one assigned module for all and it will show the menu depending on logged in/out state [03:53] i'm not really sure how to do that, so i'll stick with the solution i understand :P [03:54] <-- tiki newb [03:54] but be careful, if you make syntax error u can easily lock yourself out on blank page [03:54] yup yup, np [03:54] it would be nice if the positions of menu options renumbered themselves when you move things around, like module orders do [03:55] is that already a feature request? [03:56] not sure, iirc they go by 10 steps so you can fit something in between usually [03:56] yeah, i could, but i'm ocd so i'd renumber them all anyway to keep them 10 apart if i had to fit something in between :P [03:57] ocd ? [03:57] :) [03:57] obsessive compulsive disorder [03:59] ah [03:59] :) [04:02] works perfectly :) [04:02] where would i go to submit a feature request? [04:05] found it [04:06] ok [04:20] do wish list items submitted go to a pending place first, where they need to be accepted by admins, or something? [04:20] i filled everything in and hit save, and it seems nothing happened... :( [04:21] oh, never mind, i wasn't sorting by date :P [04:22] Recent Bug: Tracker item: #4047 - - Renumbering menu option positions - http://dev.tiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=4047 [04:22] ah, there it is :) [05:43] anyone here? [05:59] i am back [06:05] found and fixed my first tiki bug :) [06:08] cool [06:51] bbl [10:52] *** arildb has joined #tikiwiki [11:05] hm-m ... The intro message to this IRC channel says "Tiki 7.2 is out!"...should probably be updated [11:21] Myrkul: ready for commit access? [11:49] *** arildb_ has joined #tikiwiki [11:52] *** arildb has quit IRC (Ping timeout: 240 seconds) [11:56] *** Caarrie|sleeping has quit IRC (Quit: bye see you later) [12:57] *** rodrigoprimo has joined #tikiwiki [13:06] *** rodrigoprimo has quit IRC (Quit: Leaving.) [13:16] *** arildb__ has joined #tikiwiki [13:19] *** arildb_ has quit IRC (Ping timeout: 240 seconds) [13:30] *** Caarrie has joined #tikiwiki [13:53] *** Trebly has joined #tikiwiki [13:56] *** Trebly has quit IRC (Read error: Connection reset by peer) [14:23] *** arildb_ has joined #tikiwiki [14:25] polom [14:25] Myrkul: ping [14:26] *** arildb__ has quit IRC (Ping timeout: 240 seconds) [14:42] *** sylvieg1 has joined #tikiwiki [14:51] *** arildb_ is now known as arildb [15:02] *** Caarrie is now known as Caarrie|away [15:22] *** Trebly has joined #tikiwiki [15:25] *** redflo has joined #tikiwiki [15:34] *** arildb_ has joined #tikiwiki [15:37] *** arildb has quit IRC (Ping timeout: 240 seconds) [15:46] *** xavi has joined #tikiwiki [15:46] polom [16:08] *** arildb__ has joined #tikiwiki [16:08] *** arildb_ has quit IRC (Read error: Connection reset by peer) [16:32] Polom [16:35] *** lindonb has joined #tikiwiki [16:39] hi Jyhem_laptop [17:00] hi Xavi [17:01] did you upgrade your site to 8.1 ? [17:01] using svn in a couple of sites with 8.x, and yes, they are updated [17:02] and I'm currently testing a slight improvement to the newsletters ui (to show the icon for archives), but I'm failing... [17:02] it should be trivial... but I don't get the icon to show... (yet ) [17:04] btw, I need to learn how to use the "screen" program... [17:04] and I remember you told me you were a fan of it :-) [17:05] do you have a link to a good tutorial or howto use screen (or equivalent in ubuntu) for newbies? [17:05] ^ Jyhem_laptop [17:06] brb [17:06] *** xavi has left [17:11] *** xavi has joined #tikiwiki [17:12] No doc right on hand [17:12] ok [17:12] I see 2 main ways of using screen [17:13] quick question: how do I have to start a ssh session to a remote server so that when the conection is liost, I can re-conect and keep working where I was before loosing connection? [17:13] on the remote server: screen -S NAME [17:13] (choose the name) [17:13] then work normally [17:14] When you lose connection, do ssh again there and type: screen -x NAME [17:14] there you are [17:15] Plus, you can ssh from a third computer and also do screen -x NAME and share the session with yourself :-) [17:16] thanks! :-) [17:16] I saw that on ubuntu, there seems to be some easier program: byobu, based on screen. https://help.ubuntu.com/community/Byobu [17:17] "easier": well, I don't know. Extending screen maybe (and maybe then, more complicated?) [17:17] First time I hear about it [17:17] I'll see (I'll have to learn how to use the basics of screen). thanks for your tip [17:17] ok [17:18] "ctrl-A l" readapts to the terminal size (can be useful) [17:19] there are many other commands starting with ctrl-a but less immediately useful :-) [17:19] ok, thanks [17:20] brilliant, Jyhem_laptop, it works! :-) [17:20] thanks heaps :-D [17:23] np [17:29] *** sylvieg1 has left [17:36] mmm, I need some help with newsletters... what is the purpose of $channels[user] in line 101 in 8x of templates/tiki-newsleters.tpl ?: [17:36] line is: {if $channels[user].tiki_p_subscribe_newsletters eq 'y'} [17:37] I'm willing to add the icon for newsletter archives... [17:37] and if I add an if clause like: [17:37] {if $channels[user].tiki_p_view_newsletters eq 'y'} foo {if} [17:37] nothing is shown [17:38] but if I just add something without this $channels[user] thing (as in tiki-admin_newsletters.tpl), then the "foo" is shown [17:39] i.e.: [17:39] {if $tiki_p_view_newsletter eq 'y'} [17:40] Jyhem_laptop: any clue? ^ [17:40] or maybe sylvieg or lphuberdeau around for this question? [17:42] * Jyhem_laptop not very familiar with channels yet :-( [17:43] ok [17:43] neither do I [17:59] *** Trebly_ has joined #tikiwiki [18:00] *** Trebly has quit IRC (Ping timeout: 240 seconds) [18:00] *** Trebly_ is now known as Trebly [18:05] tikiwiki: 03xavidp * r38788 10/branches/8.x/templates/tiki-newsletters.tpl: [FIX]Show link to newsletter archives for users with the permission to see them. [18:06] tikiwiki: 03xavidp * r38789 10/branches/7.x/templates/tiki-newsletters.tpl: [bp/r38788][FIX]Show link to newsletter archives for users with the permission to see them. [18:07] tikiwiki: 03xavidp * r38790 10/branches/proposals/6.x/templates/tiki-newsletters.tpl: [bp/r38788][FIX]Show link to newsletter archives for users with the permission to see them. [18:28] *** arildb__ is now known as arildb [18:56] can i change the page you get sent to after logging in? [19:01] tikiwiki: 03chealer * r38791 10/trunk/lib/language/WriteFile.php: [REF] get_strings: Try to clarify comment on punctuation handling [19:02] *** Trebly has quit IRC (Ping timeout: 240 seconds) [19:02] Myrkul: yes, you can. Serch for "group homepage" or similar in the documentation [19:03] each group of users can have a page defined as their homepage [19:03] cool :) [19:03] and it'll redirect there after you log in? currently after logging in you stay on the same page, except in logged in state... [19:09] polom [19:09] yes [19:09] hi chealer [19:09] hi xavi. FYI, there are no more releases of Tiki 7 planned, they're very unlikely, so only grave issues would deserve a fix there [19:10] Myrkul: there is also some option somewhere to also make that you are not redirected if you are doing login for an specific url (forum post, etc) [19:10] i must be blind, i can't see the box to set the homepage in the group editor :P [19:10] "deserve" I know [19:10] the screenshots in the documentation seem to be from tiki8, i'm using 7.2.... [19:11] but I might be using tiki7svn for some site, while some features that I need are buggy in 8.x [19:11] I've just found that contributions by author don't work properly in 8.x... [19:11] and contribution (types) either... I don't konw why [19:12] yeah, i've looked 3 times, it's definitely not here... [19:12] and I can't invest tons of hours each time to identify the extent of the broken part in the new tiki release.... :-/ (currently, 8x) [19:13] that's why I would appreciate coders backporting fixes to previous (supported) releases . If we are not supporting 7.x, then 6.x, etc. (and not many coders do, even for harmless backports) [19:13] Myrkul, it is. your help to fix documentation will be very appreciated [19:13] we seem to run a lot in tiki community... [19:13] and documentation (among many other things) is left behind [19:14] :-/ [19:14] i can try... [19:14] sorry I can't help more [19:14] but i need to find where the setting is before i can add it to the docs :P [19:14] I need to have some work done myself [19:14] yes, good luck navigating in the admin panels :-) [19:15] you'll get used to it (or using the search function, if you are lucky, you'll find what you are searching) [19:15] do you think i should upgrade to 8.x, btw? [19:17] and how does upgrading work? will it revert the changes i've made to the source? [19:19] upgrade: I'm not the best person to suggest you to upgrade. for important production sites, I'm still using 6.x (7.x was too bumpy by the time I tested some upgrsdes) [19:19] tiki 7.x seems more stable right now, but it's not supported any more ( :-/ ) [19:19] hmm [19:20] tiki 8.x is the current stable release, but it has some number of bugs still around unnoticed (not many people tested real upgrades) [19:20] so if your site is small, and you are using a relatively small amount of features, then yes, test an upgrade locally asap to latest 8.x [19:20] I would say [19:20] all right, i'll try that [19:20] if your site is big, and you have enough time, test an upgrade to 8.x locally asap also [19:21] will it revert the changes i've made to the source, though? [19:21] no, it's small (atm anyway) [19:21] i only started working on it seriously yesterday :P [19:21] if you have limited time, and your site is in real production with many users and many features, ... then "good luck" with whatever decision you make [19:21] one user so far :P [19:22] changes to the source: yes, you'll have to reply them, if you haven't comited to svn [19:22] s/reply/re-apply [19:22] no clue how do to that :P [19:22] which changes? [19:22] there was a bug in the login module [19:22] coloring problem [19:22] did you commited the fix? [19:23] and i made a corresponding change in my css, too [19:23] i don't think i can [19:23] chnges in css: if you apply then in "Admin home > look and fell> custom css/customization", then you'll keep them [19:23] no, it was in the actual file [19:23] otherwise, you 'll need to re-aply your changes to the new theme in tiki8 [19:23] hrm, ok [19:24] consider committing yor changes to svn, if they are fixes or general improvments [19:24] how do i do that? [19:24] http://dev.tiki.org/Commit [19:24] page not found :P [19:25] he he, hold on... (I'll make an alias...) [19:27] :-/ the alias was present already... but the alias links feature is broken in 8.x (chealer, fyi also) :-/ [19:27] Myrkul: see this: http://dev.tiki.org/Commit+Code [19:27] yeah, i found it :P [19:27] another example of the still broken basic features in 8x [19:27] basic: of course, if you were using them extensively in your site (I was) [19:28] and we are/were in *.t.o sites [19:28] ok, back to work in other things [19:28] good luck, Myrkul [19:28] *** Trebly has joined #tikiwiki [19:28] *** xavi has left [19:29] well, if basic features are broken, maybe i won't upgrade just yet... :P [19:34] mutter, i'm an idiot :P [19:34] i found how to set the group homepage [20:25] New Forum Posts: Mobile Theme - http://tiki.org/tiki-view_forum_thread.php?forumId=14&comments_parentId=42633 [20:39] *** Trebly has quit IRC (Ping timeout: 240 seconds) [21:09] *** arildb_ has joined #tikiwiki [21:12] *** arildb has quit IRC (Ping timeout: 240 seconds) [21:13] *** Myrkul has quit IRC (Ping timeout: 265 seconds) [21:22] *** mark_doe has joined #tikiwiki [21:26] *** pascalstjean has joined #tikiwiki [21:29] *** marclaporte has quit IRC (Quit: Leaving.) [21:29] *** lindonb has quit IRC (Quit: lindonb) [21:44] *** pascalstjean has quit IRC (Quit: pascalstjean) [22:07] *** Trebly has joined #tikiwiki [22:46] *** pascalstjean has joined #tikiwiki [22:50] *** Trebly has quit IRC (Read error: Connection reset by peer) [22:59] tikiwiki: 03changi67 * r38792 10/trunk/lib/ (4 files in 4 dirs): [ENH] Zend Code Styling - http://quality.tiki.org/job/Tikitrunk/146/violations/ [23:08] *** mark_doe has quit IRC (Ping timeout: 240 seconds) [23:08] *** fabricius has joined #tikiwiki [23:13] polom [23:16] *** pascalstjean has quit IRC (Quit: pascalstjean) [23:33] tikiwiki: 03changi67 * r38793 10/trunk/lib/wiki-plugins/wikiplugin_dbreport.php: [ENH] Zend Code Styling - http://quality.tiki.org/job/Tikitrunk/147/violations/