Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2004
Posts: 54
Cro
Offline
Power User
Power User
Joined: Apr 2004
Posts: 54
Hello. I was wondering, is there any way that i can have users be able to switch beween languages without going to their profile. LIke for example, put a link on the top menu in index, with english and spanish, so then, they can just click on a language and the site will switch languages right away... any way to do that? thanks!

Sponsored Links
Joined: Apr 2004
Posts: 54
Cro
Offline
Power User
Power User
Joined: Apr 2004
Posts: 54
enybody?

Joined: Jan 2003
Posts: 263
Member
Member
Joined: Jan 2003
Posts: 263
Hello Cro,

I posted the same question some while ago here:
https://www.ubbdev.com/forum/showflat.php?Cat=0&Board=modsuggestions&Number=119302

and here:

https://www.ubbdev.com/forum/showflat.php?Cat=0&Board=modsuggestions&Number=108109

Unfortunately no solution
I think that's because there's only a few people who need such mod, since most forums are all in just one language. Mine isn't.....

So if anyone could help us out here... PLEASE

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Actually there are a few mods out there that allow dynamic switching of stylesheets, this should easily be the same thing. We are only changing ONE variable in a User Profile.

Let me look at it a bit.

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Well, I looked and the only thing I had was a Custom Pal box that allowed members to select a language from a drop-down box and hit submit, and it popped them right back out to the main page.

Sponsored Links
Joined: Apr 2004
Posts: 54
Cro
Offline
Power User
Power User
Joined: Apr 2004
Posts: 54
hey guys. so what do u mean it popped them right back to the main page? Does it actually change the language? thanks

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Yap, works in 6.4 and 6.5, but this is an IIP Pal Box. This does not do what Pasqual wants, which is to change the default language for the entire site without being logged in.

Joined: Apr 2004
Posts: 54
Cro
Offline
Power User
Power User
Joined: Apr 2004
Posts: 54
Kewl Medar. Do you think you can provide me with the code for this? thanks alot man..

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
I seem to recall such a mod many moons ago - had some flags for the languages - maybe it was linked to IIP, or perhaps it was something else, but I think it used to exist.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Aye Ian, I have the mod bookmarked, but it does not work properly. The only place I could find actually using it stated that due to some big changes in 6.5, it would not work in it's current capacity (ie cookie changes), and would need to be changed.

Will link that, and Cro - will upload the little thing that I had (it is at work).

Sponsored Links
Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
Here is what I had for a PAL BOX solution, it is nothing special.

It could probably be upgraded to grab your current page, update the language using a "languageupdate.php" page, and then redirect you back to the page you were on. You could then use this potentially in the menubar up top, or similar areas.

A few notes - there are THREE variables you have to fill in up top. The custompalbox you are going to place this in (the file calls itself), the title, and your PATH to main.inc.php. Again note, if you are using this for 6.5, you need to update that path to allow the includes folder!
Attachments
121383-CustomBoxLanguageSelector.txt (0 Bytes, 16 downloads)

Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
FYI here is the thread where JustDave, caymuc, and Josh were goofing with a Language Selector.

It left off "broken", and is still broken a bit...but partially works.

https://www.ubbdev.com/forum/showflat.php?Cat=0&Board=beta&Number=48300

Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
[]Ian_W said:
I seem to recall such a mod many moons ago - had some flags for the languages - maybe it was linked to IIP, or perhaps it was something else, but I think it used to exist. [/]
That mod was cool. I remember that - anonymous users could click the flag, and when you registered, that became the default language.

It probably won't be need much now, until someone posts some language packs.

Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Better post my proper English pack then


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Joined: Mar 2000
Posts: 528
Junior Member
Junior Member
Offline
Joined: Mar 2000
Posts: 528
One of these days if I am really board, I am going to create a 'L33T" speak pack.

Really bored.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)