I own the rights to the following page: http://www.westcoastvirtualtours.com/tours/pop-up.php?tour_id=2656 What I am trying to accomplish is taking the code for the tour and the drop down and putting it in another page on my site so that it is not an external link to another website. The page I will be using the code in is a WordPress site. I just want users to be able to view that virtual tour without clicking a link to an external site. I am willing to pay for someone to help me with this.
Why don't you move the files from http://www.westcoastvirtualtours.com/tours/pop-up.php?tour_id=2656 to your wordpress site?
I don't own the server or have access to it, but I own the rights to that info and the tour and pictures.
On your wordpress site create a php file and name it: e.g. worldtour.php, and place the follow code inside it - and save it. <?php $id = $_GET['tour_id']; ?> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="950" height="550" align="middle"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="http://www.westcoastvirtualtours.com/tours/show_tour.swf?tourId=<?php echo $id; ?>" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <param name="bgcolor" value="#999999" /> <embed src="http://www.westcoastvirtualtours.com/tours/show_tour.swf?tourId=<?php echo $id; ?>" quality="high" wmode="transparent" bgcolor="#999999" width="950" height="550" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> PHP: Then simply access it like http://www.your-wordpress-site.com/worldtour.php?tour_id=2656 Payment is not required - but donations are accepted.
danx, I am trying to have that file incorporate into my, I assume if I have that code in a php file I could then do an include into wordpress?
It get parse errors everywhere... Anyways, there has to be a way to do this. I just basically want to embed that page into my site so that the end user isnt whisked away to another website.
I've just tested the code i pasted, and it works fine... I'm not familiar with wordpress (never had the need to use it). But i'd assume your getting them errors because your including it in the wrong place, - (it's probably clashing with other wp-code). Just copy the code in a new php file, and open it in a js popup or something. (that way you'd avoid the integration trouble, and it would seem to any average visitor as if its hosted by you, not a remote site). Unless a WP-wiz can help you.
What I was looking for instead was a way to embed the code in my site so that it would remain within my WP template...