Created
December 2, 2018 19:54
-
-
Save Downes/fc1ee42c0dfda66f46ae96d8411e5736 to your computer and use it in GitHub Desktop.
Adding Badgr account to admin_accounts() in admin.cgi in gRSShopper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $content .= &admin_configtable($dbh,$query,"Badgr", | |
| ("Badgr API base URL:badgr_url","Badgr Account ID (email):badgr_account","Badgr Account Password:badgr_password","Access Key:badgr_cckey","Issuer ID:badgr_issuerid")); | |
| $content .= sprintf(qq|To create and award badges, <a href="https://badgr.io/auth/login">create a Badgr account</a> and input email address and password above. The Base URL is usually https://api.badgr.io and the Access key is automatically generated. | |
| However, before badges are awarded, a Badge Issuer must be created; <a href="%sadmin.cgi?action=badgr&badgr=issuer">Click here</a> to generate an Issuer | |
| automatically.|,$Site->{st_cgi}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment