[Pro] Real Estate Gallery Listings

Hi Guys,

Can I please have some suggestions regarding what the best/easiest/least code way to make a gallery page on my Freeway site that would contain real estate listings like what you see on Real Estate Agency or Property Management company websites.

It would be a page that contained main pictures and a heading for all of the properties and then when you click a particular property you would be taken to more information or photos about that property.

Features like, registering and being able to save favorite properties or emailing interest direct from the listing would be useful.

Thanks for your help.
Amanda


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I think this warrants a trip to Hotscripts.com (or similar) http://www.hotscripts.com/category/php/scripts-programs/real-estate/

Where you will find 64 scripts to help you with this.

The problem with doing this entirely in FW is that these sorts of businesses require constantly updated information which they will want to be able to do themselves. So if you want to do it in FW then it means a CMS which you will have to weave in.

And as I am a great one for believing that duplicated effort is wasted effort then I would spend my time on a packaged script that will have all the bells and whistles your client could possibly want and spend my time tweaking it to look like your clients own site.

My 2c

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Here’s one that will need one line of code in your FW page.
Your client can update the listing via the admin interface.

http://www.phpjabbers.com/property-listing-script/index.php


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks a lot for this info guys. That phpjabbers seems pretty straightforward.

Just another quick question, do you know of any program where you can upload the property listing to just one source but then it gets automatically uploaded to several websites?

Apparently there are systems out there where you would upload your property on your website, and this would automatically also upload the listings to www.trademe.co.nz and www.realestate.co.nz for example.

Thanks


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

where you would upload your property on your website, and this would automatically also upload the listings to www.trademe.co.nz and www.realestate.co.nz for example.

This is probably a question for the 2 sites you mention - about how they accept submissions.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I am just working on a real estate website also and the phpjabbers seems to me what I was looking for, but my question is: How can I integrate this php with my Freeway pro page? Any suggestion or tutorial?

Thanks,

Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I haven’t worked with this exact script, but I have done a lot of PHP work with Freeway. There are two major modes of operation possible here. (More, actually – as many as there are programmers – but for all intents and purposes, these are the big ones.)

###Inline Code
You use the Page / HTML Markup dialog and inline Markup Items to insert your code into the page, maybe some Actions to set up database connections. You’ll have to look at the Jabbers script, and if it combines equal amounts of HTML tags and PHP tags, this is probably how you will have to go.

###Library Code
You use a text editor (or the Jabbers folk do) to create a single file or set of files that are pure PHP. You include this page into the top of your Freeway page, and then, in the places where the library would be called upon to generate something, say a table of location links and descriptions, you would insert a single Markup Item containing a reference to the variable that this library code established for you. In essence, your page would be empty in the places where the library code would be adding in generated HTML.

In either case, the first thing I would do on taking delivery of a fully-built system such as this is to install it according to the directions, set up the database and configure the script to connect with it. Look at the result in a browser and watch it work. You’ll need to read the documentation that came with this script to find out what they tell you to modify in order to change the look and feel. If they have cleaved to the first method, then they will probably tell you to break out a text editor and start hacking at the embedded HTML within the PHP. If they have gone the other route, they will probably have a much leaner “template” file, and encourage you to edit that, or to fiddle with the CSS file. The answer is, in short, it depends a lot on the code style they used.

Walter

On Sep 30, 2011, at 8:39 AM, Marcus Do Carmo wrote:

I am just working on a real estate website also and the phpjabbers seems to me what I was looking for, but my question is: How can I integrate this php with my Freeway pro page? Any suggestion or tutorial?

Thanks,

Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi walter, thanks!
This just what I was looking for.

I have another thread with the subject “google maps” to use it with the same purpose. Please take a look: http://freewaytalk.net/thread/view/96655

Would be this the same case?

best regads,

Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello Walter, I am still struggling with this…
Just one question: What action do you recommend to setup a database? Actually I don’t even know if I need it. The properties listing are supposed updated directly from a national service called MLS or mlxchange…

A million thanks in advance!,
Marcus

###Inline Code
You use the Page / HTML Markup dialog and inline Markup Items to insert your code into the page, maybe some Actions to set up database connections. You’ll have to look at the Jabbers script, and if it combines equal amounts of HTML tags and PHP tags, this is probably how you will have to go.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Most hosting providers offer either phpMyAdmin or a clone of it to their subscribers. This is a general-purpose database design and administration tool that runs right on the server. You interact with it in your browser over a secure connection.

If the gallery script you bought includes an install script written in SQL (structured query language) then you could use PMA to run that against your server.

Note that some hosting packages only include one database, and you may not be able to create another one. It will depend on how the script you’re using was written what you do there. A lot of the popular CMSen like Joomla! and Drupal have a scheme where you can indicate the “prefix” that your tables should use, as a way to work around having more than one script that wants a table called ‘users’ or something like that – your tables end up named drupal_users or something like that.

Walter

On Jan 10, 2012, at 7:34 PM, Marcus Do Carmo wrote:

Hello Walter, I am still struggling with this…
Just one question: What action do you recommend to setup a database? Actually I don’t even know if I need it. The properties listing are supposed updated directly from a national service called MLS or mlxchange…

A million thanks in advance!,
Marcus

###Inline Code
You use the Page / HTML Markup dialog and inline Markup Items to insert your code into the page, maybe some Actions to set up database connections. You’ll have to look at the Jabbers script, and if it combines equal amounts of HTML tags and PHP tags, this is probably how you will have to go.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

This sounds good! As always, thank you, Walter! for using your expertise to help people here to make Freeway experience even better!

Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I bought this very nice script and installed it on the website I am working on., but after a while I realized that the google maps wasn’t showing the addresses of the properties but just ocean instead and wrote to the phpjabbers support team.

Their answer:
The problem is that your server doesn’t allow execution of file_get_contents() function. This function is used to load the map coordinates.Please contact your hosting provider regarding this issue. You can show them the link below:

http://sunshinedoorsspecialists.com/miamiuniqueproperties/script/file_get_contents.php

After speaking with Network Solutions they came to me with a “solution” I didn’t expect and said it could be fixed adding another script and for this they would need a level 2 technical support and therefore I have to pay a one time fee of $59.00.

My questions are: isn’t it something that was already supposed to work on my server or they are right? Is this something I could do myself to fix?

Here’s the website address:http://sunshinedoorsspecialists.com/miamiuniqueproperties/my-listings.html
(click on map to se the problem)

Many thanks again
Marcus

On 11 Feb 2011, 12:27 am, Helveticus wrote:

Here’s one that will need one line of code in your FW page.
Your client can update the listing via the admin interface.

http://www.phpjabbers.com/property-listing-script/index.php


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Both possible answers could be true. file_get_contents() in its most basic form will only open a local file on the server. This same function supports what are called “stream wrappers”, which allow PHP to access a remote file as if it was a local file. This feature can be disabled on the server at the hosting provider’s whim. I have encountered both setups in the past, and once moved server to get them working because there was no other way to make the application work.

There’s another approach you can take, which is to use cURL to access these files. Here’s a function which can replace file_get_contents() pretty much directly:

function get_remote_form($strUri){
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, $strUri);
	curl_setopt($ch, CURLOPT_FAILONERROR, true);
	curl_setopt($ch, CURLOPT_BINARYTRANSFER, true);
	curl_setopt($ch, CURLOPT_HTTPHEADER, 
		array('Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7'));
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);  
	$result = curl_exec($ch);  
	curl_close($ch);
	return $result;
}

Paste that into your script near the top (so it appears in the script before any call to file_get_contents) and then locate and replace any instance of ‘file_get_contents’ with ‘get_remote_form’. Now if that works, you should be done. If it doesn’t, then that could be a sign that NetSol does not support cURL extensions in PHP. And if that’s the case, I don’t know what you should do except maybe vote with your feet. I like NetSol a lot for registering domains and a few other things, but I don’t have a lot of love for their PHP hosting.

Walter

On Jan 18, 2012, at 11:46 AM, Marcus Do Carmo wrote:

I bought this very nice script and installed it on the website I am working on., but after a while I realized that the google maps wasn’t showing the addresses of the properties but just ocean instead and wrote to the phpjabbers support team.

Their answer:
The problem is that your server doesn’t allow execution of file_get_contents() function. This function is used to load the map coordinates.Please contact your hosting provider regarding this issue. You can show them the link below:

http://sunshinedoorsspecialists.com/miamiuniqueproperties/script/file_get_contents.php

After speaking with Network Solutions they came to me with a “solution” I didn’t expect and said it could be fixed adding another script and for this they would need a level 2 technical support and therefore I have to pay a one time fee of $59.00.

My questions are: isn’t it something that was already supposed to work on my server or they are right? Is this something I could do myself to fix?

Here’s the website address:http://sunshinedoorsspecialists.com/miamiuniqueproperties/my-listings.html
(click on map to se the problem)

Many thanks again
Marcus

On 11 Feb 2011, 12:27 am, Helveticus wrote:

Here’s one that will need one line of code in your FW page.
Your client can update the listing via the admin interface.

http://www.phpjabbers.com/property-listing-script/index.php


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you very much, Walter!

I have just talked to another customer service at Network Solutions and now they changed and said I have to move to a virtual private server which costs the “bargain” of $399.00 yearly…

I will try the script you indicated. One question:
The Listing Property Script was pasted in a blank page with an HTML Markup. Should I past this on the same markup before the one I have there? Is that it?

Thanks again, Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On Jan 18, 2012, at 2:05 PM, Marcus Do Carmo wrote:

The Listing Property Script was pasted in a blank page with an HTML Markup. Should I past this on the same markup before the one I have there? Is that it?

If you see something like this in the HTML Markup (probably in the Before HTML):

<?php
// a bunch of code
// here -- the entire script, actually
?>

…then sure, put this function inside the <?php ?> delimiters, near the top, then search through the rest of the markup and replace any instance of file_get_contents with get_remote_form.

But if you see something more like this:

<?php require('path/to/your/script.php'); ?>

…instead, you will need to open up that script you bought using a text editor like TextWrangler (free from http://barebones.com) and insert that function there, inside its <?php ?> delimiters, and do the search and replace there. Then upload the modified script to your server and see if it works.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Ok. I will check it out and let you know later.

Thanks a lot, Walter!

Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

this is the way it looks on the HTML markup:


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Walter,

On the Property Listing Script folder I have all of these php files. I think I will have to use the TextWrangler

Which on do you think I should paste inside to?

admin.php
functions.php
include.php
index.php
install.php
options.php


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hello, Walter, I have “User licence” for this script I bought and because of this I cannot modify the files…

Now, Network Solutions called me back and said that the $59 will do without the need to change to a virtual private server…

I will tell my client and let him decide it. If not I will just uncheck the google map option or maybe I could also consider change the hosting to another one. I say on the Softpress website that they recommend the fat cow. Do you know them?

Thank you Walter!
Marcus


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On Jan 18, 2012, at 3:24 PM, Marcus Do Carmo wrote:

on the Softpress website that they recommend the fat cow. Do you know them?

I haven’t used them myself, but they do come highly recommended.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options