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

WhoWhatWhen
Myrkulare there any .html pages in tiki? [00:03]
<brag> 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. </brag>
For anyone interested, this is what I did:
ReWriteCond %{THE_REQUEST} ^[A-Z]{3,9} /tiki-(.+).php
ReWriteRule ^tiki-(.+).php %1.html [R=301,QSA,L]
ReWriteRule ^(.+).html $1.php [QSA]
Feel free to post it on the tiki site if you want :)
Oh, sorry, I forgot one more line further down in the file: ReWriteRule ^(.+).php tiki-$1.php [QSA]
[00:12]
lphuberdeauthat's only half of the issue
you still need to get tiki to generate those links
[00:19]
MyrkulEh, it's good enough
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
hmm...i take that back, it appears to prevent me from logging in :(
meh, i was so close :(
why is there a tiki- in front of all the pages anyway?
[00:19]
lphuberdeausomeone thought it was a good idea nearly a decade ago and the convention stuck [00:27]
Myrkulmaybe i'll try renaming all the files again... [00:30]
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:38]
***rodrigoprimo has quit IRC (Quit: Leaving.) [00:41]
.... (idle for 15mn)
Myrkulall right, i can't get this to work :(
you said before there's a ton of templates and some php to modify...any hints on where i should start looking for these?
[00:56]
***redflo has quit IRC (Quit: Leaving.) [01:10]
.... (idle for 17mn)
Myrkulanyone here? [01:27]
chealerMyrkul: For the PHP side, tiki-sefurl.php, lib/smarty_tiki/modifier.sefurl.php and/or the tiki_sefurl_regex_out table. [01:28]
Myrkulok, 2 files, that's not so bad [01:29]
chealerFor templates, see for example templates/tiki-lastchanges.tpl line ~53 ( {$lastchanges[changes].pageName|sefurl} ) [01:31]
Myrkulhow many templates do i need to change? [01:31]
.... (idle for 16mn)
lphuberdeauprobably a few hundreds
but the sefurl out table wih the option enabled might help
[01:47]
***Myrkul_ has joined #tikiwiki
Myrkul has quit IRC (Ping timeout: 265 seconds)
[01:55]
goj has quit IRC (Disconnected by services)
goj_killedByISP has joined #tikiwiki
goj_killedByISP is now known as goj
[02:02]
Myrkul_all right, well, there's no way i'm gonna change a few hundred templates
thanks for all the help, but tikiwiki is useless for me, i'll have to find a different cms
[02:04]
.... (idle for 16mn)
lphuberdeausad to hear hiding the CMS was your #1 priority
good luck
[02:20]
Myrkul_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: <a href="{$lastchanges[changes].pageName|sefurl}" ... does this mean that all i need to do to add the sefurl is add |sefurl to every link in every .tpl file in the templates directory?
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...
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
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:24]
.... (idle for 19mn)
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?
and how do i rename to myrkul without the underscore? :P
[02:47]
***Caarrie|away is now known as Caarrie|sleeping [02:57]
Tiki|botRecent Bug: Tracker item: #4046 - - Category field in tracker not displayed - http://dev.tiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=4046 [03:01]
..... (idle for 24mn)
Myrkul_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.
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:25]
luciashMyrkul_: hi, in theory u should be able to get rid of the prefix by using rewrite mod in .htaccess [03:27]
Myrkul_I tried that, it only works one way though [03:28]
luciashhmm [03:28]
Myrkul_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:28]
luciashi think i was able to do something like that, let me check [03:29]
Myrkul_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 :(
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
Never did figure out why that happened :(
[03:30]
luciashMyrkul_: 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
Myrkul_: i don't remember exactly how i did that though :)
[03:32]
Myrkul_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
BTW, how do I rename? :P
[03:32]
luciashhere ?
use /nick Myrkul
[03:34]
***Myrkul_ is now known as Myrkul [03:34]
Myrkulthank you :) [03:34]
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
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
(if anyone has a better solution, i'm open to ideas btw)
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
is there a global preference or something that allows admins to see every menu item regardless of the permissions set to them?
a global permission, i mean
[03:43]
luciashthere is setting "Display anonymous modules only to anonymous" if that helps [03:46]
Myrkulhmm, i'll try that...are menu options considered modules though? [03:47]
luciashnope
menu options are menus related, menus can be assigned and displayed through modules
[03:47]
Myrkulhmm, so you're saying make two different menus? that could work [03:48]
luciashyup [03:48]
Myrkullet me try that - btw, where is that setting? :P [03:49]
luciashon Modules Admin panel i believe
tiki-admin.php?page=module
[03:49]
Myrkulah yes, hide anonymous modules from admins, that would do it :)
my anonymous-only set of menu options are still showing though, i guess i do need to make a separate menu
thanks for the help :)
[03:50]
luciashyou could also put in the Custom User module something like {if empty($user)}{menu id=43}{else}{menu id=44}{/if}
then you would have only one assigned module for all and it will show the menu depending on logged in/out state
[03:52]
Myrkuli'm not really sure how to do that, so i'll stick with the solution i understand :P
<-- tiki newb
[03:53]
luciashbut be careful, if you make syntax error u can easily lock yourself out on blank page
yup yup, np
[03:54]
Myrkulit would be nice if the positions of menu options renumbered themselves when you move things around, like module orders do
is that already a feature request?
[03:54]
luciashnot sure, iirc they go by 10 steps so you can fit something in between usually [03:56]
Myrkulyeah, 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:56]
luciashocd ?
:)
[03:57]
Myrkulobsessive compulsive disorder [03:57]
luciashah
:)
[03:59]
Myrkulworks perfectly :)
where would i go to submit a feature request?
found it
[04:02]
luciashok [04:06]
Myrkuldo wish list items submitted go to a pending place first, where they need to be accepted by admins, or something?
i filled everything in and hit save, and it seems nothing happened... :(
oh, never mind, i wasn't sorting by date :P
[04:20]
Tiki|botRecent Bug: Tracker item: #4047 - - Renumbering menu option positions - http://dev.tiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=4047 [04:22]
Myrkulah, there it is :) [04:22]
................. (idle for 1h21mn)
anyone here? [05:43]
.... (idle for 16mn)
luciashi am back [05:59]
Myrkulfound and fixed my first tiki bug :) [06:05]
luciashcool [06:08]
......... (idle for 43mn)
bbl [06:51]
................................................. (idle for 4h1mn)
***arildb has joined #tikiwiki [10:52]
arildbhm-m ... The intro message to this IRC channel says "Tiki 7.2 is out!"...should probably be updated [11:05]
.... (idle for 16mn)
marclaporteMyrkul: ready for commit access? [11:21]
...... (idle for 28mn)
***arildb_ has joined #tikiwiki
arildb has quit IRC (Ping timeout: 240 seconds)
Caarrie|sleeping has quit IRC (Quit: bye see you later)
[11:49]
............. (idle for 1h1mn)
rodrigoprimo has joined #tikiwiki [12:57]
rodrigoprimo has quit IRC (Quit: Leaving.) [13:06]
arildb__ has joined #tikiwiki
arildb_ has quit IRC (Ping timeout: 240 seconds)
[13:16]
Caarrie has joined #tikiwiki [13:30]
..... (idle for 23mn)
Trebly has joined #tikiwiki
Trebly has quit IRC (Read error: Connection reset by peer)
[13:53]
...... (idle for 27mn)
arildb_ has joined #tikiwiki [14:23]
marclaportepolom
Myrkul: ping
[14:25]
***arildb__ has quit IRC (Ping timeout: 240 seconds) [14:26]
.... (idle for 16mn)
sylvieg1 has joined #tikiwiki [14:42]
arildb_ is now known as arildb [14:51]
Caarrie is now known as Caarrie|away [15:02]
..... (idle for 20mn)
Trebly has joined #tikiwiki
redflo has joined #tikiwiki
[15:22]
arildb_ has joined #tikiwiki
arildb has quit IRC (Ping timeout: 240 seconds)
[15:34]
xavi has joined #tikiwiki [15:46]
xavipolom [15:46]
..... (idle for 22mn)
***arildb__ has joined #tikiwiki
arildb_ has quit IRC (Read error: Connection reset by peer)
[16:08]
..... (idle for 24mn)
Jyhem_laptopPolom [16:32]
***lindonb has joined #tikiwiki [16:35]
xavihi Jyhem_laptop [16:39]
..... (idle for 21mn)
Jyhem_laptophi Xavi
did you upgrade your site to 8.1 ?
[17:00]
xaviusing svn in a couple of sites with 8.x, and yes, they are updated
and I'm currently testing a slight improvement to the newsletters ui (to show the icon for archives), but I'm failing...
it should be trivial... but I don't get the icon to show... (yet )
btw, I need to learn how to use the "screen" program...
and I remember you told me you were a fan of it :-)
do you have a link to a good tutorial or howto use screen (or equivalent in ubuntu) for newbies?
^ Jyhem_laptop
brb
[17:01]
***xavi has left [17:06]
xavi has joined #tikiwiki [17:11]
Jyhem_laptopNo doc right on hand [17:12]
xaviok [17:12]
Jyhem_laptopI see 2 main ways of using screen [17:12]
xaviquick 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]
Jyhem_laptopon the remote server: screen -S NAME
(choose the name)
then work normally
When you lose connection, do ssh again there and type: screen -x NAME
there you are
Plus, you can ssh from a third computer and also do screen -x NAME and share the session with yourself :-)
[17:13]
xavithanks! :-)
I saw that on ubuntu, there seems to be some easier program: byobu, based on screen. https://help.ubuntu.com/community/Byobu
"easier": well, I don't know. Extending screen maybe (and maybe then, more complicated?)
[17:16]
Jyhem_laptopFirst time I hear about it [17:17]
xaviI'll see (I'll have to learn how to use the basics of screen). thanks for your tip
ok
[17:17]
Jyhem_laptop"ctrl-A l" readapts to the terminal size (can be useful)
there are many other commands starting with ctrl-a but less immediately useful :-)
[17:18]
xaviok, thanks
brilliant, Jyhem_laptop, it works! :-)
thanks heaps :-D
[17:19]
Jyhem_laptopnp [17:23]
***sylvieg1 has left [17:29]
xavimmm, I need some help with newsletters... what is the purpose of $channels[user] in line 101 in 8x of templates/tiki-newsleters.tpl ?:
line is: {if $channels[user].tiki_p_subscribe_newsletters eq 'y'}
I'm willing to add the icon for newsletter archives...
and if I add an if clause like:
{if $channels[user].tiki_p_view_newsletters eq 'y'} foo {if}
nothing is shown
but if I just add something without this $channels[user] thing (as in tiki-admin_newsletters.tpl), then the "foo" is shown
i.e.:
{if $tiki_p_view_newsletter eq 'y'}
Jyhem_laptop: any clue? ^
or maybe sylvieg or lphuberdeau around for this question?
[17:36]
Jyhem_laptopJyhem_laptop not very familiar with channels yet :-( [17:42]
xaviok
neither do I
[17:43]
.... (idle for 16mn)
***Trebly_ has joined #tikiwiki
Trebly has quit IRC (Ping timeout: 240 seconds)
Trebly_ is now known as Trebly
[17:59]
CIA-46tikiwiki: 03xavidp * r38788 10/branches/8.x/templates/tiki-newsletters.tpl: [FIX]Show link to newsletter archives for users with the permission to see them.
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.
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:05]
..... (idle for 21mn)
***arildb__ is now known as arildb [18:28]
...... (idle for 28mn)
Myrkulcan i change the page you get sent to after logging in? [18:56]
CIA-46tikiwiki: 03chealer * r38791 10/trunk/lib/language/WriteFile.php: [REF] get_strings: Try to clarify comment on punctuation handling [19:01]
***Trebly has quit IRC (Ping timeout: 240 seconds) [19:02]
xaviMyrkul: yes, you can. Serch for "group homepage" or similar in the documentation
each group of users can have a page defined as their homepage
[19:02]
Myrkulcool :)
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:03]
chealerpolom [19:09]
xaviyes
hi chealer
[19:09]
chealerhi 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:09]
xaviMyrkul: 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]
Myrkuli must be blind, i can't see the box to set the homepage in the group editor :P [19:10]
xavi"deserve" I know [19:10]
Myrkulthe screenshots in the documentation seem to be from tiki8, i'm using 7.2.... [19:10]
xavibut I might be using tiki7svn for some site, while some features that I need are buggy in 8.x
I've just found that contributions by author don't work properly in 8.x...
and contribution (types) either... I don't konw why
[19:11]
Myrkulyeah, i've looked 3 times, it's definitely not here... [19:12]
xaviand I can't invest tons of hours each time to identify the extent of the broken part in the new tiki release.... :-/ (currently, 8x)
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)
Myrkul, it is. your help to fix documentation will be very appreciated
we seem to run a lot in tiki community...
and documentation (among many other things) is left behind
:-/
[19:12]
Myrkuli can try... [19:14]
xavisorry I can't help more [19:14]
Myrkulbut i need to find where the setting is before i can add it to the docs :P [19:14]
xaviI need to have some work done myself
yes, good luck navigating in the admin panels :-)
you'll get used to it (or using the search function, if you are lucky, you'll find what you are searching)
[19:14]
Myrkuldo you think i should upgrade to 8.x, btw?
and how does upgrading work? will it revert the changes i've made to the source?
[19:15]
xaviupgrade: 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)
tiki 7.x seems more stable right now, but it's not supported any more ( :-/ )
[19:19]
Myrkulhmm [19:19]
xavitiki 8.x is the current stable release, but it has some number of bugs still around unnoticed (not many people tested real upgrades)
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
I would say
[19:20]
Myrkulall right, i'll try that [19:20]
xaviif your site is big, and you have enough time, test an upgrade to 8.x locally asap also [19:20]
Myrkulwill it revert the changes i've made to the source, though?
no, it's small (atm anyway)
i only started working on it seriously yesterday :P
[19:21]
xaviif 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]
Myrkulone user so far :P [19:21]
xavichanges to the source: yes, you'll have to reply them, if you haven't comited to svn
s/reply/re-apply
[19:22]
Myrkulno clue how do to that :P [19:22]
xaviwhich changes? [19:22]
Myrkulthere was a bug in the login module
coloring problem
[19:22]
xavidid you commited the fix? [19:22]
Myrkuland i made a corresponding change in my css, too
i don't think i can
[19:23]
xavichnges in css: if you apply then in "Admin home > look and fell> custom css/customization", then you'll keep them [19:23]
Myrkulno, it was in the actual file [19:23]
xaviotherwise, you 'll need to re-aply your changes to the new theme in tiki8 [19:23]
Myrkulhrm, ok [19:23]
xaviconsider committing yor changes to svn, if they are fixes or general improvments [19:24]
Myrkulhow do i do that? [19:24]
xavihttp://dev.tiki.org/Commit [19:24]
Myrkulpage not found :P [19:24]
xavihe he, hold on... (I'll make an alias...)
:-/ the alias was present already... but the alias links feature is broken in 8.x (chealer, fyi also) :-/
Myrkul: see this: http://dev.tiki.org/Commit+Code
[19:25]
Myrkulyeah, i found it :P [19:27]
xavianother example of the still broken basic features in 8x
basic: of course, if you were using them extensively in your site (I was)
and we are/were in *.t.o sites
ok, back to work in other things
good luck, Myrkul
[19:27]
***Trebly has joined #tikiwiki
xavi has left
[19:28]
Myrkulwell, if basic features are broken, maybe i won't upgrade just yet... :P [19:29]
mutter, i'm an idiot :P
i found how to set the group homepage
[19:34]
........... (idle for 51mn)
Tiki|botNew Forum Posts: Mobile Theme - http://tiki.org/tiki-view_forum_thread.php?forumId=14&comments_parentId=42633 [20:25]
***Trebly has quit IRC (Ping timeout: 240 seconds) [20:39]
....... (idle for 30mn)
arildb_ has joined #tikiwiki
arildb has quit IRC (Ping timeout: 240 seconds)
Myrkul has quit IRC (Ping timeout: 265 seconds)
[21:09]
mark_doe has joined #tikiwiki
pascalstjean has joined #tikiwiki
marclaporte has quit IRC (Quit: Leaving.)
lindonb has quit IRC (Quit: lindonb)
[21:22]
.... (idle for 15mn)
pascalstjean has quit IRC (Quit: pascalstjean) [21:44]
..... (idle for 23mn)
Trebly has joined #tikiwiki [22:07]
........ (idle for 39mn)
pascalstjean has joined #tikiwiki
Trebly has quit IRC (Read error: Connection reset by peer)
[22:46]
CIA-46tikiwiki: 03changi67 * r38792 10/trunk/lib/ (4 files in 4 dirs): [ENH] Zend Code Styling - http://quality.tiki.org/job/Tikitrunk/146/violations/ [22:59]
***mark_doe has quit IRC (Ping timeout: 240 seconds)
fabricius has joined #tikiwiki
[23:08]
fabriciuspolom [23:13]
***pascalstjean has quit IRC (Quit: pascalstjean) [23:16]
.... (idle for 17mn)
CIA-46tikiwiki: 03changi67 * r38793 10/trunk/lib/wiki-plugins/wikiplugin_dbreport.php: [ENH] Zend Code Styling - http://quality.tiki.org/job/Tikitrunk/147/violations/ [23:33]

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