81
vimana
Re: Mx-directory - input welcome
  • 2006/1/25 0:29

  • vimana

  • Just popping in

  • Posts: 20

  • Since: 2005/1/26


tx to you. Realy a great thanx for the great module!!! Maybe It's not so difficult to make a map works in all the world, not only in the Usa. I've done some changes and I find some sites have maps of all the world (more or or less) it's working for country i'm interested (italy, uk, germany and spain) Just I've to make some more tryes and i'll post it

82
Mamba
Re: Mx-directory - input welcome
  • 2006/1/25 5:38

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


If possible, I would like to add a foreign language as an option. In the admin, I could select a default foreign language (e.g. English), and then on the entry form I would check "default foreign language" checkbox, and the user would see "English spoken here" graphic similar to the "Coupon" one. That would help the visitors in Paris or in Munich to see if a particular restaurant or business is good for people who don't speak French or German.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

83
bjbtexas
Re: Mx-directory - input welcome
  • 2006/1/25 12:30

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


There was a Australian map module hack a while back on the xdirectory you might use to help make the international changes:

https://xoops.org/modules/repository/singlefile.php?cid=108&lid=1477

and here's a thread for Canada map changes.

https://xoops.org/modules/newbb/viewtopic.php?topic_id=32890&forum=28&post_id=143454#forumpost143454

I was looking for site maps when I ran across these.

84
bjbtexas
Re: Mx-directory - input welcome
  • 2006/1/25 12:42

  • bjbtexas

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/3 2


Quote:

Fraggo wrote:
Does anyone here have any experience in doing a mod rewrite on mx-directory?

I'm about to take this task on and am looking for a little guidance...

I want

/modules/restaurants/singlelink.php?cid=32&lid=4343
to read
/restaurants/CategoryName+Restaurants/RestaurantName

Also, same goes for URLS like

/modules/restaurants/viewcat.php?cid=27
should be...
/restaurants/CategoryName+Restaurants


Things I have seen are rewriting them to be link-4343.html, whereas I want the actual business name in the URL...

Any input?


I don't know how to do it, but I installed a mod re-write like you describe on OS commerce for a client and the results where fantastic. He sold more in one week than he had all the previous year.

The only issue became I had so many modifications to the core, I couldn’t make more changes without breaking something.

85
tom
Re: Mx-directory - input welcome
  • 2006/1/25 12:43

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


where can MXD be downloaded as on Dev.Xoops the download just shows an error and I can't download.

Error:

Not Found

The requested URL /dl/mx-directory/5 - Beta and RC Releases/ mx-directory BETA v2.0/XOOPS2_mod_mx-directory.zip was not found on this server.

86
wcrwcr
Re: Mx-directory - input welcome
  • 2006/1/25 13:51

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12



87
vimana
Re: Mx-directory - input welcome
  • 2006/1/26 22:01

  • vimana

  • Just popping in

  • Posts: 20

  • Since: 2005/1/26


btw:
uk hack on map get map on post code (see the template files xdir_link.html & xdir_listingfull.html):
<{if $link.zip != ""}>






<{/if}>

italian hack 1 for map:






italian hack 2 for map:









This second site i'm using for map have all countries.
I did't have time to do some tries but here I'm using this:

because IT it's the code of italy, probabily if i use a selectabe country in submit that give me the code of different counries in xdir_links table in county i can use:

I still have to try it, sorry

btw if someone need italian language for mxdirectory, I've italian language of xdirectory and I'm finishing adding the missing things for mxdirectory.my mail for ask it, is b_sirius@beserious.org

88
vimana
Re: Mx-directory - input welcome
  • 2006/1/27 18:02

  • vimana

  • Just popping in

  • Posts: 20

  • Since: 2005/1/26


ok I tested the maps It works. I need the time to check and write all country codes from http://www.maporama.com. I've only a problem I'm gonna replace county name in table xdir_links (country) with country code of maporama.com for get map so for display country name I've to write in html some like this:
<{if $link.country =="US"}> USA
<{elseif $link.country =="DE"}> Germany
<{elseif $link.country =="IT"}> Italy
<{elseif $link.country ==................................(all counties)
<{/if}>
I don't know about php & html programming. I'm just an amateur. maybe someone know a better way for do it.

About have different language i think the only way it's to use XOOPS multilanguage. I think in mxdirectory are included some languages and i can do italian.

89
nni123
Re: Mx-directory - input welcome
  • 2006/1/27 18:43

  • nni123

  • Just popping in

  • Posts: 17

  • Since: 2004/12/17


Fatal error: Call to a member function on a non-object in C:\software\Apache Group\Apache2\htdocs\modules\mxdirectory\language\english\main.php on line 4


any idea how to take of this..

thank you

90
sailjapan
Japanese map link (from romanized address)

Great Mod. Many thanks.
If you want to generate a Map for a location in Japan -using yahoo.co.jp- I've bodged a few lines of code that will take the post code and get you to within one click of a map on Yahoo. If your addresses are in Japanese fonts, you could do better.
As with Vimana's UK and Italian map link hacks above, type in the following to both xdir_link.html and xdir_listingfull.html :

<{if $link.zip != ""}>






<{/if}>
Never let a man who does not believe something can be done, talk to a man that is doing it.

Login

Who's Online

394 user(s) are online (278 user(s) are browsing Support Forums)


Members: 0


Guests: 394


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits