You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

1

Tuesday, July 16th 2013, 10:03pm

Side Menu Plugin (new plugin from today)

Hi all

I want to inform you that from today in section plugins there is new xml based plugin "Side Menu Plugin" for automatic menu structure and all graphic elements placement on your pano.
No need for advanced coding. Follow the easy to use instruction and use examaple for your needs. It is free to use. Feel free to adapt the code for your needs.

Link to plugin

Thanks for those of you testing it during development and helping me to improve it.
Feedback and improvement proposals are welcome.

Regards
Umalo

Arsdezi

Intermediate

Posts: 174

Location: Ukraine

  • Send private message

2

Wednesday, July 17th 2013, 2:36am

Umalo, this is very usable example for many!
I'll take it! *thumbup*
Panoreal — to make and see this wonderful world! *whistling*

Arsdezi

Intermediate

Posts: 174

Location: Ukraine

  • Send private message

3

Wednesday, July 17th 2013, 2:51am

donate error

Umalo check you settings for receive funds in PayPal
"Your recipient is not able to receive funds at this time. Your recipient must first set up his or her account to receive funds."
Panoreal — to make and see this wonderful world! *whistling*

4

Wednesday, July 17th 2013, 4:43am

thanks!

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

5

Wednesday, July 17th 2013, 2:21pm

Umalo check you settings for receive funds in PayPal
"Your recipient is not able to receive funds at this time. Your recipient must first set up his or her account to receive funds."
It should be ok now. Thx.

6

Wednesday, July 17th 2013, 4:38pm

As already told by mail - a great and well done plugin!

Best regards,
Klaus

yasarcan

Trainee

Posts: 44

Location: Türkiye

Occupation: Computer Teacher

  • Send private message

7

Sunday, September 8th 2013, 1:27pm

hello,
I use this plugin but I dont succeed.

I have virtual tour =>
1- building A
a- section 1 => VTOUR (MULTIRES) droplet 10 panos (example section1.xml)
b- section 2 => VTOUR (MULTIRES) droplet 5 panos (example section2.xml)

2- building B
a- section 1 ...
b- section 2 ...

3- ...


Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<krpano initiate_menu();">
  
	<include url="sidemenu.xml" />
	

	<!-- define menu item -->

			<group name="level_0">
				<group name="object_1"   value="Yenibosna Kampüsü"						link="switch_menu(1);"/>
				<group name="object_2"   value="Marmara Evleri 1 Kampüsü" 				link="switch_menu(2);"/>
				<group name="object_3"   value="Marmara Evleri 2 Kampüsü" 				link="switch_menu(3);"/>	
				<group name="object_4"   value="Bizimevler 2 Anaokulu" 			 		link="load_pano(bizimevler2.xml)"/>
				<group name="object_5"   value="Güzelşehir Anaokulu" 			 		link="load_pano(guzelsehir.xml)"/>
			</group> 
			
			<group name="level_1">
			  <group name="object_1"  value="1- Yenibosna Kampüsü Genel"					link="load_pano(yenibosnagenel.xml)"/>
			  <group name="object_2"  value="2- Yenibosna Kampüsü Anaokulu"					link="load_pano(yenibosnaanaokulu.xml)"/>  
			  <group name="object_3"  value="3- Yenibosna Kampüsü İlkokul/Ortaokul"			link="load_pano(yenibosnailkogretim.xml)"/> 
			  <group name="object_4"  value="4- Yenibosna Kampüsü Ortaöğretim"				link="load_pano(yenibosnalise.xml)"/>
			</group> 
			
			<group name="level_2">
			  <group name="object_1"  value="1- Marmara Evleri 1 İlkoul/Ortaokul"		link="load_pano(marmara1ilkogretim.xml)"/>
			  <group name="object_2"  value="2- Marmara Evleri 1 Ortaöğretim"			link="load_pano(marmara1lise.xml)"/>
			</group> 
			
			<group name="level_3">
			  <group name="object_1"  value="1- Marmara Evleri 2 Anaokulu"			link="load_pano(marmara2anaokulu.xml)"/>
			  <group name="object_2"  value="2- Marmara Evleri 2 Ortaöğretim"		link="load_pano(marmara2lise.xml)"/>
			</group> 
  
</krpano>


for example menu first click is work pano.
but second click
INFO: krpano 1.16.6 (build 2013-08-09)
INFO: Flashplayer WIN 11.8.800.94 ActiveX
INFO: registered to: Yasar Canturk
WARNING: Locally not trusted - ExternalInterface NOT available!
ERROR: XML parsing failed - TypeError: Error #1009
ERROR: loadscene() - scene "scene_01_marmara_evleri_1_lise_koridor" not found


this error why?

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

8

Sunday, September 8th 2013, 3:32pm

Seams you mixed xml and scene loading. Also seams you want to merge two or more panoramas with this plugin and that is not the purpose of it.
The best would be you to send me the code on PM or mail (prefered) and I will take a look.
Code below is confusing. You are loading separate xml for each panorama and still have scene load error that mean there is loadscene/loadxml mix in the code.
Plugin can load both but without the code I can't help you more.

andrew22222

Intermediate

Posts: 341

Location: Australia

  • Send private message

9

Saturday, September 21st 2013, 6:09am

How to have menu closed on start?

Hi,

Could anyone please let me know how to change the code so that just the 'Menu' tab is visible when the tour starts instead of the default open menu with background like in the example?

I'd like to let people open it themselves by clicking on 'Menu' rather than it be there straight away.

Many thanks,

Andrew

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

10

Saturday, September 21st 2013, 9:55pm

quick solution would be:
- change background_x="0" =>

Source code

1
2
<menu_settings background_width="250"
background_x="-250"

and
- change visiblity of the btn_menu plugin in the onloaded part of definition:

Source code

1
2
3
<plugin name="btn_menu"....
onloaded="set(height,get(menu_settings.btn_menu_height));set(back_x,get(menu_settings.btn_back_x));set(x,get(back_x));set(back_y,get(menu_settings.menu_0_text_y_start));set(y,get(back_y));set(plugin[btn_menu].visible,true);
set(plugin[btn_menu].onclick, slide_menu_right(); );"

This two changes are all you need to change.

andrew22222

Intermediate

Posts: 341

Location: Australia

  • Send private message

11

Sunday, September 22nd 2013, 4:06am

Thanks very much for the quick reply and working solution. I'm glad I got in touch as I'd certainly have had problems trying to work out that xml code although looking at it I now see how it works.

Cheers.

Andrew

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

12

Sunday, September 22nd 2013, 11:41am

*thumbup*

Arsdezi

Intermediate

Posts: 174

Location: Ukraine

  • Send private message

13

Sunday, September 22nd 2013, 7:43pm

not for "windowed" embed vr-tours

Nice but… I wanted to use this plugin, but unfortunately it turned out that it is only suitable for fullscreen mode, or when few items in groups.
When height of the window is 800 pixels, when twice smaller of the logo(in the example), fits no more than 18 elements in the group!
Not a universal variant unfortunately *unsure*

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

14

Sunday, September 22nd 2013, 8:39pm

You are partially right. This version on side menu is not for unlimited number of items.But the code is open and with just a few tweaks you can make easy 30 items in the list on 800px height even with Klaus GUI on it. Here you can see my test:

Have already prepared scrolling version but still no ready ;(

Arsdezi

Intermediate

Posts: 174

Location: Ukraine

  • Send private message

15

Sunday, September 22nd 2013, 10:05pm

it's Me on picture?))))
Thank you!
I'll try to apply your advice and change the default configuration for fit of the menu in low height size window!

16

Tuesday, October 29th 2013, 4:56pm

Thank you.

Umalo

Professional

  • "Umalo" started this thread

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

17

Wednesday, November 6th 2013, 11:08pm

Some of you posted me requests to add thumbs on the side menu.
Here is example with thumbs online: Link

Updated code is here:
sidemenu.xml
example.xml
Package (new xml files + thumb folder example) is: here

Hope this is what some of you have asked for?
Note: this version might need some testing so if you find some bugs please report directly on my mail or PM. Thx

Arsdezi

Intermediate

Posts: 174

Location: Ukraine

  • Send private message

18

Thursday, November 7th 2013, 1:56pm

Nice! But very small tmbs)
In practice, this solution is usable only for desktop(

19

Wednesday, February 19th 2014, 6:58pm

it's not work in krpano 1.16.9
I was thinking I did something wrong. But checked on an earlier version. Everything is OK.
So there is some problem in plugin with krpano 1.16.9



20

Wednesday, February 19th 2014, 7:28pm

seems to understood. sorry.