***: torsten is now known as fabricius
goj has quit IRC (Ping timeout: 248 seconds)
goj|ghost is now known as goj
Caarrie is now known as Caarrie|sleeping Tikiwiki|bot: New Forum Posts: Pasting text - keeping formating - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=37342 ***: chealer has joined #tikiwiki
chealer is now known as chealer|vac
Lucymoz has quit IRC (Ping timeout: 245 seconds)
fabricius has quit IRC (Ping timeout: 252 seconds)
damian has joined #tikiwiki
ClaraM has joined #tikiwiki
Wilkins_ has joined #tikiwiki
goj has quit IRC (Ping timeout: 248 seconds)
goj has joined #tikiwiki
Wilkins_ is now known as Wilkins CIA-61: tikiwiki: 03jonnybradley * r27471 10/branches/5.x/lib/articles/artlib.php: [FIX] Make jailroot when categId is supplied consistent with the rest of Tiki (e.g. if categId is not in your jail it shows nothing) ***: benjamin has joined #tikiwiki
Caarrie|sleeping is now known as Caarrie|away
FrankP_away has joined #tikiwiki
benjamin has quit IRC (Remote host closed the connection)
xavi has joined #tikiwiki
FrankP_away has quit IRC (Ping timeout: 252 seconds)
chibaguy has joined #tikiwiki
ChanServ sets mode: +o chibaguy chibaguy: polom ***: ricks99 has joined #tikiwiki ricks99: hi all :) ***: genexbs has joined #tikiwiki genexbs: I need to create wiki page from a form that user will submit, form will have page name and other information that will become page headings once page is created, any suggestions on best way to do it? xavi: hi chibaguy and ricks99 (from university)
genexbs: I don't know for sure, but did you check if there is a tracker field which can do that for you? genexbs: not tracker xavi: I mean, did you check the documenation through http://doc.tikiwiki.org/Trackers ? genexbs: i m working on website related to projects, user will have to "register project" using form
that form will create a wiki page xavi: "form" in tiki are handled through the tracker feature genexbs: project name will become page name xavi: but I don't know if it's already coded, that from a tracker you can created new wiki pages genexbs: ok let me check that then
thanks xavi: oh well, for sure you will be able to do that through "data channels" (magic words appear again). but that's a very advanced feature
if you are brave enough (and experienced-enough tiki power user), you can see some description through http://doc.tikiwiki.org/Worspaces
this is the future of Tiki, but just a few power users are able to (=Have learned already to) use it
and I'm not one of them. I hope I will, but not yet. And that page was written recently, even if the code is there since almost a year, afaik
or in theory you can use the profile plugin, with a simple profile for your new project, etc. There is a profile (work in progress, afaik) about profile management... it should be linked from the doc.tw.o/Workspace page, afair
hth
and profile management is easier than data channels. I'ts an advanced feature, also, but more people are able to use it (I'm starting to use it with success)
s/I'ts/It's (rusty English, or rusty fingers.... I wonder what's worse) ricks99: hi xavi
@07genexb01 i *think* trackers can do this
not 100% sure, thoguh -: xavi feels like ricks99 ricks99: i *think* pretty trackers has a way to create a page chibaguy: xavi, you were talking about the Artisteer theme program? sylvieg: genexbs: http://doc.tikiwiki.org/Page+selector or datachannels as xavi said xavi: hi chibaguy , nope, not me chibaguy: oh, ok. I can't remember where I was reading that, or who said it.
Anyway, it's a windows and mac program for making themes for wordpress, joomla, drupal and some others, or HTML templates.
A commercial program.
Maybe it was Pascal Saint-Jean. sylvieg: chibaguy: yes it was pascal on the devel chibaguy: ah, ok. -: chibaguy not getting enough sleep these days. ;-) xavi: :-) Tikiwiki|bot: New Forum Posts: Module will only show contents to Registered users despite settings - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=37345 luciash: polom
xavi: do you remember that "page" type field ? ;) ricks99: hi luciash luciash: hi ricks99 xavi: hi luciash :-) yes, that's why I first pointed that user to read the tracker documentation luciash: genexbs: yes, tracker field type page can do that (i am 100% sure) xavi: but I was not sure genexbs: ok thanks for the help, I m trying this xavi: mmm, I'm facing some problems with pretty trackers. How can I escape the names of {$f_1} and similar so that a plugin call doesn't have conflict with it?
I'm need this with PluginR,... but this syntax in the tracker template: {R()}{$f_6}:{$f_7}{R}
is sending that {$f_6} to the R program in the server, and R doesn't understand it...
http://dev.tikiwiki.org/PluginR#wiki-plugin_r.php
how can avoid this problem in PluginR? luciash: xavi: hmm, a tough one
xavi: how come it doesn't send as value of the tracker field instead ? xavi: good question. I don't know enough php to understand all the internals of pluginR... luciash: does PluginR parse data content or not ? xavi: but the wiki page shows the error from the R console
parse data content: not, and that's another thing that would be very useful luciash: i don't see the error on http://dev.tikiwiki.org/PluginR#wiki-plugin_r.php xavi: yes, it's from R...
hold on, I'll make my test environment a bit more public
(it's from work at university, and I might get a new contract to produce easier interfaces in html to manage R scripts.... that's why PluginR might make things very useful for such type of work)
luciash: http://cochise.bib.ub.es/tiki5svn/tiki-index.php?page=template
the message in red:
Error: unexpected '$' in "{$"
comes from R in the server luciash: xavi: ok, but it is only happening when you look at the template directly, right ? xavi: nope.... see this: luciash: it's understandable
oh xavi: http://cochise.bib.ub.es/tiki5svn/tiki-index.php?page=company%20directory
ah, hold on... more perms for anons to view it.... luciash: yep :) xavi: that's it, reload the last page
company directoy, etc.
btw, that profile for that pretty tracker demo is missing a perm to use the "template" page as wiki tracker template
I'll add that before I forget....
mmm, can a user add local perms on objects through a profile? ***: Cain` has joined #tikiwiki luciash: xavi: i see
xavi: a user ? xavi: never mind, I found it ***: genexbs has quit IRC (Ping timeout: 245 seconds) xavi: http://profiles.tikiwiki.org/Permission+Management
I meant I didn't know how to do that, in case it was possible (I was doubting it), but it is possible ***: Cain has quit IRC (Ping timeout: 240 seconds)
Cain` is now known as Cain luciash: xavi: i don't understand why it doesn't parse {$f_6} inside the plugin data to the field value before parsing the plugin itself
can you try with {$user} instead ? xavi: ok, thanks for the tip. there I go luciash: or {{user}} xavi: :-( blank page
I'll enable error messages
the template is this: http://cochise.bib.ub.es/tiki5svn/tiki-index.php?page=template luciash: can you enable view source for anon ? xavi: yes luciash: tnx xavi: granted on the template page
mmmm, however, it has to be enabled somewhere, isn't it.... for variables like {{user}} to be shown... luciash: xavi: yes, enable it on Admin > Editing & Plugins
xavi: btw, http://profiles.tikiwiki.org/tiki-index.php?page=menu has now duplicated link (it is already in the top menu)
xavi: ah, i meant you put the user test inside the R plugin code xavi: ok, there I go...
http://cochise.bib.ub.es/tiki5svn/tiki-index.php?page=Company+Directory is visible to anons also luciash: xavi: you want to figure it out yourself or give me admin account there if you like xavi: item removed from wiki menu (thanks, I didn't notice that it was there)
yes, no problem (thanks)
once enabled that setting (argument variables), I notice that CODE plugin is not capable of showing R syntax inside. It's parsed even inside a CODE plugin call luciash: xavi: with the menu the same happened to me :-p xavi: :-)
I wonder why CODE is not able to show the R syntax
user luci or luciash ? luciash: luci
i meant instead of
{R()}{$f_6}:{$f_7}{R}
{R()}{$user}{R} xavi: yes, yes, I know.... -: xavi searching for you email right now luciash: okidokie
luci AT tw.o xavi: ok, easy, thanks
ok, there you are
sending pass through email
I can't use pidgin from uni, just webchat for irc, and I can't send pm from here, it seems CIA-61: tikiwiki: 03sylvieg * r27472 10/trunk/lib/profilelib/profilelib.php: [ENH]datachannel: to be able to use {{user}} and other in the yaml luciash: fine , i am in
you can enable minichat module there ;) xavi: :-) luciash: xavi: out of ideas, it seems too complicated to me, it seems to parse differently than the rest of the plugins
the content ***: Bilal has joined #tikiwiki xavi: ok, thanks luciash for the feedback and your time
since I need this for work, I'll keep trying and I'll ask someone else when I get stuck
time to go back home & luch
cheers ***: xavi has quit IRC (Quit: Page closed)
damian has quit IRC (Quit: HydraIRC -> http://www.hydrairc.com <- The professional IRC Client :D)
Jyhem has quit IRC (Read error: Connection reset by peer) Bilal: by allowing HTML in WIKI pages - does it weaken the site security and people can do something bad to the site ? or is it safe to use ? ricks99: potentially, yes. i suggest using the HTML plugin instead. it allows you to approve any HTML coding before it is "live" Bilal: ricks99: okie thanks
ricks99: means we should not enable WXYIG editor and instead use HTML plugin? ***: ricks99_ has joined #tikiwiki ricks99_: can still use plugins with wysiwyg editor ***: ricks99 has quit IRC (Ping timeout: 245 seconds)
ricks99_ is now known as ricks99
marclaporte has quit IRC (Read error: Connection reset by peer) luciash: Bilal: it doesn't explicitly weaken site security but can allow malicious users insert hidden tags and collect other user's private data via methods such as "iframe injection" etc. ***: xavi has joined #tikiwiki luciash: wb xavi xavi: hi :-) ***: Louis-Martin has joined #tikiwiki xavi: sylvieg, I need your help & expertise . I need to know how to extend PluginR to avoid sending variables from a tracker wiki page template when it's in the template stage. So that R plugin sends values from pretty tracker to R at the server, and not sending the variables to the R in the server....
example: see test 4 here: http://cochise.bib.ub.es/tiki5svn/r_test
when this is in a template: {R()}{{f_6}}:{{f_7}}{R} it's sent to the R program in the server
sorry , this: {R()}{$f_6}:{$f_7}{R} ***: Bilal has quit IRC (Quit: ChatZilla 0.9.85 [Firefox 3.5.9/20100315083431]) xavi: and R doesn't know what is $_f6, etc. sylvieg: do you use a tempalte or a wiki page? xavi: Instead, I need to send just the output from the pretty tracker varible to the PluginR call sylvieg: try to use a template and the syntax to put a plugin in a tpl xavi: template.... hold on, I'll show you the real example in the template.... sylvieg: template as tpl or tempalte a wiki?
otherwise I do not know how to do xavi: http://cochise.bib.ub.es/tiki5svn/tiki-index.php?page=Company+Directory
template is a wiki page: http://cochise.bib.ub.es/tiki5svn/tiki-index.php?page=template
sorry, let me clean a bit the template...
cleaned
and this is the only item in the tracker: http://cochise.bib.ub.es/tiki5svn/tiki-view_tracker_item.php?itemId=7&trackerId=1&show=view&reloff=0&cant=1&status=o&trackerId=1 sylvieg: try a .tpl and use of the smarty block wikiplugin xavi: aha.... thanks for the tip... sylvieg: (otherswise it will take me hours to go inseide smarty to know when each part is executed...) xavi: a .tpl, you mean in a file in the server
? sylvieg: yes xavi: ok, I'll test ***: chibaguy has quit IRC (Read error: Connection reset by peer) CIA-61: tikiwiki: 03sylvieg * r27473 10/trunk/ (2 files in 2 dirs): [NEW]memberpayment: param to limit the membership payment only top the current user ***: sudo has joined #tikiwiki xavi: sylvieg: do you mean this syntax: {R()}{literal}{$f_6}:{$f_7}{/literal}{R}
? sudo: hey guys how do I solve this xavi: because it sais: No field indicated
s/sais/says sudo: ADONewConnection: Unable to load database driver
Invalid db object passed to TikiDB constructor xavi: sudo: tiki version? step? sudo: 4.2 xavi: and step or url? sudo: connecting to mysql db sylvieg: you probably need to use the smarty {wikiplugin}
... when do you need the page working? xavi: sylvieg: ok, I'll test sylvieg: I have soem job to finish now
I can have a look later today ***: chealer|vac has quit IRC (Ping timeout: 240 seconds) sudo: at what stage do I use the plugin sylvieg> xavi: ok, thanks, or tomorrow, if you prefer. I need to know whether it's possible to user pretty trackers with pluginR by friday or so....
duo, it was for me
sudo , it was for me sudo: ok xavi: sudo, what were you doing? installing or what? please provide more details sudo: installing sylvieg: sudo - I was speaking to xavi not you sudo: xavi when setting up the DB connection xavi: does your server meet the http://doc.tikiwiki.org/Requirements ? sudo: which requirements are these? xavi: read the page
"please" sudo: xavi I have mysql running xavi: sorry, sudo, no idea: I've never seen that error before. it compalins about a db driver. Ensure that you have AdoDB and/or PDO properly installed and working in your server. Ask your sys admin if needed. sudo: I am trying it on my local host xavi: which OS? sudo: ubuntu 10 xavi: sylvieg, I can't make it work with tpl on disk, (using this syntax, in case it matters): {literal}{wikiplugin}{R()}{$f_6}:{$f_7}{R}{/wikiplugin}{/literal}
@sylvieg: so I skip it for a while. Thanks ofr having a look later today or tomorrow.
@sylvieg: I'm interested in using this through wiki pages as templates,
@sudo: then, you are definitively missing some base packages
there used to be a doc. page for installing on ubuntu.... (I wrote it, years ago)
did you search through doc.tw.o?
you can search for "ubuntu", or just look around the http://doc.tikiwiki.org/Installation pages... -: xavi uses ubuntu since 6.10, and tiki runs with no problem on them xavi: you might be needing some dependencies for the mysql-server, mysql-client or mysql-php packages, etc. ***: sudo has quit IRC (Ping timeout: 265 seconds) luciash: xavi: does wikiplugin smarty block really exist ? i heard onyl about "wiki" block ...
and i think the literal block should be inside the R plugin data, not outside
s/onyl/only ***: sudo has joined #tikiwiki xavi: luciash: not much idea myself. Just tried a bit ... luciash: anyway, i think your goal is to use wiki as template xavi: yes
anyway, I have to study http://dev.tikiwiki.org/tiki-index.php?page=Hello+World
oups, there are weird characters in the hello world page!
$pref_name can be ‘theme’, ‘allowMsgs’… luciash: :-p
must be devs playing with the fire (UTF-8) ***: kerry has joined #tikiwiki kerry: hello luciash: hi kerry xavi: bottom line: it's very difficult, then, to say hello world in tikish lang ;-) kerry: im having an issue and i wanted to know if anyone knew how to fix xavi: we'l try, kerry
we'll
hi, btw kerry: im new to mytiki but was give the responsibility of setting it up for people.. somehow i managed to delete the editor category and now when anyone except admins log in, it says permission denied on the homepage
everything else works.. but they cant see the homepage! xavi: url?
(if public)
of course, this is a perms problem luciash: kerry: so the question is ? xavi: if might be category permissions.... or just missing global or local permissions kerry: i was looking on how to fix
oh its not.. its for the library
ive been trying to add and take away permissions to get it to work luciash: kerry: you mean "Editor" *category* or "Editors" *group* ? kerry: the group of editors ***: chealer|vac has joined #tikiwiki kerry: and i cant figure out which permission allows people to see the homepage luciash: just re-create the Editors group
then you need to assign the people to that group
include Registered to that group and assign any extra permissions to that group then
tiki_p_view permission is that - inclusion of Regsitered should do the trick anyway xavi: argh, this doc. page is horrible for new users: http://doc.tikiwiki.org/Permissions kerry: oh i know ive tried to read it a dozen times ***: chealer|vac has quit IRC (Remote host closed the connection) kerry: its literally been a month that ive been trying xavi: sorry kerry, that paeg is awful... luciash: kerry: i just told you what to do (basically) xavi: keery, in the meantime, besides luci's explanation, and before the official doc. page is improved, you can read this: http://twbasics.keycontent.org/How+Permissions+Work
ricks99 ? kerry: thank you. im trying to click on the tiki_p_view and i don't see that one.. there's tiki_p_admin and Can view action log (tiki_p_view_actionlog)
but no plain view
(tiki_p_view_templates)?
how about that one xavi: nope
tiki_p_view , as reported in the official doc. page kerry: hmm ill keep looking xavi: kerry, tiki version?
for curiosity
it should be the same perm in all kerry: 4.1 xavi: but just to guide you through the interface, if needed
did you try to list all perms for all features, and then search for that perm through the browser?
and, are you using old interface to manage perms, or new one?
new one is explained in http://doc.tikiwiki.org/Tiki4
"explained": "briefly presented" kerry: thanks im logging it out and in to see if i got it
darn it
i did tiki view and i added the registered
and i still cant see it xavi: kerry, suggestion: play with it with two browser programs, one for admin, and one for a registered user kerry: ooh good idea ***: Wilkins has quit IRC (Ping timeout: 264 seconds) CIA-61: tikiwiki: 03sylvieg * r27474 10/branches/5.x/lib/tikilib.php: [BP/r 27355][FIX]parsing: leave alone and do not add <br /> the is_html data - the defautl feature_wiki_paragraph_formatting and feature_wiki_paragraph_formatting_add_br should work now for both wysiwyg and tiki xavi: thanks sylvieg for improving (fixing) it! :-) sylvieg: I am little worry about the side effect people should probably review the setting... xavi: side effect? they'll loose some br you mean?
just add a note in ((doc:Upgrade)) and/or ((doc:Tiki4))
and/or release notes sylvieg: I think I will rollback... :-( not sure ***: TFabricius has joined #tikiwiki CIA-61: tikiwiki: 03sylvieg * r27475 10/branches/5.x/lib/tikilib.php: [FIX] rollback - sorry has side effect kerry: when you're assigning permissions, does it matter what default group you're in? xavi: yes, default group doesn't matter, afaik
default group is for showing homepage, etc. afaik kerry: darnit.. this group has like every permission except admin and they still cant see the home page xavi: kerry, do you have category permissions for that homepage? kerry: that was the tiki_view right xavi: kerry: nope. the question is simple. Let's split in simpler:
(1) do you use categories? kerry: yes xavi: (2) do you have your homepage categorized? kerry: sorry i swear im not an idiot
i dont know how to find that xavi: edit page, and look for the tab where catgories are set/displayed kerry: actually i just went into admin categories and there weren't any xavi: ok
so, you click in pems of tha tpage, and you see.... -: xavi opening a 4.x site to check the same interface xavi: ok, kerry, see this: http://demo.tikiwiki.org/4x/tiki-index.php ***: Lucymoz has joined #tikiwiki xavi: login as admin
pass in private message. Do you see it?
and then , check this: http://demo.tikiwiki.org/4x/tiki-objectpermissions.php?objectId=HomePage&objectName=HomePage&objectType=wiki+page&permType=wiki
you should have it similar to the previous page
hth kerry: umm no? where's oh wait
got it
very creative ;) xavi: anyway, remember to upgrade your site to 4.2
or whatever latest release is for the branch you are using at any time kerry: ok lemme try
i cant get to that area in mine though xavi: you cannot. where can you get? ***: Cain has quit IRC (Ping timeout: 240 seconds) xavi: do you see a button called "permissions" at the bottom of the page?
s/page/homepage ***: sudo has quit IRC (Quit: Leaving) kerry: sorry i didnt se that you typed i was trying to google it
but no.. i dont have a permissions button
wiki page: Special Close If an object is not in the special section, then only the default perms are on Object Group Permission Reason Company Directory Registered tiki_p_view Special HomePage Anonymous tiki_p_view Special
oh that didnt come out right
whats the special part
HomePage Anonymous tiki_p_view Special
thats what it says ricks99: Trying to add permission to a wiki page? This may help: http://twbasics.keycontent.org/Adding+Permissions+to+Pages kerry: ricks ive been trying for a month.. i have permissions set up, EXCEPT the homepage
only admins can see it ricks99: Is it in a category? kerry: no.. but when i click on object permissions its in a category called special ricks99: remove it from the category kerry: how? ricks99: 1. Edit the page
2. In the edit window, click the CATEGORY tab
3. Un-select any/all categories
4. Save the page kerry: there's no edit page button
oh!
is it the html thing ricks99: This is a *wiki* page, right? not HTML?
OK, your home page is an HTML page? kerry: its a combination of a bunch of stuff
like recent posts
and a welcome post ricks99: right, but is it a *wiki* page?
when you are logged in as the Admin, you should have buttons at top/bottom kerry: i believe so ricks99: 1 of them should say "EDIT" kerry: well im not logged in as admin.. but i have admin permissions
is that different? ricks99: yes
(maybe)
depends on which admin permissions you have kerry: ok so im on my homepage and clicked edit
but its not... liek a big edit for the whole page.. just for the text part ricks99: ok. on the edit page, do you see a CATEGORY tab? kerry: nope, just tools and properties ricks99: do u use categories on the site?
is the category feature enabled? kerry: when i click on object permissions there are categories and yes its enabled.. but i dont think anyone ever set up our own ricks99: "object permissions"? you mean clicking the PERMISSION button on a wiki page? ***: TFabricius has left kerry: no.. when you click on groups.. then manage permissions.. then object permissions.. thats the place where it says that the homepage is in the "special" category xavi: oups, got distracted for a while. back kerry: rick has been kindly trying to help my uselessness xavi: great, ricks99 is helping you kerry kerry: i went to the object permissions thing you showed me.. and there isnt a one for homepage
but homepage is in one called special xavi: kerry, can you write the url of your page, please (remove the domain, if you wish)
so that we may know what type of homepage is kerry: http://hslwiki.hsclib.sunysb.edu
you can have the log in.. i dont care
theres nothing in it
http://hslwiki.hsclib.sunysb.edu/tiki-index.php xavi: Yes, I meant that. so that it's a wiki page
then, do you have a full admin acount there¿
? kerry: i think so xavi: the account "admin" kerry: i didnt set it up
yeah
no xavi: can you log in with this account, please? kerry: im just in the group admin xavi: it may not be the same
you need to have the tiki_p_admin
regardless of the name of the group you are at kerry: where can i see that xavi: nope. Please, can you log in as "admin"?
that will be easier kerry: im calling the guy with the password ***: Louis-Martin has quit IRC (Quit: Page closed) xavi: and this way, if you have any problem again, you can log in as (full) admin to see what happened, and fix it if needed
until you master tiki permissions. then you can use whatever username provided that it's in a group with the permissions you need, etc. kerry: ugh. he set it up and was like.. figure this out and gave me my own username xavi: btw, you need to request to have GD installed in the server
ask your sys admin about it kerry: whats gd xavi: and in the mean time, can you set your homepage as another page? kerry: ugh he isnt picking up.. sure..how do you do that? xavi: it's a package in the server to produce graphics
ok, kerry, can you go to tiki-admingroups.php yourself wity your username? kerry: oh hey! xavi: kerry? kerry: ok he called
and im in as admin xavi: go to your wiki homepage, and click on the "permissions" or "perms" button
at the bottom of the page
for later: until you don't have
GD installed kerry: ok xavi: remove teh "Anti-Bot verification code" setting
otherwise, no user will be able to register kerry: ok
so im @ the perms thing xavi: ok, I think I got an idea of what can be wrong, looking at (what I can see from) your site Tikiwiki|bot: New Forum Posts: File Gallery not displaying sub folders/gallery - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=37347 xavi: hold on.... kerry: OH EM GEE
xavi u fixed it
i would give u the biggest kiss ever right now if i could xavi: did I? kerry: YES
oh thank goodness
ugh xavi: telepathy work or what? kerry: you are a genius -: xavi confused... there must be another xavi in your university campus luciash: :D kerry: lol xavi: anyway, I was going to say (I hope I don't break it now :-) ): check here: tiki-admin.php?page=wiki
and ensure that you have set some Wiki page as homepage
and check here: tiki-admin.php?page=general#content3 that you have Wiki set as homepage
in the drop down kerry: where do i do that xavi: foloow the relative url's I gave you a moment ago, kerry
and remove the permission to edit pages from anonymous, that seems to be granted as global perm
even if the page doesn't open for editting (endless loop) kerry: ooh ok xavi: I would recommend that you ask your sysadmin to review that server.
and keery, I would recommend you to have a local copy of your site with your own testing environment, so that you can split server problems in your univ. server, from tiki config problems. kerry: lol good idea xavi: ok, enough for me for now. I need to disconnect for a while, and do some other stuff. Good luck, kerry kerry: thank you thank you! Tikiwiki|bot: New Forum Posts: only admin can see an image on a wiki page - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=37348 ***: kerry has quit IRC (Quit: Page closed) xavi: luciash: in case you know how to fix. there is a display problem in tw.o with the search bar on the black top bar below the header. the drop down to select where to search for is unclickable....
it shouldn't be shown, or it should be shown somewhere else to allow users to drop down the list ***: FrankP_away has joined #tikiwiki -: changi if you have time : http://www.koreus.com/video/iron-baby.html CIA-61: tikiwiki: 03xavidp * r27476 10/branches/5.x/installer/tiki-installer.php: [FIX]Last reference to old log updated to new logo luciash: changi: already seen that, tnx :) ***: ClaraM has quit IRC (Ping timeout: 248 seconds) sylvieg: luciash: do you remember a ciommit you did - sorry october 2006
http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/trunk/lib/tikilib.php?r1=6903&r2=6904
I have problem with it ... I have some <ul></ul> in the code and after the <br /> are ingored... luciash: sylvieg: sorry, i have to look at it
sylvieg: just a moment sylvieg: I suppose 2006...
the turn around I found is to put the <ul>.. into {HTML} luciash: ooh, almost 4 years... i really don't recall
what was the commit message ? sylvieg: [FIX] manual rollback of the TOC back to ul list based luciash: ah, i see "[FIX] manual rollback of the TOC back to ul list based sylvieg: the problem is that the </ul are count even if it is a /ul of an ul that has no class=toc
I can fix tath luciash: so it was basically rollback of something i didn't like :-p maybe some <br /> stuff instead of using more semantic list
if you can fix that, you are welcome sylvieg: but I am wondering how in a toc you can generate a br luciash: only inside <li>
is allowed
in ul/ol
but i am not sure what you need/want sylvieg: I have a FANCYTABLE and there is <ul><li>... in one column because it is the 'only' except HTML way to do a list in a table
but after the facytable... the <p> are no more added because the inTOC =-1 -: sylvieg wishing to have the example that needing the fix sylvieg: s/needs
because if I do !xxx%%%yyy - I generate a br xavi: mmm, usability bug, I presume: tiki_p_edit_categories in 4.2, it's described as "Can edit items in categories", but I presume it should be described as "Can edit categorization of items"
sylvieg and luciash ? any hint? sylvieg: for me it is the same - not an English speaker xavi: my students noticed that: they have "Can add objects in the category (tiki_p_add_object)" and "Can remove objects from the category (tiki_p_remove_object)"
so that they can create new pages and categorize them
but when they make a mistkae, they can't edit the categorization of that page
I confirmed it right now
the checkboxes of category selection are greyed out
ok, don't worry, I'll find out if I'm right or not... trial and error <5 min, and I'll know
brrr, there is some bug somewhere.... my students can't change the category of a page.... (Tiki 4.2)... I'll dive in the code... (I hope I don't sink in this jquery thing) ***: FrankP_away has quit IRC (Ping timeout: 245 seconds) CIA-61: tikiwiki: 03sylvieg * r27477 10/branches/5.x/lib/tikilib.php: [FIX]parsing: After a FANCYTABLE with a cell containing <ul><li> the paragraph <p> are no more generated because the inTOC is decremented as tehrhe is a </ul. Solution : mark the closing ul of a toc xavi: let me see....line 67 in categorize.php: (proposals/4.x):
$categories[$iCat]['canchange'] = ($can && $catperms->remove_object) || isset($cat_object_exists) && ! $cat_object_exists;
what does it mean in "human" words?
the user can change the category if $can (?) and if it has the permission to remove objects (my users have that perm), OR
the object is categorized and the category exists???? ***: pikytcus has quit IRC (Ping timeout: 245 seconds) xavi: ^ sylvieg ? sylvieg: canchange is set to true if you can modify the category of the object and the category can be removed - or object has no categories
this makes no sense for me
svn blame
ce commit was done lph 8/2009 [MOD] Add support for dynamic group names from profiles and multiple fixes
and I did on sept 2009 notice: please verif CIA-61: tikiwiki: 03changi67 * r27478 10/branches/5.x/lang/fr/language.php: [FIX] spelling mistake xavi: oh well, sylvieg, I presume that there is sometrhing wrong with it.... since users with the perm to add, edit and remove, can NOT modify categorization of pages sylvieg: before commit 20616 - it makes more sense - you can change a categ if you can modify the categs of an object and you can remove remove objects from this categories xavi: can you ping lph (as Quality Team) to check it, or so?
or what is the suggested procedure? sylvieg: no real procedure xavi: I can provide a testing ground for him if needed, where he can reproduce it sylvieg: cvs list + copy lph and me xavi: mmm, are all dev supposed to me subscribed to the cvs list? -: xavi is not xavi: s/to me/to be ***: Sug4r has quit IRC (Remote host closed the connection) sylvieg: all the dev are supposed - but lph is a known exception ***: Sug4r has joined #tikiwiki xavi: but how many emails do you get per day on that list?
I fear that extra email load on my email box... sylvieg: = number of commits + 1% additional ***: pikytcus has joined #tikiwiki changi: xavi: not a lot
xavi: depends if we are in a release process :)
xavi: or a QT validation period (like now) xavi: ok, ok....I?ll subscribe ***: ClaraM has joined #tikiwiki xavi: subscription request sent
and email sent from that email
I hope it's queued until someone approves my subscription request
anyway, sylvieg and lph in cc changi: xavi: welcome on board :) xavi: well, not yet (I hope my request is lost somewhere in the internet and thus, I avoid getting more email load :-) )
argh... I can't change from wysiwyg editor to text editor any more... (in the same Tiki 4.2 with my students...) -: xavi regrets of ever enabling the wysiwyg editor.... it's a mess when they paste from wikipedia or word documents still... sylvieg: you can switch back.... perhaps missing settings ***: changi is now known as changi|afk
rockroach has joined #tikiwiki xavi: but many pages already with wysiwyg content... I fear things getting worse (Murphy's law)
I'll do a quick change -: xavi fears because there are up to 400 pages from students... sylvieg: did you enable htmlpurifier xavi: yes, it's been enabled since the early days... I wonder what have happened without it... :-/
what might have happenned rockroach: Hi, I'm desperate. Can someone please look at http://imagebin.ca/view/UonHuq.html and http://smradius.org/tiki-index.php. I just upgrade and now the site looks bad. Theme is the standard tikineat.css.
Suggestions on what went wrong are appreciated. xavi: rockroach: tikineat.css is no more standard
read the documentation pages for whatever version you are using
http://doc.tikiwiki.org/Tiki3 - http://doc.tikiwiki.org/Tiki4 or http://doc.tikiwiki.org/Tiki5
and of course, http://doc.tikiwiki.org/Upgrade rockroach: xavi: I compared the my backup to the the new tiki tarball and it's still there. xavi: sylvieg: no luck, I fuly disabled wysiwyg editor, but pages (that were created with wysiwyg editor) are edited in palin text, fine, but with all html tags in it :-/
rockroach: which version are you using? old and new? sylvieg: need to swith the page to allow html rockroach: xavi: Upgraded to 3.5. xavi: rockroach: did you cleared your browser cache? (just checking)
and see whatevernotes you can find in http://doc.tikiwiki.org/Tiki3 , http://doc.tikiwiki.org/Upgrade and http://themes.tikiwiki.org about changes in default themes when upgrading to tiki3
hth
sylvieg: the page is showing all right. It's at edition time, they see all the html tags
So I can't disale wysiwyg editor, I guess. I wish I could convert it to wiki syntax.... but the button stopped working
the only thing between yesteerday and today is language.php updated (as the one in proposals/4.x/lang/ca/language.php ), but new strings are fine, afaik, and eveything displays ok, afaik
I doubt there is a problem in my catalan translation... quick test: I'll test with english interface and clearing caches, etc
just in case rockroach: xavi: I read the Upgrade doc's before upgrading and followed it diligently. A quick look through Tiki3 themes section hasn't enlightened me. xavi: btw,m this is one of the (400) pages being edited by students with wysiwyg and lots of html grabage inside): http://sima.pangea.org/tiki-index.php?page=Composici%C3%B3+de+l'aire
rockroach: "quick look" seem it's not enough. follow my tips, please. Or first, change them to thenews.css, to see if the display is alright (and clear tiki caches, and your browser caches)
s/change them/change theme rockroach: xavi: I have tried to repeatedly refresh my browser and tried different things over the last 2 hours. Still no improvement. xavi: "refresh" is not "clear browser cache". Do you understand the difrerence? rockroach: xavi: I forgot about the cache's, will try that now and new theme too.
xavi: Yes I do. xavi: rockroach: another tip: ensure that you upgrade on a new folder in your disk, and not just ocpying new files over the old ones
at least, while you don't master the theme files (you might have interference of old tpl's, at leat, in the new installation) rockroach: xavi: Upgrade doc's said copy over, so I did. When that didn't work I backup and tried new install. That looked even worse. Something is seriously weird here, but I haven't been able to figure out what.
xavi: Present site is return to that backup. xavi: "copy over": bad instructions.... I can tell you. Someone refactored documentation, and forgot that case when old tpl files are in place, and new themes don't expect them (old) in place from older installaation of the same theme
rockroach: did you test with thenews.css? rockroach: xavi: Busy clearing cache. Will try new theme shortly. xavi: argh, bloddy language change, it's an issue with my last language changes! rockroach: xavi: thenews.css puts everything where it's supposed to be, so that's working. xavi: what I presumed
so that, easy fix for you:
go to your ./templates/ and remove everything
(keep the ones in your backup)
and put there just the new ones from the 3.5 installation
mmmm, and just in case, do the same with your ./styles/ folder (delete everything inside, and copy from the 3.5 installation package)
thjen you should have your tikine*.css theme working
hth rockroach: xavi: Will do. xavi: and if that works, please improve the docs about Upgrade amette: is there any suggested way of migrating images from image galleries to file galleries? Didn't find anything on the web or in doc/devtools or so. xavi: wiki documentation has this risk: someones oversimplifies documentation, forgeting those cases that were described before
amette: welcome to the vaporware world! :-) amette: *Didn't find
xavi: ah, I feared so - thanks ;) xavi: if you find anything, please tell me! :-) amette: ok, I will :)
Well, at last, when image galleries get [KIL]-ed, there must be developed some script or such... ;) xavi: => I hope image galleries don't get killed soon, at least, not before vaporware vanishes and real code bug-free shows up amette: do you think file galleries are not yet good enough?
I would like to move over and am just playing around and testing out. xavi: sylvieg, again your expertise: my change was related to some single quote (apostrophe in Catalan, as in French), but the translation and php syntax of that file is correct: http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/branches/4.x/lang/ca/language.php?r1=25955&r2=27426 amette: I think it is basically a very smart move :) xavi: amette: yes, in theory, yes. But in the last 6 months I had to use image galleries in two sites for production (using 4.x) because of issues with file gals
sylvieg: line 4132:  // "Switch Editor (wiki or WYSIWYG)" => "Switch Editor (wiki or WYSIWYG)",  "Switch Editor (wiki or WYSIWYG)" => "Canvia d'Editor (wiki o WYSIWYG)",
so, I presume some single quote somewhere in tiki 4.x code (at least), I'll check around... amette: xavi: ah, damn, that's a pity! But thanks for the info, I keep testing around! :) xavi: I got it, I think!
line 1464 in toolbarslib.php (proposals/4x):
$this->setLabel( tra('Switch Editor (wiki or WYSIWYG)') )
so I guess I can change it for "":
$this->setLabel( tra("Switch Editor (wiki or WYSIWYG)") ) rockroach: xavi: Deleting templates/* had unintended side effect. Custom Paypal module went bye-bye. It was in templates/modules/. Thank goodness for backups. :-) xavi: "custom" code, has to be re-added, of course
that's why backups are for
but this way, you only add what you need, and not the old tpl files which are breaking your display rockroach: xavi: You where right about tikineat.css. It isn't in new tarball. No idea how I saw it there earlier. xavi: tikinewt.css maybe?
slight difference in name , but different them
it should be described in the doc pages at themes.tw.o
but also, it *should* in doc.tw.o/upgrade* pages rockroach: xavi: Will look. Thank you very much for your help, it is most appreciated. I was about ready to pull my hair out. :-P xavi: :-)
I know that feeling
you are welcome
and please, consider helping the community by improving the docs upon your experience rockroach: xavi: I will. The doc's as they stand will bite some users in the butt. I need to get sleep now and will see what I can do tomorrow. xavi: thanks heaps, rockroach :-) g'night rockroach: Pleasure, xavi. Goodnight. :-) ***: rockroach has quit IRC (Quit: ChatZilla 0.9.86 [SeaMonkey 2.0.4/20100317113855]) xavi: mm, I can't fix the problem with switching wysiwyg editor to normal if langue is catalan luciash: re xavi: I've changed all single quotes in tra('') calls, for tra("") calls, but no way, ... luciash: can i help somehow ? xavi: I presume that there is some problem here:
return $this->getSelfLink('switchEditor('wysiwyg', $jq(this).parents('form')[0]);',
htmlentities($this->label, ENT_QUOTES, 'UTF-8'), 'qt-switcheditor');
^line 1475 in toolbarslib.php (in proposals/4x)
yes, luciash, right in time, if you have a quick tip for me -: xavi is getting out of time for today luciash: does it depend on catalan language ? english or other lang works ? xavi: in the mean while, I'll revert changes to the catalan file in my production site
yes, english works
see lines above: I presume it's a single quote in my translation , but the code for toolbars to switch lang, seems not ready for single quotes in labels luciash: i don't get it, switch lang or switch wysiwyg ?
i don't see in the line 1475 any tra() xavi: yes, 1464 has tra() luciash: where's the file toolbarslib.php ? in lib/... ? xavi: and 1475 might be using it
yes, in /lib/toolbars luciash: i see
it is stupid to tra() the path imho
1465
but it's probably not relevant xavi: ok, I quit it,. walk dog time. I can't fix it luciash: ok, c u later
i will try if it works with czech
is Dreamhost good for Tiki ?
seems they offer a lot of extra stuff for those $8.95 bucks xavi: oh qwell, reverting these changes, the switch editor button works again: http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/branches/4.x/lang/ca/language.php?r1=25955&r2=27426
so I reverted in my production site, but I don't in proposals... some more care is needed to allow single quotes in labels luciash: xavi: it works for me xavi: yes, it works unless there are some single quotes in your transaltion for some labels luciash: xavi: i don't know what were wrong for you but i have switched to Catalan and the wiki/wysiwyg switching works in my localhost branch4proposed xavi: yes :-) because language changs go (and went) to 4x :-) that's why luciash: but you told me to try proposed, nope ? xavi: get ./lang/ca/language.php from 4x and put it in your proposals...
oh well, I?m testing in proposals....
since the fix, if any, will go to proposals...
that's the tricky part with fixes related to languages.... luciash: → 23:33 < xavi> ^line 1475 in toolbarslib.php (in proposals/4x)
:-p
so it works in proposals 4x because the translation is different there ?
what is different there ?
maybe you just need escape it in your translation (the apostrophe) ***: Cain has joined #tikiwiki CIA-61: tikiwiki: 03xavidp * r27479 10/branches/proposals/4.x/lib/toolbars/toolbarslib.php:
tikiwiki: [FIX]Allow single quotes in labels. However, it's still not fully fixed for
tikiwiki: languages with single quotes (Catalan, FRench, ...), when some single quotes are
tikiwiki: added to strings that need to be translated to those languages for button labels
tikiwiki: (see r27426 in lang/ca/language.php file from 4x in subversion) xavi: never mind, too late for me for more trials. beyond my skills luciash: you did that in trunk first ? xavi: argh.... you are right... my fault... luciash: i think that's the rule
:) xavi: yes, yes... (tired) luciash: np xavi: in "trunk".. you mean in 5x, isn't it? luciash: nope, in trunk
actually xavi: so, are they in backporting mode from trunk to 5.x? luciash: nope, but you have to do it in trunk always, then the proposed branches if any
5x proposed branch will come later xavi: I mean /branches/5.x/ luciash: well, i am not sure now if we can touch 5.x much before release and if there will be many merges yet to trunk
so i propose trunk xavi: ok, I commmit to trunk then (I don't want to break anything as delicate as such in 5x before release) luciash: or is the problem in 5.x too ? (because of the language) xavi: never mind, I don't know (didn't have time to test) luciash: i see :) xavi: trunk, and bed sylvieg: xavi: I do not understand what is the problem
I will -1 this commit' luciash: sylvieg: the problem is if the translation of the icon label is "Foo's Bar" it probably breaks the javascript to switch the wysiwyg/wiki mode xavi: get a tiki with svn 4x. set interface to Catalan. edit a wiki page with wysiwyug, and attempt to switch editor to wiki: you can't sylvieg: but the fix is somewhere else xavi: clicking in the button does nothing.
thanks luciash for the explanation -: sylvieg needs to remember teh good fix luciash: sylvieg: maybe it needs different function than the current htmlentities() used there xavi: ok, so please, -1 that commit
If I knew how to revert, I would do sylvieg: no no it is something lese xavi: (too late, probably)
so I don't commit that to trunk sylvieg: I do -1 and nyloth team wil reverse xavi: ok, thanks, and sorry for extra work
I thought that this change frmo ' to " was needed anyway
but it seems not sylvieg: I fixed about 50 templates but did not have to finish ... luciash: xavi: have a good and refreshing night :) xavi: yes, I need such night :-) sylvieg: I think it is this -: xavi washing teeth already luciash: LOL sylvieg: when using for instance alt='{tr}vvv{/tr}'
it does not work it must be alt="{tr}xxx{tr}" luciash: sylvieg: why it doesn't work ? you mean the JS ? bad dode ?
s/dode/code CIA-61: tikiwiki: 03sept_7 * r27480 10/trunk/lib/payment/behavior/execute_datachannel.php: [FIX] Fix svn:keywords "Id" sylvieg: my son looking for a screen capture - what are you using luciash: shutter xavi: +1 for shutter
maybe the problem is here instead?: line 196 in lib/smarty_tiki/block_textarea.php:
return '".tra('You are about to leave this page. Changes since your last save will be lost. Are you sure you want to exit this page?')."'; -: sylvieg trying to convince him to help me with tiki this summer xavi: that's another line that I changed in that edit of language.php, and the translation includes single quotes luciash: xavi: that's wrong, isn't it ? xavi: no idea luciash: sylvieg: would be cool :)
the quotes of return do not make sense to me
why not just: return tra('You are about to leave this page. Changes since your last save will be lost. Are you sure you want to exit this page?'); -: sylvieg has brain freeze .. needs to remember luciash: so is Dreamhost good option for Tiki ?
http://www.dreamhost.com/hosting.html sylvieg: I think it is in marc list - you know when he said you need serious hosting in devel list
yes I did a fake example - as I do not remember
{xxx param='{tr}yyy{/tr}'}
can not work
must be replaced with {xxx param="{tr}yyy{/tr}"} luciash: ah, u mean in smarty sylvieg: yes luciash: i am not sre it is the same problem xavi talked about, it was in toolbarlib.php
s/sre/sure sylvieg: because tr result can always have ' luciash: i see
but in theory in language.php any translated content should have apostrophes escaped with ' sylvieg: not sure it works
and translators are not ready to antislash stuff luciash: or the result of them generated via the tr smarty block nd tra() function
s/nd/and
err s/block/prefilter/
or whatever it is :-)
yep, it should be job of the tr/tra result
to escape sylvieg: I found one comit 26334 : [FIX]smarty: all the params that contains {tr} must be enclosed with double quotes in case the translation contains a single quote luciash: but as you say, it is not sure what would be the result in every circumstances
because returning &apos; in every case might not work probably sylvieg: I did that because it was the only way I found out to fix the problem
and I do not want the translator to be overwhelming
but I wnat the tpl writer to be overwhelming luciash: :D
yep, must be in best practices sylvieg: oops missed up with screen capture and how do you say that ... capture of screen to do a video not a jpg.. luciash: gtk-recordMyDesktop
or xvidcap sylvieg: thx luciash xavi: and further edition with kdenlive luciash: :) xavi: and kdenlive can use recordmydesktop also luciash: PiTiVi is my favorite now, xavi ;)
ah, nice xavi: :-) luciash: xavi: weren't you on your way to bed ? ;) xavi: yes, I am :-) sylvieg: Catalan guy - never sleeps xavi: :-) luciash: when his wife is not at home ;) xavi: or she is watching tv :-) luciash: many greetings :) xavi: I will sylvieg: xavi did you see the woody allen movy about this artist and the 2 american gilrs xavi: nope
you did? sylvieg: http://www.imdb.com/title/tt0497465/ not he best link - but
it is very nice a lot of Barcolona feeling and amrican culture xavi: ah, nice :-)
do they ever sleep in the film? sylvieg: you should look at this xavi: we will watch it sylvieg: sleep with each other - or sleep in a time frame ;-) xavi: sleep in a time frame :-)
since you said that Catalan people never sleep :-P
ok, finally , subscribed to tw-cvs list
and eough is enough for today.
g'night sylvieg: good night luciash: nite xavi xavi: I'll keep the irc open, in case anybody gets enlightened aobut the single quote issue... or even better, the PluginR & pretty tracklers issue :-)
so tomorrow I'll read it :-) ***: ClaraM has quit IRC (Ping timeout: 248 seconds) Tikiwiki|bot: New Forum Posts: SERIOUS ISSUE: Upgrade gives "Unknown column 'version_minor' in 'field list'" error - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=37355