Linux 软件免费装
Banner图

SL User Create

开发者 GwynethLlewelyn
更新时间 2023年8月31日 23:28
捐献地址: 去捐款
PHP版本: 3.0 及以上
WordPress版本: 6.3.1

标签

login registration second life sl

下载

0.0.1 0.0.5 0.1.0 0.1.5 0.1.6 0.2.0 0.2.2 0.2.3 0.2.4 0.2.1 0.2.5 0.2.6

详情介绍:

Need to automatically register new users on a WordPress site with their Second Life® avatar names? This plugin allows you to do so, by exhibiting a script that you can copy and place into an in-world object. Users just need to touch the object to get automatically registered; if they are already registered, they will just get a link to your site. New users will receive a password via the Second Life Instant Messaging Service, as well as a link to tell them the URL for your site. The new profile will include their avatar name as a login and their SL profile picture (if available via Web) will become their WordPress profile picture. If you have some special meta fields enabled on your WordPress profile, they will be filled in with some data from SL as well (e.g. location). Thanks to DALL-E by OpenAI for the cute logo.

安装:

  1. After installing the plugin, if you're using a cache manager (e.g. W3 Total Cache) make sure you add register-avatar.php and register-object.php to the exception list, or you'll get multiple registrations with the same name!
  2. Go to the Settings menu and look at the option for "SL User Create". You should be shown a pre-formatted LSL script.
  3. Launch Second Life.
  4. Create an object in your land. Make sure that scripts are active!
  5. Right-click to open the object's Build popup, and go to the Contents tab.
  6. Create a new script inside (just click on the button).
  7. Delete everything in that script.
  8. Now go back to the WordPress admin page you've opened, and copy the script and paste it inside your LSL script in Second Life.
  9. Save the LSL script in Second Life; it should recompile.
  10. The LSL script will now try to contact your blog and register itself.
Now any avatar wishing to register for their blog will only need to touch this object and get immediately registered. You can have multiple objects, on several regions, even on different grids, and owned by different users. Avatar names have to be unique across your blog, which means that the same user cannot register from different grids with the same name (but they can change the password if they forgot it, and don't need to log in back to their original grid). Note that WP logins might not work with dots in it and might get be replaced by underscores. From 0.2.0 onwards there is a security page which allows a few options to limit access from potential hackers.

屏幕截图:

  • Admin interface to manage registration objects
  • Configuring security settings

升级注意事项:

I got some reports that in some installations, the signature check fails. For that purpose, a new option was introduced to ignore signatures completely. This will be automatically disabled if the md5() function is not found. functions.php was missing from the distribution! Thanks to ANSI Soderstrom for pointing it out to me. Also, ANSI Soderstrom fixed a slight bug that prevented IMs to be sent to the users.

常见问题:

I get errors when the in-world object tries to contact the external URL!

A few people reported that their hostname is nowhere near what WordPress thinks it is, and so, obviously, registration will fail when the in-world object tries to contact your WordPress site. 0.2.4 changed the way the hostname is "figured out", but if it still gets it wrong, change on the LSL script what appears under string http_host = "" Note: no trailing slashes.

Can I place multiple objects for registration?

Yes! The admin panel will list the currently active objects, where you can also delete the ones that are inactive. Each object will count how many avatars have been registered through it, so that you can keep track of which objects have been attracting more registrations. You're also welcome to edit the LSL script, if you're talented enough, to personalise the user experience. Objects can also be on different grids, so long as these are running OpenSimulator 0.7.0.2 or more recent.

One user forgot the password. What now?

Ask them to touch the object again. It will give them a popup box where they can reset the password and have it sent to them by Instant Message. Note that this will work on any object registered with your site, no matter where it's placed (yes, even on a different grid!).

Can I use this on my OpenSimulator grid, too?

Yes, you can. This plugin was tested on an OpenSimulator grid running 0.9.X; versions earlier than 0.7 might not work. Please note that if you have registered on one grid with your avatar name, and then register on a different grid with the same avatar name, you'll just change the password — this plugin assumes that avatar names are unique across grids (because WordPress logins have to be unique). Some errors are less obvious on OpenSimulator and difficult to track; this has to do with the way error messages are passed back. Also, the auto-deletion feature might not work well under OpenSimulator (i.e. it gives an error, but in some cases, the object will actually disappear).

更新日志:

0.2.6