Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 39

Thread: MOD - Virtual Tour Module [091304]

  1. #11
    Join Date
    Jul 2003
    Location
    California
    Age
    42
    Posts
    4,229

    Default

    You'll have to put all the javascript functions on that page inside the <head> tag. All the control buttons are controlled by the javascript.

    Also, for the forward and back button they now have a speed setting in their functions as well so you'll need to edit that. Here are the functions (part to edit is in RED:

    function AutorotationStartRight()
    {
    getptv().startAutoPan( 0.1, 0.0, 1.0 );
    }

    function AutorotationStartLeft()
    {
    getptv().startAutoPan(-0.1,0.0,1.0);
    }
    Open-Realty 2 Documentation

    ~The Difference Between an ORDEAL and an ADVENTURE is ATTITUDE~

  2. #12
    Join Date
    Mar 2004
    Posts
    14

    Default

    After much messing about with functions and javascript I found only the virtual tour or the listing data would work not both. Since I have found a simple soultion using html <iframe> tags.

    eg.
    Code:
     
    <tr >
    	 <td colspan="2">
    	 <div align="center">
    			 <iframe frameborder="0" height="390" width="410" src="/virtualtour.php?listingID=<?php echo listingID ?>" />																																																																																																																																																																																																																													 
    	 </div>				
    		 </td>
    I have also got the speed on the buttons to work.

    Thanks for your help. Great mod.

  3. #13
    Join Date
    Jul 2003
    Location
    California
    Age
    42
    Posts
    4,229

    Default

    ewww.. iframe


    maybe since i'm off work for a while i'll try to find some time to make a listingview page with this integrated
    Open-Realty 2 Documentation

    ~The Difference Between an ORDEAL and an ADVENTURE is ATTITUDE~

  4. #14
    Join Date
    Sep 2004
    Age
    40
    Posts
    231

    Smile i think stand alone in its own window is best

    i mean people might have bright ideas but not alot of people consider time and speed. effectiveness. efficentcy. did i spell that right? well either way. yes iframe ewwww.

  5. #15
    Join Date
    Mar 2004
    Posts
    14

    Default

    Stand alone is fine. I am offering Agents a choice of listingview layouts one of which they can choose a virtual tour embeded. Some users are not so keen on pop ups probably associating them with pescy adverts.

    I see today that Real Estate was trying to achieve the same
    http://www.open-realty.org/support/s...ead.php?t=3670
    Hello guys,

    I tried to add the agent contact info to the
    virtualtour.php?listingID=100


    I added this line of code only:
    <?php renderUserInfoOnListingsPage($listingID) ?>

    The tour works fine. The contact info is not displayed. Instead, I got the message below right where I inserted the code:
    There's been a problem -- please contact the site administrator

    I'm missing something.


    Basically I want the virtualtour page to look just like the listingview.
    But ofcourse, instead of the jpeg, the virtual tour.
    I found the same result. Maybe <iframe> is a bit of a no no but at least it achieves the end result. I have also reservations about using frames and would prefer to get a function working. It seems to me it is difficult to get the php vairables to work in the javascript.

  6. #16
    Join Date
    May 2004
    Posts
    840

    Default

    SC,

    I wasnt able to make the virtualtour page to look just like the listingview.
    I don't know how hard it would be, but I try for a few hours (im a newbie, just about ZERO html and php programming).

    There was someone here that did it. I think is in this thread.

    At the end, i decided it might be even better to use the pop up of the virtual tour as a stand alone. Perhaps you can customize the look for virtualtour.php so that it has you logo and appeals to your market.
    Last edited by RealEstate; 10-18-2004 at 11:48 AM.
    RealEstate

  7. #17
    Join Date
    Jul 2003
    Location
    California
    Age
    42
    Posts
    4,229

    Default

    here is a real basic version of the listing view page with the virtual tour embedded... WITHOUT any damn iframes i took out the listing images on the left so you'll have to readd those if you want them.

    This file is without support, you'll probably need to make some layout changes but i just did this to get you all started with the applet on the listingview page. (btw i renamed it to vtour.php.. you can name it whatever you wish.)

    Mick
    Attached Files Attached Files
    Open-Realty 2 Documentation

    ~The Difference Between an ORDEAL and an ADVENTURE is ATTITUDE~

  8. #18
    Join Date
    Oct 2004
    Posts
    1

    Default mac osx

    i tested on mac osx, could only get button function or drop down menu to work in safari - tried fox fire, ie, netscape without luck.

    very nice feature.

  9. #19
    Join Date
    Mar 2004
    Posts
    14

    Default

    Phew! no need for <iframes> Thanks very much Mick, vtour.php works fine.

    Great Mod

  10. #20
    Join Date
    Feb 2004
    Posts
    1,085

    Default How do you add multiple tours

    I've installed the mod Virtual Tour module and must say this was a breeze.

    I have a question though.

    I see on the window when I "Click Here for Vitual Tour" in my listingsview.php that the image I uploaded works great and there is a dropdown menu for multiple images. I uploaded 2 images yet my dropdown shows 0,1,2 3

    Can anyone tell me what I missed?

    Thanks
    Last edited by alsmith; 11-26-2004 at 02:35 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •