SVN: Commit by nyloth :: r 15343 /trunk/tiki-admin_surveys.php: [FIX] surveys: show the new values (instead of old ones) after editing and saving new name or description of a survey.
SVN: Commit by nyloth :: r 15344 /trunk/styles/tikinewt.css: [FIX] tikinewt theme: make filegal 'browse' mode behave as expected at least for FF3 (no IE to test yet) [MOD] tikinewt theme: remove styles for old buttons classes
In tiki_list_file_gallery.php I've replaced all instances of $info['description'] with $tikilib->parse_data($info['description']), it it's still not rendering the links. Do I need to do something to prepare the page to do the translations?
PaytonByrd, this is the slow part of the day for this irc channel. More people will be around with that kind of knowledge in 10 or 12 hours. :-)
payton.. may not be the best way to handle it... usually need to figure out where it is displayed from in the templates
and looking at the incoming commits... nyloth is quite active too
OK, so how do I do the conversion in the templates?
might want to see how it's done in like tiki-index.php and templates/tiki-showpage.php
okie dokie
SVN: Commit by nyloth :: r 15345 /trunk/ (3 files in 2 dirs): [FIX] filegal browse: fix tikineat and tikinewt contextual menu text alignement and action icon position
2 AM in France.. nyloth sure needs no sleep
Still can't find something to make it work. In the tiki-list_file_gallery.tpl I've tried removing the "escape" parameter from the code that displays the description, but that didn't work.
I realize now that the reason the description isn't getting parsed when I use parse_data from the php file is that it's not going to the same place that it's being read from in the template.
OK, the mystery is starting to unravel for me.
How do I execute php functions from the tpl file?
shouldn't do that
you need to assign a variable to the template from the php file
Should I loop over the $images collection in the PHP file, resetting the description for each file with the parse_data return for each description?
SVN: Commit by nyloth :: r 15346 /trunk/styles/darkroom.css: [FIX] darkroom theme: little changes to have a better display for filegal browse. Feel free to enhance.
It seems wasteful to have to enumerate the files to parse the description just to have to enumerate it again in the template.
not significant in the whole scheme
this code is not working:
$images = $tikilib->get_files($offset, $maxRecords, $sort_mode, $find, $_REQUEST["galleryId"]);
// Added by Payton Byrd
foreach (array_values($images)as $file) {
$file->parsed_description = $tikilib->parse_data($file->description);
}
It gives this error:
Notice: Trying to get property of non-object in C:\wamp\www\tiki-list_file_gallery.php on line 298
Warning: Attempt to assign property of non-object in C:\wamp\www\tiki-list_file_gallery.php on line 298
!paste
Notice: Trying to get property of non-object in C:\wamp\www\tiki-list_file_gallery.php on line 298
Please use http://psnopaste.byethost32.com http://pastebin.ca http://rafb.net/paste/ or http://pastebin.com for posting console outputs or info that is more then just a few lines
Warning: Attempt to assign property of non-object in C:\wamp\www\tiki-list_file_gallery.php on line 298
I don't understand what the value of $file is if it's not a file.
probably an array and not an object
Woo-hoo! Got it working.
I had to create a new array to hold the modified values. It seems you cannot modify the contents of a row from adodb, thus I had to simulate new rows.
OK, new question.
It appears that looking at the parse_data function that I should be able to include a link to a file using the syntax ({file ###})
It don't work.
I actually went to this function to add this functionality.
So I would like to use it if it works. Is it broke in 1.9.11?
PaytonByrd, are you using 1.9.11 now?
Yes
Any reason not to update to 2.2?
The thing is, nobody will be fixing or working on 1.9.11 except maybe for security bug backports.
Haven't had time to even look at upgrading to 2.2. I've had enough trouble just getting 1.9.11 running. I've made some hacks that I'd prefer to not have to replicate.
I see.
There's been quite an overhaul in the file galleries in 2.0 and continuing in trunk (which will be Tiki 3).
Of course, if 1.9.11 does the job, that's good. But it may be hard to get help for that version.
Is the conversion seamless? I've had quite a bit of trouble getting people to actually post content. Now that they are, I don't want to lose ANY data as that may discourage people from using the site.
(code-wise)
Data will be safe.
That's what freaks me out. Is there a way to roll-back the upgrade?
But since you're working on the file galleries, maybe it'd be good to set up a 2.2 test site and check out the galleries first to see if you'd be better off sticking with the ersion you're using now.
Has somebody made a script to backup the data, then do the upgrade, and another script to restore the data?
The data is in the db, so if you do a db dump, you'll have the backup.
(also back up any uploaded files)
Not a mysql guy, so automation is appreciated. :)
The update doesn't touch content or settings.
Does 2.2 include a way to link to resources such as files, images, forum posts, etc? I hate having to use external links to accomplish that.
I don't think that has changed.
So, then making such a hack is something that would make it into the trunk?
Trunk is the place for new features, yes.
OK, I'll do a dry run on the upgrade. I'll shut down the site, make a complete copy of the wamp folder and then do the upgrade. If I don't like it I'll just restore the WAMP folder.
... or changes that could impact stability, usability, etc.
Do I need to register as a dev or anything to get write access to the trunk?
Yes.
I take it that instructions are on doc.tw
Register at sourceforge and then get added to Tiki's devs.
OK
Or dev.tw.o maybe
But the file gallery code is being worked on pretty steadily by one guy, nyloth, so it would be good to get in touch with him before commiting changes.
Sure thing. Is the parse_data code being actively modified by anyone?
Check out the tikiwiki-devel mailing list archives for recent activity.
I couldn't say about that, but likely.
Hello where can i get a copy of trunk please
http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/trunk.tar.gz?view=tar
Thank you
you're welcome
SVN: Commit by gillesm :: r 15348 /trunk/lib/groupalert/ (. groupalertlib.php): [NEW] groupalertlib implementation
SVN: Commit by gillesm :: r 15347 /trunk/ (7 files in 4 dirs): [FIX] Use of a table for groupforalert, implementation in trackers
marclaporte: ping again
SVN: Commit by gillesm :: r 15349 /trunk/ (2 files in 2 dirs): [FIX] file Gallery use groupforalert table
hi *
SVN: Commit by nyloth :: r 15350 /trunk/db/tiki.sql: [FIX] oops - wrong table for new columns in tiki.sql
folks, is there an easier way for upgrading from 1.8.6 to 2.2 than 1.8.6->1.9, 1.9->2.0, and so on?
SVN: Commit by gillesm :: r 15351 /trunk/tiki-admin_calendars.php: [FIX] calendar use now the groupforalert table
good morning all :)
hi
hi obnox
is there an easier way for upgrading from 1.8.6 to 2.2 than 1.8.6->1.9, 1.9->2.0, and so on?
need to run both the 1.8->1.9 then the 1.9->2.2 upgrade scripts
ok thanks. so there is a direct 1.9->2.2 upgrade path great!
note that themes and prefs managmenet changed signifcantly from1.9 -> to 2.x
see the rel notes and docs for details
ok
but content won't vanish I guess?! layout is not the major concern
always backup first :)
sure!
speaking of content:
db upgrade should be quite smooth.
is there an export feature for images drom db to file system store?
I used the default setting to store images in the db. and changed that
think so...
now i'd like to export the data from db to the fs location. at least in my installed 1.8.6 I did not find anything like that
well -> update first :-)
new feature in 1.9.x i think. check the docs...
ok great
ricks99: I'd like to contribute. I think you're one of the guys to ask for the "ceremony", right? :-)
ricks99_: I'd like to contribute. I think you're one of the guys to ask for the "ceremony", right? :-)
sorry not me. :(
ricks99_: ah ok
ping luciash or syvlieg maybe
ricks99_: ok thanks
SVN: Commit by rischconsulting :: r 15352 /trunk/ (2 files in 2 dirs): [FIX] Set thirdLevelId, refactor, and set third level style to match second. New third level style needed at some point.
SVN: Commit by gillesm :: r 15353 /trunk/ (8 files in 4 dirs): [ENH] Preparation for the alert for group on Calendar, Tracker and FileGal. The admin will be able to deside if each users will be displayed to select if they will receivean alert email or if the alert email will be sent for the whole group without confirmation.
hi guys. I have just upgraded to 2.2. Now when I go to the start-page, it is a default one, like it has forgotten all the content. What do I do?
it's running on freebsd and I upgraded via the ports system
stix: you upgraded from wixh release ?
oh, it's all there. It was only the anon start-page which had changed
2.1
it is ok now ?
hello all on 3.0 and tracker is broken
oups no .. it works now
sorry
now I get error 404 on everything
strange
okay I made some changes to httpd.conf and now it works
:)
it's always fun to upgrade tiki
Once I have to run some upgrade script to the database
but last time it went smoothly
there are problems on trackers on 3.0
cache problem refresh and tiki-view_tracker_item.php
SVN: Commit by lphuberdeau :: r 15354 /trunk/tiki-editpage.php: [FIX] Strikethrough conversion and space strip
SVN: Commit by lphuberdeau :: r 15356 /trunk/tiki-editpage.php: [ENH] Make table borders visible in WYSIWYG
SVN: Commit by lphuberdeau :: r 15357 /trunk/ (2 files in 2 dirs): [FIX] Normal should be P (as default) and not DIV. Also remove slow create_function()
I'm a damn noob. Does anyone know how to install a patch in tikiwiki? I have a .patch file but I have no idea where to put it
and also... is there anyway to manually validate new user's email ?
DragomirZZ: generally, to apply a patch, you need to run "patch < patchfile" in the tiki directory
you might need to call it as patch -pX < patchfile where X is a number
X: the number of path levels to strip from the patch file.
(look at the patch file with "less" to see how the paths inside are built)
it might be useful to run "patch -pX --dry-run < patchfile" first to check if everything *would* work ok
(there might be conflicts if the patch is not against your precise version)
DragomirZZ: does that sound as if I have understood your question correctly or is that not what you wanted to know? :-)
I see, but I run it on a win32 station (developing)
where do I write those commands... I don't think the windows command prompt is familiar with it
@DragonmirZZ: r u just trying to upgrade tiki?
I
I am trying to install the seo patch
sefurl_20080715.patch
DragomirZZ: I don't know how to apply a patch in Win, sorry
@DragonmirZZ: you'll need to patch the files by hand.
open the *.patch file. you'll see the files and lines that need to be changed
ouch.
I just installed 2.2, and the captcha image is broken... I verified gd is enabled with phpinfo()... i've searched the site and can't find anything... any ideas?
or have the patch applied on a linux box and re-install (upgrade) with the modified archive
:))
doesn't look too bad. only 2 files: htaccess and tiki-setup.php
ah ok
looks like 90% of the changes are in the rewrite rules for the htaccess
r u using 2.2? this (should have been) rolled into the current release
2.1
i think its in there already
there is a seo friendly function but it doesn't change the href value, just adds rerwrite rules to the httaccess
or if there is, I haven't seen any check box that can enable it (the href value ... )
it does change the url. instead of site.com/tiki-index?page=foo tiki will generate site.com/foo
look in admin: features page
Experimental - Search engine friendly url right?
sounds right
well it's on but no changes, the links are still with php variables
works on my 2.2. with the option enalbed, my wiki links now omit the tiki-index.php?page=
how about articles, blogs ?
yup. wiki links in my articles now show simply site.com/foo
it's weird, let me see if I can updated too. The update check says that 2.1 is up to date but if you have 2.2 there must be something fishy
ok.. now i have to learn to update it :))
before I do something stupid, when updating from 2.1 to 2.2, I just copy the files and overwrite them over the older ones, right?
DragomirZZ and Ricks99. Following this. Just enabled the feature on my site and the links I tried came back as File not Found. Turned it off and everything works again
you probably have to setup the httaccess file and mod_rewrite
search for "rewrite" in the apache httpd conf
I have my on and it works if I manually type in the links.. like localhost/art2
@Paragtim: u must have .htaccess file enabled
see docs
SVN: Commit by pkdille :: r 15358 /trunk/lib/filegals/filegallib.php: [FIX] file gals: fix create filegal function (introduced in revision 15349)
did u rename _htaccess to .htaccess?
@DragonmirZZ: y, upgrade is basically a new install, then run the db upgrade
Disabled it now - Will explore another time :)
just 1 file to rename :) very easy...
where do I run the db upgrade? is there an admin panel?
or just from phpmyadmin
from tiki-install
see: http://twbasics.keycontent.org/tiki-index.php?page=Upgrading%20Tiki&structure=TikiWiki%20for%20Smarties
how weird.. still doesn't work O.o
rewrite is on, but the href value is the same old php id variable
SVN: Commit by lphuberdeau :: r 15359 /branches/experimental/jitfilter/ (6 files in 4 dirs): [MOD] Adding precise filters on tiki-index
anyone know why my login captcha woulden't load?
gd lib maybe missing
phpinfo says it's there... and the gallery admin page detects it as well
call tiki-random_num_img.php directly
might throw an error (this might require you enable error reporting from admin panel)
cool.. i didn't now errors could be enabled / disabled: Fatal error: Call to undefined function imagejpeg() in /usr/local/var/www/tiki-random_num_img.php on line 36
lots of google results now, i'm sure ill be set, thanks
EricIsGood: : http://dev.tikiwiki.org/tiki-view_tracker_item.php?itemId=1347
@DragomirZZ: did u clear the tikic acaches?
yep
and ur wiki links (from one wiki page to another) still show tiki-index.php?page=foo
I don't use wiki pages, just articles and blogs, and they are ies like that .. tiki-read_article.php?articleId=2
u need to change the link to be [articleId2]
they will not be changed automatically
aaha... so editing the template
I thought that's what that patch did
to link to article 2 from article 1, use [articleId2]
no, the patch (from what i saw) tweaks the htaccess only
damn.. that's a heck of a lot of tpl editing :D
yep.. I thought it was so.
Does anyone have the original style .tpl files with SEO adapted href values?
can u do a grep, based on the .htaccess updates?
I have started to... I just wanted to know if anyone had already done this before, since it's a good idea to have search engine friendly sites
I can't be the first to come up against this problem :))
of course, i never had any issues with search engines crawling my tiki sites
so you have edited the .tpl files to adjust the href value to the seo-httaccess form instead of the old php id= ..
?
imho, having meaningful content will do more for seo than "friendly" links.
no. the links from tpl files are "as-is"
aham, well anyway I'm gonna write a sitemap generator
but it's would be more aestethic to have simple urls
it*
lots of free ones available (sitemap.xml generators)
SVN: Commit by pkdille :: r 15360 /trunk/templates/tiki-admin_content_templates.tpl: [MOD] admin templates: deploy button smarty plugin
is there any DONATION module.. mod out there for tiki?
not that im aware of. i simply added a paypal button for my site
no, sorry
This is what would need to be coded: http://dev.tikiwiki.org/PayPalSubscription
DragomirZZ : ^^ (in case you can code it)
I'll buy you a beer if you code & drink beer :-)
for a donation, much simplier -- just a form link to paypal
yep... paypal.. sadly my country is banned so I can't use
I think I'll go for amazon honour system
SVN: Commit by lphuberdeau :: r 15361 /branches/experimental/jitfilter/ (5 files in 3 dirs): [MOD] Add precise filters to tiki-editpage.php
how do I remove the "Tikiwiki Assistant" area after install?
sorry I feel dumb now.. the instructions were inside the Tikiwiki Assistant box
SVN: Commit by sylvieg :: r 15363 /trunk/lib/setup/prefs.php: [FIX]userlevel: fix userlevels: this prefs is never set in database, so never in modified
SVN: Commit by nyloth :: r 15362 /trunk/lib/smarty_tiki/function.query.php: [FIX] smarty query: correctly handle anchors links
SVN: Commit by nyloth :: r 15364 /trunk/lib/smarty_tiki/block.self_link.php: [ENH] smarty self_link: handle 'on...' html attributes (by using '_on...' param) + fix anchors links
SVN: Commit by nyloth :: r 15365 /trunk/lib/smarty_tiki/function.button.php: [FIX] smarty button: fix comment + new param '_auto_args' which is a comma separated list of URL arguments to keep from _REQUEST (like auto_query_args used in smarty query).
SVN: Commit by pkdille :: r 15366 /trunk/templates/ (3 files): [MOD] deploy smarty template button to some templates
does anyone know what wiki this style markup comes from: . link:basics_requirements.html[Requirements]:
looks like tiki's external wiki link. [foo.html|description] see the docs: http://doc.tikiwiki.org/tiki-index.php?page=Wiki-Syntax
SVN: Commit by lphuberdeau :: r 15367 /branches/experimental/jitfilter/ (75 files in 9 dirs): [FIX] Multiple similar corrections that could break (scanned for patterns, not tested)
SVN: Commit by rischconsulting :: r 15368 /trunk/templates/tiki-view_tracker.tpl: [FIX] scoping issue with "url" parameter caused pagination failure in ajax
SVN: Commit by lphuberdeau :: r 15369 /branches/experimental/jitfilter/ (82 files in 20 dirs): [MRG] Automatic merge, trunk 15286 to 15366
SVN: Commit by lphuberdeau :: r 15371 /branches/experimental/jitfilter/lib/core/ (2 files in 2 dirs): [ENH] Allow to split & filter at the same time
SVN: Commit by lphuberdeau :: r 15372 /branches/experimental/jitfilter/categorize.php: [ENH] Code sample using asArray
SVN: Commit by pkdille :: r 15373 /trunk/templates/messu-nav.tpl: [MOD] messages: deploy smarty plugin to template
hi - is it possible to reference wiki-plugins within tpl / template files, and if so what is the syntax?
I chose the option for directory links to be shown inline, but they are still going to a new page... any ideas?
n/m found it - {wiki}{literal}{plugin()}{plugin}{/literal}{/wiki}
I chose the option for directory links to be shown inline, but they are still going to a new page... any ideas?
SVN: Commit by sylvieg :: r 15374 /trunk/installer/schema/20081027_file_galleries_tiki.sql: syntax
SVN: Commit by nyloth :: r 15375 /trunk/lib/smarty_tiki/function.query.php: [ENH] smarty query: merge GET and POST only once by page + auto handle special URL argument 'filegals_manager'.
SVN: Commit by nyloth :: r 15376 /trunk/lib/smarty_tiki/function.button.php: [FIX] smarty button: fix param cleaning position that was destroying too much params...
SVN: Commit by nyloth :: r 15377 /trunk/lib/smarty_tiki/block.title.php: [FIX] smarty title: do not specify smarty as global since it is given through the function params
is there a way to rule to define template for email sent by system to users?
SVN: Commit by nyloth :: r 15378 /trunk/lib/surveys/surveylib.php: [FIX] surveys lib: remove useless comment
SVN: Commit by nyloth :: r 15379 /trunk/templates/tiki-list_file_gallery.tpl: [MOD] filegals: deploy smarty 'button' and 'remarksbox'
SVN: Commit by nyloth :: r 15380 /trunk/lang/fr/language.php: [FIX] fix last french translations. BPB for gillesm...
sorry nyloth
How does one insert a slideshow in a Wiki page or an Article? doc.tw.o only shows a tab to click to view, but not how to make the tab appear.
Slideshows are a wiki page
just with special syntax to split pages
Oh. What is the special syntax?
Something about a 'titlebar' tag, whatever that is.
Oh, this tooltip says -=titlebar=- is the syntax. No inclusion field, so it must go within any Wiki page.
OK, so when there are titlebars the slide tab appears. But by the time you get the slide tab, you also see the contents of all the slides.
Hmm. I can use the "Slide" link elsewhere... maybe it's embeddable so the show cycles in another page.
http://marclaporte.com/Tiki go to my old slides
SVN: Commit by gillesm :: r 15381 /trunk/ (7 files in 4 dirs): [NEW] Implementation of alert in tracker (need to be tested)
SEWilco2: : http://marclaporte.com/tiki-slideshow.php?page=2005-09-01_Presentation_Wiki_en_Entreprise
Yeah, for one Argentina presentation you simply provide the slideshow link. Maybe I'll have to create a style with an auto-cycle Javascript widget.
that's the spirit!
Hmm. The slideshow link is not a Wiki link so can't {INCLUDE} it for an inline show. Maybe Integrator accepts JS.
Agh. Articles don't have Ratings, and {POLL} with same ID in several articles point at same poll even if it's a Template Poll.
I suppose I could have a script create 50,000 polls so there are unique IDs available.
or port ratings to articles
or use wiki pages
I need the other features of Articles, such as release date.
Oh, it's going to be a busy month.
SVN: Commit by nyloth :: r 15382 /trunk/lang/fr/language.php: [FIX] typos in french language file...
SEWilco2: :-)
SEWilco2: : is this a consulting business?
A bit of this, a bit of that.
SEWilco2: you should list yourself hereL: http://info.tikiwiki.org/Consultants
Is there a variable which can be inserted which emits an ArticleID or ArticleTitle? {POLL(id=>Artpoll%ArticleID)} ?
Maybe I'll list as a Consultant when I don't have client sites filling my time. :-)
... and that will be about the time all the TW features are working reasonably. :-(