You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2012-08-02 14:05:04

savski
Member
From: Zürich
Registered: 2011-11-03
Posts: 33
Website

How to link to KR Plugins from Autopano Pro interface?

Hi all,

Apologies if this is a bit of a stupid question hmm I have had a scan through the forum but alas, no joy. Anyway, I have just purchased this neat 'ecard' plugin from
Fotodesign (http://krpano.com/plugins/userplugins/ecard/) and now I need to implement it.

I understand from the Fotodesign instructions that I need to upload the folder containing all the code to my server, and apparently I can customise various things at a later date to suit the size and look etc. That's okay, I'll look at that later.

The first thing I need to do is actually embed the ecard into my 360 Pano and I'm struggling to find out how I do this. I am assuming it is on the tab 'Project Properties' and then 'embed xml' files?

This is the first time I have done anything outside of Panotour and I am not familiar with xml and its workings - can anybody out there help? Maybe even somebody is using this ecard plugin already?

As always, many thanks in advance for your help.

Ian.

Offline

 

#2 2012-08-02 15:07:43

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9709
Website

Re: How to link to KR Plugins from Autopano Pro interface?

You cannot implement third party plugins via the Panotour Pro (PTP) GUI in the current version of PTP.

You need to have Panotour Pro and the choose NoT to embed the XML files.

Thereafter you can edit the XML files generated by PTP according to the requirements of the eCard plugin.

The XML files are text files and can be edited with any text editor.


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#3 2012-08-02 17:39:10

savski
Member
From: Zürich
Registered: 2011-11-03
Posts: 33
Website

Re: How to link to KR Plugins from Autopano Pro interface?

Hi Andrew, thanks for your reply. I have Panotour Pro and I can see where I can uncheck the box to not embed XML files, but I still don't know how I make the connection from my 360 pano to the folder sitting on my server that contains the XML files. Could you explain? Many thanks.

Offline

 

#4 2012-08-02 18:00:44

gkaefer
Member
From: Salzburg
Registered: 2009-06-09
Posts: 2673
Website

Re: How to link to KR Plugins from Autopano Pro interface?

what and how in this xml files can be done can be read here:
http://krpano.com/docu/xml/index.php?lang=en
Georg

Last edited by gkaefer (2012-08-02 18:01:16)

Offline

 

#5 2012-08-02 18:12:57

savski
Member
From: Zürich
Registered: 2011-11-03
Posts: 33
Website

Re: How to link to KR Plugins from Autopano Pro interface?

Thanks. I have read the information (This is where I bought the plug-in) and it goes into lots of detail about the xml stuff which is great, but I would like to learn about to make the 'link' in PTP.

Mmmmm. How can I explain this.

Let's say I want to create a hotspot in PTP and launch an image when somebody clicks on the hotspot: I would create a hotspot, go to 'hotspot properties' and then select my image using the 'object' field in the link section. The link is made - Job done.

So, in the same way, if I wanted to create a LINK to the e-card how do I do it in the PTP GUI?

Thanks.

Offline

 

#6 2012-08-02 19:35:50

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9709
Website

Re: How to link to KR Plugins from Autopano Pro interface?

savski wrote:

Thanks. I have read the information (This is where I bought the plug-in) and it goes into lots of detail about the xml stuff which is great, but I would like to learn about to make the 'link' in PTP.

Mmmmm. How can I explain this.

Let's say I want to create a hotspot in PTP and launch an image when somebody clicks on the hotspot: I would create a hotspot, go to 'hotspot properties' and then select my image using the 'object' field in the link section. The link is made - Job done.

So, in the same way, if I wanted to create a LINK to the e-card how do I do it in the PTP GUI?

Thanks.

As I've already told you it cannot be done from the PTP GUI.

You will have to edit the XML files generated by PTP.

Last edited by mediavets (2012-08-02 19:38:30)


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#7 2012-08-02 19:51:45

savski
Member
From: Zürich
Registered: 2011-11-03
Posts: 33
Website

Re: How to link to KR Plugins from Autopano Pro interface?

Thanks again for your info. Unfortunately I have no idea what 'You will have to edit the XML files generated by PTP' means.

I'll leave this thread alone now as I'll probably annoy the hell out of people. But if anybody happens to read it over the next couple of days that has implemented the same e-card plugin, and has the time to explain in layman terms what I need to do, it would be much appreciated.

Offline

 

#8 2012-08-02 20:18:34

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9709
Website

Re: How to link to KR Plugins from Autopano Pro interface?

savski wrote:

Thanks again for your info. Unfortunately I have no idea what 'You will have to edit the XML files generated by PTP' means.

OK - PTP/PTP are GUI front-end authoring tools that generate XML format command files for the krpano Panorama Viewers.

It is also possible to create these command files from scratch by hand, PT/PTP just make it a lot easier to create tours although they don't offer access via the GUI to every bell and whistle offered by krano.

If you have Panotour Pro (as opposed to Panotour) then you can choose to make the XML format command files generated by PTP accessible for further hand editing using a text editor.

The screenshot shows how you should uncheck/deselect the Embed XML files option in Tour Build tab to make the XML files accessible for further editing.

And then after building the tour use the menu option highlighted to acces the XML command files that PTP has created for your tour.

There is a main XML file and then further XML files, one for each pano scene in the tour which have numeric suffixes in their filenames.

If you examine  the XML files and compare their contents (which are annotated with explanatory comments) with the instructions provided for integrating the eCard plugin then with a little effort I think you'll be able to work out what to do.


Uploaded Images

Last edited by mediavets (2012-08-02 20:44:24)


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#9 2012-08-02 20:27:34

gkaefer
Member
From: Salzburg
Registered: 2009-06-09
Posts: 2673
Website

Re: How to link to KR Plugins from Autopano Pro interface?

savski wrote:

Thanks again for your info. Unfortunately I have no idea what 'You will have to edit the XML files generated by PTP' means.

I'll leave this thread alone now as I'll probably annoy the hell out of people. But if anybody happens to read it over the next couple of days that has implemented the same e-card plugin, and has the time to explain in layman terms what I need to do, it would be much appreciated.

I' cant give you solution for your problem.

the plugin you wrote about is from krpano's plugin page... so there are also a forum where you can find questions to plugins...
... but asking there something like "how can I link the plugin to the panotour created xml code" will also give you failing answers - there in most cases they have no indeep knowhow to panotour code...

so sitting between 2 chairs...

but, I think in any case you need to be willing to edit the code... and to learn it how to do it... its no science and not really a programming language:

create your panotour pro tour by not embedding the xml files.
open the windows explorer where you saved/exported your tour to.
open a normal text editor capable opening ASCII text files.
now open the .xml files in your texteditor. the files contain code blocks like <krpano> .... </krpano> (opening and closing of the statement ... etc.... under documentation of krpano.com page you can review the meaning of the statements and which options can be used inside each statement.
and the documentation of your plugiun:
http://www.krpano.com/plugins/userplugins/ecard/#top
there is a usage block...
and you can also find an example package you can download there... so download it and open the files in the texteditor... again by reviewing the files and comparing the blocks with the descriptions of these blocks in the docu pages you can - step by step - learn hwo the system works...

Liebe Gruesse,
Georg

Last edited by gkaefer (2012-08-02 20:29:34)

Offline

 

#10 2012-08-03 07:13:33

savski
Member
From: Zürich
Registered: 2011-11-03
Posts: 33
Website

Re: How to link to KR Plugins from Autopano Pro interface?

Andrew/Georg, thank you both for your time and patience in explaining this in a little more detail - I will digest the information you have given me and see if I can make it work over the weekend. I'll report back and let you know how I got on. Thanks again, it is really appreciated. Have a good weekend!

Cheers,

Ian.

Offline

 

#11 2012-08-31 18:56:25

savski
Member
From: Zürich
Registered: 2011-11-03
Posts: 33
Website

Re: How to link to KR Plugins from Autopano Pro interface?

Hi all,

I'm still struggling along with this one. I've no problem understanding the instructions above and as per the e-card instructions I have added the following line to my xml file:

<plugin name="ecard" url="ecard.swf" scriptpath="ecard.php" />

I have also uploaded the contents of the php5 folder to server in order to test it. However, when I launch the flash file with my virtual tour I get simply get a black screen with the message: Licence Error.

The Virtual tour works perfectly well if I don't have the e-card in there.

I have been trying to get some support from the guy that wrote the e-card but he is shockingly bad at replying. After emailing him three times and waiting three weeks he simply said:

"This black screen/license error is from krpano, do you have uploaded the krpano license file ?"

He hasn't replied to my answer yet, so I guess I have to wait another three weeks.

Anybody out there have any ideas!?

Ian.

Offline

 

#12 2012-09-05 19:36:25

savski
Member
From: Zürich
Registered: 2011-11-03
Posts: 33
Website

Re: How to link to KR Plugins from Autopano Pro interface?

Thanks Ed, I followed your instructions and rebuilt the tour, now when I launch it I don't get the licence error. One thing out of the way!

The only problem is the e-card still does not appear in the tour - aaarrrrgh! mad I launch the tour and it just runs normally without any extra buttons for the e-card, which should appear automatically right?

As per the kind suggestions from Georg and Andrew in this post I have added the info: <plugin name="ecard" url="ecard.swf" scriptpath="ecard.php" /> to all of my xml files. See Screenshot 1.

Below are the official instructions and what I have done:

1.) Copy the entire contents of your PHP version (4 or 5.x) folder to your webspace
    (for example, "for_servers_with_php4").
    Insert your additional krpano license in this folder on your webspace.

    Note:     The demo project contains the free-phpmailer class (License: LGPL).
            This is not a part of your purchase and the e-card plug-in.
            The integration of this phpmailer class is designed purely for demo purposes
            and can be disabled if required.
           
- THIS I HAVE DONE: I HAVE COPIED ALL OF THE PHP5 FILES DIRECTLY INTO THE FOLDER THAT RUNS THE VIRTUAL TOUR ON MY SERVER, WHICH I ASSUME IS CORRECT. THE INSTRUCTIONS DO NOT SPECIFY. - SEE SCREENSHOT 2

2.) Adjust the configuration of the ecard.php and ecard_manageemail.php.
   
    Minimum:    $checkoutpath        (ecard.php)
                $adminmail            (ecard_manageemail.php)
                $checkinpath        (ecard_manageemail.php)
                $successsite_out    (ecard_manageemail.php)
                $successsite_in        (ecard_manageemail.php)
                $errorsite            (ecard_manageemail.php)
                $errorsite_save        (ecard_manageemail.php)

THIS I HAVE DONE - NO ROCKET SCIENCE.

3.) Give the image folder "ecards" the full rights (read, write and execute).
    (Linux: chmod 777)

DONE.

4.) Browse to your page and test the e-card plug-in.

DOESN'T WORK!

I'm very tempted to just forget the whole thing but I have spent so many hours faffing around with it that I can't let it go. Can anybody see what I have done wrong?

Here's a link to the tour if you are interested: http://www.flowmotion360.net/2012/test_ … ltour.html

Many thanks in advance.

Ian.


Uploaded Images

Offline

 

#13 2012-09-06 08:40:15

bdd
Administrator
Registered: 2011-01-18
Posts: 621
Website

Re: How to link to KR Plugins from Autopano Pro interface?

Hello,

I add a quick look to your code, and to your tour, I did not investigate a lot on the ecard plugin so what I'll tell you may not be enough.
You need to add the attribute "keep" on your plugin.
Modify your line :
<plugin name="ecard" url="ecard.swf" scriptpath="ecard.php" />

Like this :
<plugin name="ecard" url="ecard.swf" scriptpath="ecard.php" keep="true"/>

Without it, your plugin will be unavailable when loading a new panorama.
Gérald

Offline

 

#14 2012-09-06 14:10:05

savski
Member
From: Zürich
Registered: 2011-11-03
Posts: 33
Website

Re: How to link to KR Plugins from Autopano Pro interface?

Thanks for the posts guys, I will reply to both here:

Hi Gérald, I modified all of my xml files so they now show: <plugin name="ecard" url="ecard.swf" scriptpath="ecard.php" keep="true"/>

Unfortunately it hasn't made any difference sad Maybe it will work in conjunction with the changes that Ed suggests..............

Hi Ed,

Firstly, thanks for the advice on straightening the lines, I will definitely check that out - much appreciated.

Secondly, in which file do I add the extra code you have shown? The xml files, ecard.php or ecard_manageemail.php?

It seems crazy that this extra code isn't mentioned anywhere in the instructions, how could they expect non-experts to automatically know all this stuff!?

Thanks in advance.

Ian.

Offline

 

#15 2012-09-06 20:34:31

savski
Member
From: Zürich
Registered: 2011-11-03
Posts: 33
Website

Re: How to link to KR Plugins from Autopano Pro interface?

I don't believe it, the e-card is now actually working! big_smile

Ed, I had seen those lines of code before but I thought they were for customising purposes, and I assumed they were not needed to get the basic thing up and running. Anyway, thanks to everybody that contributed to this post and helped me get the end-result. Incredibly generous (Not to mention patient! wink) bunch of people out there.

If anybody else comes across this post and needs help, I have documented everything in detail for future reference. More than happy to pass this on.

All the best,

Ian.

Offline

 

#16 2012-10-20 01:09:03

Air Photo Colombia
Member
From: Colombia
Registered: 2012-10-17
Posts: 21
Website

Re: How to link to KR Plugins from Autopano Pro interface?

Hi, i cheek your pano and works perfect, congratulations, i also reed all the pos because i have the same problem first don't know anything about codes but i have to start.
second i buy the ecard and have no idea how to start lol.

can you help me whit the manual that already made, thanks.


Luis Velasquez
Colombia
www.airphotocolombia.com

Offline

 

#17 2012-10-20 17:16:37

savski
Member
From: Zürich
Registered: 2011-11-03
Posts: 33
Website

Re: How to link to KR Plugins from Autopano Pro interface?

Hi Luis,

If you send me your email address I will send what I have.

Regards,

Ian.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson