autoLogin

NOTE: This is a security risk that we WILL NOT take the blame for. If you lose all the information in your wiki, don't say you weren't warned. Use at your discretion.

This function allows a wiki to truly be public, without any passwords whatsoever. For best results, put this immediately after the code to include the library (such as in the QuickStart or SideBar pages), so that it scans before any content. Usage:

<script>
   widget.autoLogin(magicID);
</script>

magicID is the number from the magic URL that automatically logs you into a wiki as a string. To get that number, you must:

  1. Log in to your wiki
  2. Click on Settings
  3. Go to Sharing
  4. copy the alphanumeric sequence that follows "aph="
    1. Here's an example from http://non-educational.pbwiki.com . The magic URL is http://non-educational.pbwiki.com/?aph=a94a8fe5ccb19ba61c4c0873d391e987982fbbd3 , so the code would be

<script>
   widget.autoLogin('a94a8fe5ccb19ba61c4c0873d391e987982fbbd3');
</script>


Page Information

  • 1 year ago [history]
  • View page source
  • You're not logged in
  • No tags yet learn more

Wiki Information

Recent PBwiki Blog Posts