<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On 11 July 2013 02:12, James Hughes <span dir="ltr"><<a href="mailto:jamesh@bluewallgroup.com" target="_blank">jamesh@bluewallgroup.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
You may still use the OpenProfiles module. Just configure the module as normal and it will work fine. If you want the new module, yes it is using JsonRpc, but will use the same database. Backup before switching.<br></blockquote>
<div><br></div><div style>Ah, thank you, James! This was not immediately obvious — it was clear that 0.7.6 includes new modules (or old ones... I can't remember when the core developers decided to push profiles out of the core, forcing us to live with external services, and now, well, we got all these back again), but it was unclear how to configure them.</div>
<div style><br></div><div style>Seems that the "right" way to do so is simply to disregard all old external functionality. Since it's not so easy to figure out where the changes are, for completion's sake, I'm including them here:</div>
<div style><br></div><div style>On OpenSim.ini that means getting rid of </div></div><div><br></div><div><div>[Profile]</div><div><span style="white-space:pre">  </span>Module = "OpenProfileModule"</div><div><span class="" style="white-space:pre">     </span>ProfileURL = http://<your external webserver>/os_services/profile.php</div>
</div><div><br></div><div style>and just make sure the following is active:</div><div style><br></div><div style><div>[UserProfiles]</div><div>  ;# {ProfileURL} {} {Set url to UserProfilesService} {}</div><div>  ;; Set the value of the url to your UserProfilesService</div>
<div>  ;; If un-set / "" the module is disabled</div><div>  ;; ProfileServiceURL = <a href="http://127.0.0.1:8002">http://127.0.0.1:8002</a></div><div>  ProfileServiceURL = http://<your OpenSim address>:8002</div>
<div><br></div><div style>Then, if you're using Robust, it means also:</div><div style><br></div><div style>On GridCommon.ini, make sure you have commented out the old [Profile] section.</div><div style>Wherever you have HomeURI set to your external webserver for profiles to work, just revert it to http://<your OpenSim address>:8002</div>
<div><br></div></div><div style>Then, on Robust.HG.ini for a hypergrid'ed gri), just comment out all HomeURI set to the external webserver. Thankfully, now we don't need to configure that over and over again; once HomeURI is set at [Hypergrid], it will remain the default for everything (yay).</div>
<div style><br></div><div style>Under [LoginService] make sure SRV_ProfileServerURI is also set to http://<your OpenSim address>:8002</div><div style><br></div><div style>[UserProfilesService] needs to have Enabled = true and the ConnectionString set to the database where the profiles are stored. Now this was a neat trick! Indeed, I can confirm that the old tables work flawlessly with the new configuration. In my case, I had them on a separate database, but OpenSim has no trouble connecting to it. Table names for profiles, picks (and allegedly classifieds...) are the same, and so are all the columns. Whew! It was much, much simpler than I expected.<br>
</div><div style><br></div><div style>And as a bonus, I finally got profiles working with Hypergrid teleports :) something which I never managed to get working properly. Hooray!</div><div><br></div><div style>Once more, thank you for the precious tips!</div>
<div style><br></div><div style>Now back to figuring out how to get collisions on attachments... heh.</div><div style><br></div><div style>   - Gwyn</div><div><br></div>-- <br>"I'm not building a game. I'm building a new country."<br>
  -- Philip "Linden" Rosedale, interview to Wired, 2004-05-08
</div></div>