#1 (permalink)  
Old 03-13-2008, 09:28 AM
Active Member
 
Join Date: Nov 2004
Posts: 1,828
inspireme is on a distinguished road
Default 10 Free mods

Hi guys, all content on http://www.indexu.co.uk is free now, with the following
condition. Link back to http://www.places2b.co.uk required somewhere on the site if you use any of the mods. Link must be spiderable and pass pagerank.

Members on the site do not have this condition.
Members on the site will have full access to the soon to be released themes, however a limitation of one use on the template will be applied to non paying members.

One last thing, no support is given to non paying members AT ALL so bring it to these forums and maybe youll get lucky and i will help out :0)

SOme future mods will not be free. (ones im currently working on) and articles on geolocation will not be free.
__________________
Some interesting INDEXU bits :http://www.indexu.co.uk
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
Reply With Quote
  #2 (permalink)  
Old 03-13-2008, 10:45 AM
Registered User
 
Join Date: Dec 2007
Posts: 70
dePaulus is on a distinguished road
Default

Thanks inspireme...

Excellent site, love the logo.. I'll be browsing around as soon as the boss has parked his arse somewhere else.

de P
Reply With Quote
  #3 (permalink)  
Old 03-13-2008, 06:03 PM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
Smile

Hi inspireme

I was wondering when your geo location mods where going up

Ill keep my eyes peeled, also i purchaced a pdf from easypeasy on uk postcode geo location, but it goes way over my head, its yours if you want.

(ide rather it not go to waste)

I also read about free uk map / images avalible at ordnance survey website.

anyway heres the link that marries up with the pdf

http://www.easypeasy.com/guides/article.php?article=64

It might help or on the other hand it might not.
Reply With Quote
  #4 (permalink)  
Old 03-13-2008, 07:06 PM
Active Member
 
Join Date: Nov 2004
Posts: 1,828
inspireme is on a distinguished road
Default

soon I keep thinking i have time to do this and something fills it. im sorry, I promise its coming soon!

I have some extremely awesome stuff i want to add into into the articles, including a script that will automatically geocode your whole database from a postcode or address.... search by clicking on a map, distance from location and some super cool ajax maps. Its all new code and i have it now working on my site. You can try it out,

http://www.bigfreeguide.com/camping/...park/2049.html

click "add starting location" you will then get the distance from you to the listing, it also demonstrates map and ajax postcode searching. I have the code working well now, so all thats left is to write the article.

These articles will be thorough, and will never be free. Mainly because it took a hell of a lot of headache for me to work this out (if you have read the article from easypeasey you know this stuff is actually very complicated) I will be providing some free databases to do all the calculations from as well.

So im going to put a deadline on this, first articles will be done by the 20th, and all of them finished by the end of the month. Just so i know, what are you planning on doing with this? googlemaps? basically the articles will cover whats on mys ite (the link above) and some of the bits i added to http://www.places2b.co.uk/ I wont cover making your own maps just concentrate on the google ones.
__________________
Some interesting INDEXU bits :http://www.indexu.co.uk
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

Last edited by inspireme; 03-13-2008 at 07:08 PM.
Reply With Quote
  #5 (permalink)  
Old 03-13-2008, 08:05 PM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
Default

I was hoping to integrate this mod more for searching, (straight of the landing page) and giving a distance in miles in the rows.html just displaying the text, im not really interested in the map for the directory im working on at the moment.

heres an idea of how i would like the search to work with this mod
Attached Images
File Type: jpg inspireme.JPG (6.3 KB, 251 views)
Reply With Quote
  #6 (permalink)  
Old 03-14-2008, 05:05 AM
Active Member
 
Join Date: Nov 2004
Posts: 1,828
inspireme is on a distinguished road
Default

okay. you will need the postcode database from
http://www.npemap.org.uk/

I have made some scripts last week to fail gracefully when it cant find a postcode, basically if the postcode doesnt exist (which it wont, seeing as it only has 35,000 in that free database) it slowly degrades the user input until it finds a hit. Its not amazingly accurate but it will usually get it within 5miles. Would that be accurate enough? Its good for general searches.
__________________
Some interesting INDEXU bits :http://www.indexu.co.uk
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
Reply With Quote
  #7 (permalink)  
Old 03-19-2008, 05:47 AM
Active Member
 
Join Date: Nov 2004
Posts: 1,828
inspireme is on a distinguished road
Default

Geocoding article 1 online. the article covers getting all your listings quickly geocoded, tutorial 2 will use this and make a block to show "distance" from other listings.
__________________
Some interesting INDEXU bits :http://www.indexu.co.uk
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
Reply With Quote
  #8 (permalink)  
Old 03-19-2008, 11:28 AM
Registered User
 
Join Date: Mar 2007
Posts: 47
griller111 is on a distinguished road
Default

hmmm I get this when i try and run it

Address failed to geocoded. Received status 601 Invalid query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 1' at line 1
Reply With Quote
  #9 (permalink)  
Old 03-19-2008, 02:10 PM
Active Member
 
Join Date: Nov 2004
Posts: 1,828
inspireme is on a distinguished road
Default

what field are you using?, make sure the custom field name is typed correctly...

Also, i didnt mention it in the tutorial (will change it later) but you need to create your own KEY using google maps, its locked into your domain name so unless your using the exact key given for the exact site your using this will fail. Its also at the top of the file, a section that says :

define("KEY", "ABQIAAAAomF59xyo6Ec1MqZiNaN-HRSFeoNC1GdvuthYgCW3mLdEBQECvxT23shsqRRW1SKsda6oK9 SPd7wqpQ");

make sure its correct, if your still having problems post here and i will check through to see why its happening.
__________________
Some interesting INDEXU bits :http://www.indexu.co.uk
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
Reply With Quote
  #10 (permalink)  
Old 03-19-2008, 02:42 PM
Active Member
 
Join Date: Nov 2004
Posts: 1,828
inspireme is on a distinguished road
Default

i have tutorial 2 written, if someone doesn't mind testing it - i have it working on my site every time i do this, but it doesn't always necessarily mean it works for other circumstances, or i miss mentioning something major (like the problem above) I will post it end of the week but if you dont mind having a try with it before hand (and your a member) email egginton(at)gmail(dot)com
__________________
Some interesting INDEXU bits :http://www.indexu.co.uk
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
Reply With Quote
  #11 (permalink)  
Old 03-20-2008, 03:58 PM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
Default

Hi inspireme , ive given this a go, I have created the script and added my google maps api keyy, database name/username/password acordingly.

I called the script geocode.php and uploaded to my webserver, then ran the file.

i get the following error

Code:
Content visible to License Owner only.
also i take it were going to do geocoding remotley (with google) instead of locally geocoding, i.e populating custom fields lat lon??

Do we need to download the file
Code:
Content visible to License Owner only.
???

thanks
Reply With Quote
  #12 (permalink)  
Old 03-20-2008, 04:09 PM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
Smile

Hi inspireme , ive given this a go, I have created the script and added my google maps api keyy, database name/username/password acordingly.

I called the script geocode.php and uploaded to my webserver, then ran the file.

i get the following error

Code:
Content visible to License Owner only.
also i take it were going to do geocoding remotley (with google) instead of locally geocoding, i.e populating custom fields lat lon??

Do we need to download the file
Code:
Content visible to License Owner only.
???

thanks
Reply With Quote
  #13 (permalink)  
Old 03-20-2008, 05:01 PM
Active Member
 
Join Date: Nov 2004
Posts: 1,828
inspireme is on a distinguished road
Default

Opps, when im trying this im using my temp table, i thought i had corrected everything to work with the usual table but i made a typo. it should work now, i updated code on my site. If your still having problems please email me ftp details and i will see why its happening. You will need the postcode database later for doing postcode lookups, although i suppose i could use the geocoding from google for that also... hmmm... I will see which one works best (accuracy wise) and come to a decision.



Code:
Content visible to License Owner only.
__________________
Some interesting INDEXU bits :http://www.indexu.co.uk
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

Last edited by inspireme; 03-20-2008 at 05:07 PM.
Reply With Quote
  #14 (permalink)  
Old 03-20-2008, 06:47 PM
echo@'s Avatar
Active Member
 
Join Date: Oct 2007
Location: UK Essex
Posts: 473
echo@ is on a distinguished road
Default

looks like it was a typo, the script now runs , but im now reciving a

Code:
Content visible to License Owner only.
sorry to be the bearer of bad news

After reading the article about this MOD on your site i find it does not explain the purpose of this script clearly enough(i just follow its instuctions)

My understanding is this script populates the custom field lon / lat from google , once this is done indexu can reference these fields locally??
(I would rather geocode locally)

Im sure you appreciatie the feedback all critisum is good critisium


thanks
Reply With Quote
  #15 (permalink)  
Old 03-20-2008, 07:55 PM
Active Member
 
Join Date: Nov 2004
Posts: 1,828
inspireme is on a distinguished road
Default

"address failed to geocode" is just a feedback for one of the addresses/postcodes you sent not being found (either an incorrect or missing postcode for one of the listings) Please check your listings most of them will now contain the lat/lon information.

I realise i havent explained the purpose much, the tutorials will move on from each other so i will explain futher. You are correct, the information is stored locally, this is because we use a radius search which checks every single one of your listings to see if it falls within a give mile radius, it would be impossible to lookup 1,000 or so lat/lon positions from google with every search so we need them stored in the database.

Can you check some of your listings from the edit screen in admin to check that the lat and lon fields are now populated?
__________________
Some interesting INDEXU bits :http://www.indexu.co.uk
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Several new mods available now mpdaddy Blocks and Modification 4 04-05-2008 10:40 AM
Selling Mods mpdaddy Customers Lounge 3 02-25-2008 01:31 AM
Mods for sale : inspireme Blocks and Modification 0 09-28-2007 01:28 PM
SEO MODs? Retire_Young200 Blocks and Modification 0 07-01-2006 03:56 PM
Testing some of my MODs esm v5.x 7 12-01-2003 03:24 PM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 05:07 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate