[pmwiki-users] Read page text variable before including authuser script...

pmwiki.johnny1000 at spamgourmet.com pmwiki.johnny1000 at spamgourmet.com
Mon Feb 27 02:04:14 PST 2023


Greetings,

is there any fairly easy PmWiki way to get a page text variable _before_ 
including authuser.php, _without_ the AuthUser system getting disabled?

Calling PageVar('Some.Page', '$:some_ptv') _before_ including 
authuser.php does correctly return the PTV value, but the AuthUser 
system is completely disabled.

I would like to populate the $AuthUser array with usernames and 
passwords from other PmWiki pages than SiteAdmin.AuthUser.

The $AuthUser array must be populated _before_ including authuser.php 
(according to the documentation).

I can extract the needed data from the "raw" page file data, but I 
wonder if there is a more elegant PmWiki way of doing it.

Best regards :o)
Johnny :o)




More information about the pmwiki-users mailing list