SlContact_xt is a full all in one solution to map SecondLife / OpenSim users to Drupal's site users.

How to use SlContact_xt ?

Install the module using the "standard" Drupal module installation process.

Go to the the admin settings : admin/settings/secondlife/slcontact_xt and change the settings as needed.

Go inworld

  • Create an object.
  • Create a new script inside this object.
  • Copy/paste the script named "server" ( located in your module folder named lsl/server ) using a text editor.
  • Add your site url at the begin of the script

    example :

    string url = "http://mysite.com";
  • If you have defined in the (admin settings) an amount to pay for the site access, fill the password and the p2abank ( the p2abank is the uuid key of the avatar that will receive money )

    example :

    string p2aPassword = "1234";

    key p2aBank = "bf362c0b-67ec-49c7-a852-77968e3f7f56";
  • save and close the script
  • create a notecard named "config" and fill it with these minimal values :

    password=mypassword

    email=myname@mysite.com
  • Add the notecard to the object.
  • Close the object edition and touch the object

The object will show a menu with "reset" option

Click on reset then the script will ask the site for your sl username

If your avatar is not registered yet, you will see another menu asking you "register"

Click "register"

Then the script will register your user on the site.

Now you have a new panel on your user's profile of the Drupal's site and the users will be able to send you messages.

You also have some options to define in your user edit page.

What about friends ?

You can add friends to your profile using the "position" script.

Go inworld

  • Create 2 new scripts inside this object.
  • Copy/paste the scripts named "position.lsl" and "av_finder.lsl" ( located in your module folder named lsl/position ) using a text editor.
  • Add your site url at the begin of the script

    example :

    string url = "http://mysite.com";
  • Save and close the scripts
  • You can wear the object to add friends
  • To add a friend to your profile, write

    /1 addfriend firstname lastname

    in the chat
  • Then, the script will ask you to confirm

Now you have some friends in your user profile on the Drupal's site and you will be able to send them im messages from the website