Sie sind nicht angemeldet.

MikeMcFarlane

Anfänger

  • »MikeMcFarlane« ist der Autor dieses Themas

Beiträge: 13

Wohnort: Moscow

Beruf: Photographer and virtual tour maker

  • Nachricht senden

1

Dienstag, 8. März 2011, 16:44

e-card plugin not working in all tour panos

Hi,
First post, I hope you guys and gals can help. Please assume nothing, I'm a total beginner. Having spent a few weeks looking through XML and creating a few basic tours I know enough to read xml, but not much more.

I've integrated the e-card plugin into a tour I am working on. I have created the tour in Panotour Pro with a customised xml theme that should pull in the relevant bits of the e-card plugin. I have also bought the full version of krpano to get access to all the plugins, but in this tour I have used the license that came with Panotour. I don't think this is an issue as the plugin works initially, but thought I would say just in case.

In the first pano of the tour, the e-card works fine (it's great, such a cool feature), but in subsequent panos (and if I navigate back to the first pano) then the e-card plugin doesn't appear to start ie the 'camera viewfinder' (I guess the swf bit) doesn't appear.
By accident whilst working through my xml against Falko's example xml I got an error message box up with the following in:

WARNING: unknown action command: plugin[ecard].showecard

(Just as a side question, is there a way to normally show debug information, like an error console? This error box only showed up because I was missing a png for the tour, not for the above error.)

It's like the plugin needs reinitialising or I need to set something on xml complete. I really don't know. I've looked through the code for a couple of days now and can't see anything amiss.

My code is attached.

Thanks in advance

Mike
»MikeMcFarlane« hat folgende Dateien angehängt:
  • druridge0.xml (4,54 kB - 75 mal heruntergeladen - zuletzt: Heute, 05:30)
  • druridge1.xml (3,81 kB - 75 mal heruntergeladen - zuletzt: Heute, 05:30)
  • druridge.xml (8,09 kB - 74 mal heruntergeladen - zuletzt: Heute, 05:30)
Bio: Generation fluxer - farmer, mechatronics engineer, project manager, climbing shop manager, landscape photographer, programmer, virtual panographer, cyclist, life lover.
Twitter: MikeJMcFarlane
email: moo@moosooboo.com
www: www.moosooboo.com

2

Dienstag, 8. März 2011, 17:09

(Just as a side question, is there a way to normally show debug information, like an error console? This error box only showed up because I was missing a png for the tour, not for the above error.)


the 'o' key on your keyboard will show the console. I have also bougth the ecard plugin but have not gotten it working i had an issue with my php installation so i moved my site to a brand new server and have not gotten back to it yet. do you have keep="true" on the ecard plugin?

MikeMcFarlane

Anfänger

  • »MikeMcFarlane« ist der Autor dieses Themas

Beiträge: 13

Wohnort: Moscow

Beruf: Photographer and virtual tour maker

  • Nachricht senden

3

Dienstag, 8. März 2011, 18:05

Hi VN2011
You are like hero! I had keep="true' set in one part of the ecard plugin (ecard_btn), but not the ecard plugin. Added it in and away it goes. I guess I should have read the 'keep' bit in documentation!
'o' didn't work. Will it be the same on a Mac? Do I need to enable a particular plugin?
Many thanks.
Mike
Bio: Generation fluxer - farmer, mechatronics engineer, project manager, climbing shop manager, landscape photographer, programmer, virtual panographer, cyclist, life lover.
Twitter: MikeJMcFarlane
email: moo@moosooboo.com
www: www.moosooboo.com

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

4

Dienstag, 8. März 2011, 18:21

On mac it's the same.
Put logkey="true" in the onstart.
Tuur *thumbsup*

5

Dienstag, 8. März 2011, 18:55

Hi all,
Put logkey="true" in the onstart.
That's not exactly true *thumbsup* *rolleyes* ...
Put logkey="true" inside the root node <krpano> ;-) ...
Have a look here: logkey

SAlut.

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

MikeMcFarlane

Anfänger

  • »MikeMcFarlane« ist der Autor dieses Themas

Beiträge: 13

Wohnort: Moscow

Beruf: Photographer and virtual tour maker

  • Nachricht senden

7

Mittwoch, 9. März 2011, 11:19

Hi Tuur and Michel

Thanks for advice. Got that working. Are there any issues with leaving this set to run all the time? Performance, security?

I'm spending the day reading the krpano documentation today, try and avoid some of these rtfm questions.

Kind regards

Mike
Bio: Generation fluxer - farmer, mechatronics engineer, project manager, climbing shop manager, landscape photographer, programmer, virtual panographer, cyclist, life lover.
Twitter: MikeJMcFarlane
email: moo@moosooboo.com
www: www.moosooboo.com

Ähnliche Themen