Change font size
It is currently Fri Sep 25, 2020 8:14 pm

Forum rules


As always, be well-behaved, respectful of others, and mind the topic - off topic posts may be deleted or moved to other forums.



Post a new topicPost a reply Page 1 of 1   [ 10 posts ]
Author Message
 Post subject: Better support for Viewer Destinations/Guide function
PostPosted: Fri Sep 04, 2020 1:46 pm 

Joined: Sat Jul 25, 2020 11:43 pm
Posts: 13
Location: Dallas, TX
One of the viewer features I find most useful on Second Life is the Destinations icon which brings up a Categorized Guide to regions. In particular, it has a "What's Hot" category where I can find out what regions have users in them. When I connect to OSGrid, the Destinations icon does work but it's completely missing the category that shows the most active regions. And the other categories are nearly empty as well.

What would be required to improve the Destinations Guide functionality on OSGrid? Are changes needed in OpenSimulator? Or is the guide put together by some other software? I'd be up for volunteering some time to work on it if someone can point me in the right direction.


Top
 Profile  
 
 Post subject: Re: Better support for Viewer Destinations/Guide function
PostPosted: Fri Sep 04, 2020 9:44 pm 
Furious Typer
User avatar

Joined: Fri Mar 26, 2010 12:11 pm
Posts: 298
Location: Belgium / Brussels
Hello,

Osgrid uses osguide modified to fit Drupal.
Initially osguide includes the standard categories by default.
However, it is possible to add as many categories as desired (see functions.php file).
Note that I am not modifying the Osgrid things ...
... but if the features are interesting, I will add them in the original osguide on github.

Regarding the regions present in the guide, it depends mainly on the users ...
Indeed, it is they who must put the script on their regions so that it is added automatically in the guide.
More info @ destination guide helper.

Regarding the most popular regions, a simple ORDER BY agents_online ASC/DESC would classify the regions in ascending/descending order.
There are also populated regions on osgrid website. (He is based on oswhereavatars and also modified to fit Drupal).

Another possibility to have popular regions would be to rely on landdwell.

Note that osguide, oswhoiseonline and oswhereavatars exist and are open source on github.

Good fun! :)

_________________
Webmaster @ digitalconcepts.free.fr & digigrids.free.fr


Top
 Profile  
 
 Post subject: Re: Better support for Viewer Destinations/Guide function
PostPosted: Fri Sep 04, 2020 10:33 pm 

Joined: Sat Jul 25, 2020 11:43 pm
Posts: 13
Location: Dallas, TX
Thanks! That link you provided to the popular regions page on the osgrid website is exactly what I'd like to see in the guide. That means osgrid already has the info, it just needs to be formatted to work in the guide. That sounds like it should be fairly easy to do for someone who has access to it.

But it sounds like getting regions added to the categories is quite a bit more complicated. So it can't be done by an editor (like adding content to wiki)? Each region has to be added only by the owner of the region? I understand why it's nearly empty then, too much work! :)


Top
 Profile  
 
 Post subject: Re: Better support for Viewer Destinations/Guide function
PostPosted: Fri Sep 04, 2020 11:16 pm 
Furious Typer
User avatar

Joined: Fri Mar 26, 2010 12:11 pm
Posts: 298
Location: Belgium / Brussels
Placing a script in a prim on your region is not very complicated I think ... :P

It's very similar to the OpenSimWorld "Beacon" script and as you can see there are a lot of regions in the OpenSimWorld guide.

So I would say the "problem" is probably somewhere else ...

_________________
Webmaster @ digitalconcepts.free.fr & digigrids.free.fr


Top
 Profile  
 
 Post subject: Re: Better support for Viewer Destinations/Guide function
PostPosted: Sun Sep 06, 2020 9:46 am 

Joined: Sat Jul 25, 2020 11:43 pm
Posts: 13
Location: Dallas, TX
Well, motivating region owners is not something I can help with in any case. But I can help with adding the popular sites to a category in the guide if I can find out where to get access to the code that generates it. I haven't found the repo for OSgrid code yet. If anyone can point me to it, that would be awesome.


Top
 Profile  
 
 Post subject: Re: Better support for Viewer Destinations/Guide function
PostPosted: Sun Sep 06, 2020 12:12 pm 
Furious Typer
User avatar

Joined: Fri Mar 26, 2010 12:11 pm
Posts: 298
Location: Belgium / Brussels
There is no deposit for the osgrid site (unless I am mistaken).
However, the Osgrid site is designed with a Drupal, d4os (for drupel 7), osguide, oswhereavatar, osminimap, webmap base, all customized ...

There you have all the links now :)

You will notice the existence of an "order by" bar on the original osguide wall page.
This may perhaps facilitate your future work ...

{L_IMAGE}

But nothing guarantees that your silk work accepted by the Osgrid team, so I suggest you check them out first. :P

_________________
Webmaster @ digitalconcepts.free.fr & digigrids.free.fr


Last edited by dj phil on Tue Sep 22, 2020 5:34 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Better support for Viewer Destinations/Guide function
PostPosted: Sun Sep 06, 2020 12:41 pm 

Joined: Sat Jul 25, 2020 11:43 pm
Posts: 13
Location: Dallas, TX
dj phil {L_WROTE}:
But nothing guarantees that your silk work accepted by the Osgrid team, so I suggest you check them out first. :P


Thanks! I agree, that's why I posted here. I was hoping to get in contact with the devs. Tried the osgrid irc too. No luck yet but I'll keep looking around...


Top
 Profile  
 
 Post subject: Re: Better support for Viewer Destinations/Guide function
PostPosted: Sun Sep 06, 2020 1:46 pm 
Furious Typer
User avatar

Joined: Fri Mar 26, 2010 12:11 pm
Posts: 298
Location: Belgium / Brussels
If you haven't already found it, here is the link to the destinations guide page for the viewer.

Good luck :)

_________________
Webmaster @ digitalconcepts.free.fr & digigrids.free.fr


Top
 Profile  
 
 Post subject: Re: Better support for Viewer Destinations/Guide function
PostPosted: Sun Sep 06, 2020 3:33 pm 

Joined: Sat Jul 25, 2020 11:43 pm
Posts: 13
Location: Dallas, TX
I guessed we could add a category=0 in the destination guide and shove the results from the popular regions query in there. So "Popular Regions" would be the first category in the guide. But it looks like category = 0 and category = -1 have a special meaning in destinations-inworld.php. I don't quite follow what they're used for yet. It looks like both values dump a list of all regions found in all categories? I wonder if -2 and -1 could be used for those and 0 could become the popular regions category? Does that seem possible or does a Second Life standard define what category values can be used? And, of course, I can only guess what the OSgrid version of the code looks like, they might have modified it.


Top
 Profile  
 
 Post subject: Re: Better support for Viewer Destinations/Guide function
PostPosted: Sun Sep 06, 2020 4:58 pm 
Furious Typer
User avatar

Joined: Fri Mar 26, 2010 12:11 pm
Posts: 298
Location: Belgium / Brussels
The categories come from viewers (more info @ floater_directory.xml).
To see it in action, open your viewer search on the "Places" tab.

This is linked to the parcels table of opensim search module.
You will therefore also find this list of categories in your viewer.
See menu world > about land > options.

You can also add an ORDER BY in the sql request of destination-inworld.php, which allows to display the populated regions directly. Either for all categories or by category, etc, etc ...

_________________
Webmaster @ digitalconcepts.free.fr & digigrids.free.fr


Top
 Profile  
 
Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 10 posts ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of Gamexe.net