From: Reini U. <ru...@x-...> - 2002-11-11 18:08:46
|
arthur.chereau schrieb: > Hi, > > I now have a working PHPwiki. I've read all the released docs, but I still have > some questions/suggestions/problems. > > I use PHPwiki for my personal use. The Web server is Apache and my site is > protected by HTTP auth (and SSL). I use the latest PHPwiki from cvs, as it's a > long time since the latest release. > > 1) Questions > > - I'd like PHPwiki to automatically sign me in with my HTTP auth login. > I tried setting ALLOW_HTTP_AUTH_LOGIN to true but it didn't work. > Maybe it's because my login name is not a WikiWord ? try to unset ALLOW_BOGO_LOGIN also theoretically it should work: // HTTP Authentification elseif (ALLOW_HTTP_AUTH_LOGIN and !empty($PHP_AUTH_USER)) { // if he ignored the password field, because he is already authentificated // try the previously given password. if (empty($passwd)) $passwd = $PHP_AUTH_PW; } maybe $PHP_AUTH_PW is not global. I'll check this. > - Does the WikiFormPlugin exist ? It would be great to include forms to search > Google, etc. in wiki pages. yes. but WikiForm is only for internal administrative purposes. We had some phpwiki: syntax before for these types of forms. > - Where can I find a good doc about themes ? I'd like to create my own theme > but I can't find any doc, I have to look at the other themes. I started to fix the old themes docs. See themes/default/templates/README. The template API has completely changed with 1.3.3. Templates may be nested. Usage sample: <?= Template('browse') ?> See lib/Template.php for more, esp. the defined global php variables. ($request, $user, $page, $Theme and some action specific local vars.) There's no ###<variable>### markup anymore, instead normal php variables, constants and code can be used. > 2) Suggestions > > Please excuse me if some features are already implemented, I didn't find them. > > - Login names should not have to be WikiWords. A WikiWord could be associated > with a login name when creating a homepage. That is: > - get the login from the Web server and use it for authoring > (eg: page modified by <login> from <hostname>) ALLOW_HTTP_AUTH_LOGIN or ExtAuth is for this. unset ALLOW_BOGO_LOGIN and set ALLOW_USER_LOGIN. > - in the UserPreferences page, let the user create/remove his homepage and > supply/modify a WikiWord identifying that page I will finish this if I get some air in my current work. > - UserPreferences should be saved in the database or in a flat file, > so that the user could keep its preferences when using different computers UserPreferences are stored in his homepage (if exists), in a seperate database (if defined), or in a cookie. > - There should be a "Rename" and a "Remove" button with the "Edit" button > for each page. An index.php option could tell PHPwiki to > - ask the user to confirm and perform the operation (for private wikis) > - send a mail to the administrator for confirmation (for public wikis) Only the admin may do this. With PagePermissions (later this year) the PageOwner or WikiAdmin may do this or may give others extended rights. > - History and Diffs could be merged and improved. What about this: > - use a unique History button (no more Diffs button) > - in the History page, show all revisions > - let the user select two revisions and then see the diffs > - put a "Revert" button after each revision to immediately revert to it > (without having to see it, edit it and save it) good idea. > - A SiteMap plugin would be helpful for large wikis. Already in CVS. We just have to use bread-first search instead of the current depth-first search and cut off the first page. http://phpwiki.sourceforge.net/demo/en/SiteMap > - It would be great to be able to organize some pages in a hierarchical manner > (à la Yahoo) and then move them in the hierarchy and create links between > directories. All the pages should not have to be placed in the hierarchy. see http://phpwiki.sourceforge.net/phpwiki/SubPages or http://phpwiki.sourceforge.net/phpwiki/PageGroup > - With the current PHPwiki, there's no topic separation: if you want to have > one wiki per topic, you need to install one PHPwiki for each topic. > Being able to manage multiple wikis (topics) with one PHPwiki installation > would be great. see SubPages or http://phpwiki.sourceforge.net/phpwiki/WikiFarm > - I like to start with an empty wiki. PHPwiki should have an "empty wiki" admin > button, or if topics are implemented, they should start empty (with a form > asking for the first WikiWord). see http://phpwiki.sourceforge.net/demo/en/WikiAdminRemove (when it is fixed) > 3) Problems > > - My index.php contains "define('ENABLE_REVERSE_DNS', true);" but I only get IP > addresses even if a reverse DNS exists. strange. is there a nameserver in your /etc/resolv.conf? > - I had to comment "ob_start('ob_gzhandler');" in lib/Request.php to make > PHPwiki work with Galeon (see previous post). thanks. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |