I am having the same problem as Benoit.When I follow the instructions given it either doen't yield the desired results or it breaks my web site.<br><br>I think sometime in the future PM needs a technical writer to go over all of the instructions in the cookbook and make sure that no instructions are left out or assumed by the programmer writing the particular script.
<br><br>You would not believe the trouble I had with ZAP.<br>Just a suggestion.--jack marting<br><br><div><span class="gmail_quote">On 9/11/07, <b class="gmail_sendername"><a href="mailto:pmwiki-users-request@pmichaud.com">
pmwiki-users-request@pmichaud.com</a></b> <<a href="mailto:pmwiki-users-request@pmichaud.com">pmwiki-users-request@pmichaud.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Send pmwiki-users mailing list submissions to<br> <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">
http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>or, via email, send a message with subject or body 'help' to<br> <a href="mailto:pmwiki-users-request@pmichaud.com">pmwiki-users-request@pmichaud.com
</a><br><br>You can reach the person managing the list at<br> <a href="mailto:pmwiki-users-owner@pmichaud.com">pmwiki-users-owner@pmichaud.com</a><br><br>When replying, please edit your Subject line so it is more specific
<br>than "Re: Contents of pmwiki-users digest..."<br><br><br>Today's Topics:<br><br> 1. Getting CleanURLs work as on <a href="http://pmwiki.org">pmwiki.org</a> with method #3?<br> (Benoit Dutilleul)
<br> 2. Re: Getting CleanURLs work as on <a href="http://pmwiki.org">pmwiki.org</a> with method #3?<br> (Ben Wilson)<br> 3. Re: Need to Enter Password Repeatedly? (Patrick R. Michaud)<br> 4. Re: ldap (Maria McKinley)
<br> 5. AuthUser and an external DB (Jeff Brown)<br> 6. Reading text from a wiki page (Josh Miller)<br> 7. Re: Reading text from a wiki page (Josh Miller)<br> 8. Re: Hiding the edit button (:if auth admin:) (Sandy)
<br> 9. Re: Attach (Mark Trumpold)<br> 10. conditional markup for AuthUser groups (Christophe David)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 10 Sep 2007 20:18:32 +0200
<br>From: "Benoit Dutilleul" <<a href="mailto:benoit.dutilleul@googlemail.com">benoit.dutilleul@googlemail.com</a>><br>Subject: [pmwiki-users] Getting CleanURLs work as on <a href="http://pmwiki.org">pmwiki.org
</a> with<br> method #3?<br>To: <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>Message-ID:<br> <<a href="mailto:a05691ec0709101118j178fa0c0k4fc5e24a21d88050@mail.gmail.com">a05691ec0709101118j178fa0c0k4fc5e24a21d88050@mail.gmail.com
</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hello!<br><br>If that is possible, can somebody explain me how to do it step by step?<br>I have managed to get the links on the page generated properly (
e.g.<br><a href="http://www.mysite.org/Main/Page">http://www.mysite.org/Main/Page</a> by setting $ScriptUrl='<a href="http://www.mysite.org">http://www.mysite.org</a>';<br>and $EnablePathInfo = 0;) but the links would not work (
i.e. non-pmwiki 404<br>error when I click on a link).<br><br>If you have a solution, thanks in advance!<br><br>Benoit<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: /pipermail/pmwiki-users/attachments/20070910/9c02ab8c/attachment-
0001.html<br><br>------------------------------<br><br>Message: 2<br>Date: Mon, 10 Sep 2007 14:55:11 -0400<br>From: "Ben Wilson" <<a href="mailto:dausha@gmail.com">dausha@gmail.com</a>><br>Subject: Re: [pmwiki-users] Getting CleanURLs work as on
<a href="http://pmwiki.org">pmwiki.org</a><br> with method #3?<br>To: "Benoit Dutilleul" <<a href="mailto:benoit.dutilleul@googlemail.com">benoit.dutilleul@googlemail.com</a>><br>Cc: <a href="mailto:pmwiki-users@pmichaud.com">
pmwiki-users@pmichaud.com</a><br>Message-ID:<br> <<a href="mailto:cc6097050709101155o4f88ccf4lf7feea6c0c8ab80f@mail.gmail.com">cc6097050709101155o4f88ccf4lf7feea6c0c8ab80f@mail.gmail.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1
<br><br>You also need to set .htaccess<br><br><a href="http://www.pmwiki.org/wiki/Cookbook/CleanUrls">http://www.pmwiki.org/wiki/Cookbook/CleanUrls</a><br><br>On 9/10/07, Benoit Dutilleul <<a href="mailto:benoit.dutilleul@googlemail.com">
benoit.dutilleul@googlemail.com</a>> wrote:<br>> Hello!<br>><br>> If that is possible, can somebody explain me how to do it step by step?<br>> I have managed to get the links on the page generated properly (
e.g.<br>> <a href="http://www.mysite.org/Main/Page">http://www.mysite.org/Main/Page</a> by setting<br>> $ScriptUrl='<a href="http://www.mysite.org">http://www.mysite.org</a>'; and $EnablePathInfo = 0;) but the links
<br>> would not work (i.e. non-pmwiki 404 error when I click on a link).<br>><br>> If you have a solution, thanks in advance!<br>><br>> Benoit<br>><br>> _______________________________________________
<br>> pmwiki-users mailing list<br>> <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users
</a><br>><br>><br><br><br>--<br>Ben Wilson<br>"Words are the only thing which will last forever" Churchill<br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Mon, 10 Sep 2007 14:45:45 -0500
<br>From: "Patrick R. Michaud" <<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>><br>Subject: Re: [pmwiki-users] Need to Enter Password Repeatedly?<br>To: Jesse Heines <<a href="mailto:heines@cs.uml.edu">
heines@cs.uml.edu</a>><br>Cc: "'Fred G. Martin'" <<a href="mailto:fredm@cs.uml.edu">fredm@cs.uml.edu</a>>, <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>Message-ID: <
<a href="mailto:20070910194545.GD20002@host.pmichaud.com">20070910194545.GD20002@host.pmichaud.com</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>On Thu, Sep 06, 2007 at 09:50:41PM -0400, Jesse Heines wrote:
<br>> The problem turned out to be that my site:<br>><br>> <a href="http://www.performamatics.org">http://www.performamatics.org</a><br>><br>> which is really:<br>><br>> <a href="http://teaching.cs.uml.edu/Performamatics/">
http://teaching.cs.uml.edu/Performamatics/</a><br>><br>> was registered on GoDaddy.com with Domain Forwarding **AND MASKING<br>> ENABLED**. The masking prevents the domain name displayed in the address<br>> bar from being changed.
<br>><br>> I don't know why masking affects the storing of session data, but it most<br>> certainly does, at least on my system. When I turned masking off,<br>> everything worked fine and I only needed to enter the password once per
<br>> session. Of course, with masking turned off, going to<br>> <a href="http://www.performamatics.org">http://www.performamatics.org</a> shows a visible redirect to<br>> <a href="http://teaching.cs.uml.edu/Performamatics/">
http://teaching.cs.uml.edu/Performamatics/</a>.<br><br>I suspect the problem is that the session cookies being generated<br>by PHP are being associated with the "<a href="http://teaching.cs.uml.edu">teaching.cs.uml.edu
</a>" site,<br>so that the browser doesn't send the cookie when accessing the<br>"<a href="http://www.performamatics.org">www.performamatics.org</a>" version of the site.<br><br>When a new PHP session is created, the browser is given a cookie
<br>that it sends with each subsequent request to the same server.<br>But browsers think of "same server" as being "same domain name" --<br>i.e., a browser won't send a cookie from "<a href="http://teaching.cs.uml.edu">
teaching.cs.uml.edu</a>"<br>to a server at "<a href="http://www.performamatics.org">www.performamatics.org</a>" because the browser<br>treats them as being separate servers (as it is supposed to).<br><br>Pm
<br><br><br><br>------------------------------<br><br>Message: 4<br>Date: Mon, 10 Sep 2007 13:22:19 -0700<br>From: "Maria McKinley" <<a href="mailto:parody@u.washington.edu">parody@u.washington.edu</a>><br>
Subject: Re: [pmwiki-users] ldap<br>To: <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>Message-ID:<br> <<a href="mailto:fddba4730709101322x3c573c68k8a9440a6fb6d9658@mail.gmail.com">fddba4730709101322x3c573c68k8a9440a6fb6d9658@mail.gmail.com
</a>><br>Content-Type: text/plain; charset=ISO-8859-1<br><br>Thanks to Graham and Thomas, I now have it figured out. I was missing<br>the part where I said what to do with the login once it happened. So,<br>for future reference to get ldap to work you need:
<br><br>## assign an ldap server, with basedn<br>$AuthUser['ldap'] = "ldap://ldap.example.org/ou=people,dc=example,dc=org?uid";<br><br>## Want to use AuthUser so we can use ldap for passwords<br>## Needs to go BELOW the ldapserver assignment
<br>include_once("$FarmD/scripts/authuser.php");<br><br>##Security Variables set login for edit & history page<br>## to let anyone edit that has an ldap entry:<br>$HandleAuth['diff'] = 'edit';
<br>$DefaultPasswords['edit'] = 'id:*';<br>$Author = $AuthId;<br><br>or to check the groups in ldap, and let different groups do different<br>things, do something like this:<br><br>$AuthUser['@editors'] = get_ldap_values("cn=groups", "(cn=GROUP)",
<br>array("memberUid"));<br>$AuthUser['@admins'] = get_ldap_values("cn=groups",<br>"(cn=OTHERGROUP)", array("memberUid"));<br><br>$DefaultPasswords['edit'] = '@editors';
<br>$DefaultPasswords['attr'] = '@editors';<br>$DefaultPasswords['upload'] = '@editors';<br>$DefaultPasswords['admin'] = array('@admins','id:ANOTHERUSER');<br><br>cheers,
<br>maria<br><br>On 9/10/07, Thomas Gemperli <<a href="mailto:gemperli@arch.ethz.ch">gemperli@arch.ethz.ch</a>> wrote:<br>> Hi<br>><br>> On 10.09.2007, at 10:53, Maria McKinley wrote:<br>><br>> > On 9/10/07, Thomas Gemperli <
<a href="mailto:gemperli@arch.ethz.ch">gemperli@arch.ethz.ch</a>> wrote:<br>> >> Hi<br>> >><br>> >> On 10.09.2007, at 09:46, Maria McKinley wrote:<br>> >><br>> >>> I am trying to get authentication using ldap working, and having a
<br>> >>> very hard time. here are the lines I added to local/config.php:<br>> >>><br>> >>> ## Want entire site to be password-protected for editing.<br>> >>> $DefaultPasswords['edit'] = crypt('edit_password');
<br>> >>> ## Want to use AuthUser so we can use ldap for passwords<br>> >>> include_once("$FarmD/scripts/authuser.php");<br>> >>> # use <a href="http://ldap.shadlen.org">ldap.shadlen.org
</a> for authentication<br>> >>> $AuthUser['ldap'] = 'ldap://ldap.shadlen.org/ou=people,dc=shadlen?<br>> >>> dc=org?';<br>> >><br>> >> I'm using ldap, with the following config:
<br>> >><br>> >> $AuthUser['ldap'] = "ldap://host.domain.tld/<br>> >> cn=users,dc=domain,dc=tld?<br>> >> uid";<br>> >> # Enable authuser extensions - MUST be BELOW every $AuthUser entry
<br>> >> in this file<br>> >> include_once("$FarmD/scripts/authuser.php");<br>> >><br>> >> Make sure to include authuser.php below any $AuthUser lines.<br>> >><br>> >> Thomas
<br>> >><br>> ><br>> > Thanks a bunch. That does seem like something worth putting in the<br>> > docs under AuthUser, ldap. Maybe I'll do that once I have this all<br>> > figured out, since it is a wiki and all. :-) However, it doesn't seem
<br>> > to completely solve my problem. Now I get no error message, it just<br>> > doesn't log me in,<br>><br>> No message, like "invalid username" or something similar?<br>><br>> > so I don't know if the ldap enquiry was successful
<br>> > and there is some other problem, or if I am still having ldap<br>> > problems.<br>><br>> Well, if PmWiki does not complain about your username/password login<br>> was successful.<br>> Now you probably need to define which users are allowed to edit/
<br>> upload/etc pages.<br>><br>> I use something like this in my config.php:<br>><br>> $AuthUser['@editors'] = get_ldap_values("cn=groups", "(cn=GROUP)",<br>> array("memberUid"));
<br>> $AuthUser['@admins'] = get_ldap_values("cn=groups",<br>> "(cn=OTHERGROUP)", array("memberUid"));<br>><br>> $DefaultPasswords['edit'] = '@editors';<br>
> $DefaultPasswords['attr'] = '@editors';<br>> $DefaultPasswords['upload'] = '@editors';<br>> $DefaultPasswords['admin'] = array('@admins','id:ANOTHERUSER');
<br>><br>> Please note, I use a self written piece of php to get group members<br>> out of my LDAP directory (Apple OpenDirectory). It will most likely<br>> not work with AD. Anyway, you can "hardcode" legitimated users in
<br>> config.php, for example:<br>><br>> $AuthUser['@editors'] = 'id:USER1, id:USER2';<br>> $DefaultPasswords['edit'] = '@editors';<br>><br>> JFYI, I have attached my "get the group members cookbook". Probably
<br>> you would like to "port" it to AD. ;)<br>><br>> Thomas<br>><br>><br>><br>><br>><br>><br>> _______________________________________________<br>> pmwiki-users mailing list<br>
> <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>><br>>
<br>><br><br><br>--<br>Maria Mckinley<br>Scientific Programmer<br>Shadlen Lab<br>Physiology and Biophysics<br>Box 357290<br>University of Washington<br>(206) 616-3923<br><a href="mailto:parody@u.washington.edu">parody@u.washington.edu
</a><br><br><br><br>------------------------------<br><br>Message: 5<br>Date: Mon, 10 Sep 2007 18:38:14 -0400<br>From: Jeff Brown <<a href="mailto:sparks@ts4b.com">sparks@ts4b.com</a>><br>Subject: [pmwiki-users] AuthUser and an external DB
<br>To: <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>Message-ID: <<a href="mailto:6.1.0.6.2.20070910182717.04103e50@mail.ts4b.com">6.1.0.6.2.20070910182717.04103e50@mail.ts4b.com</a>><br>
Content-Type: text/plain; charset=us-ascii; format=flowed;<br> x-avg-checked=avg-ok-48927B3C<br><br>Hi<br><br>I am new to PmWiki. Trying to get AuthUser to authenticate against a forum<br>database. I want only my forum members to edit wiki pages. For a couple
<br>reasons, I am not using AuthUserDB, I am calling the PHP ODBC module directly.<br><br>I've written a script (based on AuthUserBBPress) which queries my database<br>and returns true/false on user, pswd challenge. This code is at the end of
<br>this email. I've tested this script on it's own and it works.<br><br>Along with defining the SnitzAuthDB in my config, I have:<br><br>$DefaultPasswords['edit'] = 'id:*';<br>include_once "cookbook/snitzauth.php";
<br>include_once 'scripts/authuser.php';<br><br>Do I need something on my Site.AuthUser page to tell AuthUser how to call<br>my script, snitzauth.php?<br><br>When trying to edit any page, I get a user/pass challenge, but only
<br>"Name/password not recognized".<br><br>Can anyone point me in the right direction?<br><br>Many Thanks - Jeff<br><br><br><br><?php if (! defined ('PmWiki')) exit;<br><br>/*<br> * Authenticate Against a Snitz Forums user database using ODBC to a DSN
<br> *<br> * To use, import and set the SnitzAuthDb array as follows:<br> * $SnitzAuthDb = array(<br> * 'dsn' => 'connection name',<br> * 'user' => 'dbuser',<br> * 'password' => 'dbpass',
<br> * 'table' => 'FORUM_MEMBERS',<br> * 'userfield' => 'M_NAME',<br> * 'pwfield' => 'M_PASSWORD'<br> * );<br> */<br><br>$AuthUserFunctions['snitz'] = 'AuthUserSnitz';
<br><br>function AuthUserSnitz($pagename, $id, $pw, $pwlist) {<br> global $SnitzAuthDb;<br><br> $link =<br>odbc_connect($SnitzAuthDb['dsn'],$SnitzAuthDb['user'],$SnitzAuthDb['password']);<br> if (!$link) die('Could not connect: '.odbc_error());
<br><br> $user = $SnitzAuthDb['userfield'];<br> $pass = $SnitzAuthDb['pwfield'];<br> $table = $SnitzAuthDb['table'];<br><br> $id = user_sanitize($id);<br> $pw = user_sanitize(hash('sha256', $pw));
<br> $ask = "SELECT * from $table WHERE $user='$id' AND $pass='$pw';";<br><br> $result = odbc_exec($link, $ask);<br> if (!$result) die("Could not successfully run query ($query) from DB:
<br>".odbc_error());<br><br> return (abs(odbc_num_rows($result)) > 0) ? true : false;<br>}<br><br>function user_sanitize( $text ) {<br> $text = preg_replace('/[^a-z0-9_-]/i', '', $text);<br> return $text;
<br>}<br><br>?><br><br><br>--<br>No virus found in this outgoing message.<br>Checked by AVG Free Edition.<br>Version: 7.5.485 / Virus Database: 269.13.14/999 - Release Date: 9/10/2007 5:43 PM<br><br><br><br><br><br>------------------------------
<br><br>Message: 6<br>Date: Mon, 10 Sep 2007 20:07:44 -0400<br>From: "Josh Miller" <<a href="mailto:josh@virtualmillers.net">josh@virtualmillers.net</a>><br>Subject: [pmwiki-users] Reading text from a wiki page
<br>To: <<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>><br>Message-ID:<br> <<a href="mailto:1678927AA1223B4B8C0250C6F05928B62FC4@mail.virtualmillers.net">1678927AA1223B4B8C0250C6F05928B62FC4@mail.virtualmillers.net
</a>><br>Content-Type: text/plain; charset="us-ascii"<br><br><br>Hello!<br><br>I used the code below to pull a listing of categories off of a page<br>named Site.Categories that I was using to put a list of available
<br>categories into a dropdown box. Somewhere in my upgrade from 2.1 to<br>2.2. this code stopped working. Anyone have any idea why this is not<br>working...?<br><br>I'm stumped...<br><br>---------------------------------------------
<br>SDV($CatFile, "Site.Categories");<br>SDV($CatLineDelimiter, "**");<br>SDV($CatRemoveItemize, false);<br><br>function f_insertcategories($opts)<br>{<br> global $CatFile;<br> global $CatLineDelimiter;
<br> global $CatRemoveItemize;<br><br> $defaults = array(<br> 'page'=>''<br> );<br> $args = array_merge($defaults, ParseArgs($opts));<br> $page = $args['page'];<br> if ($page == '') {
<br> $page = $CatFile;<br> }<br><br> $contents = ReadPage($page);<br> $arrCats = $contents[text];<br> $arrCats = str_replace($CatLineDelimiter, "<br />", $arrCats);<br><br> if ($CatRemoveItemize) {
<br> $arrCats = explode("*", $arrCats);<br> $arrCats[0] = substr($arrCats[0], 1, strlen($arrCats[0])-1);<br> } else {<br> $arrCats = explode("\n", $arrCats);<br> }<br> if (isset($arrCats)) {
<br> $optionstring="";<br> foreach($arrCats as $val){<br> $optionstring=$optionstring."<option value=$val>&nbsp;&nbsp;<br>$val</option>";<br> }<br> return $optionstring;
<br> } else {<br> return "";<br> }<br>}<br>---------------------------------------------<br><br>Thanks for your time.<br>Josh Miller<br>Gouverneur<br><br><br><br><br>------------------------------<br><br>Message: 7
<br>Date: Mon, 10 Sep 2007 20:16:05 -0400<br>From: "Josh Miller" <<a href="mailto:josh@virtualmillers.net">josh@virtualmillers.net</a>><br>Subject: Re: [pmwiki-users] Reading text from a wiki page<br>To: <
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>><br>Message-ID:<br> <<a href="mailto:1678927AA1223B4B8C0250C6F05928B62FC5@mail.virtualmillers.net">1678927AA1223B4B8C0250C6F05928B62FC5@mail.virtualmillers.net
</a>><br>Content-Type: text/plain; charset="us-ascii"<br><br><br>Nevermind - I found the problem.<br>Thank you anyway.<br><br>-Josh<br><br><br><br><br>-----Original Message-----<br>From: <a href="mailto:pmwiki-users-bounces@pmichaud.com">
pmwiki-users-bounces@pmichaud.com</a><br>[mailto:<a href="mailto:pmwiki-users-bounces@pmichaud.com">pmwiki-users-bounces@pmichaud.com</a>] On Behalf Of Josh Miller<br>Sent: Monday, September 10, 2007 8:08 PM<br>To: <a href="mailto:pmwiki-users@pmichaud.com">
pmwiki-users@pmichaud.com</a><br>Subject: [pmwiki-users] Reading text from a wiki page<br><br><br>Hello!<br><br>I used the code below to pull a listing of categories off of a page<br>named Site.Categories that I was using to put a list of available
<br>categories into a dropdown box. Somewhere in my upgrade from 2.1 to<br>2.2. this code stopped working. Anyone have any idea why this is not<br>working...?<br><br>I'm stumped...<br><br>---------------------------------------------
<br>SDV($CatFile, "Site.Categories");<br>SDV($CatLineDelimiter, "**");<br>SDV($CatRemoveItemize, false);<br><br>function f_insertcategories($opts)<br>{<br> global $CatFile;<br> global $CatLineDelimiter;
<br> global $CatRemoveItemize;<br><br> $defaults = array(<br> 'page'=>''<br> );<br> $args = array_merge($defaults, ParseArgs($opts));<br> $page = $args['page'];<br> if ($page == '') {
<br> $page = $CatFile;<br> }<br><br> $contents = ReadPage($page);<br> $arrCats = $contents[text];<br> $arrCats = str_replace($CatLineDelimiter, "<br />", $arrCats);<br><br> if ($CatRemoveItemize) {
<br> $arrCats = explode("*", $arrCats);<br> $arrCats[0] = substr($arrCats[0], 1, strlen($arrCats[0])-1);<br> } else {<br> $arrCats = explode("\n", $arrCats);<br> }<br> if (isset($arrCats)) {
<br> $optionstring="";<br> foreach($arrCats as $val){<br> $optionstring=$optionstring."<option value=$val>&nbsp;&nbsp;<br>$val</option>";<br> }<br> return $optionstring;
<br> } else {<br> return "";<br> }<br>}<br>---------------------------------------------<br><br>Thanks for your time.<br>Josh Miller<br>Gouverneur<br><br><br>_______________________________________________<br>
pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">http://www.pmichaud.com/mailman/listinfo/pmwiki-users
</a><br><br><br><br><br>------------------------------<br><br>Message: 8<br>Date: Mon, 10 Sep 2007 13:10:14 -0400<br>From: Sandy <<a href="mailto:sandy@onebit.ca">sandy@onebit.ca</a>><br>Subject: Re: [pmwiki-users] Hiding the edit button (:if auth admin:)
<br>To: <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>Message-ID: <<a href="mailto:fc3tpt$c5s$1@sea.gmane.org">fc3tpt$c5s$1@sea.gmane.org</a>><br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
<br><br>H. Fox wrote:<br>> On 9/7/07, Sandy <<a href="mailto:sandy@onebit.ca">sandy@onebit.ca</a>> wrote:<br>>> Patrick R. Michaud wrote:<br>>>> On Tue, Sep 04, 2007 at 08:45:59PM -0400, Sameer Kumar wrote:
<br>>>>> How about Opera?? Is there a key combination that would work in Opera?<br>>>> According to the sites I searched (google for "opera accesskey"),<br>>>> it looks like hitting Shift+ESC enables accesskeys. So, hitting
<br><br><snip><br>>> I never did get this to work reliably. I'm using FireFox, and FireFox<br>>> keeps grabbing the codes itself.<br>><br>> I don't think Firefox 2.x uses any key combination that could be an access key.
<br>><br>> Note that, e.g. where the accesskey is e, in Firefox 1.x the key<br>> combination was Alt-e and in Firefox 2.x it's Shift-Alt-e .<br>><br>> Hagan<br><br>Yep, that works on PmWiki, now to stick it into a skin again.
<br><br>Thanks!<br><br>Still, shouldn't count on the client, traveling or subject to the whims<br>of his IT department, supplemented by Murphy, knowing which arcane<br>keystroke combination he needs for the particular version of the browser
<br>he's using today. All he wants to do is fix a typo; looking it up in<br>Google, assuming he knows what to look for, can turn a five-minute job<br>into a real hassle.<br><br>Sandy<br><br><br><br><br>------------------------------
<br><br>Message: 9<br>Date: Tue, 11 Sep 2007 09:05:43 +0300<br>From: Mark Trumpold <<a href="mailto:mtrumpold@cacegypt.org">mtrumpold@cacegypt.org</a>><br>Subject: Re: [pmwiki-users] Attach<br>To: "H. Fox" <
<a href="mailto:haganfox@users.sourceforge.net">haganfox@users.sourceforge.net</a>><br>Cc: PmWiki Users <<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a>><br>Message-ID: <<a href="mailto:C30C0AE7.FF24%mtrumpold@cacegypt.org">
C30C0AE7.FF24%mtrumpold@cacegypt.org</a>><br>Content-Type: text/plain; charset="US-ASCII"<br><br>Hi again<br><br>I tried that and it will show then when I return the next day its gone<br>again?<br><br>Any clues?
<br><br>Seems strange. I may just reo the config file<br><br>M<br><br><br>On 5/9/07 5:32 PM, "H. Fox" <<a href="mailto:haganfox@users.sourceforge.net">haganfox@users.sourceforge.net</a>> wrote:<br><br>> On 9/5/07, Mark Trumpold <
<a href="mailto:mtrumpold@cacegypt.org">mtrumpold@cacegypt.org</a>> wrote:<br>>> Hi all<br>>><br>>> I know this is simple but I have completely forgotten how to get the<br>>> 'attach' to show up for U\Ls
<br>><br>> From docs/sample-config.php :<br>><br>> ## If you want uploads enabled on your system, set $EnableUpload=1.<br>> ## You'll also need to set a default upload password, or else set<br>> ## passwords on individual groups and pages. For more information
<br>> ## see PmWiki.UploadsAdmin.<br>> # $EnableUpload = 1;<br>> # $DefaultPasswords['upload'] = crypt('secret');<br>><br>> To that I would ad that you can set the upload size limit, e.g.<br>
><br>> $UploadMaxSize = 1048576; # One MB max size<br>><br>> so if you only want Attach: links to work, you can set $UploadMaxSize to 0.<br>><br>> Hagan<br><br>-----------------------------------
<br>May the best rugby team win and the captain's name be Stirling Mortlock!<br><br><br><br><br><br>------------------------------<br><br>Message: 10<br>Date: Tue, 11 Sep 2007 09:14:39 +0200<br>From: "Christophe David" <
<a href="mailto:pmwiki@christophedavid.org">pmwiki@christophedavid.org</a>><br>Subject: [pmwiki-users] conditional markup for AuthUser groups<br>To: "PmWiki Users" <<a href="mailto:pmwiki-users@pmichaud.com">
pmwiki-users@pmichaud.com</a>><br>Message-ID:<br> <<a href="mailto:447cbad00709110014r3334ffabx8c9e15016b326183@mail.gmail.com">447cbad00709110014r3334ffabx8c9e15016b326183@mail.gmail.com</a>><br>Content-Type: text/plain; charset=ISO-8859-1
<br><br>When you have in SiteAdmin.AuthUser<br><br>user1: hash1<br>user2: hash2<br>user3: hash3<br>user4: hash4<br><br>@group1: user2, user3<br>@group2: user1, user4<br>@group3: user1, user2, user3<br><br>is there a way to create a conditional markup like (:if auth read:) to
<br>check if the user is member of a group:<br><br>Something like :<br><br>(:if MemberOfAuthUserGroup @group2:)<br>...<br>(:ifend:)<br><br><br>Thank you in anticipation.<br><br>Christophe<br><br><br><br>------------------------------
<br><br>_______________________________________________<br>pmwiki-users mailing list<br><a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br><a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users">
http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br><br><br>End of pmwiki-users Digest, Vol 27, Issue 26<br>********************************************<br></blockquote></div><br>