![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
Pages: 1
Hi all,
Apologies if this is a bit of a stupid question
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
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.
Offline
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
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
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
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)
Offline
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
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.
Last edited by mediavets (2012-08-02 20:44:24)
Offline
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
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
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
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!
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.
Offline
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
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
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
I don't believe it, the e-card is now actually working! ![]()
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!
) 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
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.
Offline
Pages: 1
Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
|
CHOOSING KOLOR Why choose Kolor? Which solution to choose? Download a trial Where can I buy? Education |
SOFTWARE Autopano Pro Autopano Giga Panotour Panotour Pro XnView |
ACCESSORIES Training DVD Panobook PROJECTS Paris 26 Gigapixels Yosemite 17 Gigapixels |
COMMUNITY Forums YouTube channel Google+ |
COMPANY Blog About Kolor Resellers Contact Visit us |
PRESS Press center Press review TOOLS My account |
