You are here: Foswiki>System Web>Category>UserDocumentationCategory>FrequentlyAskedQuestions>FAQRebuildingWikiUsersTopic (2024-12-23, UnknownUser)Edit Attach
Under normal circumstances, there should be no need to rebuild your WikiUsers topic.
Sometimes, the WikiUsers topic maintained by TopicUserMappingContrib may not reflect the true list of users registered on your Foswiki installation. This most commonly happens when:
Assuming your wiki is configured to use TopicUserMappingContrib, the script below should refresh your WikiUsers topic with an accurate list of users. It uses the USERINFO macro, which protects user information from ordinary users - so this topic needs to be viewed with admin privileges in order for it to be useful.
Usage Notes:
BadRegistration - - 02 Mar 2012 - 23:50
%STARTSECTION{"WIKIUSERS"}% %FORMAT{"A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z" type="string" format=" * $item - <a name='$item'>- - - -</a> $percentINCLUDE{ \"%TOPIC%\" section=\"USERS\" letter=\"$item\" }$percent" }% %ENDSECTION{"WIKIUSERS"}% %STARTSECTION{"USERS"}%%SEARCH{ "name=~'^%letter%.*' AND (form.name~'*UserForm')" type="query" web="%USERSWEB%" nonoise="on" separator="$n" header="$n" format=" * $topic - $percentUSERINFO{ \"$topic\" format=\"$dollarusername\" }$percent - $createdate" }%%ENDSECTION{"USERS"}%
Back to: FrequentlyAskedQuestion
Related Topics: Foswiki:Support.Faq27, TopicUserMappingContrib, WikiUsers, AdminDocumentationCategory
Edit | Attach | Print version | History: r1 | Backlinks | View wiki text | Edit wiki text | More topic actions
Topic revision: r1 - 2024-12-23, UnknownUser
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback