FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » FUDforum 3.0+ » How could I make the user able to change language on the fly?
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
How could I make the user able to change language on the fly? [message #4594] Wed, 31 July 2002 16:26 Go to next message
vidaubannais is currently offline  vidaubannais   Germany
Messages: 23
Registered: July 2002
Karma: 0
Junior Member
add to buddy list
ignore all messages by this user
I would like my users (international, multi-langual speakers) to be able to change the theme (e.g. language) of the forum on the fly without having to go to their properties to do so.
I was thinking about a pull-down list on the top right hand corner of all the windows for instance - But I have no idea if whould would be a challange to implement ...
Is there some lignes of code (from the user preferences php file for instance) I could copy and past where I need?
Is it as simple as this (I hope it is Rolling Eyes )
Re: How could I make the user able to change language on the fly? [message #4604 is a reply to message #4594] Wed, 31 July 2002 17:58 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
It is pretty easy to do, all you need is to change 1 value inside the users table with an id of the theme you want to use to use.
The field you need change is 'theme', and you need to put a id of the theme from the themes tables into that field.

It is really easy to do.


FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Next major release?
Next Topic: The localisation could be much faster if ...
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Dec 16 23:30:19 EST 2017

Total time taken to generate the page: 0.00730 seconds