21
smart2
xlanguage url based language detection
  • 2007/10/6 17:23

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


I was wondering if xlanguage could detect which langage it has to serve based on base url used.

Example:

One user is browsing XOOPS site with the base url :http://www.example.com, xlanguage serves english language.

One user is browsing the same website but with the base url:
http://www.example.fr and xlanguage serves french.

To make this works, it would be needed to dinamicaly define XOOPS_URL based on the url asked.

For example if someone is browsinghttp://www.example.com/news, XOOPS_URL should be defined this way:
define(XOOPS_URL,'http://www.ewample.com');

And if someone is browsinghttp://www.example.fr/news, XOOPS_URL should be defined that way:
define(XOOPS_URL,'http://www.ewample.fr');

I don't know if what I'm asking here is possible.

Thank you for your answers.



22
smart2
Re: Sothink DHTML menu 8 and Xoops...
  • 2007/9/8 17:41

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


I use it here.
http://www.s-martinez.com
http://www.v2r.fr

Xoops france uses it toohttp://www.xoops.fr

Never had any problem with it.



23
smart2
Re: Class A IP Address In Log
  • 2007/8/7 21:23

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


Maybe someone from the inside network of your hosting provider.



24
smart2
Re: hide empty table in profile
  • 2007/7/16 10:01

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


Hi to hide avatar field, for example replace

<tr valign="top">
          <
td class="head"><{$lang_avatar}></td>
          <
td align="center" class="even"><img src="<{$user_avatarurl}>" alt="Avatar" /></td>
        </
tr>


by

<{if $user_avatarurl != "uploads/blank.gif"}>
        <
tr valign="top">
          <
td class="head"><{$lang_avatar}></td>
          <
td align="center" class="even"><img src="<{$user_avatarurl}>" alt="Avatar" /></td>
        </
tr>
<{/if}>


in system_userinfo.html in system templates



25
smart2
Re: XOOPS Project Council - Current situation
  • 2007/6/21 11:18

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


@ sailjapan I totally agree with you.

PS: I missunderstood "actually" up in the topic which means in french "currently" if heard "actuellement".
Sorry.



26
smart2
Re: XOOPS Project Council - Current situation
  • 2007/6/21 8:09

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


Quote:
I have been made aware that JMorris was actually invited by Skalpa to be the project leader for XOOPS with phppp as core development leader.


Hasn't Skalpa left?
If he has any suggestions, I would like to see him asking here and not backstage again.

My opinion is that he has no right to drive this project and put who he wants in this project council.

Please don't make the same mistakes again.



27
smart2
Re: wamp and .htaccess problem (urls hack)
  • 2007/6/13 11:55

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


Hi,

uncomment this line in httpd.conf
#LoadModule rewrite_module modules/mod_rewrite.so

uncomment this line in php.ini
#url_rewriter.tags qui se trouve dans php.ini

Restart apache and it should work



28
smart2
Re: [bad boy] Excuse me
  • 2007/6/11 13:58

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


http://youtube.com/watch?v=E5li6twVHNg

Lorie for forum moderator!

Think only french speaking will understand.

IT IS A JOKE PLEASE DON'T CONSIDER THIS POST AS A SERIOUS PROPOSITION



29
smart2
Re: [XoopsTeam] rplima2004 - Core Development
  • 2007/6/11 10:11

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


Great news



30
smart2
Re: xfgallery for 2.0.16?
  • 2007/6/10 7:44

  • smart2

  • Not too shy to talk

  • Posts: 129

  • Since: 2007/1/19


Hi I don't know xfgallery.
I always use extgallery and for me its the best I've tested.
http://sourceforge.net/project/showfiles.php?group_id=177145&package_id=204576
Works well on 2.0.16 and a hack exists for lightbox




TopTop
« 1 2 (3) 4 5 6 7 »



Login

Who's Online

185 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 185


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