Access control to virtual tour

Q&A about the latest versions
Post Reply
Nougatti
Posts: 15
Joined: Thu Aug 18, 2016 12:57 pm

Hi,

I have searched this forum and the docs but can't seem to find any info regarding the preferred way of controlling acces to a tour. Is this possible in Pano2VR?
Anybody that can point me in the correct direction or provide some more info?

Kind regards.
User avatar
Svendus
Posts: 687
Joined: Sun Jan 06, 2008 11:03 am
Location: Sweden
Contact:

Hi Nougatti
Yes if is it direct node accesses you are after?

Image

when it is checked just ad #node1 ,2 ,3 ,4 after the .html link

Regards Svendus
Image Image
Nougatti
Posts: 15
Joined: Thu Aug 18, 2016 12:57 pm

Thx for the tip Svendus, didn't know this option on the HTML template, but what I am really after is a way to control access to the tour itself.
So, ideally a user should get some kind of a login dialog before he can access the tour.

Rgrds
User avatar
k.ary.n
Gnome
Posts: 616
Joined: Wed Aug 15, 2007 1:02 pm

You can enable Domain Locks with the Flash output, but not HTML5.
User avatar
Svendus
Posts: 687
Joined: Sun Jan 06, 2008 11:03 am
Location: Sweden
Contact:

check this link on htaccess
Image Image
User avatar
Hopki
Gnome
Posts: 13029
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
This would be something you would get a web developer to do but you can make this using the skin editor and logic blocks.
Use a variable number then have a rectangle cover the tour.

You can then make a keypad that has numbers or colours, each has a set variable actions.
You can then say the rectangle will hide when a number is reached.
Just make sure that the right combination = the required number.
Wrong numbers would set a number above the required.
A reset button would set the variable back to 0.

Example if variable = 9 then hide the rectangle.

So three buttons.
1st set variable to +5
2nd set variable -2
3rd set variable x 3

This way the buttons have to be selected in the correct order.

If you have text boxes with 0 to 9 and the code was 8, 5, 2.
8 being +5, 5 being -2 and 2 being x 3 then all the other buttons would set the variable value to 10.

Only 852 would show the pano, any other combination would fail.
A reset button would set the variable back to 0.

You can of course make up more complex variables so Set 10, divide by 2 then + 4 = 9.
Or have higher numbers and more key combinations.
Regards,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Nougatti
Posts: 15
Joined: Thu Aug 18, 2016 12:57 pm

Hi,

Thanks for all the suggestions.
I have looked into manipulating the htaccess file and will develop a basic user administration module using a combination of JavaScript and php.

Kind regards
Post Reply