<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi peter,<div class=""><br class=""></div><div class="">Thanks for all this.</div><div class=""><br class=""></div><div class="">I performed an action=logout and I still see the list of users under edit users.  It let's me edit them too.  That makes me believe I have a stack of logins piled up somwhere.  Should ?action=logout clear all logins associalted with my php session or my IP or something?  Better still, can I enforce a timeout so that if there's no activity on an account for say half an hour or so, the account will be logged out?</div><div class=""><br class=""></div><div class="">After pondering, I repeated the action=logout several times with no divfferent results.  Then I opened firefox nightly to see what permissions I have.  I have firefox nightly but have never used it to do anything to my wiki sites.  Nightly still lets me edit users even though I have never logged in with nightly which is wicked creepy.</div><div class=""><br class=""></div><div class="">BAck in safari, I made a new user account and it says that the account was created but not that a confirmation was sent.</div><div class=""><br class=""></div><div class="">Over in firefox nightly which has never been used to log into the site, I created a user, but did not receive the message saying that an email was sent.  Only the one saying that an account had been created.</div><div class=""><br class=""></div><div class="">I got'a run, but if you have any light to shead on this, I'd appreciate it.  Please feel free to poke around on my test site.</div><div class=""><a href="http://www.erik-burggraaf.com/pmwiki/pmwiki.php" class="">http://www.erik-burggraaf.com/pmwiki/pmwiki.php</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On May 11, 2015, at 11:03 AM, Peter Bowers <<a href="mailto:pbowers@pobox.com" class="">pbowers@pobox.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">No problem - I regularly  make all kinds of wonderful changes in my php files only to find out I made it to the wrong copy and then I find that's the reason why I'm not seeing anything happen. :-)<div class=""><br class=""></div><div class="">Issue #1 (no confirmation email):</div><div class=""><br class=""></div><div class="">(1) If you are logged in as admin then setting up a new account will do it without sending an email. This is intentional and by design. There are 2 ways to ensure this is not what is causing your problem with no emails:</div><div class="">(a) explicitly ?action=logout before you create a new user</div><div class="">(b) Look carefully at the message in the screen immediately after you sign up a new user - it will say "E-mail sent with activation link" at the top of the menu if it tried to send an email</div><div class=""><br class=""></div><div class="">(2) Assuming that useradmin is really trying to send an email (confirmed as above) then your system has to be capable of sending email from php. Are you using a hosted system or using wamp/xamp locally? I can point you in the right direction depnding on how you are using it.</div><div class=""><br class=""></div><div class=""><div class="">Issue #2 (seeing all users):</div><div class=""><br class=""></div><div class="">This makes me think even more that you were logged in as admin. Be aware that in pmwiki logins can "stack up."  In other words you can be logged in with multiple usernames and multiple passwords all at once. Every time you append ?action=login and type in just a password or type in a username and password that is accepted you will be logged in as yet another user account. Not that the previous user account is no longer valid - you can be logged in as 2 or 5 or 25 users simultaneously. Loading a page with ?action=logout will log you out of ALL accounts immediately.</div><div class=""><br class=""></div><div class="">Please try explicitly appending the ?action=logout to your URL and reloading the page and then see if this issue goes away. It is likely the source of both your issue #1 and issue #2.</div></div><div class=""><br class=""></div><div class=""><div class="">Issue #3 (blank screen in resetpasswd):</div><div class=""><br class=""></div><div class="">I will confess I haven't tested this functionality as much as I should have. I just tested it now and confirmed this behavior:</div><div class="">(1) If I am NOT logged in as admin then it works fine</div><div class="">(2) If I am logged in as admin then I get the behavior you described.</div><div class=""><br class=""></div><div class="">Of course, this confirms again that you have been logged in as admin, but it also points out an area I need to fix.  THANK YOU!</div></div><div class=""><br class=""></div><div class="">Please keep the resports coming... Being able to "break" software is a gift!!! :-)</div><div class=""><br class=""></div><div class="">-Peter</div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, May 11, 2015 at 6:11 PM, erik burggraaf <span dir="ltr" class=""><<a href="mailto:burggraaferik@gmail.com" target="_blank" class="">burggraaferik@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi peter,<div class=""><br class=""></div><div class="">I'm embarrassed to report that the problem with instalation was to do with the fact that the include for useradmin was not in the site's active config file.  I have been useing about 5 different configs because I have a problem with ssl.  When turned on, I can't post any content to my sites.  So, in my playing around, I had clearly reverted or deleted and then not tripple checked.</div><div class=""><br class=""></div><div class="">Egg on face.</div><div class=""><br class=""></div><div class="">So, now I have the basic functionality up and working.</div><div class=""><br class=""></div><div class="">Issue one: I did not get confirmation emails when signing up for a new account.  I tried two different addresses: <a href="mailto:erik@erik-burggraaf.com" target="_blank" class="">erik@erik-burggraaf.com</a>, and <a href="mailto:burggraaferik@gmail.com" target="_blank" class="">burggraaferik@gmail.com</a>.  Do I need to set something up on the back end for email confirmation?</div><div class=""><br class=""></div><div class="">Issue two.  I can see all the users on my system except thankfully for the admin account.  It looks like I can edit anyone I want.  How can I restrict this so that when logging in as a user, I can only see and edit my own account?</div><div class=""><br class=""></div><div class="">Third: the address: </div><div class=""><a href="http://www.erik-burggraaf.com/pmwiki/pmwiki.php?n=Main.Login?action=user/resetpasswd" target="_blank" class="">http://www.erik-burggraaf.com/pmwiki/pmwiki.php?n=Main.Login?action=user/resetpasswd</a></div><div class="">Leads to an empty page.  Tested with both safari and chrome.</div><div class=""><br class=""></div><div class="">I'm using the profile pages option for storing information.  The website I'm building needs cthe functionality.  Once I have a system up and running for them, I will be switching to the database system.  Then once that becomes robust enough to meet their needs, I will be migrating them up to the database version.</div><div class=""><br class=""></div><div class="">Thanks for your patience.  One thing about it, if anyone can find a bug in the system, it's sure to be me.  I'm a bit hapless.</div><div class=""><br class=""></div><div class="">Best,</div><div class=""><br class=""></div><div class="">Erik<div class=""><div class="h5"><br class=""><div class=""><blockquote type="cite" class=""><div class="">On May 10, 2015, at 1:14 PM, Peter Bowers <<a href="mailto:pbowers@pobox.com" target="_blank" class="">pbowers@pobox.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class="">Did you get this figured out, Erik?<div class=""><br class=""></div><div class="">I'd be happy to help further...</div><div class=""><br class=""></div><div class="">Or if you wanted to start testing on the test--site I set up <span style="font-family:Arial,Helvetica,sans-serif;font-size:14.6666669845581px;line-height:19.5066661834717px" class="">to test the </span><a href="http://useradmin.qdk.org/authuser" rel="nofollow" style="font-family:Arial,Helvetica,sans-serif;font-size:14.6666669845581px;line-height:19.5066661834717px" target="_blank" class="">authuser</a><span style="font-family:Arial,Helvetica,sans-serif;font-size:14.6666669845581px;line-height:19.5066661834717px" class="">, the </span><a href="http://useradmin.qdk.org/profiles" rel="nofollow" style="font-family:Arial,Helvetica,sans-serif;font-size:14.6666669845581px;line-height:19.5066661834717px" target="_blank" class="">profiles</a><span style="font-family:Arial,Helvetica,sans-serif;font-size:14.6666669845581px;line-height:19.5066661834717px" class="">, and the </span><a href="http://useradmin.qdk.org/dbase" rel="nofollow" style="font-family:Arial,Helvetica,sans-serif;font-size:14.6666669845581px;line-height:19.5066661834717px" target="_blank" class="">database</a><span style="font-family:Arial,Helvetica,sans-serif;font-size:14.6666669845581px;line-height:19.5066661834717px" class=""> storage solutions you could do that as well and avoid the setup entirely for testing purposes.</span></div><div class=""><br class=""></div><div class="">-Peter</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, May 7, 2015 at 9:02 PM, Peter Bowers <span dir="ltr" class=""><<a href="mailto:pbowers@pobox.com" target="_blank" class="">pbowers@pobox.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><span class="">On Thu, May 7, 2015 at 4:49 PM, erik burggraaf <span dir="ltr" class=""><<a href="mailto:burggraaferik@gmail.com" target="_blank" class="">burggraaferik@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">?action=user does not show me the user options.<br class="">
<br class="">
Do the user options appear in the sidebar, alongside edit, print, recent changes and the like?  I have this hidden for users who ar not logged in.  So could this be why I don't see the options?<br class=""><br class=""></blockquote><div class=""><br class=""></div></span><div class="">No, they appear in the main part of the page. </div></div><br class=""></div><div class="gmail_extra">Are you using a farm or a normal wiki?</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">Are you using the authuser or the profiles or the dbase storage method?</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">Can you send me the relevant part of your config.php or farmconfig.php?</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">Can you introduce a deliberate syntax error into your config.php or farmconfig.php (wherever you are putting the include_once("useradmin-xyz.php");) and make sure that your loaded page shows an error? That will rule out the possibility of having a misplaced config.php or something...</div><div class="gmail_extra"><br class=""></div><div class="gmail_extra">Happy to handle this off-list if you would like...</div><span class=""><font color="#888888" class=""><div class="gmail_extra"><br class=""></div><div class="gmail_extra">-Peter</div></font></span></div>
</blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>