jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 7
Total Residents: 491
Online Now: 0
Hypergriders online: 0

Profiles on Website

12 years 10 months ago #1144 by DJ Devil
Ok, thanx to fotos Outstanding Component i have started working on a Webpage myself apart from joomla (thanx for the module foto it really helps) my problem now is th following how can i show the profile on the website(the interests part) this is really giving me a hard time :/ hope you can help me or shed a bit of light in it

Please Log in or Create an account to join the conversation.

12 years 10 months ago #1145 by foto50
Hi DJ Devil

I have planned a core module (so called "view") for jOpenSim that can display a single users profile. That could be linked to from other modules, e.g. from a new version of the friends module.

But this is all inside Joomla. Do I understand right, you want to display the profiles somewhere outside of Joomla? In this case you would need to read "manually" the values from the Joomla DB from the table #__opensim_userprofile where "avatar_id" is the key of the desired user.

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

12 years 10 months ago #1147 by DJ Devil
yes you understand right and i have no problem in loading the sql but what i was wondering is there are no fields in the table like field "building" value "1" and so on

Please Log in or Create an account to join the conversation.

12 years 10 months ago #1149 by foto50
Ah, that you mean! These are Bit-Flags in the fields "wantmask" and "skillsmask" where the bits have following meaning:

wantmask:
1 = Build
2 = Explore
4 = Meet
8 = Group
16 = Buy
32 = Sell
64 = Be Hired
128 = Hire

skillsmask:
1 = Textures
2 = Architecture
4 = Event Planning
8 = Modeling
16 = Scripting
32 = Custom Characters

So for example:

wantmask = 43 ( = binary 101011) = 1 + 2 + 8 + 32 = Build + Explore + Group + Sell

I hope this helps a little

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

Time to create page: 0.080 seconds