SVN: Commit by sylvieg :: r 16132 /trunk/ (comments.php templates/comments.tpl): [ENH]comment: when comment need to be approved, display a message in the comment box(perhaps not the nest place but..) to tell the comment is queued for approval sylvieg: I have some changes to comments for moderation in non-forum contexts. Will submit them soon. ("soon" being measured in days due to other priorities) Greetings! I'm having a bit difficulty with tikiwiki. I am editing a users wiki page. Adding their gpg public block. This is a formatted text block of almost 200 lines long. When I insert the block, the wiki formatting modifies the block. using ~np~ and ~/np~ will be a bit challenging. Is there any other method to do this as a block? has anyone had success with fckeditor in tikiwiki? I am getting a permissions error. grrrr! how the heck do I get fckeditor to work 2.2? I keep getting "You don't have permission to access" desppite all the permissions I set. Hi all - I've just set up TikiWiki 2.2 and experimented with permissions etc - looks nice. I was wondering if there's anyone here with any experience at setting up access-restricted portions of TikiWiki sites ? In particular - I'm setting up a school - is there a way to make all pages that are created by students automatcically inherit permissions that prevent anyone else besides students and teachers seeing those pages ? hi cnd: you can try to use a default category for the groups teacher and students - and assign special perm for this category bbl default category - nice idea - I'll look around for that. I already set up the categories and they seem to work nicely so far :-) sorry - I meant "groups" above, where I said "categories"... LOL - thanks for the tip - it lead me to http://doc.tikiwiki.org/tiki-index.php?page_ref_id=130 which happens to describe (in its examples) how to set up a school - which is exactly what I'm doing. 10/10 :-)) Is there a way to extract a Smarty variable? After $smarty->assign('type',...) I want a plugin to behave differently depending upon the Article type. I'm not spotty in the Smarty docs a way outside a .tpl to access a Smarty variable. s/spotty/spotting/ have you looked in the php code ? http://smarty.net/manual/en/api.get.template.vars.php thx Nope. Reading outward from template vars, {assign} says tpl vars only available after template execution. Plugins processed earlier, by TW parser. attack to my tikiwiki today http://de.tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=1372&comments_per_page=1&thread_style=commentStyle_plain 1.9.8? attach or it is HugoEgon the culprit? no SVN 2.0 did the guy log-in before? (von HugoEgon is it from HugoEgon?) sylvieg: Looks like you're more right than the documentation. Code shows get_template_vars accesses the $smarty->assign() storage area. :-) looking at the robots.txt file, it appears everything is disallowed. what needs to be removed for google (and others) to find the blogs, the articles and the forum entries? if it is not this function it is the other one - I am always confused - but you have what you need... for sure Zylogue: not everything.. not tiki-index.php tiki-articles.php.... OK, thanks...I will dig deeper into it. What is the best way of satisfying Google's sitemap requirement for submission of a site? having interesting information on your site ;-) as I was recently told: "I have interesting information on my site. The site is all about me. I'm an interesting person. Right? ... Please?" http://www.xml-sitemaps.com wikiman, thanks, I will look into that sylvieg, one more reason NOT to build static sites for models/strippers :-) One would think models would need sites which can change. :-) SEWilco2, more stripper, less 'model' All the more change. anyway...I've got a 2.2 site that I am unable to fckeditor to correctly work. I am getting a forbidden page with "You don't have permission to access /lib/fckeditor/editor/fckeditor.html on this server." any suggestions? I don't know for certain. Generally, my first impression is to wonder if the file permissions are OK. But "on this server" might mean a TikiWiki permission issue. do you have the file lib/fckeditor/editor/fckeditor.html ? sylvieg: Aww, that's too simple a test. :-) I have the file that is listed. I have enabled the WYSIWYG in administration, adn added tiki_p_use_HTML to the groups so you are sure the error in with a / before lib sylvieg: Is setup.sh a standard step which he should have done? sylvieg, I do not know. I have installed tiki to the root of my domain's space. That would make sense for it to not be found. as it would be a relative path. This was installed by th Fantastico tool in the hosting company's cpanel app. if the message was "You don't have permission to access lib/fckeditor/editor/fckeditor.html on this server." I should effectively go for a perm /setup problem The term "forbidden" implies it's a web server message. Was it a message from the web server? check what you have in lib/tikifck.php is it $this->BasePath = 'lib/fckeditor/'; or $this->BasePath = '/lib/fckeditor/'; Forbidden You don't have permission to access /lib/fckeditor/editor/fckeditor.html on this server. no leading / in lib/tikifck.php adding the / did not help, either same error and if you put all the path? ended up with another editor in the error message l4smb.net is the site... anonymous should now be able ot edit wiki pages. it is not a problem with tw perms - it is a problem either with tw or with the server there, now it is set right for you to see the issue. I have no idea if the path is re-written soemwhere in tw... I do not know very weel fck and the full path like /www.../htdocs/tikiwiki/lib is not working? http://l4smb.net/lib/fckeditor/editor/fckeditor.html returns nothing no you can can call the url directly .. it is only to try to put the full path (not url) in tikifck.php because I have no idea where the path is change - I do not know fck very well... no, the full path is not working th eroor message is still the same /lib/..? yes :-( yeah... :( well, thanks for trying... I will just ahve to do without it, for a while maybe there will be an update or some such... which browser do you use? I have the same issue in FF 3.0.4 as I do ie6. with the exception ie6 does not give the path, jsut a forbidden error I am on FF and I have the error on your site - and not on mine - so bad idea... all the files and dirs for fckeditor are 755 do you have a baseurl or something like that in your tpls? I have made no changes to the tpls http://www.l4smb.net/lib/fckeditor/editor/fckeditor.original.html that works! so I doubt it is file/dir perms issue adding the .original in the tikifck,php did not help, though. same error as earlier. the only difference is the file name on my local too - I have the same fckeditor.html is html empty but not the source and the original I seee something... and .. if you change the templates/fc-edit.tpl file repalce {$fck->LinkFile} with lib/fckeditor/editor/fckeditor.html YES! we have an editor! and it works for both the wiki and blog editors. MANY thanks! I spent three hours early this morning working on that! do not ask me why ... I have no idea why it is working now... Zylogue: For future readers of the IRC log, which thing seems to have fixed it? SEWilco, in templates/fc-edit.tpl repalce {$fck->LinkFile} with lib/fckeditor/editor/fckeditor.html Thanks, and good luck. CRAP! that was only half the fix. fckeditor loads, but clicking in the text field does not change the focus Zylogue: Do you have NoScript or some other thing blocking Javascript? SEWilco2, no both java and js are enabled I wonder if $fck->LinkFile is used to emit stuff which the editor uses. I don't have further suggestions. And I'm dealing with a blank page when testing something else. :-( perhaps it is a tw problem with the detected path.... are you mysql? Thanks. I am hoping others can take this far and get the rest of it... yes, on the mysql check you have no prefs on path in tiki_preferences that contains sometnig like /% no value like /% in tiki_preferences table no /% in the tiki_prefs table no more idea... Thanks for trying... Zylogue: try perhpas a message on the devel list - the people who know fck are not oftern here sylvieg, I have jumped into the fckeditor channel and am asking there, as well... Aargh. Something in trunk doesn't like my new plugin. tiki-edit_article and edit wiki page give blank screens. Even deleting code within the 3 functions doesn't help. Hmph. Looks like the new plugin design is scanning the plugin files, not only what is configured. Have to hide backups of bad test versions or they also get sucked on.