***: danopia has quit IRC (Read error: 104 (Connection reset by peer))
danopia has joined #tikiwiki
rlpowell has joined #tikiwiki rlpowell: Hey guys.
I've just upgraded to svn trunk; I ported most of my data over, but dropped admin settings and so on.
How do I change the wiki page that tiki-index.php shows? There's a bunch of home page settinsg but they don't seem to actually work.
I also noticed that the old admin view and the new admin view on the same options look very different. MacLeod: @rlpowell: tiki-admin.php?page=wiki has a setting for "Wiki Home Page". Worked for me.
using v2.0 rlpowell: MacLeod: WHere on the page? I don't see anything like that.
Oh, wait, no; I'm not where you mean. Sec.
Ah, neat. MacLeod: Worked? rlpowell: Dunno yet; I"m just surprised because since Look & Feel is where the Wiki settings used to be, I assumed it had subsumed them.
So I'm just surprised that that section still exists. :) MacLeod: in something this complex, I'm sure it's hard to achieve a perfectly intuitive admin interface rlpowell: And, and that option isn't in http://www.lojban.org/tiki/tiki-magic.php?featurechain=/1/2 , which is where I'd expect it to be in the new style. MacLeod: so many features & functions could be placed in more than one spot rlpowell: MacLeod: Oh, sure. Just commenting, mostly on my own stupidity. -: MacLeod waves goodnight ***: MacLeod has quit IRC ("CGI:IRC 0.5.9 (2006/06/06)")
Caarrie|away is now known as Caarrie|sleeping
SvenAERTS_ has joined #tikiwiki
SvenAERTS_ has quit IRC (Read error: 104 (Connection reset by peer))
SvenAERTS_ has joined #tikiwiki
SvenAERTS has quit IRC (Read error: 110 (Connection timed out))
SvenAERTS has joined #tikiwiki rlpowell: Neat. All wiki page links point to /tiki/page+name instead of /tiki/tiki-index.php?page=page+name
Anyone know what that's about? ***: SvenAERTS has quit IRC (Read error: 104 (Connection reset by peer))
SvenAERTS has joined #tikiwiki
SvenAERTS_ has quit IRC (Read error: 110 (Connection timed out))
SvenAERTS_ has joined #tikiwiki rlpowell: Oh, that's the search-engine-friendly URLs. Not so much with the working, apparently. :) ***: SvenAERTS_ has quit IRC (Read error: 104 (Connection reset by peer)) rlpowell: Or maybe there's httpd.conf stuff I'm supposed to do. PS|bot: SVN: Commit by rlpowell :: r 14703 /trunk/lib/tikilib.php: Makes a PHP error go away. ***: holyfeld has quit IRC ("ChatZilla 0.9.83 [Firefox 3.0.1/2008070208]")
SvenAERTS has quit IRC (Connection timed out) PS|bot: SVN: Commit by rlpowell :: r 14704 /trunk/lib/setup/categories.php: Another PHP error fix. rlpowell: Wow.
It's a miracle.
I don't update for a few months, and nobody broke the mail <-> forum gatewaying. ***: NefariousC has quit IRC ()
Lucymoz has joined #tikiwiki
lphuberdeau has joined #tikiwiki
brettski has joined #tikiwiki brettski: l ***: brettski has quit IRC (Client Quit)
franck has left
Lucymoz has quit IRC (Read error: 110 (Connection timed out)) luciash: polom ***: jasprit has joined #tikiwiki
rlpowell has left
uSlacker has quit IRC (Read error: 110 (Connection timed out))
marclaporte has joined #tikiwiki marclaporte: polom ***: uSlacker has joined #tikiwiki luciash: polom marc :) marclaporte: hi luciash! -: marclaporte is sleepless in New York marclaporte: and hungry
how are you? ***: Govnor has joined #tikiwiki Govnor: Hi. TikiWiki is stripping out the javascript on the front paeg of our site, ModernSciFi.com. Which .tpl is most likely corrupted? ***: SEWilc1 has joined #tikiwiki Govnor: correction: "front page" ***: SEWilco has quit IRC (Read error: 110 (Connection timed out)) amette: Govnor: if you mean that you put javascript into a wiki-page and it is stripped - that's a security feature marclaporte: It's a feature, not a bug :-) amette: yeah, didn't want to put it that way... reminds me so much of Microsoft... ;)
moloq marc btw :) Govnor: I tried to ad Google Adsense code just below the picture of Heath Ledger.(modernscifi.com) It is being added, like everything else on the page, within an HTML editor. And yes, it was stripped out the java code. Is there a work around? amette: there is an adsense plugin afaik marclaporte: put it templates/footer.tpl
polom amette
how is return to reality? amette: much worse than ten days of fiction ;)
how's it with you? Govnor: I'll look into it. I have a unique way of putting html content into my page and was hoping I could insert the adsense peppered within that content. But i will look into the plugin and the footer suggestion. thank you. amette: np, you're welcome, Govnor - good luck ***: Govnor has quit IRC ("ChatZilla 0.9.83 [Firefox 3.0.1/2008070208]") luciash: hey bro :)
marclaporte: i'm fine, it just started to be damn cold here so we have to burn some woods already :-p
marclaporte: enjoy the big apple if that's all you can eat now to get rid of the hunger ;) PS|bot: SVN: Commit by pkdille :: r 14705 /trunk/templates/ (2 files): [MOD] formatting navbar in some templates marclaporte: hehe
I am not really back to reality
My life used to be about project management and web development. Now, it's conferences, meetings, talks and hotel rooms... luciash: :)
what about cats ? marclaporte: my parents are taking good care of my cats
luciash: : is it thinkable for you to come to Montreal for a 5 day tikifest on design/marketing ?
in November? luciash: marclaporte: that's good, at least they're not hungry ;)
marclaporte: i'll *think* about it ;) marclaporte: hehe
we'd start with http://www.webcom-montreal.com/ luciash: marclaporte: sounds tempting, i'll let you know marclaporte: then, 4 days of TikiFest Nove 13-14-15-16 luciash: gotta run now to pick up my son and wife
later marclaporte: ok! ***: Govnor has joined #tikiwiki marclaporte: We have 2 people from Portugal confirmed (Matthew and Pauline)
+ local people (Patrick, Nelson's team)
need Gary, Rick and you and we have the dream team all together for 4 days!
(design/marketing dream team) Govnor: Hi. I tried putting my adsense code into the adsense module and the module is stripping out my java script. I use an html editor for my front page and tiki is stripping out the java code eveywhere on the site. (modernscifi.com)
Is there a particular tpl. that may have been corrupted? marclaporte: Govnor: : just put your adsense code directly in tpl
if it's for that type of ad
top baner or bottom banner Govnor: I have done that as well and it is still being stripped.
The same thing was happening to my games section and then I uploaded a fresh copy of the games tpl. and it fixed it.
Is it possible that I have corrupted a tp that is stripping the java code from my site?.
I'll try the banners. one moment marclaporte: if it's a type of ad, for a banner, you can use the adsense module but it's a little tricky to setup Govnor: I just tried the banner and it is stripping the java code out there as well. For some reason, no matter how I approach it, the java script is being stripped out. marclaporte: imagine you are an evil hacker
and everytime you are trying an evil xss maneuver, tiki is blocking you
(to lower frusutration until we find a solution)
Govnor: : http://doc.tikiwiki.org/adsense
If you put js in Smarty, you need to put {literal} {/literal} around it Govnor: Thank you for the tips. I'll keep at it. You've been very helpful. marclaporte: I updated wiki page
please make sure to update as well once you find the solution ***: Caarrie|sleeping is now known as Caarrie Govnor: I will. Thank you. ***: NefariousC has joined #tikiwiki
marclaporte has quit IRC (Read error: 113 (No route to host))
Govnor has quit IRC ("ChatZilla 0.9.83 [Firefox 3.0.1/2008070208]")
martinalex has joined #tikiwiki
rodrigo_sampaio has joined #tikiwiki
NefariousC has quit IRC ()
djst has joined #tikiwiki
MacLeod has joined #tikiwiki MacLeod: 'morning! :) ***: PrezKennnedy has joined #tikiwiki MacLeod: Q: If I wanted to modify my theme to make the comments link in tiki-view_blog show up highlighted when comments>0, how could I do that? It doesn't seem to be feasible with just a *.tpl change, and I'm not sure if or how it can be done in the *.php file(s).
I like how the ARTICLES plugin does this, but again, I'm not sure how it does it. ***: pkdille has quit IRC (verne.freenode.net irc.freenode.net)
PrezKennedy has quit IRC (verne.freenode.net irc.freenode.net)
amette has quit IRC (verne.freenode.net irc.freenode.net)
amette has joined #tikiwiki
pkdille has joined #tikiwiki
PrezKennedy has joined #tikiwiki
Caarrie is now known as Caarrie|away amette: mornin' MacLeod ! How are you? :) ***: PrezKennedy has quit IRC (Connection timed out)
PrezKennnedy is now known as PrezKennedy MacLeod: fine, amette! you? good flight? stayed warm at the train stations? :) amette: hehehe, yeah, I'm pretty well - I then with lots of luck got a nighttrain to munich, so I could sleep six hours on the train instead of at Hannover train station ;) MacLeod: :) -: MacLeod has been to Munich, and loved it. amette: yeah, nice city - just not too much going on there at night ;) ***: Caarrie|mac has joined #tikiwiki
marclaporte has joined #tikiwiki Caarrie|mac: amette: you around? MacLeod: ah, I think I found the answer!
class="linkbut {if $listpages[ix].comments_cant > 0}highlight{/if}
dunno how the hell i missed that b4 -: Caarrie|mac does not think that answers the question of if amette is around MacLeod: earlier question. :) re: yours, she was around a few minutes ago. Caarrie|mac: i think amette is a guy MacLeod: he, then :) Caarrie|mac: i got an idea about his irc logging issue but i cant seem to find when he is active on irc ;) ***: martinalex has quit IRC (Read error: 110 (Connection timed out)) MacLeod: an "online" indicator here would be nice. -: amette is happy that MacLeod didn't mistake him as a her while he was sleeping at MacLeod's place... ;P amette: Caarrie|mac: pong Caarrie|mac: hey amette: ho Caarrie|mac: can you run an eggdrop on your ssh? amette: yeah, I'm pretty sure about that Caarrie|mac: eggdrops can do the logging and you can run the rss script for the commits that i do ;) amette: yeah, that sounds like a good idea...
I thought of running a bot for the logging, too... but here are many bots already... ;) Caarrie|mac: if you run the bot i can take PS|bot away ;)
tiki|bot sounds better anyway :P amette: still: with doing the logging _and_ offering the commit messages - it would make real sense to run that combination on irc.tw.o
hehe ;) Caarrie|mac: yea
do you know how to setup an eggdrop? amette: never did that, but I'm sure I will find out ;)
and otherwise I have you as my living manual! ;) Caarrie|mac: hehe amette: how is eggdrop compared to supybot? Caarrie|mac: never used a supybot amette: I ran a supybot once for this channel and I found it rather nice..
>roulette Sug4r: *click* amette: phew
that's the _best_ feature of a supybot ;P Caarrie|mac: hehe
eggdrops have lots of scripts already on the net and are not too hard to setup [on linux] MacLeod: heh... to an American reader, anything with an "-ette" ending suggests a feminine name or word of French origin :) Caarrie|mac: like the rss script i use i found on the website of the irc client i use :P amette: MacLeod: yeah, that's true.. ;)
Caarrie|mac: there are RSS scripts for Supy, too... I had something like that set up... don't remember for what.. I think Tiki bug-tracker...
>rss
hmm, nope :P
>help Caarrie|mac: hehe Sug4r: (help [<plugin>] [<command>]) -- This command gives a useful description of what <command> does. <plugin> is only necessary if the command is in more than one plugin. amette: >plugins
>plugins list
>help rss Caarrie|mac: helps to know how to use the bot ;) Sug4r: Error: There is no command rss. Caarrie|mac: hehe
!tikiwiki PS|bot: SVN: Commit by pkdille :: r 14705 /trunk/templates/ (2 files): [MOD] formatting navbar in some templates
SVN: Commit by rlpowell :: r 14704 /trunk/lib/setup/categories.php: Another PHP error fix.
SVN: Commit by rlpowell :: r 14703 /trunk/lib/tikilib.php: Makes a PHP error go away. amette: LOL - yeah, it has been some time ;)
>help list Sug4r: (list [--private] [<plugin>]) -- Lists the commands available in the given plugin. If no plugin is given, lists the public plugins available. If --private is given, lists the private plugins. amette: >list Sug4r: Admin, Alias, Anonymous, Channel, Config, Factoids, Filter, Fun, Google, Lookup, Misc, Owner, Seen, Services, and User amette: tadaaaa! :D Caarrie|mac: and no rss amette: yup, seems so
>list misc Sug4r: action, apropos, author, contributors, help, hostmask, last, list, more, notice, plugin, private, revision, source, tell, and version amette: >list services Sug4r: ghost, identify, invite, nicks, op, password, unban, and voice amette: >list admin Sug4r: addcapability, channels, ignore, ignores, join, nick, part, removecapability, and unignore Caarrie|mac: >list amette Sug4r: Error: 'amette' is not a valid plugin. Caarrie|mac: hehe amette: LOL
>whatis amette Sug4r: 'amette' could be (#1) real mind-bro of luciash, or (#2) a bot answering greetings amette: *g* Caarrie|mac: >whatis Caarri Sug4r: Error: No factoid matches that key. Caarrie|mac: >whatis Caarrie Sug4r: 'Caarrie' could be a clever Tiki girl amette: :)
well, I'll look into the bots once irc.tw.o is setup... thanks for the good input Caarrie|mac :) Caarrie|mac: i have not found a decent logging script but i bet you could ;)
yw amette: well, I will do my very best ;)
gotta work a bit now - cu later :) -: Caarrie|mac is in class anyway amette: hehe ;) Caarrie|mac: it is just starting luciash: LOL at all Caarrie|mac: hi luciash luciash: hey Caarrie :) Caarrie|mac: enjoy laughing at us? luciash: sure :)
enjoy your class Caarrie|mac Caarrie|mac: business law
not sure how much to enjoy luciash: aye :) but maybe you could re-use it sometime though to fight for open source ;) Caarrie|mac: i am not going to school for law ;) luciash: i see :-p ***: Paragtim has joined #tikiwiki
rodrigo_sampaio has quit IRC (Read error: 110 (Connection timed out))
Caarrie|mac has quit IRC ("one class down 2 left")
nikhilodeon has joined #tikiwiki
rodrigo_sampaio has joined #tikiwiki
marclaporte has quit IRC (Read error: 113 (No route to host))
mattbmc has joined #tikiwiki
nikhilodeon_ has joined #tikiwiki Paragtim: Is it possible to move a complete installation from one domain to another? ***: nikhilodeon has quit IRC (Read error: 110 (Connection timed out))
scooby99 has joined #tikiwiki
SEWilco2 has joined #tikiwiki scooby99: what's the best way to set up a bunch of wiki entries that one group can read add and edit while another group can only read, do I have to set the prermisions on each individual page? lphuberdeau: you can use categories SEWilco2: scooby99: assign permissions to the categories of the pages. -: SEWilco2 is waiting for dev.tw.o to get around to displaying tracker items. DB busy? scooby99: I did that but some of the pages still can't be accessed... luciash: Paragtim: sure, just dump out the database, put all the files in a package, unpack, import db MacLeod: @scooby99: what permissions did you assign to the categories? scooby99: the catagory perm says the user even has rights to view but they still can not "Permision denied" MacLeod: @scooby99: there's a new category permission in v2.0, tiki_p_view_categorized scooby99: view
tiki_p_view_categories MacLeod: Give them tiki_p_view_categorized as well SEWilco2: By "them" he probably means the user groups. Look under Admin for "Groups" and give the proper groups that permission. scooby99: still no joy :( MacLeod: I was thinking he'd need to assign it for the categories that he wants the read-only group to view scooby99: Do I need to log out and back in again?
I wouldn't think so... but :S MacLeod: i wouldn't think so, either SEWilco2: I think I saw someplace that permissions are cached. Refresh the page which you're testing.
But then, caching is screwed up if you have parts of the page restricted based on permission. But that's different from access control to the page. scooby99: still no joh
joy
going to start the catagories from scratch ***: snarlydwarf has joined #tikiwiki
danopia has quit IRC (Read error: 101 (Network is unreachable))
danopia has joined #tikiwiki scooby99: this is starting to piss me off!!! now it's worse!! ! SEWilco2: scooby99: Did you use the TikiWiki tool to clear the cache? scooby99: multiple page delete doesn't work eiter... :(
not sure where that is...
found it
that seems to be working :D SEWilco2: Which is "that"? The act of clearing the cache, or are your categorized permissions working? scooby99: hmm as soon as I add the pages to a catagory I get Permision denied.... ***: Lucymoz has joined #tikiwiki SEWilco2: You mean the permission denied comes when trying to save an edit which adds a category to a wiki page? scooby99: no, I have pages that exist and when I add them to the catagory and browse them I get the permission denied...
when the page was not in a catagory I could browse it... SEWilco2: Does the user which is trying to browse belong a group which is allowed to read wiki pages? Their group has to be able to access wiki, then the categorized permission restricts what they can view.
The wiki read permission has a name something like tiki_view_wiki scooby99: that is on by default "inherited from anonymous" SEWilco2: OK. Are you tying to browse the page as the same editor which added the categorization? That implies that the editor was earlier able to access the page.
Oh, wait, I remembered something... looking for it.. scooby99: the pages were built by admin, the person I'm trying to get to view the pages is called support SEWilco2: Go to Admin>Categories and you probably have to turn OFF "Permission to all (not just any) of an object's categories is required for access"
If you have topic categories, rather than only permission categories, you need that OFF because your topic categories have no permissions assigned.
(topic categories are for things like "forest" and "tree" rather than the new "Group category editor" type of permission categories) ***: martinalex has joined #tikiwiki scooby99: That's got it!
not sure what a topic is... SEWilco2: Categories used to be used for connecting pages by subject, such as due to the pages being related to "forest" or "family" or "cars". Those categories probably don't have permissions attached. scooby99: okay I get that, but where would the topic be set?
or how SEWilco2: I was referring to something like "cars" as a topic.
I'm presently working on one site where topical categories include "family" and "event". I freely mark pages related to those topics with topical categories. The more restricted pages also get some "categoriezed" permission cats. scooby99: ah okay, I see what you mean
what did we toggle off though, it's not supper clear as to what it does ***: Caarrie|away is now known as Caarrie
mattbmc has quit IRC ("Leaving")
Amorphous has quit IRC (Connection timed out)
Amorphous has joined #tikiwiki
mattbmc has joined #tikiwiki
Caarrie is now known as Caarrie|away
deepaks has joined #tikiwiki
jasprit has quit IRC ("Leaving.")
martinalex has quit IRC (Read error: 110 (Connection timed out))
tomb has joined #tikiwiki
srishti has joined #tikiwiki
djst has quit IRC ("http://djst.org/blog/") MacLeod: has anyone noticed a problem with the search_new module not producing results from categories with individual permissions?
we've got one tree of "restricted" categories and an associated group, but users in that group are not finding pages in that category with the search module. SEWilco2: I think I saw documentation that it's not supposed to unless you have the permission. There are several options to turn off the restrictions on searching. MacLeod: i saw at least one restriction option, and left it on, because we're going for WYSIWYCA.
but these users *have* permission SEWilco2: You might check dev.tikiwiki.org for bug reports about searching. -: MacLeod nods MacLeod: hm, looks like plugins can no longer be self-closed, e.g. {MODULE()/} SEWilco2: In 2.0 I'm having trouble getting stuff to show in debugger console. $debugger->msg('ID is now: '.$id);
I did use "global $debugger;"
Ick. In 2.0 debugger console, typed: "print $url" Displayed was "print $ur<x>l" and error message. I thought the <x> was fixed in 2.0 stable.
lphuberdeau: Would the cache permission leak bug be solved by adding smarty variable "group" to the $_smarty_cache_id in setup_smarty.php? ***: srishti has left
nikhilodeon__ has joined #tikiwiki
nikhilodeon__ is now known as nikhilodeon
nikhilodeon_ has quit IRC (Read error: 110 (Connection timed out)) SEWilco2: Is smarty_setup.php part of Smarty, or is it TW addons to Smarty? ***: nikhilodeon__ has joined #tikiwiki
pkdille has quit IRC (Remote closed the connection)
pkdille has joined #tikiwiki
franck1 has joined #tikiwiki
nikhilodeon has quit IRC (Read error: 110 (Connection timed out))
djst has joined #tikiwiki
pkdille has quit IRC (Remote closed the connection)
pkdille has joined #tikiwiki
djst has quit IRC ()
rodrigo_sampaio has quit IRC (Read error: 110 (Connection timed out)) MacLeod: hmm... what's the purpose of the freetag_current module, given that the freetag module does all the same stuff and more, and looks cooler? SEWilco2: There isn't a comment in either one stating why one was created? MacLeod: you mean in doc.tw.o ? SEWilco2: No, I meant a comment in the *.php MacLeod: haven't looked at the code yet
many users won't :) SEWilco2: Oh, sorry. Thought it was a dev question rather than a doc question. MacLeod: mod-freetags_current.php doesn't have any explanatory comments
doesn't look like any of the mod-freetag* modules do SEWilco2: Well, then they obviously don't exist. No worries, then. ***: sylvieg has left
rlpowell has joined #tikiwiki rlpowell: What is db/features.csv used for? ***: sylvieg has joined #tikiwiki lphuberdeau: fill tiki_feature ... which is used to display the new admin menus SEWilco2: Grumble. The wiki cache is only about parsing the wiki? So I'll have to add an external cache. How do I make external cache aware of permissions? Alter the URL structure? ***: MacLeod has quit IRC ("CGI:IRC 0.5.9 (2006/06/06)") SEWilco2: lphuberdeau: You "Louis-Philippe" for the caching bug? http://dev.tikiwiki.org/tiki-view_tracker_item.php
I've been stumbling around it all day. Looks simple...again. sylvieg: caching does not support perms - you can ony cache pages with no perm lphuberdeau: it may be assigned to me, but I have no plans for fixing it in the near future... priorities SEWilco2: sylvieg: In 2.0 I don't see a perm test in tiki-index.php. sylvieg: get_perm_object redefined tiki-Pview.... SEWilco2: And a page with no perms still gets cache refilled by someone who is an editor, causing edit icons to appear for non-editors. sylvieg: the cache should include a perm checking - but it is not done yet ... danopia: . sylvieg: icons on section?
because I do not think edit on navbar are cached... lphuberdeau: it's only the section edit stuff sylvieg: and it is the plugin too lphuberdeau: that's 3.0 ;) SEWilco2: Also {GROUP} gets cached, allowing invisble stuff to show up for wrong group. sylvieg: no plugin like GROUP.. lphuberdeau: you need to disable the cache on those pages -: sylvieg wonders what happens if you use apache cache... SEWilco2: How about if I add &$group on the page name, then have invalidate_cache($page) delete LIKE $page&% sylvieg: ... an easy patch will be to add the group who builds the cache
and in tiki-indes if the user does not belong to the cache - rebuild the cache
- this is easy to do....
but perhaps not efficient SEWilco2: What do you mean "if the user does not belong to the cache - rebuild the cache"?
I'm thinking of just creating different "page" names for each $group, so each gets own cache. Then making sure invalidate_cache clobbers all. ***: franck1 has left sylvieg: godd idea - we have / had ? already that for menu or module... I do not remember... SEWilco2: Looks like I just have to change a little in tiki_index.php and only change needed in tikilib.php is using LIKE in invalidate_cache().
Is '&' a good separator character? It seems illegal in wiki page names, and something impossible is best in such a separator. -: sylvieg getting old - do not remember what object has cache on group basis
SEWilco2 does not remember what a group basis is.
SEWilco2 tosses some sea basis in the wok. sylvieg: the cache name has a md5 or something like that of the list of groups of a user SEWilco2: sylvieg: Eh? lib/wikilib.php shows no md5 on $page in update_cache().
sylvieg: Oh, I see. You think some kind of object has a group hash but can't remember which of the numerous kinds of objects has it.
I think I noticed such a group hash someplace also as I stumbled around looking for this cache, but don't remember either where it was. sylvieg: I can not remember .. but i think that doing a name cache pageName.md5(concatenated list of group order by alphabetic name ) should work ***: scooby99 has left SEWilco2: Yup. I'm trying to test now the format of $group. Hmm... the debug console isn't appearing for my normal multigroup user on my multigroup site. Better add Admin group to my list.
Heh. Broke my debug console with a php typo in the print command. ***: NefariousC has joined #tikiwiki
mattbmc has quit IRC (Read error: 60 (Operation timed out))
mattbmc has joined #tikiwiki
lphuberdeau_ has joined #tikiwiki
Jyhem has quit IRC (Read error: 104 (Connection reset by peer))
tomb has quit IRC ("Ex-Chat")
Caarrie|away is now known as Caarrie SEWilco2: Does SQL with 'LIKE stuff&%' have portability problems? ***: lphuberdeau has quit IRC (Read error: 110 (Connection timed out)) SEWilco2: Eh? The wiki cache is kept within the same table as the original page? Ick. ***: NefariousC has quit IRC ("Read error: 69 (No host to route)")
nikhilodeon__ has quit IRC (Read error: 110 (Connection timed out))
nikhilodeon__ has joined #tikiwiki
nikhilodeon__ is now known as nikhilodeon
snarlydwarf has quit IRC (Remote closed the connection)
NefariousC has joined #tikiwiki
Landon has joined #tikiwiki SEWilco2: One line change in tiki-index.php to make only anon users get cached pages... is_null() might be enough, so is this overly cautious programming?
Oh, foo. I closed my X terminal and lost the paste buffer. Landon: is there any page that explains how to link to a file in the file gallery (or is this possible?)
I'd rather not link to a download page, but the file itself
so it can be viewed inline if necessary SEWilco2: if($prefs['wiki_cache']>0 and (is_null($group) or $group=='' or $group=='Anonymous')) {
Landon: no. When files are uploaded they get a unique filename, so only TikiWiki knows the relationship between the given name and where the data is stored.
With some hacking, in some configurations, it might be possible to do what you intend, but it would be a fragile situation. Landon: hm, I figured it would be that way
what about attaching a file to a page?
I've seen it referenced in places, but I've never seen the option on the tikiwiki I'm using
(1.9.*) SEWilco2: Good question. If nothing else, you can insert an IFRAME using {TAG}.
.. with the IFRAME pointing at the file URL.
Let's hear if someone else is aware and has other suggestions. Me, it's time to leave. Landon: thanks for the suggestions ***: SEWilco2 has quit IRC ("ChatZilla 0.9.83 [Firefox 3.0.1/2008070208]") sylvieg: to view inline - I think you have to change the code
tiki-download_file does a header("Content-Disposition: attachment; filename="$file"")
soo it means you are asked to download Landon: ok, well, I guess I might have to just put them in the main directory then and link from there sylvieg: seems to have a parameter display not to do that.. ***: nikhilodeon has quit IRC (Read error: 110 (Connection timed out))
deepaks has quit IRC (Remote closed the connection)
mattbmc has quit IRC (Connection timed out)
mattbmc has joined #tikiwiki