11
vimana
Wf-links Pd-links Admin/preferences problem
  • 2006/4/22 23:58

  • vimana

  • Just popping in

  • Posts: 20

  • Since: 2005/1/26


I'm running XOOPS 2.0.13.2
server Apache

I tryed pdlinks & wflinks modules and I've the same promblem when i edit preferences. It's a strange problem but when i edit general setting and i click "submit" it go to this page
.../modules/system/admin.php?fct=preferences
but I've an HTTP 403 error and don't save changes
There are no .htaccess files on my host.

I'll edit maybe preferences directly from MySQL db but i want to know why I've this strange problem

Can somebody help me?
Thanks



12
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 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.



13
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 != ""}>
<td>
<form name=mapForm action="http://www.multimap.com/map/browse.cgi?" target="_new" method=get>
<input type="hidden" name="pc" value="<{$link.zip}>">
<input type=submit value="Map">
</form>
</td>
<{/if}>

italian hack 1 for map:
<form name=mapForm action="http://www.tuttocitta.it/tc/mappa/index.jsp?" target="_new" method=get>
<input type="hidden" name="com1" value="<{$link.city}>">
<input type="hidden" name="to1" value="<{$link.address}>">
<input type=submit value="Map">
</form>

italian hack 2 for map:
<form name=mapForm action="http://www.maporama.com/share/map.asp?" target="_new" method=get>
<input type="hidden" name="COUNTRYCODE" value="IT">
<input type="hidden" name="_XgoGCAddress" value="<{$link.address}>">
<input type="hidden" name="Zip" value="">
<input type="hidden" name="State" value="">
<input type="hidden" name="_XgoGCTownName" value="<{$link.city}>">
<input type=submit value="Map">
</form>

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:
<input type="hidden" name="COUNTRYCODE" value="IT">
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:
<input type="hidden" name="COUNTRYCODE" value="<{$link.country>">
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



14
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



15
vimana
Re: Mx-directory - input welcome
  • 2006/1/23 2:07

  • vimana

  • Just popping in

  • Posts: 20

  • Since: 2005/1/26


A great thanx for this fantastic module.

Any chance to sort alpha only a category, the option "search only this category" (i know if write the title of a category + what i want to search it will search only the category but the users don't know)and display link title & category title in search and ORDER BY l.premium DESC not by date.

i added this to singlelink.php
$xoopsTpl->assign('xoops_pagetitle', $ltitle);
to display business name in page title

cheers



16
vimana
select language block?
  • 2005/1/26 14:24

  • vimana

  • Just popping in

  • Posts: 20

  • Since: 2005/1/26


I can't find the block where you can select the language. I have 2 languages installed on my XOOPS and i want users can select between these 2 languages. I try to find it in preferencies but i find only "default language" i try to see all blocks but i find only the one to select the theme. Maybe it's a module but i try to see here and search but i can't find it. Sameone can help me.

Thanks Marco




TopTop
« 1 (2)



Login

Who's Online

187 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 187


more...

Donat-O-Meter

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

Latest GitHub Commits