SVN: Commit by bitey :: r 14531 /trunk/ (7 files in 4 dirs): [ENH] Moves a bunch of stuff from tiki-magic to magiclib; assignment of enumerations becomes part of the post-processing when a feature is selected, and enumerations themselves have been relegated to a separate include. Also widens the feature_type column, and tidies up some features.
I thought if there were no modules in a column, the empty column wouldn't display, so the center column would expand into its space. Wasn't this true, before? Anyway, it isn't now, at my 2.0 site. I get an empty column when not logged in (modules in column are admin-view only)..
I guess the filter checks for modules assigned, not modules visible to user.
I didn't notice this before because I always had at least one anon-viewable module in each column.
In trunk, white page after submitting a config choice in tiki magic (producing url like tiki-magic.php?featurechain=/1/3 ).
Yay, in Trunk, gallery thumbs per row can be edited (bugged in 2.0) and can be done per gallery as well as global.
Also. shadowbox works.
:-) :-)
Also, column display according to modules-viewable, not just modules-assigned, works.
(That is, my left column has a registered-only module. When visiting the site as anon, the column is collapsed due to no viewable modules. In my 2.0 site, the empty column displays.)
Is my 2.0 install screwed up, or are these bugs that are squashed in trunk?
Good question - I did an upgrade and was asked about templates_c which does not appear in 2. Had to copy it from another source
Yep, no templates_c directory in the Tiki 2 download. It starts out empty, but should be included probably.
Any particular reaseon for the exclusion?
well, empty plus index.php and .htaccess.....
No, just an oversight, I imagine.
Is it important and should I report it?
Probably it's known already, but wouldn't hurt to file a bug report.
Ok - Will do it later as I recreate the problem on another install
ok
polom
hi chibaguy: I read your questions from hours ago (thanks to irc.tw.o log)
hiding nonviewable modules on right column (hiding column, in fact) works for me on http://intercanvis.net (using thenews.css and Tiki 2.0)
hi xavi. yes, it's great to have loggin again (thanks to amette also).
OK, maybe it's a local problem for me.
and also here, on another tiki install: http://moviments.net/ilp/ , also 2.0 on the same server but different instal, and using nornia.css modified
might be
and small question for you, now. I upgraded wiki-translation.com with the latest kubrick.css you did...
great work, it fixes some recent weird bug we were seing on translation feature...
...but I noticed that header images are different, and seem to behave different...
...I mean, header image is much much longer, but only displayed a short bit....
Different since 1.9? The method of using the background image is changed.
thus, when you add the header image title to the jpg, you don't add it in the middle, but on one side, so that it's displayed in the middle of the screen on the site...
see: bg image, that's it. Last 2 sentences:
see this: http://wiki-translation.com/styles/kubrick/headerbg.jpg . When
The logo is expected to be a separate image, not having any of the header background parts.
visiting http://wiki-translation.com pages shows ok the header. My question is: is it going to be displayed non-centered (since it's an image) on a computer with wider screen, or different browser, etc.? I mean, why a wider image bg?
ah, oups! :-/ My mistake, then. I didn't read the readme file again, I guess
The wide background image is used in case wide content causes the kubrick rectangle to widen. Only the needed amount of the image shows, in narrow windows, etc.
mmm, ok, I see
I will make a doc page with illustrations, about the header and logo parts.
(on the todo list ;-) )
You can use the Look & Feel options. just make a smaller logo and specify it on that admin page.
But maybe the logo margins might have to be changed in css for an especially big logo.
wel, don't worry too much about it, I guess new kubrick users first try to use the look & feel admin options, which make it much easier
I intended L&F to be fully functional for these themes. If there's a problem I need to go back and improve things.
no problem that I know if, so far. don't worry. And I confirm: my mistake due to not reading the new readme file. You wrote:
"One image is used for the header background. (It's actually the background image for a few nested divs, to provide the image end sections as well as the middle.) A logo image can be set in Look & Feel, or text can be used for the site title, input in the custom code box of the Look & Feel config page."
Fair enough for normal users (not so dump as me this time :-/ ) or new users
For a logo like wiki-translations, it'll be somewhat tricky because the gradient needs to match. I image fine-tuning the top-margin in kubrick.css will be necessary.
(assuming you will crop the current logo image so that only the logo itself remains.)
mmmm, ok, then, and logo transparency when too much colours were used (like in this current wt logo) will make those problems rise up again: gif not showing all inside gradient in logo, and png not displying properly in IE6....
I think I'll leave as it is, for this time ("don't touch it if it works", and there is no wuick and easy solution to it)
I wouldn't use transparency at all. I'd start with an image like your current logo (which has the header background gradient) and just crop it. Then place that image in the header via L&F and adjust the postion in kubrick.css.
mmm, ok, I'll try (I'm already sftp'd there)
(I think that new logo I made myslef I'll made them through gif & transparency with not so many colours....)
(I didn't make this logo version for w-t, btw, I had made another one lonog ago without so many colours/gradient inside; anyway)
chibaguy: look now: http://wiki-translation.com
doesn't look easy to fit the image cropped into the gradient....
not that image / logo cropped, but a new one crop, to fit in the gradient....
oh, well, I'll try re-cropping the original logo with just blue background.... maybe it fits as well (?) as the previous image (at least not worse, hopefully)
By cropped I mean _only_ the logo itself, with no header border.
yes, yes, I know
Oh, ok.
the logo we've been using for months had the header border...
If it's trimmed closely on the left and right sides, then it should center ok, I think.
I've just re-cropped just logo and blue bg, and well, sort of works....
Hey, pretty good.
But a difference in the gradient.
I guess to be perfect you could start again with the current header backgrounds and add your text, in the graphics program.
ok, I'll re-crop it with shorter right margin. And gradient: yes, that's what I told you. It's not that easy fittting it in the gradient iy you don't have the upper header bg.... I guess
That's where the css padding and margin adjustments are needed, I'd say.
The default values are just kind of general. Given that the logo image can be various sizes, it's hard to know what to set initially in the css file.
yes, but I don't have the source image, and the workshop in Porto (http://wiki-translation.com/BabelWiki ) is starting in a couple of weeks: I don't feel like changing the logo too much .... (plus I have plenty of other things in my todo task before then, so I'll do whatever is good enough for the time being... not perfect)
"hard to set in the css file": you re right. ÇThat's why I say that next time if I make a logo myself, I'll do my best to produce it as gif with transparency and enough short list of colors so that it fits in gif
(gif has not patent issues since a couple of years, afaik)
(patent expired, afaik)
oh well, there it is. I leave it as is right now, and send a message to the person who mgith have the source image for that logo, in case they want to re-make it using current header bg position, etc.
thanks for your help, Gary! :-)
Hey, looks pretty good. :-) You're welcome.
If you could bump the image down a bit in the CSS file, that'd be even better.
ok, thanks for the tip... btw, I found the source image (or what it looks like) on the w-t server: with .pdn extension????
googling it seems to be a paintnet image (I had never heard about it): http://filext.com/file-extension/PDN
I'll give it a try (I hope it works under linux through wine)
oups, it requires M$ .NET framework to be installed - so no linux trial nowadays. I might try later on, when I boot with M$
thanks again, back to work on other stuff related to the BabelWiki workshop...
ok, good luck.
thanks
xavi, at certain page widths, I see the last of the "n" appearing again to the right of the logo text, as if the logo image is present more than once but usually covered. Something to check.
On http://wiki-translation.com/tiki-index.php?page=Admin+Todos&bl=y ... in a 1024px screen.
mmmm, did you clean your browser's cache?
I can't see that effect)
ah, ok, that was the problem. :-)
:-)
chibaguy: I wonder whether this is important at all, but just in case: I see on page source that 1.9to1.10.css is still referenced on kubrick:
see page source of http://wiki-translation.com/tiki-index.php?page=Admin+Todos , for instance
That's because of the admin setting in Look & Feel, apparently.
but that file doesn't exist., that's what I mean. shouldn't it be something like 1.9to2.0.css ?
(no idea if that other file exists or not)
Oh, yeah, that'd be a bug then.
Ok, I'll look for references to that file in the 2.0 code
But I believe the theme doesn't actually need a transitions stylesheet. I'm trying to keep it up to date.
ok
Ooo, shadowbox works at intercanvis.net. I'm jealous.
Why not at my 2.0 site?
;-)
Maybe installing on top of other versions a few times has left some problems.
Well, comparing 2 2.0 installs, I've definitely got some file inconsistencies.
Er, maybe not a file mismatch, but a pref set differently.
Hopefully the same for shadowbox.
back
(was on phone)
is there a max resolution for images in the image gallery?
chibaguy: no idea about those issues in 2.0. I usually install a new version over an old one
realazthat: no idea, sorry
all of my images larger than 2272x1704 arent showing
realazthat: consider adding a bug report on this issue, if nobody tells you that it's not a config. problem, etc. http://dev.tikiwiki.org
Is there a way that User log-ins will be expired\cancelled if the user has not logged in during the last 14 days or any other set time period
SVN: Commit by sept_7 :: r 14532 /trunk/ (3 files in 2 dirs): [ENH] layout for tiki-upload_file can be two columns or one column by changing style in CSS file. Look for div.fgal_file and child nodes. Sylvie, is that what you wanted ? You may need to change the size of the input type=file if your screen width is to small, else the input will overlap :(
Paragtim: you can use email validation or password expire each n days
Hi lphuberdeau_, I figured out the problem :)
ready?!
sure
I set to save to disk instead of database. It worked with no problems at all
SO, I searched all over to see if it had something to do w/ mysql.
alas, there is a statement in the .ini file that wasn't there.
max_allowed_packet = 8M
works like a charm now.
that was a hidden one
whooda thunk it
I don't quite get how the packet size gets that big for a 1M file thought...
encoding should only double the size
so, that error, [27-Aug-2008 13:20:25] PHP Fatal error: Call to a member function fetchRow() on a non-object in F:\Inetpub\wwwroot\tikiwiki\lib\userslib.php on line 1468
had to do with the max_allowed_packet in the my.ini file
Had a stroke of genius yesterday :)
there has to be something else thought... tiki usually kills itself and dump the error when an SQL error occurs
hmm. opened up another can then
but that may just be optional
cool. Thanks for all your help and support. I truly appreciate it
I didn't do much
bounced ideas..collaboration. All is good
have fun tiki-ing
hi all :)
anyone know.. is it possible to attach permissions to specific pluigns?
that is, make them usable only by specific groups?
not yet - but lph spoke about develop next week? plugin that must confirmed by admin to be executed
hmm..
just sent an email to dev list.
really need 2 perms: one to edit, one to view?
lph idea was to have a conf for a plugin - that says need admin validation to be viewed -
i want GROUP A to be able to add JS to a page. but when others view the page the script will execute. and when others edit the page, they cannot change the JS
ricks, the problem is that right now, you can't prevent modification of the plugin from someone who can edit the page
and really, there is no way to prevent that
only thing that is possible (which I will work on soon) is to prevent execution of the plugin unless an admin/moderator validated the parameters/body
so someone could still mess up the plugin, add nasty redirects, but they wouldn't affect anyone until a trusted person audited
hm..
not quite what i was after :(
sorry, I can't do miracles
awwww
the problem is that plugins really are just text, you can edit or you can't
theres no way to add permissions to a specific section of a wiki page, is there?
no
so with ur fix, anyone can add new script, but must be approved before live right?
well, would only apply to selected plugins (those who can cause problems)
but after it is live, anyone could modify it? or does each subsequent modification require approval?
but I guess people with sufficient privileges (Editors?) could do it and approve within seconds
modifications require approval
and until it is approved, the prior version of the plugin is rendered for viewers?
no
can't do miracles
but ur soooo close :)
actually, there is a huge leap inbetween
ok. so the new privilidge is to approve it. anyone still with edit can submt it
pretty good enough. tx lphuberdeau
polom
hi marclaporte
hi ricks99, how are you doing?
good. where's marc today?
paris?
yup, Paris
for a few days
may hop to Strasbourg to see the boys...
polom
sylvieg, I was just going to use the plugin FILES on wiki-trasnlation.com, and either it doesn't work for me, or I don't know how to properly show files....
it just shows a table with no name of the file...
well, no filename... maybe that's why....
http://wiki-translation.com/BabelWiki
anyone from strasbourg making the hop to porto? ;)
nope, not even with file name added: table shows no names of files. I remove the FILES plugin and file a bug report for it
^ sylvieg
xavi: It is also broken for me :-(
... ah it is a 1.9 plugins
plugin
ah, ok
I guess plugins in mods should have info about the tiki version for wht they are designed
I don't fill in a bug report then
I have to leave. cheers
Anyone know if you can login via the url?
i.e.: tiki-index.php?user=guy&pass=love
I got as far as getting the tiki-login.php?user=guy to "hardcode" "guy" where the user textbox was
but that's about it
Ultimately my plan is to access the wiki/article RSS feeds with something like http://website/tiki-wiki_rss.php?ver=2&user=guy&pass=love
this is blocked on purpose
authentication should be possible through HTTP auth
by default?
there is something called rss_basic_auth that needs to be enabled
lphuberdeau_: Where would that be?
searching
tiki-admin.php?page=rss
allow basic authentication at the bottom
I'm not really certain the warning message is relevant
hmm, I have DefaultRDF version, Language, Editor, Webmaster, image path, caching time
which version are you using?
2.0
oh... not there in 2.0... I don't know if it was moved around or it's new to 3.0
awww
yep... new to 3.0
your only alternative is to make sure access to those feeds is public
I wouldn't advise 3.0 at this time... still in early stages
yeah, was just looking at that
I can't really make the feeds public either
Is there a feature list/roadmap for 3.0?
in the collective mindset
haha
k
Well, thanks for the help
3.0 will contain whatever it does, just like any previous release
only difference is that we know when it will be released
sylvieg around?
hello
howdy
Was looking at way you exported the data in the CSV export for trackers. Noticed you used a template for it. Was wondering which was the best way to approach it...
Template vs. php? I would imagine there's a performance hit going through a template. Only concern I'd have is translation.
perf hit can't be worst than anything else in tiki
I like template ...but it is true taht it is slower
the + with tpl is you can image to export into xml ... instead of csv
you can?
If you're exporting say 10,000 records and using a template, doesn't that linearly increase the performance hit where the script may take longer than the max execute time?
Just wondering if exporting a large number of records is best served being done without a template. You can pretty much export to any format you want with the right header can't you?
i think that optimisation must be done first in the tracker code - the tpl/code will be the last touch
right now - exporting (when you have item list... ) is very slow
The way I had it before wasn't too bad. I'd export about a thousand records in about 8 seconds.
Records with about 30 to 40 fields each
Maybe I'll just write it both ways and do a performance check on a large list of items.
I noticed in the smarty code you had backticks before some of the values. Like `$CR`. Does that impart something special?
hello all, i have a question on tikiwiki 2.0
i'm using .htaccess file to secure my tikiwiki
on the changelog.txt, line 22316, it says "fckeditor: for those who are using .htaccess files to secure their tikiwiki, html and php files in lib/fckeditor and lib/fckeditor_tiki need to be accessed directly"
now my question is, what do I need to do in order to have "html and php files in lib/fckeditor and lib/fckeditor_tiki accessed directly"???
can anyone please help?
Probably means you need to make them world read/write?
I haven't messed with the fcked, so not sure
thanks kerrnel! i tried chmod it to 777, still didn't help....
i was thinking, i might have to hard coded the path to the lib/fckeditor directory
but not sure where to do this
You may have to add a block or something to the htaccess for those then